/* ==========================================================================
   MAGNUM INTERIORS — style.css
   Modern-premium design system + all page components.
   Type: Plus Jakarta Sans (headings) · Inter (body) · Manrope (numbers)
   Sections:
     1. Design tokens         6. Header / navigation     11. Our Work (carousel)
     2. Reset & base          7. Hero (split)            12. About (people)
     3. Typography helpers    8. Services/Pricing        13. Testimonials (reviews)
     4. Layout / containers   9. Process                 14. Contact form
     5. Buttons              10. Numbers / Brands         15. Footer + floating
     16. Reveal animations & reduced motion   17. Responsive
   ========================================================================== */

/* ============================ 1. DESIGN TOKENS ============================ */
:root {
  /* Brand gold (read from the logo) */
  --gold-100:#F0E4C4; --gold-300:#E7D4A0; --gold-500:#C29A4F; --gold-700:#9A7429;
  --gold-grad:linear-gradient(135deg,#E7D4A0 0%,#C29A4F 55%,#9A7429 100%);

  /* Warm neutrals */
  --ivory:#F7F2E9; --ivory-soft:#FFFDF9; --sand:#EFE7DA;
  --stone-200:#E2D9C9; --stone-400:#B7AB95; --stone-600:#857B69;
  --ink:#1D1915; --ink-soft:#514840;

  /* Grounding dark — DEFAULT: Forest green (swap these 3 to change mood) */
  --deep:#1F2E27; --deep-800:#16211C; --deep-600:#26382F;
  --on-deep:#F7F2E9; --on-deep-muted:#BFB7A6;

  /* Feedback */
  --success:#5C9A6F; --error:#D2694C; --star:#E8B04B;
  --whatsapp:#25D366;

  /* Semantic aliases */
  --bg:var(--ivory); --bg-raised:var(--ivory-soft); --bg-alt:var(--sand);
  --bg-deep:var(--deep); --text:var(--ink); --text-muted:var(--ink-soft);
  --accent:var(--gold-500); --accent-hover:var(--gold-700);
  --line:var(--stone-200); --img-placeholder:var(--sand);

  /* Type — modern, highly legible, premium */
  --font-display:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-num:"Manrope",system-ui,sans-serif;

  --fs-display:clamp(2.35rem,3.6vw + 1rem,4.05rem);   /* hero h1        */
  --fs-h2:clamp(1.85rem,2.1vw + .7rem,2.85rem);       /* section titles */
  --fs-h3:clamp(1.15rem,.5vw + .95rem,1.4rem);        /* card titles    */
  --fs-stat:clamp(4rem,8vw,7.5rem);                   /* big numbers    */
  --fs-lead:clamp(1.03rem,.35vw + .95rem,1.15rem);
  --fs-body:1.0625rem; --fs-sm:.9375rem; --fs-eyebrow:.78125rem;
  --lh-tight:1.08; --lh-heading:1.18; --lh-body:1.7;

  /* Spacing (8pt) */
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem;
  --space-5:1.5rem; --space-6:2rem; --space-7:3rem; --space-8:4rem;
  --space-9:6rem; --space-10:8rem;

  /* Radius */
  --radius-sm:10px; --radius-md:16px; --radius-lg:20px; --radius-xl:28px;
  --radius-2xl:36px; --radius-pill:999px;

  /* Shadows (warm-tinted, soft) */
  --shadow-sm:0 2px 10px rgba(29,25,21,.05);
  --shadow-md:0 10px 30px rgba(29,25,21,.08);
  --shadow-lg:0 20px 50px rgba(29,25,21,.11);
  --shadow-xl:0 32px 70px rgba(29,25,21,.15);
  --focus-ring:0 0 0 3px rgba(194,154,79,.45);

  /* Motion */
  --ease-out:cubic-bezier(.22,1,.36,1);
  --ease-std:cubic-bezier(.4,0,.2,1);
  --dur-fast:150ms; --dur-base:250ms; --dur-slow:400ms; --dur-entrance:700ms;

  /* Layout — generous whitespace */
  --container:1200px; --container-wide:1440px; --container-narrow:720px;
  --page-pad:clamp(1.15rem,5vw,4.5rem);
  --section-y:clamp(6rem,11vw,11rem);
  --header-h:88px;
  --logo-h:56px;

  /* Icons */
  --icon-sm:18px; --icon-md:24px; --icon-lg:30px;
}

/* ============================ 2. RESET & BASE ============================ */
*,*::before,*::after{box-sizing:border-box;}
*{margin:0;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  font-size:var(--fs-body);
  line-height:var(--lh-body);
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;}
input,textarea,select{font:inherit;color:inherit;}
ul,ol{list-style:none;padding:0;}
:focus-visible{outline:none;box-shadow:var(--focus-ring);border-radius:6px;}
::selection{background:var(--gold-300);color:var(--ink);}
section[id],[id]{scroll-margin-top:calc(var(--header-h) + 16px);}

.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* Material Symbols icon */
.icon{
  font-family:"Material Symbols Rounded";font-weight:normal;font-style:normal;
  font-size:var(--icon-md);line-height:1;letter-spacing:normal;text-transform:none;
  white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;
  font-variation-settings:'FILL' 0,'wght' 300,'GRAD' 0,'opsz' 24;
  display:inline-flex;vertical-align:middle;
}

/* Accessibility: skip link */
.skip-link{
  position:absolute;left:var(--space-4);top:-100px;z-index:200;
  background:var(--deep);color:var(--on-deep);padding:.7rem 1.1rem;border-radius:var(--radius-sm);
  transition:top var(--dur-base) var(--ease-out);
}
.skip-link:focus{top:var(--space-4);}

/* ======================= 3. TYPOGRAPHY HELPERS ========================== */
.eyebrow{
  display:inline-flex;align-items:center;gap:.7rem;
  font-family:var(--font-body);
  font-size:var(--fs-eyebrow);font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--accent);
}
.eyebrow--light{color:var(--gold-300);}

