/* ===== CSS Variables ===== */
:root {
    --bg-dark: #0D0D0D;
    --bg-card: #1A1A1A;
    --bg-light: #F7F4EF;
    --text-primary: #FFFFFF;
    --text-secondary: #999999;
    --accent-gold: #C9A84C;
    --whatsapp-green: #25D366;
    
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --letter-spacing-wide: 0.15em;
    --line-height-body: 1.8;
    
    --container-width: 1200px;
    --container-padding: 24px;
    
    --transition-base: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: var(--line-height-body);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 0.4s ease;
    top: 0 !important; /* offset Google Translate sometimes applies */
}

body.fade-in {
    opacity: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 100;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 200;
}

h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
}

p {
    color: var(--text-secondary);
}

/* ===== Layout ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-dark {
    background-color: var(--bg-dark);
    padding: 100px 0;
}

.section-light {
    background-color: var(--bg-light);
    color: var(--bg-dark);
    padding: 100px 0;
}

.section-light p {
    color: #555;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.section-heading-dark {
    color: var(--bg-dark);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: background-color var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(20px, 3vw, 36px);
    flex-wrap: wrap;
    flex-shrink: 1;
    min-width: 0;
}

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

.nav-logo-img {
    height: 24px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 40px;
    flex-shrink: 1;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    transition: color var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* Mobile Navigation — tablet: tighter row, no wrap crush */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px 20px;
        justify-content: flex-end;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-logo-img {
        height: 22px;
    }
}

/* Narrow phones — stack logo + links so nothing overlaps */
@media (max-width: 640px) {
    .navbar {
        padding: 16px 0;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }

    .nav-logo {
        width: 100%;
        justify-content: center;
    }

    .nav-logo-img {
        height: 20px;
        width: auto;
        max-width: min(280px, 85vw);
        object-fit: contain;
        object-position: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 12px 16px;
        flex-wrap: wrap;
    }
}

/* ===== Language switcher (Google Translate) ===== */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* One chevron on the wrapper — avoids native + SVG double (or triple) arrows on <select> */
.lang-switcher:not(.nav-lang-inline__hit)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 2px solid rgba(201, 168, 76, 0.8);
    border-bottom: 2px solid rgba(201, 168, 76, 0.8);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.lang-switcher__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background-color: rgba(0, 0, 0, 0.35);
    background-image: none;
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 4px;
    padding: 0.45rem 2rem 0.45rem 0.65rem;
    max-width: min(240px, 46vw);
    cursor: pointer;
    transition: border-color var(--transition-base), color var(--transition-base), background-color var(--transition-base);
}

.lang-switcher__select::-ms-expand {
    display: none;
}

.lang-switcher__select:hover,
.lang-switcher__select:focus {
    outline: none;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Wrapper width must match the select so ::after chevron sits inside the bordered box */
.lang-switcher--footer {
    width: min(320px, 100%);
    max-width: 100%;
}

.lang-switcher--footer .lang-switcher__select {
    width: 100%;
    max-width: none;
}

.footer-label--lang {
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--text-secondary);
}

.nav-lang-inline {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.nav-lang-inline__text,
.nav-lang-inline__arrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    pointer-events: none;
    line-height: 1;
}

.nav-lang-inline__arrow {
    font-size: 0.68rem;
    opacity: 0.85;
}

.nav-lang-inline:hover .nav-lang-inline__text,
.nav-lang-inline:hover .nav-lang-inline__arrow,
.nav-lang-inline:focus-within .nav-lang-inline__text,
.nav-lang-inline:focus-within .nav-lang-inline__arrow {
    color: var(--accent-gold);
}

.nav-lang-inline__hit {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    min-width: 7.5rem;
    height: 2.75rem;
    margin: 0;
    padding: 0;
}

.nav-lang-inline__hit.lang-switcher .lang-switcher__select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 0;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none;
    color: transparent;
    font-size: 1rem;
    max-width: none;
    letter-spacing: normal;
    text-transform: none;
}

.nav-lang-inline__hit.lang-switcher .lang-switcher__select:focus {
    outline: none;
}

.nav-lang-inline--light .nav-lang-inline__text,
.nav-lang-inline--light .nav-lang-inline__arrow {
    color: #666;
}

