/* =========================================
   COLOR PALETTE
========================================= */

:root {

    --ivory: #f6f2e5;
    --cream: #fbf8ee;

    --forest: #24483b;
    --forest-dark: #18372d;
    --deep: #24483b;
    --green: #24483b;

    --sage: #dce6d3;
    --sage-light: #edf1e7;

    --gold: #c9a85c;
    --gold-light: #e8d7a5;

    --text: #20362e;
    --muted: #68756d;

    --white: rgba(255, 255, 255, 0.72);

    --border: rgba(36, 72, 59, 0.18);

    --shadow:
        0 15px 35px rgba(36, 72, 59, 0.10);
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    background-image: url('assets/page-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--ivory);

    min-height: 100vh;

    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    text-decoration: none;
    color: inherit;
}


button {
    font-family: inherit;
}


/* =========================================
   NAVBAR
========================================= */

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(243, 235, 221, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 8px 30px rgba(38, 63, 53, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 45px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-links li a:hover {
    color: var(--forest);
}

.nav-links li a.active {
    color: var(--text);
    font-weight: bold;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    color: var(--text);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: var(--forest);
}


/* =========================================
   HERO
========================================= */

.services-hero {
    position: relative;
    height: 550px;
    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.hero-background {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(90deg,
            rgba(24, 55, 45, 0.72),
            rgba(24, 55, 45, 0.30),
            rgba(24, 55, 45, 0.45));
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 100px 20px 20px;
    color: white;
    animation: heroEnter 0.8s ease both;
}


@keyframes heroEnter {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.eyebrow {

    font-size: 10px;

    letter-spacing: 3px;

    margin-bottom: 12px;

    opacity: 0.85;
}


.hero-content h1 {

    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 7vw, 70px);

    line-height: 1;

    margin-bottom: 16px;
}


.hero-content h1 span {

    font-style: italic;

    color: #e8d7a5;
}


.hero-content p:not(.eyebrow) {

    font-size: 14px;

    line-height: 1.6;

    max-width: 500px;

    margin: auto;

    opacity: 0.9;
}


.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 14px 32px;
    border-radius: 40px;
    background: #6a8c4c;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.hero-button:hover {
    transform: translateY(-3px);
    background: #5b7940;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.20);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 35px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    color: #89c852;
}

.feature-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: white;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
}

.feature-text span {
    display: block;
}



/* =========================================
   SERVICES CONTAINER
========================================= */

.services-container {
    width: min(96%, 1450px);
    margin: 200px auto 0;
}


/* =========================================
   SECTION HEADING (LEFT ALIGNED)
========================================= */

.left-aligned-heading {
    display: block;
    margin-bottom: 45px;
}

.left-aligned-heading h2 {
    display: inline;
    font-family: 'Playfair Display', serif;
    color: var(--forest);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
}

.left-aligned-heading .heading-line {
    display: inline-block !important;
    vertical-align: middle;
    width: 62px;
    height: 3.5px;
    border-radius: 50% / 100%;
    background: radial-gradient(ellipse at center, #9e7927 0%, #b38d35 45%, rgba(179, 141, 53, 0.5) 70%, rgba(179, 141, 53, 0) 100%);
    box-shadow: 0 0 6px rgba(158, 121, 39, 0.45), 0 0 12px rgba(179, 141, 53, 0.2);
    margin-left: 10px;
    margin-bottom: 4px;
}


/* =========================================
   SERVICE CARDS
========================================= */

.service-cards {
    max-width: 1450px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 28px);
}

.service-card {
    position: relative;
    overflow: visible;
    border-radius: 24px;
    background: transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    min-height: 380px;
    margin-bottom: 25px;
    container-type: inline-size;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card-images {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    flex-shrink: 0;
}

.service-card .folder-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    z-index: 2;
    pointer-events: none;
    display: block;
}

.service-card .photo-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 24px;
    z-index: 1;
    transform-origin: bottom right;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .photo-layer {
    transform: translateY(-25px) scale(1.03) rotate(6deg);
}

.service-card:active .photo-layer {
    transform: translateY(-35px) scale(1.05) rotate(6deg);
}

.service-button {
    border: 1px solid rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, 0.95);
    color: var(--forest);
    padding: clamp(7px, 1.8cqw, 12px) clamp(14px, 3.4cqw, 24px);
    border-radius: 30px;
    font-weight: 700;
    font-size: clamp(13px, 3.6cqw, 17px);
    line-height: 1.1;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 16px rgba(38, 63, 53, 0.2);
}

.service-tick {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    z-index: 10;
    transition: all 0.3s ease;
}

.service-tick svg {
    width: 16px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card.selected .service-tick {
    background: var(--forest);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.service-card.selected .service-tick svg {
    opacity: 1;
}

.service-folder-body {
    position: absolute !important;
    top: 54% !important;
    bottom: clamp(44px, 12cqw, 64px) !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 7% 0 7% !important;
    z-index: 4 !important;
    text-align: left !important;
    pointer-events: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.service-folder-title {
    margin: 0 0 clamp(2px, 0.8cqw, 6px) 0 !important;
    font-family: 'Marcellus', 'Tenor Sans', Georgia, serif !important;
    font-size: clamp(14px, 4.2cqw, 24px) !important;
    font-weight: 700 !important;
    color: #f8eed7 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    line-height: 1.15 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    max-width: 95% !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    text-align: left !important;
}

.service-folder-desc {
    margin: 0 !important;
    font-family: 'Tenor Sans', 'DM Sans', sans-serif !important;
    font-style: italic !important;
    font-size: clamp(10px, 2.7cqw, 15px) !important;
    line-height: 1.35 !important;
    color: #efe3d0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    opacity: 0.95 !important;
    max-width: 96% !important;
    text-align: left !important;
}

.service-folder-content {
    position: absolute;
    bottom: clamp(12px, 3.5cqw, 24px);
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6.5%;
    z-index: 5;
    pointer-events: auto;
    gap: clamp(6px, 2cqw, 14px);
    box-sizing: border-box;
}

.service-amount {
    font-family: 'Tenor Sans', sans-serif;
    font-size: clamp(12.5px, 3.4cqw, 16.5px);
    font-weight: 700;
    color: var(--forest);
    background: rgba(255, 255, 255, 0.9);
    padding: clamp(6px, 1.5cqw, 10px) clamp(10px, 2.8cqw, 18px);
    border-radius: clamp(10px, 2.2cqw, 16px);
    box-shadow: 0 4px 10px rgba(38, 63, 53, 0.1);
    border: 1px solid rgba(255,255,255,1);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}


/* =========================================
   MAIN BOOK BUTTON
========================================= */

.main-book {

    display: flex;

    justify-content: center;

    margin: 45px 0 90px;
}


.main-book a {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding: 13px 28px;

    border-radius: 30px;

    background: var(--forest);

    color: white;

    font-size: 15px;

    font-weight: 600;

    box-shadow:
        0 8px 20px rgba(36, 72, 59, 0.18);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.main-book a:hover {

    transform: translateY(-3px);

    box-shadow:
        0 14px 28px rgba(36, 72, 59, 0.24);
}


.main-book span {

    color: var(--gold-light);

    font-size: 17px;
}


/* =========================================
   REVIEWS
========================================= */

.reviews {

    padding: 80px 5% 100px;

    background:
        linear-gradient(180deg,
            transparent,
            rgba(220, 230, 211, 0.35));
}


.review-grid {

    width: min(1100px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.review-placeholder {
    width: min(700px, 92%);
    margin: 20px auto 60px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    border: 1.5px dashed rgba(36, 72, 59, 0.25);
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.review-placeholder-icon {
    font-size: 2.2rem;
    color: var(--gold);
    line-height: 1;
    opacity: 0.8;
}

.review-placeholder-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--forest);
    margin: 0;
}

.review-placeholder-sub {
    font-size: 0.88rem;
    color: var(--muted);
    letter-spacing: 0.3px;
}


.review-card {

    padding: 25px;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.65);

    backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.8);

    box-shadow: var(--shadow);

    transition:
        transform 0.3s ease;
}


.review-card:hover {

    transform: translateY(-5px);
}


.stars {

    color: var(--gold);

    letter-spacing: 3px;

    font-size: 14px;

    margin-bottom: 15px;
}


.review-card>p {

    font-family: "Playfair Display", serif;

    color: var(--text);

    font-size: 15px;

    line-height: 1.6;

    margin-bottom: 20px;
}


.reviewer {

    display: flex;

    align-items: center;

    gap: 10px;
}


.review-avatar {

    width: 35px;
    height: 35px;

    border-radius: 50%;

    display: flex;

    justify-content: center;
    align-items: center;

    background: var(--sage);

    color: var(--forest);

    font-weight: 700;

    font-size: 12px;
}


.reviewer strong {

    display: block;

    color: var(--forest);

    font-size: 11px;
}


.reviewer span {

    display: block;

    color: var(--muted);

    font-size: 8px;

    margin-top: 2px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .navbar {

        height: 54px;

        width: 94%;

        padding: 6px 12px;
    }


    .logo img {

        width: 115px;
    }


    .nav-links {

        display: none;
    }


    .menu-button {

        display: flex !important;
    }


    .services-hero {

        height: 380px;
    }


    .hero-content {

        padding-top: 70px;
    }


    .hero-content h1 {

        font-size: 43px;
    }


    .hero-content p:not(.eyebrow) {

        font-size: 11px;

        max-width: 310px;
    }


    .service-benefits {

        grid-template-columns: 1fr;

        gap: 5px;

        padding: 10px;
    }


    .benefit {

        justify-content: flex-start;

        border-right: none;

        border-bottom: 1px solid var(--border);

        padding: 8px 10px;
    }


    .benefit:last-child {

        border-bottom: none;
    }


    .services-container {

        margin-top: 55px;
    }


    .services-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }


    .service-folder-content {

        bottom: 12px;

        padding: 0 10px;

        gap: 6px;
    }


    .service-amount {

        font-size: 0.72rem;

        padding: 4px 8px;
    }


    .service-button {

        font-size: 11px;

        padding: 7px 12px;
    }


    .service-image {

        height: 130px;

        margin: 5px;
    }


    .service-content {

        padding: 6px 9px 12px;
    }


    .service-content h3 {

        font-size: 15px;
    }


    .service-content p {

        font-size: 8px;
    }


    .service-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }


    .review-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 420px) {

    .services-grid {

        grid-template-columns: repeat(2, 1fr);
    }


    .service-image {

        height: 115px;
    }


    .service-content h3 {

        font-size: 14px;
    }


    .service-content p {

        font-size: 7.5px;
    }


    .book-service {

        padding: 6px 10px;
    }


    .service-folder-content {

        bottom: 10px;

        padding: 0 8px;

        gap: 4px;
    }


    .service-amount {

        font-size: 0.65rem;

        padding: 3px 6px;
    }


    .service-button {

        font-size: 10px;

        padding: 6px 9px;
    }

}

/* Global Navbar Glassmorphism Override */
.top-nav {
  background: rgba(247, 242, 229, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* ========================================
   UNIVERSAL MOBILE NAVIGATION DRAWER & BUTTON
======================================== */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(38, 63, 53, 0.2);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  padding: 9px 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  z-index: 105;
  transition: background 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
}

.mobile-menu-btn:hover {
  background: rgba(38, 63, 53, 0.08);
  border-color: var(--green);
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 2.5px;
  background-color: #24483b !important;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .bar-2 {
  opacity: 0;
}

.mobile-menu-btn.active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 32, 26, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer Container */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #FCF9F0;
  background-image: linear-gradient(180deg, #FCF9F0 0%, #F7F2E5 100%);
  box-shadow: 10px 0 35px rgba(18, 32, 26, 0.25);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-right: 1px solid rgba(201, 168, 92, 0.25);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(38, 63, 53, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.drawer-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.drawer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.drawer-logo-text strong {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 16px;
  color: #263F35;
  letter-spacing: 0.5px;
}

.drawer-logo-text span {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  color: #536B55;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.drawer-close-btn {
  background: transparent;
  border: 1px solid rgba(38, 63, 53, 0.15);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #263F35;
  cursor: pointer;
  transition: all 0.2s;
}

.drawer-close-btn:hover {
  background: rgba(38, 63, 53, 0.1);
  transform: rotate(90deg);
}

.drawer-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}

.drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #263F35;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.drawer-nav-list li a .nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.drawer-nav-list li a:hover {
  background: rgba(83, 107, 85, 0.1);
  color: #263F35;
  transform: translateX(4px);
}

.drawer-nav-list li a.active {
  background: #263F35;
  color: #FCF9F0;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(38, 63, 53, 0.15);
}

.drawer-cart-link {
  position: relative;
}

.drawer-badge {
  margin-left: auto;
  position: static !important;
  display: inline-flex !important;
  background: #C9A85C !important;
  color: #263F35 !important;
  font-weight: 700 !important;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(38, 63, 53, 0.1);
}

.drawer-action-btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 25px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.drawer-action-btn.primary {
  background: #263F35;
  color: #FCF9F0;
  box-shadow: 0 4px 14px rgba(38, 63, 53, 0.2);
}

.drawer-action-btn.secondary {
  background: rgba(201, 168, 92, 0.15);
  color: #263F35;
  border: 1px solid rgba(201, 168, 92, 0.4);
}

.drawer-footer {
  text-align: center;
  padding-top: 10px;
  color: #6B7C6E;
  font-size: 12px;
}

.drawer-footer p {
  margin: 0 0 4px;
  font-weight: 500;
}

.drawer-footer small {
  opacity: 0.8;
  font-size: 11px;
}


/* ============================================================
   ADDITIONAL RESPONSIVE ENHANCEMENTS (appended — desktop safe)
   ============================================================ */

@media (max-width: 992px) {
  .services-container {
    margin-top: 60px !important;
    width: 96% !important;
    max-width: 100% !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
  }

  .services-hero {
    height: auto !important;
    min-height: 340px !important;
  }

  /* ALWAYS 2 CARDS PER ROW ON MOBILE */
  .service-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(8px, 2.5vw, 16px) !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .service-card {
    min-height: auto !important;
    height: auto !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .service-card-images {
    width: 100% !important;
    aspect-ratio: 3 / 4.1 !important;
    position: relative !important;
    display: block !important;
  }

  /* LAYER 1: SERVICE PHOTO (Upper 50% visible, peeking out of folder sleeve) */
  .photo-layer {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 10% !important;
    border-radius: 20px !important;
    z-index: 1 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform-origin: bottom right !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  }

  /* LAYER 2: GREEN FOLDER PANEL (Overlaps lower 60% of photo) */
  .folder-layer {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60% !important;
    object-fit: fill !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    z-index: 2 !important;
    pointer-events: none !important;
    display: block !important;
  }

  /* PHOTO ANIMATION ON MOBILE: Pops out ONLY while actively touching/pressing, returns on release */
  .photo-layer {
    transform: translateY(0) scale(1) rotate(0deg) !important;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  }

  .service-card:active .photo-layer,
  .service-card.touch-active .photo-layer {
    transform: translateY(-22px) scale(1.04) rotate(5deg) !important;
  }

  /* LAYER 3: ALL SERVICE TEXT INSIDE GREEN FOLDER PANEL (BELOW PHOTO) */
  .service-folder-body {
    position: absolute !important;
    top: 55% !important;
    bottom: 34px !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 6.5% !important;
    z-index: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .service-folder-title {
    font-family: 'Marcellus', 'Tenor Sans', Georgia, serif !important;
    font-size: clamp(12px, 3.4vw, 15.5px) !important;
    font-weight: 700 !important;
    color: #f8eed7 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.15 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
    max-width: 98% !important;
    margin: 0 0 2px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  .service-folder-desc {
    font-family: 'Tenor Sans', 'DM Sans', sans-serif !important;
    font-style: italic !important;
    font-size: clamp(10px, 2.7vw, 12px) !important;
    line-height: 1.25 !important;
    color: #efe3d0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
    opacity: 0.95 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-width: 98% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .service-folder-content {
    position: absolute !important;
    bottom: 8px !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 4.5% !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 3px !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
  }

  .service-amount {
    font-family: 'Tenor Sans', sans-serif !important;
    font-size: clamp(8.5px, 2.3vw, 10.5px) !important;
    font-weight: 700 !important;
    color: #18372d !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 3px 5px !important;
    border-radius: 8px !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.2px !important;
  }

  .service-button {
    font-size: clamp(8.5px, 2.3vw, 10.5px) !important;
    padding: 3px 6px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #18372d !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.1 !important;
    cursor: pointer !important;
    letter-spacing: -0.2px !important;
  }

  .left-aligned-heading h2 {
    font-size: clamp(22px, 5vw, 32px) !important;
  }

  .hero-features {
    gap: 16px !important;
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .review-placeholder {
    width: min(94%, 500px) !important;
    padding: 30px 18px !important;
  }

  .main-book {
    margin: 24px 0 45px !important;
  }
}

@media (max-width: 600px) {
  .services-container {
    margin-top: 30px !important;
    width: 98% !important;
    padding: 0 6px !important;
  }

  .services-hero {
    min-height: 280px !important;
    padding-top: 70px !important;
  }

  .hero-content {
    padding: 70px 14px 16px !important;
  }

  .hero-content h1 {
    font-size: clamp(26px, 7.5vw, 38px) !important;
  }

  .hero-button {
    padding: 10px 22px !important;
    font-size: 13px !important;
  }

  .hero-features {
    gap: 10px !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* ENSURE 2 CARDS PER ROW EVEN ON SMALL PHONES */
  .service-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .left-aligned-heading {
    margin-bottom: 20px !important;
  }

  .left-aligned-heading h2 {
    font-size: 1.6rem !important;
  }

  .review-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .review-card {
    padding: 16px !important;
  }
}

@media (max-width: 360px) {
  .services-container {
    padding: 0 4px !important;
  }

  .service-cards {
    gap: 6px !important;
  }

  .service-folder-title {
    font-size: 11.5px !important;
    -webkit-line-clamp: 2 !important;
  }

  .service-folder-desc {
    font-size: 9.5px !important;
    line-height: 1.2 !important;
    -webkit-line-clamp: 2 !important;
  }

  .service-amount {
    font-size: 9.5px !important;
    padding: 3px 5px !important;
  }

  .service-button {
    font-size: 9.5px !important;
    padding: 3px 7px !important;
  }
}

/* =========================================================
   LARGE DESKTOP AUTO-ADJUSTMENTS (WIDESCREEN AUTO-FIT)
   ========================================================= */
@media (min-width: 1250px) {
  .nav-container,
  .services-grid,
  .services-container {
    max-width: 1550px !important;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
}

@media (min-width: 1600px) {
  .nav-container,
  .services-grid,
  .services-container {
    max-width: 1750px !important;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
  }
}