h1,h2,h3,.section__title{
  font-family:var(--font-display);font-weight:800;line-height:var(--lh-heading);
  letter-spacing:-.022em;
}
/* Accent word: gold, same weight — modern, not decorative */
.section__title em,.hero__title em{font-style:normal;color:var(--accent);}

/* Star rating (used in hero + reviews) */
.rating{display:inline-flex;align-items:center;gap:.5rem;}
.rating--inline{vertical-align:middle;}
.rating__stars{display:inline-flex;gap:.1rem;color:var(--star);}
.rating__stars .icon{font-size:19px;font-variation-settings:'FILL' 1,'wght' 400;}
.rating__score{font-family:var(--font-num);font-weight:800;font-size:1.05rem;color:var(--ink);}
.rating__where{font-size:var(--fs-sm);color:var(--stone-600);}

/* ====================== 4. LAYOUT / CONTAINERS ========================== */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--page-pad);}
.container--wide{max-width:var(--container-wide);}
.container--narrow{max-width:var(--container-narrow);}

.section{padding-block:var(--section-y);}
.section--dark{background:var(--bg-deep);color:var(--on-deep);}
.section--dark .section__lead,.section--dark p{color:var(--on-deep-muted);}
.section--dark .section__title{color:var(--on-deep);}
.section--sand{background:var(--bg-alt);}

.section__head{max-width:62ch;margin-bottom:var(--space-8);}
.section__head--center{margin-inline:auto;text-align:center;}
.section__head--center .eyebrow{justify-content:center;}
.section__title{font-size:var(--fs-h2);margin-top:var(--space-4);text-wrap:balance;}
.section__lead{font-size:var(--fs-lead);color:var(--text-muted);margin-top:var(--space-4);max-width:58ch;}
.section__head--center .section__lead{margin-inline:auto;}

.section__cta{
  display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-5);
  justify-content:center;text-align:center;margin-top:var(--space-8);
  font-size:var(--fs-lead);color:var(--text-muted);
}
.section--dark .section__cta{color:var(--on-deep-muted);}

/* ============================ 5. BUTTONS ================================ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font-family:var(--font-display);font-weight:700;font-size:var(--fs-sm);letter-spacing:-.005em;
  padding:.95rem 1.7rem;border-radius:var(--radius-pill);
  border:1.5px solid transparent;white-space:nowrap;text-align:center;
  transition:transform var(--dur-base) var(--ease-out),
             background var(--dur-base),color var(--dur-base),
             box-shadow var(--dur-base),border-color var(--dur-base);
}
.btn--sm{padding:.7rem 1.25rem;}
.btn--lg{padding:1.1rem 2rem;font-size:1rem;}
.btn--block{width:100%;}
.btn__icon{font-size:20px;transition:transform var(--dur-base) var(--ease-out);}

/* Solid brand gold with a whisper of vertical depth — no diagonal "shiny"
   band and no gold glow, both of which cheapened the old button. */
