/* ==========================================================================
   SHAKAZULU STORE — Main stylesheet
   Mobile-first. No frameworks.

   BRAND COLOURS
   No official logo was supplied. This provisional palette is taken from the
   product itself — baobab brown, ubuyu red, baobab-pulp cream and spice gold.
   When the ShakaZulu Store logo is available, update ONLY these variables
   and the whole site follows.
   ========================================================================== */

:root {
    --primary-color: #3B1F14;      /* Baobab brown — buttons, dark sections   */
    --secondary-color: #F1E3CF;    /* Warm baobab-pulp cream — soft panels    */
    --accent-color: #C2452D;       /* Ubuyu red — highlights                  */
    --background-color: #FBF6EE;   /* Warm ivory page background              */
    --text-color: #2A1811;         /* Body text                               */

    --gold-color: #D9A441;         /* Spice gold — small details only         */
    --muted-color: #75604F;
    --line-color: rgba(59, 31, 20, .14);
    --light-color: #FFFFFF;
    --whatsapp-color: #1FA855;     /* Used only on WhatsApp buttons           */

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1320px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-space: clamp(4.5rem, 10vw, 8rem);
    --radius: 4px;
    --header-h: 72px;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow-soft: 0 18px 40px -24px rgba(59, 31, 20, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-color);
    background: var(--background-color);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.08; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 200;
    background: var(--primary-color); color: var(--light-color); padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding-block: var(--section-space); }

/* ---------- Typography ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .75rem;
    margin-bottom: 1.25rem;
    font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted-color);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent-color); }
.eyebrow-light::before { background: var(--gold-color); }
.eyebrow-light { color: rgba(255, 255, 255, .85); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5.5vw, 4rem);
    letter-spacing: -.01em;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 720px; }
.section-head-split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; color: var(--text-color); }

.text-link {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    border-bottom: 1px solid currentColor; padding-bottom: .3rem;
    transition: gap .3s var(--ease);
}
.text-link:hover { gap: .85rem; }
.text-link .icon { width: 16px; height: 16px; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: transparent; --btn-fg: var(--text-color); --btn-bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
    min-height: 52px; padding: .9rem 1.6rem;
    font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
    color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
    white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: .65rem 1.15rem; font-size: .7rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.9rem; }
.btn-block { width: 100%; }

.btn-primary { --btn-bg: var(--primary-color); --btn-fg: var(--light-color); --btn-bd: var(--primary-color); }
.btn-primary:hover { --btn-bg: #552E1E; box-shadow: var(--shadow-soft); }
.btn-outline { --btn-fg: var(--primary-color); --btn-bd: var(--primary-color); }
.btn-outline:hover { --btn-bg: var(--primary-color); --btn-fg: var(--light-color); }
.btn-light { --btn-bg: var(--light-color); --btn-fg: var(--primary-color); --btn-bd: var(--light-color); }
.btn-light:hover { --btn-bg: var(--secondary-color); --btn-bd: var(--secondary-color); }
.btn-ghost-light { --btn-fg: var(--light-color); --btn-bd: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-bd: var(--light-color); }
.btn-wa { --btn-bg: var(--whatsapp-color); --btn-fg: var(--light-color); --btn-bd: var(--whatsapp-color); }
.btn-wa:hover { --btn-bg: #188f47; --btn-bd: #188f47; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-row-center { justify-content: center; }

/* ---------- Setup notice (developer only) ---------- */
.setup-notice {
    position: relative; z-index: 60;
    padding: .55rem var(--gutter);
    font-size: .75rem; line-height: 1.4; text-align: center;
    background: #FFF4D6; color: #5A4A1A; border-bottom: 1px solid #EAD9A6;
}
.setup-notice code { font-size: .72rem; background: rgba(0,0,0,.06); padding: .05rem .3rem; border-radius: 2px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 246, 238, .94);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line-color);
    transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }

/* Transparent over the homepage hero until scrolled */
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0,0,0,.4); }
.has-hero .site-header { position: absolute; top: auto; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--light-color); backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header.is-scrolled {
    position: fixed; top: 0;
    background: rgba(251, 246, 238, .96); color: var(--text-color); border-color: var(--line-color);
    backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    animation: headerDrop .45s var(--ease);
}
@keyframes headerDrop { from { transform: translateY(-100%); } to { transform: none; } }
/* A backdrop-filter would trap the fixed mobile menu inside the header. */
.nav-open .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; animation: none; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; position: relative; z-index: 2; }
.logo-main { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .1em; }
.logo-sub { font-size: .5rem; font-weight: 700; letter-spacing: .26em; margin-top: .3rem; color: inherit; opacity: .8; }
.logo img { height: 40px; width: auto; }