.nav-lang-inline--light:hover .nav-lang-inline__text,
.nav-lang-inline--light:hover .nav-lang-inline__arrow,
.nav-lang-inline--light:focus-within .nav-lang-inline__text,
.nav-lang-inline--light:focus-within .nav-lang-inline__arrow {
    color: var(--accent-gold);
}

.terms-nav-row {
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (max-width: 520px) {
    .terms-nav-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .terms-nav-row .nav-lang-inline {
        align-self: flex-end;
    }
}

.terms-lang-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 28rem;
}

.terms-lang-footer .footer-label--lang {
    color: #555;
}

.terms-lang-footer .lang-switcher:not(.nav-lang-inline__hit)::after {
    border-right-color: #666;
    border-bottom-color: #666;
}

.terms-lang-footer .lang-switcher:focus-within:not(.nav-lang-inline__hit)::after,
.terms-lang-footer .lang-switcher:hover:not(.nav-lang-inline__hit)::after {
    border-right-color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.terms-lang-footer .lang-switcher__select {
    color: #333;
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.15);
    background-image: none;
}

.terms-lang-footer .lang-switcher__select:hover,
.terms-lang-footer .lang-switcher__select:focus {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.goog-te-placeholder {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.skiptranslate iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    padding: 16px 32px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    background: none;
}

.btn-primary {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-secondary {
    color: var(--text-primary);
    padding-left: 0;
}

.btn-secondary:hover {
    color: var(--accent-gold);
}

.btn-secondary .arrow {
    transition: transform var(--transition-base);
}

.btn-secondary:hover .arrow {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: calc(120px + env(safe-area-inset-top, 0px)) 0 calc(80px + env(safe-area-inset-bottom, 0px));
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Slight scale avoids hairline gaps on some GPUs */
    transform: scale(1.02);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 13, 0.78) 0%,
        rgba(13, 13, 13, 0.5) 38%,
        rgba(13, 13, 13, 0.82) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero-media {
        background-image: url('../images/sthvara-hero-poster.jpg');
        background-size: cover;
        background-position: center;
    }
}

.hero-heading {
    max-width: 800px;
    margin-bottom: 24px;
}

.hero-subheading {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
}

.hero-ctas {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* Hero entrance — subtle stagger (Kalinga-style polish) */
.hero-reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: sthvaraHeroRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-heading.hero-reveal { animation-delay: 0.12s; }
.hero-subheading.hero-reveal { animation-delay: 0.28s; }
.hero-ctas.hero-reveal { animation-delay: 0.44s; }

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

@media (prefers-reduced-motion: reduce) {
    .hero-reveal {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== Scroll reveal (homepage) ===== */
.sthvara-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.sthvara-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-stats .sthvara-reveal:nth-child(1) { transition-delay: 0s; }
.intro-stats .sthvara-reveal:nth-child(2) { transition-delay: 0.1s; }
.intro-stats .sthvara-reveal:nth-child(3) { transition-delay: 0.2s; }

.intro-story .sthvara-reveal:nth-child(1) { transition-delay: 0.08s; }
.intro-story .sthvara-reveal:nth-child(2) { transition-delay: 0.2s; }

.why-sthvara .section-heading.sthvara-reveal { transition-delay: 0s; }
.why-sthvara-lede.sthvara-reveal { transition-delay: 0.08s; }
.why-sthvara .feature.sthvara-reveal:nth-child(1) { transition-delay: 0s; }
.why-sthvara .feature.sthvara-reveal:nth-child(2) { transition-delay: 0.08s; }
.why-sthvara .feature.sthvara-reveal:nth-child(3) { transition-delay: 0.16s; }
.why-sthvara .feature.sthvara-reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .sthvara-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.certifications .section-heading.sthvara-reveal { transition-delay: 0s; }
.certifications .cert-card.sthvara-reveal:nth-child(1) { transition-delay: 0.08s; }
.certifications .cert-card.sthvara-reveal:nth-child(2) { transition-delay: 0.16s; }
.certifications .cert-card.sthvara-reveal:nth-child(3) { transition-delay: 0.24s; }

/* ===== Certifications & compliance (Palai-style cards + lightbox) ===== */
.certifications {
    padding: 100px 0;
    border-top: 1px solid var(--bg-card);
}

.certifications-lede {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 36rem;
    margin: -36px auto 48px;
    text-align: center;
    line-height: 1.65;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.cert-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.cert-card:hover {
    border-color: rgba(201, 168, 76, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cert-img-wrap {
    position: relative;
    flex-shrink: 0;
    height: 168px;
    background: #111;
    overflow: hidden;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

/* Hide fallback layer once the JPG has decoded — otherwise it shows through letterboxing */
.cert-img-wrap.is-cert-loaded .cert-img-placeholder {
    display: none;
}

.cert-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    z-index: 0;
}

.cert-img-placeholder span {
    font-size: 0.65rem;
    color: #555;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    border: 1px dashed #333;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
}

.cert-expand {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    color: var(--accent-gold);
    z-index: 2;
}

.cert-img-wrap:hover .cert-expand {
    opacity: 1;
}

.cert-name {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: var(--letter-spacing-wide);
    line-height: 1.35;
    padding: 1rem 0.75rem 0.25rem;
}

.cert-badge {
    display: block;
    text-align: center;
    margin-top: auto;
    font-family: var(--font-heading);
    font-weight: 200;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    padding: 0.5rem 1rem 1.15rem;
    text-transform: uppercase;
}

.cert-image-modal {
    display: none;
    position: fixed;
    z-index: 4500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: clamp(48px, 8vw, 80px) clamp(16px, 4vw, 32px);
    background-color: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-sizing: border-box;
}

.cert-image-modal.is-active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-image-modal__content {
    margin: auto;
    display: block;
    max-width: min(920px, 92vw);
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    animation: certModalZoom 0.3s ease;
}

@keyframes certModalZoom {
    from {
        transform: scale(0.96);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cert-image-modal__close {
    position: absolute;
    top: clamp(12px, 3vw, 24px);
    right: clamp(12px, 3vw, 28px);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-base), color var(--transition-base);
    z-index: 4501;
}

.cert-image-modal__close:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

@media (max-width: 900px) {
    .cert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .cert-grid .cert-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 20px) / 2);
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .certifications {
        padding: 72px 0;
    }

    .certifications-lede {
        margin: -28px auto 36px;
        font-size: 0.875rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-grid .cert-card:nth-child(3) {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
        max-width: none;
    }

    .cert-img-wrap {
        height: 140px;
    }

    .cert-name {
        min-height: 2.85rem;
        font-size: 0.75rem;
        padding: 0.85rem 0.5rem 0.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cert-image-modal__content {
        animation: none;
    }
}

/* ===== Introduction Section ===== */
.intro-stats--centered {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 3rem);
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    align-items: start;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 100;
    letter-spacing: 0.05em;
    color: var(--bg-dark);
}

.stat-label {
    font-size: 0.875rem;
    color: #555;
    max-width: 14rem;
    line-height: 1.5;
}

.intro-story {
    max-width: 40rem;
    margin: 0 auto;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    text-align: center;
}

.intro-lede {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 300;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
}

.intro-lede em {
    font-style: normal;
    color: #6b5a2e;
}

.intro-body {
    font-size: 1.0625rem;
    line-height: 1.95;
    color: #444;
    font-weight: 300;
}

.section-light .intro-story .intro-body {
    color: #444;
}

@media (max-width: 700px) {
    .intro-stats--centered {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stat-label {
        max-width: 20rem;
    }
}

/* ===== Collections Section ===== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.collection-card {
    position: relative;
    padding: 0;
    height: 280px;
    text-align: center;
    border: 1px solid transparent;
    transition: border-color var(--transition-base), transform var(--transition-base);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.collection-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    transition: background var(--transition-base);
}

.collection-card:hover .collection-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 1;
}

.collection-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.collection-type {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Features/Why Sthvara Section ===== */
.why-sthvara .section-heading {
    margin-bottom: 0.75rem;
}

.why-sthvara-lede {
    text-align: center;
    font-size: 0.9375rem;
    color: #666;
    font-weight: 300;
    max-width: 28rem;
    margin: 0 auto 3rem;
    line-height: 1.65;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.25rem);
}

.feature {
    position: relative;
    text-align: center;
    padding: 1.75rem 1.25rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.45);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.feature::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 0.65rem;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(
        90deg,
        rgba(201, 168, 76, 0) 0%,
        rgba(201, 168, 76, 0.2) 22%,
        rgba(201, 168, 76, 0.75) 50%,
        rgba(201, 168, 76, 0.2) 78%,
        rgba(201, 168, 76, 0) 100%
    );
    background-size: 200% 100%;
    animation: sthvaraLineShimmer 4.2s ease-in-out infinite;
    opacity: 0.85;
    pointer-events: none;
}

.feature:nth-child(1)::after { animation-delay: 0s; }
.feature:nth-child(2)::after { animation-delay: 0.35s; }
.feature:nth-child(3)::after { animation-delay: 0.7s; }
.feature:nth-child(4)::after { animation-delay: 1.05s; }

@keyframes sthvaraLineShimmer {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.45;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.95;
    }
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.feature-title {
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--bg-dark);
    transition: color 0.35s ease;
}

.feature:hover .feature-title {
    color: #2a2418;
}

.feature-text {
    font-size: 0.9375rem;
    color: #555;
}

@media (prefers-reduced-motion: reduce) {
    .feature {
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .feature:hover {
        transform: none;
    }

    .feature::after {
        animation: none;
        opacity: 0.55;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(201, 168, 76, 0.35),
            transparent
        );
        background-size: 100% 100%;
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .why-sthvara-lede {
        margin-bottom: 2.25rem;
    }
}

/* ===== CTA Banner ===== */
.cta-container {
    text-align: center;
}

.cta-heading {
    margin-bottom: 16px;
}

.cta-subheading {
    font-size: 1.125rem;
    margin-bottom: 40px;
}

/* ===== Page Header ===== */
.page-header {
    padding: 160px 0 80px;
    background-color: var(--bg-dark);
}

.page-title {
    margin-bottom: 24px;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 16px;
}

.page-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.catalogue-hint {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    opacity: 0.85;
    max-width: 36rem;
    margin-top: 1rem;
    line-height: 1.5;
}

.catalogue-hint--banner {
    margin-top: 0;
    max-width: none;
    opacity: 0.92;
}

.catalogue-cta-banner {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 3vw, 28px);
    margin-top: 1.75rem;
    padding: clamp(16px, 2.5vw, 22px) clamp(18px, 3vw, 28px);
    max-width: 42rem;
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(26, 26, 26, 0.65) 100%);
}

.catalogue-cta-banner__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-top: 4px;
}

.catalogue-cta-banner__arrow {
    font-size: 1.25rem;
    line-height: 1;
    color: var(--accent-gold);
    animation: catalogue-arrow-nudge 1.6s ease-in-out infinite;
}

.catalogue-cta-banner__title {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 300;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tap-ripple {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
}

.tap-ripple__dot {
    position: relative;
    z-index: 2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.45);
    animation: tap-dot-pulse 2s ease-in-out infinite;
}

.tap-ripple__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    opacity: 0.85;
    animation: tap-ring-expand 2s ease-out infinite;
    pointer-events: none;
}

.tap-ripple__ring--2 {
    animation-delay: 0.65s;
}

@keyframes tap-ring-expand {
    0% {
        transform: scale(0.65);
        opacity: 0.9;
    }
    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}

@keyframes tap-dot-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 10px rgba(201, 168, 76, 0);
    }
}