.btn--primary{
  background:linear-gradient(180deg,#CBA35A 0%,#B98F42 100%);
  color:#231B0E;border-color:#A87E33;
  box-shadow:0 1px 2px rgba(29,25,21,.16);
}
.btn--secondary{background:transparent;color:var(--ink);border-color:var(--ink);}
.btn--ghost-light{background:rgba(247,242,233,.06);color:var(--on-deep);border-color:rgba(247,242,233,.55);}
.btn--whatsapp{background:var(--whatsapp);color:#062e14;}
.btn--whatsapp svg{width:20px;height:20px;}

/* spinner for form submit */
.btn__spinner{
  display:none;width:18px;height:18px;border-radius:50%;
  border:2px solid rgba(29,25,21,.3);border-top-color:var(--ink);
  animation:spin .7s linear infinite;
}
.btn.is-loading .btn__label{visibility:hidden;}
.btn.is-loading .btn__spinner{display:block;position:absolute;}
.btn[data-submit]{position:relative;}
@keyframes spin{to{transform:rotate(360deg);}}

/* ====================== 6. HEADER / NAVIGATION ========================== */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:100;
  transition:background var(--dur-slow) var(--ease-std),box-shadow var(--dur-slow) var(--ease-std);
}
.site-header__inner{display:flex;align-items:center;gap:var(--space-5);height:var(--header-h);}
.site-header.is-scrolled{
  background:rgba(255,253,249,.97);
  box-shadow:0 1px 0 rgba(226,217,201,.9),0 6px 24px rgba(29,25,21,.07);
}

/* Brand lockup — the client's actual logo, two variants swapped by header state */
.brand{display:inline-flex;align-items:center;flex:none;}
.brand__logo{width:auto;height:var(--logo-h,58px);display:block;}
.site-header .brand{position:relative;}
.site-header .brand__logo--on-light{position:absolute;inset:0 auto auto 0;opacity:0;transition:opacity var(--dur-slow) var(--ease-std);}
.site-header .brand__logo--on-dark{opacity:1;transition:opacity var(--dur-slow) var(--ease-std);}
.site-header.is-scrolled .brand__logo--on-light{opacity:1;}
.site-header.is-scrolled .brand__logo--on-dark{opacity:0;}
.brand--footer .brand__logo{height:76px;}

.nav{margin-inline-start:auto;}
.nav__list{display:flex;gap:var(--space-6);}
.nav__link{
  position:relative;font-weight:500;font-size:.95rem;padding-block:.4rem;
  color:var(--ink);transition:color var(--dur-base);
}
/* Transparent over the dark hero photo → light text; solid on scroll → dark text */
.site-header:not(.is-scrolled) .nav__link,
.site-header:not(.is-scrolled) .header-phone,
.site-header:not(.is-scrolled) .nav-toggle{color:var(--on-deep);}
.site-header:not(.is-scrolled) .btn--secondary{color:var(--on-deep);border-color:rgba(247,242,233,.45);}
.nav__link::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;
  background:var(--accent);transition:width var(--dur-base) var(--ease-out);
}
.nav__link:hover::after,.nav__link.is-active::after{width:100%;}

.header-actions{display:flex;align-items:center;gap:var(--space-5);margin-inline-start:var(--space-5);flex:none;}
.header-phone{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;font-size:.9rem;color:var(--ink);white-space:nowrap;}
.header-phone .icon{font-size:20px;color:var(--accent);}
.nav-toggle{display:none;width:44px;height:44px;align-items:center;justify-content:center;border-radius:var(--radius-sm);color:var(--ink);}
.nav-toggle .icon{font-size:28px;}

/* Mobile nav panel */
.mobile-nav{
  position:absolute;top:var(--header-h);left:0;right:0;
  background:var(--ivory-soft);border-top:1px solid var(--line);
  box-shadow:var(--shadow-lg);padding:var(--space-5) var(--page-pad) var(--space-7);
  opacity:0;transform:translateY(-12px);transition:opacity var(--dur-base),transform var(--dur-base) var(--ease-out);
}
.mobile-nav:not([hidden]){display:block;}
.mobile-nav.is-open{opacity:1;transform:none;}
.mobile-nav__list{display:flex;flex-direction:column;}
.mobile-nav__link{
  display:block;padding:var(--space-4) 0;font-family:var(--font-display);
  font-weight:700;font-size:1.15rem;border-bottom:1px solid var(--line);color:var(--ink);
}
.mobile-nav__actions{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-5);}

/* ================== 7. HERO (full-screen photograph) =================== */
.hero{
  position:relative;display:flex;align-items:center;overflow:hidden;
  min-height:min(94vh,900px);
  padding-top:calc(var(--header-h) + var(--space-7));
  padding-bottom:clamp(3.5rem,7vw,6rem);
  color:var(--on-deep);
}
.hero__media{position:absolute;inset:0;z-index:0;}
/* Anchor low so the hands at the very top of the frame crop away, leaving the
   branded box, the kitchen and the floor in view. */
.hero__media img{width:100%;height:100%;object-fit:cover;object-position:center 100%;}
/* Left-weighted scrim: keeps the photo the focus while the copy stays readable
   over the bright marble floor on the left of the frame. */