.lang-switch { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 2px; opacity: .9; }
.lang-switch a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 32px; padding: 0 .55rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .12em; border-radius: 999px; transition: background-color .25s var(--ease), color .25s var(--ease);
}

.lang-switch a[aria-current="true"] { background: var(--primary-color); color: var(--light-color); }
.has-hero .site-header:not(.is-scrolled) .lang-switch a[aria-current="true"] { background: var(--light-color); color: var(--primary-color); }
.nav-open .site-header .lang-switch a[aria-current="true"] { background: var(--primary-color); color: var(--light-color); }
.lang-switch-mobile { position: relative; z-index: 2; margin-left: auto; margin-right: .5rem; }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.nav-actions .lang-switch { display: none; }
.nav-toggle {
    position: relative; z-index: 2;
    width: 48px; height: 48px; margin-right: -12px;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
    background: none; border: 0; color: inherit;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav-open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile menu panel */
.main-nav {
    position: fixed; inset: 0; z-index: 1;
    display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
    background: var(--background-color); color: var(--text-color);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-open .site-header { color: var(--text-color); }
.nav-list { display: flex; flex-direction: column; gap: .35rem; }
.nav-list a {
    display: inline-flex; align-items: center; gap: .75rem; padding: .35rem 0;
    font-family: var(--font-display); font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1.1;
}
.nav-list a[aria-current="page"] { font-style: italic; }
.nav-list .nav-instagram .icon { width: 26px; height: 26px; }
.nav-cta { align-self: flex-start; min-height: 54px; }
.nav-mobile-foot { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-color); }
.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .main-nav {
        position: static; inset: auto; flex-direction: row; align-items: center; gap: 2.25rem;
        padding: 0; background: none; color: inherit; opacity: 1; visibility: visible; transform: none;
    }
    .nav-list { flex-direction: row; align-items: center; gap: 2rem; }
    .nav-list a {
        position: relative; font-family: var(--font-body); font-size: .74rem; font-weight: 600;
        letter-spacing: .16em; text-transform: uppercase; padding: .5rem 0; gap: .45rem;
    }
    .nav-list a::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px;
        background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
    }
    .nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
    .nav-list a[aria-current="page"] { font-style: normal; }
    .nav-list .nav-instagram .icon { width: 17px; height: 17px; }
    .nav-mobile-foot { display: none; }
    .lang-switch-mobile { display: none; }
    .nav-actions .lang-switch { display: inline-flex; }
    .has-hero .site-header:not(.is-scrolled) .nav-cta { --btn-bg: var(--light-color); --btn-fg: var(--primary-color); --btn-bd: var(--light-color); }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .main-nav { gap: 1.5rem; }
    .nav-list { gap: 1.35rem; }
    .nav-instagram span { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative; isolation: isolate;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-end;
    color: var(--light-color); background: #2A1509;
    overflow: hidden;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-media img { object-fit: cover; object-position: center 35%; animation: heroZoom 14s var(--ease) both; }
.hero-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(to top, rgba(28, 12, 6, .85) 0%, rgba(28, 12, 6, .45) 45%, rgba(28, 12, 6, .2) 70%, rgba(28, 12, 6, .5) 100%),
        linear-gradient(to right, rgba(28, 12, 6, .55) 0%, rgba(28, 12, 6, 0) 65%);
}
.hero-content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(3rem, 9vh, 6rem); }
.hero-title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2.9rem, 11vw, 7.5rem); line-height: .98; letter-spacing: -.02em;
    margin-bottom: 1.5rem; max-width: 12ch;
}
.hero-text { max-width: 34rem; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.86); margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-brandline { display: none; }

.hero-anim { opacity: 0; animation: heroIn 1s var(--ease) forwards; }
.hero-anim:nth-child(2) { animation-delay: .12s; }
.hero-anim:nth-child(3) { animation-delay: .26s; }
.hero-anim:nth-child(4) { animation-delay: .4s; }

@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 559px) {
    .hero-actions .btn { flex: 1 1 100%; }
}
@media (min-width: 1024px) {
    .hero-brandline {
        display: block; position: absolute; right: var(--gutter); bottom: clamp(3rem, 9vh, 6rem);
        writing-mode: vertical-rl; transform: rotate(180deg);
        font-size: .68rem; letter-spacing: .5em; color: rgba(255,255,255,.6);
    }
}

/* ==========================================================================
   INNER PAGE HERO
   ========================================================================== */