@keyframes catalogue-arrow-nudge {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.85;
    }
    50% {
        transform: translateY(5px);
        opacity: 1;
    }
}

/* One-time tilt demo on first tile (grid) */
.catalogue-section:first-of-type .tiles-grid > .tile-card:first-child {
    position: relative;
}

.catalogue-section:first-of-type .tiles-grid > .tile-card:first-child::before {
    content: 'Demo';
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--accent-gold);
    padding: 4px 8px;
    border-radius: 2px;
    pointer-events: none;
    animation: catalogue-demo-badge 7s ease-in-out forwards;
}

@keyframes catalogue-demo-badge {
    0%, 15% {
        opacity: 0;
        transform: translateY(-4px);
    }
    20%, 75% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-4px);
    }
}

.catalogue-section:first-of-type .tiles-grid > .tile-card:first-child .tile-image img {
    animation: catalogueTileTease 6.5s ease-in-out 1 0.8s both;
}

@media (max-width: 520px) {
    .catalogue-cta-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .catalogue-cta-banner__copy {
        text-align: center;
    }
}

@keyframes catalogueTileTease {
    0%, 100% {
        transform: perspective(520px) rotateX(0deg) rotateY(0deg) scale(1);
    }
    10% {
        transform: perspective(520px) rotateX(-4deg) rotateY(-20deg) scale(1.03);
    }
    22% {
        transform: perspective(520px) rotateX(4deg) rotateY(20deg) scale(1.03);
    }
    34% {
        transform: perspective(520px) rotateX(-3deg) rotateY(-12deg) scale(1.02);
    }
    46% {
        transform: perspective(520px) rotateX(3deg) rotateY(12deg) scale(1.02);
    }
    58%, 76% {
        transform: perspective(520px) rotateX(0deg) rotateY(0deg) scale(1);
    }
}