.hero__overlay{
  position:absolute;inset:0;
  /* Left-weighted so the copy reads over the warm beige wall, while the
     right side (the reveal itself) stays bright and untouched. */
  background:
    linear-gradient(90deg,rgba(18,14,10,.72) 0%,rgba(18,14,10,.55) 28%,rgba(18,14,10,.26) 52%,rgba(18,14,10,.06) 78%,rgba(18,14,10,0) 100%),
    linear-gradient(0deg,rgba(18,14,10,.32) 0%,rgba(18,14,10,0) 38%),
    /* keeps the transparent header readable over the bright ceiling on the right */
    linear-gradient(180deg,rgba(18,14,10,.34) 0%,rgba(18,14,10,0) 15%);
}
.hero__inner{position:relative;z-index:1;max-width:var(--container);}
.hero__eyebrow{margin-bottom:var(--space-5);text-shadow:0 1px 14px rgba(18,14,10,.75);}
.hero__title{
  font-size:var(--fs-display);line-height:var(--lh-tight);letter-spacing:-.03em;
  max-width:20ch;text-shadow:0 2px 40px rgba(18,14,10,.4);
}
.hero__lead{
  margin-top:var(--space-5);font-size:var(--fs-lead);max-width:42ch;
  color:rgba(247,242,233,.94);text-shadow:0 1px 20px rgba(18,14,10,.6);
}
.hero__actions{display:flex;flex-wrap:wrap;gap:var(--space-4);margin-top:var(--space-7);}

/* Trust badges */
.hero__badges{
  display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4) var(--space-6);
  margin-top:var(--space-8);padding-top:var(--space-5);
  border-top:1px solid rgba(247,242,233,.22);
}
.hero__badge{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:var(--fs-sm);color:rgba(247,242,233,.88);
}
.hero__badge strong{font-family:var(--font-num);font-weight:800;font-size:1.15rem;color:var(--on-deep);}

/* ============================ 8. SERVICES ============================== */
/* Flex (not grid) so the last row of 5 cards centres instead of leaving a hole */
.service-grid{display:flex;flex-wrap:wrap;gap:var(--space-5);justify-content:center;}
.service-grid > *{flex:1 1 calc((100% - 2 * var(--space-5)) / 3);max-width:calc((100% - 2 * var(--space-5)) / 3);}
.service-card{
  display:flex;flex-direction:column;background:var(--bg-raised);
  border:1px solid var(--line);border-radius:var(--radius-xl);overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-base);
}
/* Short card, big image */
.service-card__body{padding:var(--space-5) var(--space-5) var(--space-6);}
.service-card__title{font-size:var(--fs-h3);font-weight:700;transition:color var(--dur-base);}
.service-card__text{color:var(--text-muted);font-size:var(--fs-sm);margin-top:.3rem;}

/* ==================== 8b. PACKAGES & PRICING ========================== */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-6);align-items:stretch;}
.price-card{
  position:relative;display:flex;flex-direction:column;background:var(--ivory-soft);
  border:1px solid var(--line);border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-md);
  transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base),border-color var(--dur-base);
}
/* All three packages carry equal visual weight — the price is the focus.
   Tightened vertically so the section reads compact rather than endless. */
.price-card__body{display:flex;flex-direction:column;padding:var(--space-5) var(--space-5) var(--space-5);flex:1;}
.price-card__name{font-size:1.35rem;font-weight:800;}
.price-card__from{margin-top:.35rem;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--stone-600);}
.price-card__prices{display:flex;align-items:baseline;gap:.55rem;flex-wrap:wrap;margin-top:.2rem;}
.price-card__old{font-family:var(--font-num);font-weight:700;text-decoration:line-through;
  text-decoration-thickness:1.5px;color:var(--stone-600);font-size:1rem;}
.price-card__new{font-family:var(--font-num);font-weight:800;font-size:2.1rem;color:var(--ink);line-height:1;letter-spacing:-.03em;}
.price-card__star{color:var(--accent);}
/* Plain typographic list — no icons, no bullets */
.price-card__includes{
  margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--line);
  font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--stone-600);
}
.price-card__list{display:flex;flex-direction:column;gap:.3rem;margin:.6rem 0 var(--space-5);}
.price-card__list li{font-size:var(--fs-sm);color:var(--text-muted);}
.price-card .btn{margin-top:auto;}
.pricing-note{text-align:center;margin-top:var(--space-6);font-size:var(--fs-sm);color:var(--stone-600);}

/* ============================ 9. PROCESS ============================== */
/* Clean timeline: large icon node on a hairline, small step number, short text */
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:var(--space-5);position:relative;}
.step{position:relative;text-align:center;padding:0 var(--space-2);}
/* Connector line between the icon nodes */
.step::after{
  content:"";position:absolute;top:44px;left:calc(50% + 52px);width:calc(100% - 104px);height:1px;
  background:var(--stone-200);
}
.step:last-child::after{display:none;}
.step__icon{
  position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;
  width:88px;height:88px;border-radius:50%;margin:0 auto var(--space-5);
  background:var(--ivory-soft);border:1px solid var(--stone-200);
  font-size:36px;color:var(--accent);box-shadow:var(--shadow-sm);
  transition:border-color var(--dur-base),transform var(--dur-base) var(--ease-out);
}
.step__num{
  display:block;font-size:.72rem;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--accent);margin-bottom:.5rem;
}
.step__title{font-size:1.08rem;font-weight:700;margin-bottom:.45rem;}
.step__text{color:var(--text-muted);font-size:.92rem;}