.page-hero { padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line-color); }
.page-title { font-family: var(--font-display); font-size: clamp(2.8rem, 8vw, 5.75rem); line-height: 1; letter-spacing: -.015em; max-width: 16ch; }
.page-intro { margin-top: 1.5rem; max-width: 38rem; font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted-color); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-media::after {
    content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%;
    border-right: 1px solid var(--accent-color); border-bottom: 1px solid var(--accent-color); z-index: -1;
}
.about-copy { max-width: 36rem; }
.about-copy .section-title { margin-bottom: 1.5rem; }
.about-copy p { color: var(--muted-color); }
.about-copy .lead { color: var(--text-color); }
.about-copy > .btn { margin-top: 1.25rem; }
@media (min-width: 900px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
    .section-about-page .about-grid { grid-template-columns: 5fr 6fr; }
}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.section-featured { background: var(--light-color); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(.85rem, 2vw, 1.75rem); }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1099px) {
    .section-featured .product-grid .product-card:nth-child(4) { display: none; }
}

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-media { position: relative; overflow: hidden; background: var(--secondary-color); }
.product-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-status {
    position: absolute; top: .75rem; left: .75rem;
    padding: .35rem .6rem; font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(251, 246, 238, .94); color: var(--primary-color);
}
.product-body { display: flex; flex-direction: column; flex: 1; padding-top: 1.1rem; }
.product-name { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 600; line-height: 1.15; margin-bottom: .35rem; }
.product-desc { font-size: .88rem; line-height: 1.5; color: var(--muted-color); margin-bottom: .6rem; }
.product-meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: baseline; font-size: .88rem; color: var(--muted-color); margin-bottom: .6rem; }
.product-meta strong { color: var(--text-color); font-size: .98rem; }
.product-wa {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
    font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    border-bottom: 1px solid var(--line-color);
    transition: border-color .3s var(--ease), color .3s var(--ease);
}
.product-wa .icon { width: 17px; height: 17px; color: var(--whatsapp-color); }
.product-wa:hover { border-color: var(--primary-color); }
@media (max-width: 419px) {
    .product-wa { font-size: .62rem; letter-spacing: .1em; gap: .4rem; }
    .product-desc { font-size: .82rem; }
}

/* Collection page filter */
.section-collection { padding-top: clamp(2.5rem, 5vw, 4rem); }
.filter-bar {
    display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1) clamp(2rem, 4vw, 3rem); padding: 0 var(--gutter) .25rem;
    -webkit-overflow-scrolling: touch;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip {
    flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.15rem;
    font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    border: 1px solid var(--line-color); border-radius: 999px;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter-chip:hover { border-color: var(--primary-color); }
.filter-chip.is-active { background: var(--primary-color); border-color: var(--primary-color); color: var(--light-color); }
.product-grid-full .product-cell { display: flex; }
.product-grid-full .product-cell > .product-card { width: 100%; }
.empty-state { text-align: center; padding: 3rem 0; color: var(--muted-color); }
.empty-state .btn { margin-top: .5rem; }

/* ==========================================================================
   RETAIL / WHOLESALE
   ========================================================================== */
.section-channels { background: var(--secondary-color); }
.channel-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 800px) { .channel-grid { grid-template-columns: 1fr 1fr; } }
.channel-card {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: clamp(1.75rem, 4vw, 3rem); background: var(--background-color); border-radius: var(--radius);
}
.channel-card p { color: var(--muted-color); max-width: 30rem; margin-bottom: 1.75rem; }
.channel-card .btn { margin-top: auto; }
.channel-label {
    display: inline-block; margin-bottom: 1.25rem; padding: .35rem .75rem; border-radius: 999px;
    font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    background: var(--secondary-color); color: var(--accent-color);
}
.channel-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .85rem; }
.channel-wholesale { background: var(--primary-color); color: var(--light-color); }
.channel-wholesale p { color: rgba(255,255,255,.75); }
.channel-wholesale .channel-label { background: rgba(255,255,255,.1); color: var(--gold-color); }