/* ===== Catalogue Section ===== */
.catalogue-section {
    padding: 60px 0;
    border-top: 1px solid var(--bg-card);
}

.catalogue-section:first-of-type {
    border-top: none;
}

.collection-header {
    margin-bottom: 48px;
}

.collection-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.collection-divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent-gold);
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.tile-card {
    background-color: var(--bg-card);
    cursor: pointer;
    border-radius: 2px;
    transition: box-shadow 0.35s ease;
}

.tile-card:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

.tile-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.tile-image-placeholder {
    height: 280px;
    background-color: #252525;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tile-image {
    height: 280px;
    overflow: hidden;
    background-color: #252525;
}

/* 3D tilt: perspective on card (set in JS when supported) */
.tile-card.tile-card--tilt {
    perspective: 900px;
}

.tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    transition: transform 0.18s ease-out;
    will-change: transform;
}

.tile-card:not(.tile-card--tilt):hover .tile-image img {
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .tile-image img {
        transition: transform 0.25s ease;
    }

    .tile-card:not(.tile-card--tilt):hover .tile-image img {
        transform: none;
    }
}

/* ===== Tile lightbox (catalogue) ===== */
.tile-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.tile-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.tile-lightbox__close {
    position: absolute;
    top: clamp(12px, 3vw, 28px);
    right: clamp(12px, 3vw, 28px);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 2;
}