/* ====================== 10. NUMBERS + BRANDS ========================== */
.numbers{padding-block:clamp(4rem,7vw,6.5rem);}
.numbers .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-6);}
.stat{text-align:center;padding-inline:var(--space-3);}
.stat + .stat{border-left:1px solid rgba(247,242,233,.14);}
.stat__num{
  display:block;font-family:var(--font-num);font-weight:800;font-size:var(--fs-stat);
  line-height:.95;letter-spacing:-.035em;color:var(--gold-300);white-space:nowrap;
}
.stat__label{
  display:block;margin-top:var(--space-4);font-size:.85rem;font-weight:500;
  letter-spacing:.09em;text-transform:uppercase;color:var(--on-deep-muted);
}

/* Brand marquee: one row, right-to-left, looping forever.
   White section background so the logos' own white matting disappears. */
.materials{background:#fff;}
.marquee{
  overflow:hidden;
  /* fade the ends so logos enter and leave softly */
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
}
.marquee__track{
  display:flex;align-items:center;width:max-content;
  gap:clamp(2.5rem,5vw,4.5rem);
  animation:marquee-scroll 46s linear infinite;
}
.marquee__item{flex:none;display:flex;align-items:center;justify-content:center;}
.marquee__item img{
  height:clamp(38px,4.4vw,54px);width:auto;max-width:none;object-fit:contain;
  opacity:.62;filter:grayscale(1);
  transition:opacity var(--dur-base),filter var(--dur-base);
}
@keyframes marquee-scroll{
  from{transform:translate3d(0,0,0);}
  to{transform:translate3d(-50%,0,0);}   /* list is duplicated → seamless wrap */
}

/* ====================== 11. OUR WORK (carousel) ====================== */
.work__head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-5);max-width:none;}
.work__head-text{max-width:60ch;}
.carousel-nav{display:flex;gap:var(--space-3);flex:none;}
.carousel-btn{
  width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--stone-200);background:var(--ivory-soft);color:var(--ink);
  transition:transform var(--dur-base) var(--ease-out),background var(--dur-base),color var(--dur-base),border-color var(--dur-base);
}
.carousel-btn .icon{font-size:26px;}
.carousel-btn:disabled{opacity:.35;cursor:default;}

.work-track{
  display:flex;gap:var(--space-6);overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  max-width:calc(var(--container-wide) + 2 * var(--page-pad));margin-inline:auto;
  padding:var(--space-3) var(--page-pad) var(--space-6);
  /* snap to the padded edge, so the first card stays inset instead of
     sitting flush against the viewport on load */
  scroll-padding-inline:var(--page-pad);
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.work-track::-webkit-scrollbar{display:none;}
.work-track:focus-visible{outline:none;box-shadow:var(--focus-ring);}
.work-card{
  flex:0 0 calc((100% - 2 * var(--space-6)) / 3);scroll-snap-align:start;
  background:var(--ivory-soft);border:1px solid var(--line);border-radius:var(--radius-xl);overflow:hidden;
  box-shadow:var(--shadow-md);transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base);
}
.work-card .media{border-radius:0;}
.work-card__cap{display:flex;flex-direction:column;gap:.25rem;padding:var(--space-5);}
.work-card__name{font-family:var(--font-display);font-size:1.1rem;font-weight:700;}
.work-card__loc{display:inline-flex;align-items:center;gap:.3rem;font-size:var(--fs-sm);color:var(--stone-600);}
.work-card__loc .icon{font-size:17px;color:var(--accent);}

/* ================= 12. ABOUT (one image, short copy) ================== */
.about__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,6vw,6rem);align-items:center;}
.about__media .media{border-radius:var(--radius-2xl);box-shadow:var(--shadow-xl);}
.about__content .section__title{margin-top:var(--space-4);margin-bottom:var(--space-5);}
.about__content p{color:var(--text-muted);font-size:var(--fs-lead);max-width:46ch;}
.about__stats{display:flex;gap:var(--space-8);margin-top:var(--space-7);}
.about__stat-num{
  display:block;font-family:var(--font-num);font-weight:800;
  font-size:clamp(2.4rem,3vw,3.2rem);line-height:1;letter-spacing:-.03em;color:var(--accent-hover);
}
.about__stat-label{
  display:block;margin-top:.5rem;font-size:.78rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--stone-600);
}
.about .btn{margin-top:var(--space-7);}

/* ==================== 13. TESTIMONIALS (reviews) ====================== */
.tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-5);}
.testimonial{
  display:flex;flex-direction:column;gap:var(--space-4);
  background:var(--ivory-soft);border:1px solid var(--line);border-radius:var(--radius-xl);
  padding:var(--space-6);box-shadow:var(--shadow-sm);
  transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base);
}
.testimonial .rating__stars{gap:.15rem;}
.testimonial .rating__stars .icon{font-size:20px;}
.testimonial__quote{font-size:1.02rem;line-height:1.65;color:var(--text);flex:1;}
.testimonial__person{display:flex;align-items:center;gap:var(--space-4);padding-top:var(--space-5);border-top:1px solid var(--line);}
/* Icon avatar — a neutral stand-in until real customer photos exist */
.testimonial__avatar{
  width:48px;height:48px;border-radius:50%;flex:none;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:var(--sand);border:1px solid var(--stone-200);
}
.testimonial__avatar .icon{
  font-size:27px;color:var(--accent-hover);   /* deeper gold reads clearly on sand */
  font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24;
}
.testimonial__avatar img{width:100%;height:100%;object-fit:cover;}
.testimonial__meta{display:flex;flex-direction:column;line-height:1.35;}
.testimonial__name{font-family:var(--font-display);font-weight:700;font-size:.98rem;}
.testimonial__city{font-size:.85rem;color:var(--stone-600);}