/* ==========================================================================
   HOW TO ORDER
   ========================================================================== */
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: none; }
@media (min-width: 800px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--line-color); }
.step-num {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 1.1rem;
    font-family: var(--font-display); font-size: 1.3rem; border-radius: 50%; background: var(--accent-color); color: var(--light-color);
}
.step h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .5rem; }
.step p { color: var(--muted-color); margin: 0; max-width: 22rem; }
.steps-cta { margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 559px) { .steps-cta .btn { width: 100%; } }

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.category-grid { display: grid; grid-template-columns: 1fr; gap: clamp(.75rem, 1.5vw, 1.25rem); }
@media (min-width: 700px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.category-tile { position: relative; display: block; overflow: hidden; color: var(--light-color); background: #3B1F14; isolation: isolate; }
.category-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.category-tile::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(to top, rgba(10, 9, 8, .78) 0%, rgba(10, 9, 8, .1) 55%, rgba(10, 9, 8, 0) 100%);
    transition: opacity .5s var(--ease);
}
.category-tile:hover img { transform: scale(1.06); }
.category-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; padding: clamp(1rem, 2.5vw, 2rem); }
.category-index { font-size: .65rem; letter-spacing: .2em; opacity: .75; margin-bottom: .35rem; }
.category-name { font-family: var(--font-display); font-size: clamp(1.45rem, 3.5vw, 2.4rem); line-height: 1.05; }
.category-desc { font-size: .88rem; opacity: .85; margin-top: .4rem; }
.category-link {
    display: inline-flex; align-items: center; gap: .45rem; margin-top: .75rem;
    font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.category-link .icon { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.category-tile:hover .category-link .icon { transform: translateX(4px); }
@media (min-width: 700px) { .category-tile img { aspect-ratio: 4 / 5; } }

/* ==========================================================================
   WHY
   ========================================================================== */
.section-why { background: var(--secondary-color); }
.why-grid { display: grid; gap: 0; border-top: 1px solid var(--line-color); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item { padding: 2.25rem 0; border-bottom: 1px solid var(--line-color); }
@media (min-width: 640px) {
    .why-item { padding: 2.5rem 2rem 2.5rem 0; }
    .why-item:nth-child(2n) { padding-left: 2rem; border-left: 1px solid var(--line-color); }
}
@media (min-width: 1024px) {
    .why-item { border-bottom: 0; padding: 2.75rem 2rem 0; border-left: 1px solid var(--line-color); }
    .why-item:first-child { padding-left: 0; border-left: 0; }
}
.why-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: var(--background-color); color: var(--accent-color); margin-bottom: 1.5rem; }
.why-icon .icon { width: 22px; height: 22px; }
.why-item h3 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: .6rem; }
.why-item p { color: var(--muted-color); font-size: .95rem; margin: 0; }

/* ==========================================================================
   INSTAGRAM
   ========================================================================== */
.ig-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.35rem, 1vw, .75rem); }
@media (min-width: 1100px) { .ig-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.ig-tile { position: relative; display: block; overflow: hidden; background: var(--secondary-color); }
.ig-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .9s var(--ease); }
.ig-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: var(--light-color); background: rgba(17, 17, 17, .38); opacity: 0; transition: opacity .4s var(--ease);
}
.ig-overlay .icon { width: 28px; height: 28px; }
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile:hover .ig-overlay, .ig-tile:focus-visible .ig-overlay { opacity: 1; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.section-cta { background: var(--primary-color); color: var(--light-color); padding-block: clamp(4rem, 9vw, 7rem); }
.cta-inner { display: grid; gap: 2rem; align-items: center; }
.cta-inner > *, .contact-layout > *, .form-layout > *, .about-grid > * { min-width: 0; }
.cta-title { font-family: var(--font-display); font-size: clamp(2.3rem, 6vw, 4.25rem); margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,.85); max-width: 32rem; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 559px) { .cta-actions .btn { flex: 1 1 100%; } }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.2fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.contact-layout:not(.has-map) .contact-panel { max-width: 760px; }
@media (min-width: 1000px) { .contact-layout.has-map { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.contact-lead { color: var(--muted-color); max-width: 34rem; margin: 1.25rem 0 2rem; }
.contact-list { margin: 0; border-top: 1px solid var(--line-color); }
.contact-list > div { display: grid; grid-template-columns: 1fr; gap: .25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-color); }
@media (min-width: 560px) { .contact-list > div { grid-template-columns: 11rem 1fr; align-items: baseline; } }
.contact-list dt { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-color); }
.contact-list dt .icon { width: 17px; height: 17px; color: var(--accent-color); }
.contact-list dd { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-list dd a { border-bottom: 1px solid var(--line-color); transition: border-color .3s var(--ease); }
.contact-list dd a:hover { border-color: currentColor; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; max-width: 22rem; }
.contact-map { min-height: 360px; background: var(--secondary-color); }
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.35); }
@media (max-width: 559px) { .section-contact .btn-row .btn { flex: 1 1 100%; } }