.tile-lightbox__close:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.tile-lightbox__inner {
    max-width: min(920px, 100%);
    max-height: min(88vh, 100%);
    text-align: center;
}

.tile-lightbox__coach {
    margin: 0 auto 1rem;
    max-width: 22rem;
    padding: 0.65rem 1.1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--bg-dark);
    background: var(--accent-gold);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.tile-lightbox__coach.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tile-lightbox__img--tease {
    animation: lightboxTileTeaseDemo 4.8s ease-in-out 1 both;
}

@keyframes lightboxTileTeaseDemo {
    0%, 100% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    15% {
        transform: rotateX(-5deg) rotateY(-24deg);
    }
    32% {
        transform: rotateX(5deg) rotateY(24deg);
    }
    48% {
        transform: rotateX(-3deg) rotateY(-14deg);
    }
    64% {
        transform: rotateX(3deg) rotateY(14deg);
    }
    80% {
        transform: rotateX(0deg) rotateY(0deg);
    }
}

.tile-lightbox__stage {
    display: inline-block;
    max-width: 100%;
    perspective: 1400px;
    perspective-origin: center center;
    touch-action: none;
}

.tile-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: min(78vh, 820px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    transform-style: preserve-3d;
    transform-origin: center center;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.tile-lightbox__hint {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
}

.tile-lightbox__caption {
    margin-top: 0.65rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
    .tile-lightbox {
        transition: none;
    }

    .tile-lightbox__stage {
        perspective: none;
        touch-action: auto;
    }

    .tile-lightbox__img {
        transition: none;
        transform: none !important;
    }

    .tile-lightbox__img--tease {
        animation: none !important;
    }

    .tile-lightbox__hint {
        display: none;
    }

    .tile-lightbox__coach {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalogue-cta-banner__arrow,
    .tap-ripple__dot,
    .tap-ripple__ring {
        animation: none !important;
    }

    .catalogue-section:first-of-type .tiles-grid > .tile-card:first-child .tile-image img {
        animation: none !important;
    }

    .catalogue-section:first-of-type .tiles-grid > .tile-card:first-child::before {
        display: none;
    }
}

.tile-name {
    font-size: 0.9375rem;
    padding: 20px 20px 8px;
    color: var(--text-primary);
}

.tile-specs {
    font-size: 0.8125rem;
    padding: 0 20px;
    margin: 0;
    color: var(--text-secondary);
}

/* Enquire link follows this <p>, so :last-child never matched — use :last-of-type */
.tile-specs:last-of-type {
    padding-bottom: 16px;
}

.tile-enquire-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 16px 0 0;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-gold);
    background: none;
    border: none;
    border-top: 1px solid rgba(201, 168, 76, 0.25);
    cursor: pointer;
    text-decoration: none;
    transition: color var(--transition-base), letter-spacing var(--transition-base);
}