/* =========================== 14. CONTACT ============================== */
.contact__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5rem);align-items:start;}
.contact-methods{display:flex;flex-direction:column;gap:var(--space-4);margin-top:var(--space-7);}
.contact-method{display:flex;align-items:center;gap:var(--space-4);color:var(--on-deep);font-style:normal;}
.contact-method .icon{
  font-size:23px;color:var(--gold-300);width:46px;height:46px;
  align-items:center;justify-content:center;border-radius:50%;
  border:1px solid rgba(194,154,79,.35);flex:none;transition:background var(--dur-base);
}
.contact-method__label{display:block;font-size:.73rem;letter-spacing:.13em;text-transform:uppercase;color:var(--on-deep-muted);}
.contact-method__value{display:block;font-weight:600;}

.form{background:var(--ivory-soft);border-radius:var(--radius-2xl);padding:clamp(1.5rem,3vw,2.5rem);box-shadow:var(--shadow-xl);}
.form__title{font-family:var(--font-display);font-weight:800;font-size:1.25rem;color:var(--ink);margin-bottom:var(--space-5);}
.field{margin-bottom:var(--space-4);}
.field__label{display:block;font-size:var(--fs-sm);font-weight:600;color:var(--ink);margin-bottom:.4rem;}
.field__optional{font-weight:400;color:var(--stone-600);}
.field__input{
  width:100%;padding:.9rem 1rem;background:#fff;color:var(--ink);
  border:1.5px solid var(--stone-200);border-radius:var(--radius-sm);
  transition:border-color var(--dur-base),box-shadow var(--dur-base);
}
.field__input::placeholder{color:var(--stone-400);}
.field__input:focus{outline:none;border-color:var(--accent);box-shadow:var(--focus-ring);}
.field__input[aria-invalid="true"]{border-color:var(--error);}
textarea.field__input{resize:vertical;min-height:88px;}
select.field__input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23857B69' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem;}
.field__error{display:block;min-height:1rem;margin-top:.35rem;font-size:.82rem;color:var(--error);}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.form__reassure{margin-top:var(--space-4);font-size:var(--fs-sm);color:var(--stone-600);text-align:center;}
.form__status{margin-top:var(--space-4);padding:0;font-size:var(--fs-sm);text-align:center;border-radius:var(--radius-sm);}
.form__status.is-success{padding:var(--space-4);background:rgba(92,154,111,.14);color:#2f6b47;}
.form__status.is-error{padding:var(--space-4);background:rgba(210,105,76,.14);color:#96341c;}

/* ============================ 15. FOOTER ============================== */
.site-footer{background:var(--deep-800);color:var(--on-deep);padding-block:var(--space-9) var(--space-6);}
.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1.2fr 1fr;gap:var(--space-7) var(--space-6);}
.footer-brand .brand{margin-bottom:var(--space-5);}
.footer-brand__values{margin-top:.6rem;font-size:.75rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-300);}
.footer-brand__tag{font-size:var(--fs-sm);color:var(--on-deep-muted);max-width:30ch;}
.footer-col__title{
  font-family:var(--font-display);font-size:.78rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--gold-300);margin-bottom:var(--space-4);
}
.footer-links,.footer-contact{display:flex;flex-direction:column;gap:var(--space-3);}
.footer-links a,.footer-contact a,.footer-contact li,.footer-contact address{
  color:var(--on-deep-muted);font-style:normal;font-size:var(--fs-sm);transition:color var(--dur-base);
}
.footer-social{display:flex;gap:var(--space-3);}
.social-btn{
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;
  border:1px solid rgba(247,242,233,.2);color:var(--on-deep-muted);transition:all var(--dur-base);
}
.footer-bottom{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-3);
  margin-top:var(--space-8);padding-top:var(--space-5);border-top:1px solid rgba(247,242,233,.12);
  font-size:.82rem;color:var(--on-deep-muted);
}

/* Floating WhatsApp + mobile bar */
.whatsapp-fab{
  position:fixed;right:clamp(1rem,3vw,2rem);bottom:clamp(1rem,3vw,2rem);z-index:90;
  width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--whatsapp);color:#fff;box-shadow:0 10px 30px rgba(37,211,102,.4);
  transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base);
}
.mobile-bar{display:none;}