/* Contact form */
.section-form { background: var(--light-color); }
.form-layout { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 960px) { .form-layout { grid-template-columns: 5fr 7fr; align-items: start; } }
.form-intro p:not(.eyebrow) { color: var(--muted-color); margin-top: 1.25rem; max-width: 26rem; }
.form-card { width: 100%; }
.contact-form { display: grid; gap: 1.25rem; }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: .45rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field textarea {
    width: 100%; padding: .95rem 1rem; min-height: 52px;
    font: inherit; font-size: 1rem; color: var(--text-color);
    background: var(--background-color); border: 1px solid var(--line-color); border-radius: var(--radius);
    transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary-color); background: var(--light-color); }
.field.has-error input, .field.has-error textarea { border-color: #B3261E; }
.field-error { margin: .4rem 0 0; font-size: .82rem; color: #B3261E; }
.field-hint { margin: -.5rem 0 0; font-size: .82rem; color: var(--muted-color); }
.form-note { font-size: .8rem; color: var(--muted-color); margin: 0; }
.form-note a { text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 1rem 1.15rem; margin-bottom: 1.5rem; font-size: .92rem; border-left: 3px solid; display: grid; gap: .25rem; }
.form-alert-success { background: #EEF6EF; border-color: #2E7D4F; }
.form-alert-error { background: #FBEDEC; border-color: #B3261E; }
.form-alert a { text-decoration: underline; }

/* ==========================================================================
   FAQ + LEGAL
   ========================================================================== */
.faq-list { border-top: 1px solid var(--line-color); }
.faq-item { border-bottom: 1px solid var(--line-color); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 1.5rem 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 500; line-height: 1.2; }
.faq-icon { flex: none; display: inline-flex; transition: transform .35s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.5rem; color: var(--muted-color); max-width: 42rem; }

.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin: 2.5rem 0 1rem; }
.prose p, .prose li { color: #3b3833; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .5rem; }
.prose a { text-decoration: underline; }
.placeholder-note { padding: 1rem 1.15rem; background: #FFF4D6; border-left: 3px solid #D9B75A; font-size: .9rem; }

.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page .page-title { margin-inline: auto; }
.error-page .page-intro { margin-inline: auto; }
.error-code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 11rem); line-height: 1; color: var(--accent-color); margin: 0 0 1rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #24130C; color: rgba(255,255,255,.72); padding-top: clamp(4rem, 8vw, 6rem); }
.footer-grid { display: grid; gap: 3rem; padding-bottom: 3.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; gap: 4rem; } }
.logo-light { color: var(--light-color); margin-bottom: 1.5rem; }
.footer-brand p { max-width: 24rem; font-size: .95rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--light-color);
    transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.footer-social a:hover { background: var(--light-color); color: var(--primary-color); border-color: var(--light-color); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-title { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--light-color); margin-bottom: 1.25rem; }
.footer-col li { margin-bottom: .35rem; }
.footer-col a, .footer-col span { display: inline-flex; align-items: center; gap: .65rem; min-height: 36px; transition: color .25s var(--ease); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--light-color); }
.footer-contact .icon { width: 17px; height: 17px; color: var(--gold-color); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
    padding-block: 1.75rem calc(1.75rem + 72px); border-top: 1px solid rgba(255,255,255,.12);
    font-size: .8rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--light-color); }
@media (min-width: 760px) { .footer-bottom { padding-bottom: 1.75rem; } }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-float {
    position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
    display: inline-flex; align-items: center; gap: .6rem;
    height: 56px; min-width: 56px; padding: 0 16px;
    color: var(--light-color); background: var(--whatsapp-color); border-radius: 999px;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.45);
    transform: translateY(0); transition: transform .4s var(--ease), opacity .4s var(--ease), box-shadow .3s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; margin-left: -1px; }
.wa-float-label { display: none; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.wa-float:hover { box-shadow: 0 16px 36px -10px rgba(0,0,0,.55); transform: translateY(-2px); }
.js .has-hero:not(.hero-passed) .wa-float,
.wa-float.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
@media (min-width: 1024px) { .wa-float { padding: 0 22px 0 16px; } .wa-float-label { display: inline; } }

/* ==========================================================================
   SCROLL REVEAL (only when JS is running)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 419px) {
    .btn { white-space: normal; text-align: center; letter-spacing: .12em; padding-inline: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero-anim { opacity: 1; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Very small phones: keep logo, language switch and menu on one line */
@media (max-width: 399px) {
    .logo-main { font-size: 1.15rem; letter-spacing: .06em; }
    .logo-sub { font-size: .44rem; letter-spacing: .16em; }
    .lang-switch a { min-width: 32px; min-height: 30px; padding: 0 .35rem; font-size: .62rem; }
    .lang-switch-mobile { margin-right: .15rem; }
    .header-inner { gap: .75rem; }
}