.tile-enquire-btn:hover {
    color: var(--text-primary);
    letter-spacing: 0.2em;
}

.tile-enquire-btn:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .tiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 500px) {
    .tiles-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== About Page ===== */
.brand-story {
    padding: 160px 0 100px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.story-quote blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 100;
    font-style: italic;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    line-height: 1.4;
}

.story-text p {
    font-size: 1.125rem;
    line-height: 2;
}

@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.approach-item {
    text-align: center;
}

.approach-title {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--bg-dark);
}

.approach-text {
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Team Section */
.team {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    margin: 0 auto 24px;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center top;
}

.team-photo.ashish {
    background-position: center 15%;
}

.team-photo.ashok {
    background-position: center 20%;
}

.team-name {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.team-role {
    display: block;
    font-size: 0.875rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.team-bio {
    font-size: 0.9375rem;
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Parent Company Section */
.parent-container {
    text-align: center;
    max-width: 600px;
}

.parent-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--bg-dark);
}

.parent-text {
    margin-bottom: 24px;
}

.parent-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--accent-gold);
    text-transform: uppercase;
}

.parent-link:hover {
    text-decoration: underline;
}

/* ===== Contact Page ===== */
.contact-header {
    padding: 160px 0 40px;
}

.contact-content {
    padding: 40px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    padding: 16px;
    background-color: var(--bg-card);
    border: 1px solid #333;
    color: var(--text-primary);
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Custom select — matches input field styling */
.form-select {
    position: relative;
    width: 100%;
}

.form-select-trigger {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    padding: 16px 44px 16px 16px;
    background-color: var(--bg-card);
    border: 1px solid #333;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: border-color var(--transition-base);
}

.form-select-trigger:hover {
    border-color: #444;
}

.form-select-trigger:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-select.open .form-select-trigger {
    border-color: var(--accent-gold);
}

.form-select-value {
    flex: 1;
    min-width: 0;
}

.form-select-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--text-secondary);
    transition: transform var(--transition-base), border-top-color var(--transition-base);
    pointer-events: none;
}

.form-select.open .form-select-chevron {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: var(--accent-gold);
}

.form-select-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background-color: var(--bg-card);
    border: 1px solid #333;
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
}