/* ============= 16. REVEAL ANIMATIONS & REDUCED MOTION ================= */
.reveal{opacity:0;transform:translateY(22px);transition:opacity var(--dur-entrance) var(--ease-out),transform var(--dur-entrance) var(--ease-out);}
.reveal.is-visible{opacity:1;transform:none;}
/* gentle stagger within grids */
.service-grid .reveal.is-visible:nth-child(2),
.pricing-grid .reveal.is-visible:nth-child(2),
.tgrid .reveal.is-visible:nth-child(2){transition-delay:.08s;}
.service-grid .reveal.is-visible:nth-child(3),
.pricing-grid .reveal.is-visible:nth-child(3),
.tgrid .reveal.is-visible:nth-child(3){transition-delay:.16s;}
.steps .reveal.is-visible:nth-child(2){transition-delay:.07s;}
.steps .reveal.is-visible:nth-child(3){transition-delay:.14s;}
.steps .reveal.is-visible:nth-child(4){transition-delay:.21s;}
.steps .reveal.is-visible:nth-child(5){transition-delay:.28s;}

/* Hover states — only on true hover devices */
@media (hover:hover){
  .btn--primary:hover{
    background:linear-gradient(180deg,#D8B068 0%,#C29A4F 100%);
    transform:translateY(-2px);box-shadow:0 8px 20px rgba(29,25,21,.18);
  }
  .btn--secondary:hover{background:var(--ink);color:var(--ivory);border-color:var(--ink);}
  .btn--ghost-light:hover{background:var(--on-deep);color:var(--ink);border-color:var(--on-deep);}
  .btn--whatsapp:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);filter:brightness(1.03);}
  .btn:hover .btn__icon{transform:translate(2px,-2px);}
  .service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:var(--gold-300);}
  .service-card:hover .service-card__title{color:var(--accent-hover);}
  .media--zoom img{transition:transform var(--dur-slow) var(--ease-out);}
  .service-card:hover .media--zoom img,.work-card:hover .media--zoom img{transform:scale(1.07);}
  .work-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-xl);}
  .price-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:var(--gold-300);}
  .step:hover .step__icon{border-color:var(--gold-500);transform:translateY(-3px);}
  .testimonial:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
  .carousel-btn:hover:not(:disabled){border-color:var(--ink);background:var(--ink);color:var(--ivory);}
  /* Brand logos: grayscale → full brand colour on hover */
  /* pause the loop and reveal true brand colours on hover */
  .marquee:hover .marquee__track{animation-play-state:paused;}
  .marquee__item img:hover{opacity:1;filter:grayscale(0);}
  .footer-links a:hover,.footer-contact a:hover{color:var(--gold-300);}
  .social-btn:hover{border-color:var(--gold-300);color:var(--gold-300);transform:translateY(-2px);}
  .whatsapp-fab:hover{transform:scale(1.06);}
  .contact-method:hover .icon{background:rgba(194,154,79,.15);}
}
.btn:active{transform:translateY(0) scale(.99);}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;}
  .reveal{opacity:1;transform:none;}
  .marquee__track{animation:none;}
  .marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none;}
}

/* ============================ 17. RESPONSIVE ========================== */
@media (min-width:900px){
  :root{--header-h:100px;--logo-h:64px;}
  .nav-toggle{display:none;}
}
/* Keep the header roomy: drop the phone number before things get tight */
@media (max-width:1250px){
  .header-phone{display:none;}
}
@media (max-width:899px){
  .nav{display:none;}
  .header-phone{display:inline-flex;} /* icon-only tap-to-call on mobile */
  .nav-toggle{display:inline-flex;}
  .header-phone__num{display:none;}
  .header-actions .btn--sm{display:none;} /* sticky bottom bar carries the CTA on mobile */
}

@media (max-width:1024px){
  .service-grid > *{flex-basis:calc((100% - var(--space-5)) / 2);max-width:calc((100% - var(--space-5)) / 2);}
  .steps{grid-template-columns:repeat(2,1fr);gap:var(--space-7) var(--space-5);}
  .step{text-align:left;padding:0;}
  .step::after{display:none;}
  .step__icon{margin-inline:0;width:76px;height:76px;font-size:32px;}
  .about__media{max-width:520px;}
  .numbers .stats{grid-template-columns:repeat(2,1fr);gap:var(--space-7) var(--space-5);}
  .stat:nth-child(odd){border-left:0;}
  .work-card{flex-basis:calc((100% - var(--space-6)) / 2);}
  .tgrid{grid-template-columns:1fr;max-width:640px;margin-inline:auto;}
  .about__grid,.contact__grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

@media (max-width:640px){
  /* Tighter hero rhythm so the CTA + trust badges stay above the fold */
  .hero{
    padding-top:calc(var(--header-h) + var(--space-5));
    padding-bottom:var(--space-6);
  }
  /* Portrait artwork: subject sits at the top, copy is centred in the open
     space beneath it (matches the client's mobile reference). */
  .hero{align-items:flex-end;min-height:min(96vh,900px);}
  .hero__media img{object-position:center top;}
  .hero__inner{text-align:center;}
  .hero__eyebrow{display:none;}          /* the artwork already carries the brand */
  /* 7vw keeps "Designing beautiful homes" on one line, so the headline breaks
     in two like the reference and the copy clears the artwork above it. */
  .hero__title{
    font-size:clamp(1.55rem,7vw,2.2rem);
    max-width:26ch;margin-inline:auto;
  }
  .hero__lead{max-width:34ch;margin-inline:auto;margin-top:var(--space-4);}
  .hero__actions{
    flex-direction:column;align-items:center;
    gap:var(--space-3);margin-top:var(--space-5);
  }
  .hero__actions .btn{width:min(82%,330px);}
  .hero__badges{display:none;}           /* keeps the copy clear of the artwork */
  .hero__overlay{
    background:
      linear-gradient(0deg,rgba(18,14,10,.76) 0%,rgba(18,14,10,.58) 38%,rgba(18,14,10,.28) 62%,rgba(18,14,10,0) 80%),
      linear-gradient(180deg,rgba(18,14,10,.3) 0%,rgba(18,14,10,0) 14%);
  }
  .hero__lead{margin-top:var(--space-4);}
  .hero__actions{margin-top:var(--space-6);gap:var(--space-3);}
  .hero__badges{
    margin-top:var(--space-6);padding-top:var(--space-4);
    gap:var(--space-2) var(--space-5);
  }
  .hero__badge{font-size:.86rem;}
  /* Services become a horizontal swipe row on phones — the peeking next card
     signals it, and it bleeds to the screen edges like Our Work does. */
  .service-grid{
    flex-wrap:nowrap;justify-content:flex-start;
    overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
    gap:var(--space-4);
    margin-inline:calc(-1 * var(--page-pad));
    padding:2px var(--page-pad) var(--space-5);
    scroll-padding-inline:var(--page-pad);
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
  }
  .service-grid::-webkit-scrollbar{display:none;}
  .service-grid > *{flex:0 0 80%;max-width:80%;scroll-snap-align:start;}

  /* Tighter card padding on phones — Services + Our Work */
  .service-card__body{padding:var(--space-4) var(--space-4) var(--space-5);}
  .work-card__cap{padding:var(--space-4);}
  .pricing-grid{grid-template-columns:1fr;max-width:420px;margin-inline:auto;}
  .steps{grid-template-columns:1fr;gap:var(--space-6);}
  /* Compact step rows on phones: icon node beside the text */
  .step{display:grid;grid-template-columns:auto 1fr;gap:var(--space-3) var(--space-5);align-items:start;}
  .step__icon{grid-row:span 3;width:64px;height:64px;font-size:28px;margin:0;}
  .step__num{grid-column:2;margin-bottom:.15rem;}
  .step__title{grid-column:2;}
  .step__text{grid-column:2;}
  .numbers .stats{grid-template-columns:1fr 1fr;gap:var(--space-6) var(--space-4);}
  .stat{padding-inline:0;}
  .stat__label{font-size:.72rem;letter-spacing:.06em;}
  .work-card{flex-basis:86%;}
  .carousel-nav{display:none;}
  .work__head{flex-direction:column;align-items:flex-start;}
  .about__media .media{aspect-ratio:4/3;}
  .about__stats{gap:var(--space-7);}
  .footer-grid{grid-template-columns:1fr;gap:var(--space-6);}
  .section__cta{flex-direction:column;}
  /* Mobile sticky action bar */
  .mobile-bar{
    display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:95;
    background:var(--ivory-soft);border-top:1px solid var(--line);box-shadow:0 -4px 20px rgba(29,25,21,.12);
  }
  .mobile-bar__btn{
    display:flex;align-items:center;justify-content:center;gap:.5rem;padding:1.05rem;
    font-family:var(--font-display);font-weight:700;font-size:.98rem;
  }
  .mobile-bar__btn--call{color:var(--ink);border-right:1px solid var(--line);}
  .mobile-bar__btn--wa{background:var(--whatsapp);color:#062e14;}
  .whatsapp-fab{bottom:76px;width:52px;height:52px;}
  body{padding-bottom:62px;}
}
@media (max-width:400px){
  .hero__actions .btn{width:min(90%,330px);}
}

/* Aspect-ratio image containers — swap any photo without breaking layout */
.media{position:relative;width:100%;overflow:hidden;border-radius:var(--radius-lg);background:var(--img-placeholder);}
.media img{width:100%;height:100%;object-fit:cover;object-position:center;}
.ar-16x9{aspect-ratio:16/9;} .ar-4x3{aspect-ratio:4/3;} .ar-3x4{aspect-ratio:3/4;}
.ar-3x2{aspect-ratio:3/2;} .ar-4x5{aspect-ratio:4/5;} .ar-1x1{aspect-ratio:1/1;}