.form-select-option {
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.form-select-option:hover,
.form-select-option:focus {
    outline: none;
    background-color: rgba(201, 168, 76, 0.08);
    color: var(--text-primary);
}

.form-select-option[aria-selected="true"] {
    color: var(--accent-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 8px;
}

/* Direct Contact */
.direct-contact {
    padding-top: 16px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 300;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    padding: 20px 32px;
    background-color: var(--whatsapp-green);
    color: var(--text-primary);
    transition: opacity var(--transition-base);
}

.btn-whatsapp:hover {
    opacity: 0.9;
}

.direct-note {
    font-size: 0.9375rem;
    margin-top: 16px;
    color: var(--text-secondary);
}

.contact-divider {
    height: 1px;
    background-color: #333;
    margin: 40px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-item a {
    color: var(--text-primary);
}

.contact-item a:hover {
    color: var(--accent-gold);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* ===== Contact — FAQ accordion ===== */
.faq-section {
    padding: 72px 0 100px;
    border-top: 1px solid var(--bg-card);
}

.faq-section .section-heading {
    text-align: center;
    margin-bottom: 12px;
}

.faq-intro {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 32rem;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.faq-accordion {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background-color: var(--bg-card);
    margin-bottom: 12px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item[open] {
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 0.9375rem;
    letter-spacing: var(--letter-spacing-wide);
    line-height: 1.4;
    color: var(--text-primary);
    position: relative;
    user-select: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::marker {
    content: none;
}

.faq-summary::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 1.5px solid var(--accent-gold);
    border-bottom: 1.5px solid var(--accent-gold);
    transform: rotate(45deg);
    transition: transform var(--transition-base);
    opacity: 0.85;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(-135deg);
    margin-top: -2px;
}

.faq-summary:hover,
.faq-summary:focus {
    outline: none;
    color: var(--accent-gold);
}

.faq-summary:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(201, 168, 76, 0.4);
    border-radius: 4px;
}

.faq-body {
    padding: 0 1.25rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-body p {
    margin: 0;
    padding-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .faq-summary {
        padding-right: 2.75rem;
        font-size: 0.875rem;
    }

    .faq-summary::after {
        right: 1rem;
    }
}

/* ===== Footer ===== */
.footer {
    background-color: var(--bg-dark);
    padding: 80px 0;
    border-top: 1px solid var(--bg-card);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    min-width: 0;
}

.footer-logo-img {
    height: 20px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.875rem;
    margin-top: 8px;
}

.footer-legal {
    font-size: 0.75rem;
    margin-top: 16px;
}

.footer-legal + .footer-legal {
    margin-top: 6px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo-img {
        margin-left: auto;
        margin-right: auto;
        height: 18px;
        width: auto;
        max-width: min(260px, 80vw);
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-contact {
        align-items: center;
    }
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
    
    .section-dark,
    .section-light {
        padding: 80px 0;
    }
    
    .hero {
        /* Extra top space so stacked nav (links + language) clears hero headline */
        padding: calc(118px + env(safe-area-inset-top, 0px)) 0 calc(60px + env(safe-area-inset-bottom, 0px));
        min-height: 100svh;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.8125rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .brand-story {
        padding: 120px 0 80px;
    }
    
    .contact-header {
        padding: 120px 0 40px;
    }
}

@media (max-width: 640px) {
    /* Top-align so both CTAs stay in flow; clip video only on .hero-media (not whole hero) */
    .hero {
        align-items: flex-start;
        overflow: visible;
        padding: calc(180px + env(safe-area-inset-top, 0px)) 0 calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .hero-heading {
        margin-bottom: 18px;
        /* Between the old “too small” caps and full desktop h1 */
        font-size: clamp(1.85rem, 1.15rem + 3vw, 2.5rem);
    }

    .hero-subheading {
        font-size: 1.0625rem;
        line-height: 1.62;
        margin-bottom: 32px;
    }

    .hero-ctas {
        gap: 16px;
    }

    .hero-ctas .btn {
        font-size: 0.875rem;
        padding: 14px 26px;
    }

    /* Slight gap between language row and nav links when stacked */
    .nav-lang-inline {
        margin-top: 4px;
    }
}

/* ===== Terms & Conditions Page ===== */
.back-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: var(--letter-spacing-wide);
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.back-link:hover {
    color: var(--text-primary);
}

.terms-section {
    padding-top: 120px;
    padding-bottom: 100px;
}

.terms-container {
    max-width: 800px;
}

.terms-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.terms-date {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 40px;
}

.terms-notice {
    background-color: #F0EDE7;
    border-left: 3px solid var(--accent-gold);
    padding: 24px;
    margin-bottom: 48px;
}

.terms-notice p {
    font-size: 0.9375rem;
    color: #555;
    margin: 0;
}

.terms-notice strong {
    color: var(--bg-dark);
}

.terms-content h2 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    color: var(--bg-dark);
    margin-top: 40px;
    margin-bottom: 16px;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 0;
}

.terms-content a {
    color: var(--accent-gold);
    transition: color var(--transition-base);
}

.terms-content a:hover {
    color: #a88a3d;
    text-decoration: underline;
}

.terms-footer {
    font-size: 0.875rem;
    color: #777;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
    .terms-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .terms-container {
        padding: 0 var(--container-padding);
    }
}
