  :root{
    --cream:#F6F1E7;
    --cream-2:#EFE7D8;
    --espresso:#15130F;
    --espresso-2:#1E1B15;
    --gold:#B9924B;
    --gold-light:#D9BD86;
    --gold-dark:#7A5C2E;
    --line: rgba(185,146,75,0.28);
    --ease: cubic-bezier(.22,1,.36,1);
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  [hidden]{ display:none !important; }
  html{scroll-behavior:smooth;}
  body{
    font-family:'Jost', sans-serif;
    background:var(--cream);
    color:var(--espresso);
    font-weight:300;
    letter-spacing:.02em;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.serif{
    font-family:'Cormorant Garamond', serif;
    font-weight:500;
    letter-spacing:.01em;
  }
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;display:block;}
  .container{ max-width:1180px; margin:0 auto; padding:0 32px; }
  .eyebrow{
    font-size:12px; letter-spacing:.35em; text-transform:uppercase;
    color:var(--gold); font-weight:400; display:inline-block; margin-bottom:18px;
  }
  .btn{
    display:inline-flex; align-items:center; gap:12px; padding:16px 34px;
    border:1px solid var(--gold); color:var(--espresso); font-size:12px;
    letter-spacing:.24em; text-transform:uppercase; background:transparent;
    cursor:pointer; transition:all .5s var(--ease); font-family:'Jost',sans-serif;
  }
  .btn:hover{ background:var(--espresso); color:var(--gold-light); border-color:var(--espresso);}
  .btn-light{ border-color:var(--gold); color:var(--gold-light);}
  .btn-light:hover{ background:var(--gold); color:var(--espresso); border-color:var(--gold);}

  /* ---------- decorative dot watermark ---------- */
  .dot-watermark{ position:absolute; width:520px; height:520px; opacity:.05; pointer-events:none; background-image:url('../img/logo-mark.png'); background-size:contain; background-repeat:no-repeat; }

  /* ---------- NAV ---------- */
  header{ position:fixed; top:0; left:0; right:0; z-index:100; padding:24px 0; transition:all .5s var(--ease); }
  header .container{ display:flex; align-items:center; justify-content:space-between; }
  header.scrolled{ background:rgba(21,19,15,0.92); backdrop-filter: blur(10px); padding:14px 0; box-shadow:0 10px 30px rgba(0,0,0,.15); }
  .brand{ display:flex; align-items:center; gap:12px; }
  .brand-logo{ height:92px; width:auto; display:block; transition:height .5s var(--ease); }
  header.scrolled .brand-logo{ height:68px; }
  nav.links{ display:flex; gap:44px; }
  nav.links a{ font-size:14px; letter-spacing:.18em; text-transform:uppercase; color:var(--cream); opacity:.85; position:relative; padding-bottom:4px; }
  nav.links a::after{ content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--gold); transition:width .4s var(--ease); }
  nav.links a:hover::after{ width:100%; }
  .burger{ display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; }
  .burger span{ width:26px; height:1px; background:var(--cream); display:block; }

  /* ---------- HERO (static photo) ---------- */
  .hero-pin{ position:relative; height:100vh; }
  .hero-sticky{
    position:relative; height:100%; overflow:hidden; box-sizing:border-box;
    display:flex; flex-direction:column; justify-content:center;
    background:#0d0b08;
  }
  .hero-frame{
    position:absolute; inset:0; width:100%; height:100%;
    overflow:hidden; z-index:0;
    opacity:0;
    animation:heroFrameIn 1.3s cubic-bezier(.16,1,.3,1) forwards;
  }
  @keyframes heroFrameIn{ to{ opacity:1; } }
  .hero-fallback-img{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:cover; object-position:50% 50%; display:block;
  }
  .hero-light-sweep{
    position:absolute; inset:0; pointer-events:none; mix-blend-mode:soft-light;
    background:radial-gradient(ellipse 60% 45% at 50% 30%, rgba(255,238,205,.5) 0%, rgba(255,238,205,0) 68%);
    opacity:.18; will-change:opacity;
  }
  .hero-vignette{
    position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(180deg, rgba(6,5,3,.28) 0%, rgba(6,5,3,0) 16%, rgba(6,5,3,0) 72%, rgba(6,5,3,.4) 100%),
               radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,0) 55%, rgba(4,3,2,.3) 100%);
  }
  /* left-side scrim: keeps the left-aligned copy legible against the photo regardless of
     where the product/light falls, without flattening the image's own contrast */
  .hero-scrim{
    position:absolute; inset:0; pointer-events:none; z-index:1;
    background:linear-gradient(90deg, rgba(6,5,3,.6) 0%, rgba(6,5,3,.32) 32%, rgba(6,5,3,0) 62%);
  }
  .hero-copy{
    position:relative; z-index:3;
    width:100%; max-width:1180px; margin:0 auto; padding:0 32px;
    box-sizing:border-box; text-align:left;
    display:flex; flex-direction:column; align-items:flex-start; gap:14px;
    opacity:0; transform:translateY(16px);
    animation:heroCopyIn 1.1s cubic-bezier(.22,1,.36,1) .15s forwards;
  }
  @keyframes heroCopyIn{ to{ opacity:1; transform:translateY(0); } }
  .hero-copy h1{ font-size:clamp(34px, 5vw, 68px); color:var(--cream); letter-spacing:.02em; line-height:1.1; max-width:620px; }
  .hero-lead{
    font-family:'Cormorant Garamond', serif; font-size:clamp(16px,1.8vw,20px);
    line-height:1.5; color:var(--gold-light); max-width:420px;
    text-shadow:0 4px 18px rgba(0,0,0,.5);
  }
  .hero-copy .btn{ padding:13px 28px; margin-top:2px; }

  /* ---------- REVEAL ---------- */
  .reveal{ opacity:0; transform:translateY(36px); transition:opacity 1s var(--ease), transform 1s var(--ease); }
  .reveal.in-view{ opacity:1; transform:translateY(0); }
  .reveal.delay-1.in-view{ transition-delay:.12s; }
  .reveal.delay-2.in-view{ transition-delay:.24s; }
  .reveal.delay-3.in-view{ transition-delay:.36s; }

  /* ---------- PHILOSOPHY ---------- */
  .philosophy{ padding:100px 0; position:relative; overflow:hidden; }
  .philosophy .dot-watermark{ right:-160px; top:-80px; }
  .philosophy .grid{ display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; position:relative; z-index:1; }
  .philosophy h2{ font-size:clamp(34px,4vw,52px); line-height:1.15; margin-bottom:28px; }
  .philosophy p{ font-size:16px; line-height:1.95; color:#4a463c; max-width:440px; }
  .philosophy .art{ display:flex; justify-content:center; }
  .philosophy .art img{ width:100%; max-width:300px; height:auto; aspect-ratio:1/1; object-fit:contain; }

  /* ---------- COLLECTION ---------- */
  .collection{ padding:100px 0; text-align:center; position:relative; }
  .section-head{ max-width:560px; margin:0 auto 80px; }
  .section-head h2{ font-size:clamp(34px,4vw,52px); margin-bottom:18px; }
  .section-head p{ color:#5b5646; font-size:16px; line-height:1.8; }
  /* ---------- FAMILY CAROUSEL/SELECTOR ----------
     3 spaces, not 6 SKUs: one dominant photo per family, finish + specs revealed
     progressively so the default view stays short. Flex row (equal columns) on
     desktop; becomes a swipeable horizontal carousel under 760px — see media query. */
  .family-carousel{ display:flex; gap:28px; text-align:left; }
  .family-card{ flex:1 1 0; min-width:0; background:var(--cream-2); border:1px solid var(--line); position:relative; overflow:hidden; transition:transform .6s var(--ease), box-shadow .6s var(--ease); }
  .family-card:hover{ transform:translateY(-8px); box-shadow:0 30px 60px -20px rgba(21,19,15,.25); }
  .family-photo{ height:230px; overflow:hidden; position:relative; }
  .family-photo img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .8s var(--ease); }
  .family-card:hover .family-photo img{ transform:scale(1.06); }
  .family-photo .badge-soldout{ position:absolute; top:14px; left:14px; z-index:2; background:var(--espresso); color:var(--gold-light); font-size:10px; letter-spacing:.2em; text-transform:uppercase; padding:7px 13px; }
  .family-body{ padding:26px 28px 30px; }
  .room-tag{ display:block; font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-bottom:8px; }
  .family-body h3{ font-size:24px; margin-bottom:8px; line-height:1.2; }
  .family-meta{ font-size:14px; color:#5b5646; margin-bottom:20px; }

  .btn-outline-sm, .btn-sm{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 22px; border:1px solid var(--gold); font-size:11px; letter-spacing:.18em; text-transform:uppercase; background:transparent; color:var(--espresso); cursor:pointer; transition:all .4s var(--ease); font-family:'Jost',sans-serif; }
  .btn-outline-sm:hover, .btn-sm:hover{ background:var(--espresso); color:var(--gold-light); border-color:var(--espresso); }

  .family-options{ margin-top:22px; padding-top:22px; border-top:1px solid var(--line); }
  .options-label{ font-size:12px; letter-spacing:.08em; color:var(--gold-dark); margin-bottom:12px; }
  .finish-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
  .finish{ padding:9px 16px; border:1px solid var(--line); background:transparent; font-size:12px; letter-spacing:.05em; color:var(--espresso); cursor:pointer; transition:all .3s var(--ease); font-family:'Jost',sans-serif; }
  .finish:hover{ border-color:var(--gold); }
  .finish.active{ background:var(--espresso); color:var(--gold-light); border-color:var(--espresso); }
  .buy-link{ width:100%; margin-bottom:14px; }

  .details-toggle{ display:block; margin-top:14px; background:none; border:none; padding:0; font-size:12px; letter-spacing:.06em; color:var(--gold-dark); text-decoration:underline; cursor:pointer; font-family:'Jost',sans-serif; }
  .details-panel{ margin-top:12px; }
  .details-panel p{ font-size:13px; line-height:1.7; color:#5b5646; margin-bottom:8px; }
  .details-panel p:last-child{ margin-bottom:0; }

  /* ---------- RITUAL ---------- */
  .ritual{ background:var(--espresso); color:var(--cream); padding:150px 0; position:relative; overflow:hidden; }
  .ritual .section-head h2, .ritual .section-head p{ color:var(--cream); }
  .ritual .section-head p{ color:rgba(246,241,231,.62); }
  .steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; position:relative; }
  .steps svg.connector{ position:absolute; top:26px; left:8%; width:84%; height:2px; overflow:visible; }
  .steps svg.connector line{ stroke:var(--line); stroke-width:1; stroke-dasharray:1000; stroke-dashoffset:1000; transition:stroke-dashoffset 1.8s var(--ease); }
  .steps.in-view svg.connector line{ stroke-dashoffset:0; }
  .step{ text-align:center; padding:0 30px; position:relative; }
  .step .n{ width:52px; height:52px; margin:0 auto 28px; border:1px solid var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Cormorant Garamond',serif; color:var(--gold-light); font-size:18px; background:var(--espresso); position:relative; z-index:2; }
  .step h3{ font-size:24px; margin-bottom:14px; color:var(--gold-light); }
  .step p{ font-size:14.5px; line-height:1.85; color:rgba(246,241,231,.68); max-width:280px; margin:0 auto; }

  /* ---------- FRAGRANCES TEASER ---------- */
  .fragrances{ padding:90px 0; text-align:center; position:relative; overflow:hidden; }
  .fragrances .dot-watermark{ left:50%; top:-120px; transform:translateX(-50%); opacity:.06; }
  .fragrances .inner{ position:relative; z-index:1; }
  .fragrances h2{ font-size:clamp(30px,3.6vw,44px); margin-bottom:16px; }
  .fragrances p{ color:#5b5646; max-width:480px; margin:0 auto; font-size:15.5px; line-height:1.85; }
  .fragrances .soon{ display:inline-block; margin-top:26px; font-size:11px; letter-spacing:.28em; text-transform:uppercase; color:var(--gold-dark); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:10px 0; }

  /* Horizontal swipeable carousel, all breakpoints — one bottle + mood tag visible
     by default, full notes/description behind "+ Conocer la fragancia". */
  .fragrance-carousel{
    display:flex; gap:22px; margin-top:52px; text-align:left;
    overflow-x:auto; scroll-snap-type:x mandatory; padding:2px 2px 14px;
    -webkit-overflow-scrolling:touch; scrollbar-width:thin;
  }
  .fragrance-card{ flex:0 0 250px; scroll-snap-align:start; background:var(--cream-2); border:1px solid var(--line); overflow:hidden; }
  .fragrance-card .photo{ height:165px; overflow:hidden; }
  .fragrance-card .photo img{ width:100%; height:100%; object-fit:cover; display:block; }
  .fragrance-body{ padding:20px 22px 24px; }
  .fragrance-body h3{ font-size:19px; margin-bottom:6px; line-height:1.2; }
  .fragrance-body .mood{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-dark); margin-bottom:14px; }
  .fragrance-body .price{ display:block; font-family:'Cormorant Garamond',serif; font-size:18px; color:var(--espresso); margin-bottom:14px; }
  .fragrance-body .buy-link{ margin-bottom:12px; }
  .fragrance-body .notes{ font-style:italic; }

  /* ---------- TESTIMONIALS ---------- */
  .testimonials{ padding:150px 0; }
  .t-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
  .t-card{ padding:0 10px; }
  .t-card .stars{ color:var(--gold); font-size:13px; letter-spacing:.2em; margin-bottom:22px; }
  .t-card p{ font-family:'Cormorant Garamond',serif; font-size:21px; font-style:italic; line-height:1.6; color:#3a362c; margin-bottom:24px; }
  .t-card .who{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-dark); }

  /* ---------- CONTACT ---------- */
  .contact{ background:var(--espresso); color:var(--cream); padding:100px 0 80px; position:relative; overflow:hidden; }
  .contact .dot-watermark{ right:-140px; bottom:-160px; opacity:.05; }
  .contact .grid{ display:grid; grid-template-columns:1fr 1fr; gap:90px; position:relative; z-index:1; }
  .contact h2{ font-size:clamp(34px,4.5vw,50px); margin-bottom:26px; }
  .contact p.lead{ color:rgba(246,241,231,.68); font-size:16px; line-height:1.9; margin-bottom:40px; max-width:420px; }
  .contact-info{ display:flex; flex-direction:column; gap:20px; margin-bottom:8px; }
  .contact-info a{ font-size:15px; letter-spacing:.02em; color:var(--gold-light); border-bottom:1px solid transparent; transition:border-color .3s; width:fit-content; }
  .contact-info a:hover{ border-color:var(--gold-light); }
  .social{ display:flex; gap:22px; margin-top:36px; }
  .social a{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--cream); opacity:.7; }
  .social a:hover{ opacity:1; color:var(--gold-light); }
  form{ display:flex; flex-direction:column; gap:22px; }
  .field{ position:relative; }
  .field input, .field textarea{ width:100%; background:transparent; border:none; border-bottom:1px solid rgba(246,241,231,.28); color:var(--cream); font-family:'Jost',sans-serif; font-size:15px; padding:12px 2px; outline:none; transition:border-color .3s; }
  .field input::placeholder, .field textarea::placeholder{ color:rgba(246,241,231,.42); }
  .field input:focus, .field textarea:focus{ border-color:var(--gold); }
  .field textarea{ resize:none; min-height:80px; }
  .form-msg{ font-size:13px; color:var(--gold-light); min-height:18px; }

  /* ---------- FOOTER ---------- */
  footer{ background:var(--espresso); border-top:1px solid var(--line); padding:34px 0; }
  footer .container{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
  footer .fl{ display:flex; align-items:center; gap:10px; font-family:'Cormorant Garamond',serif; letter-spacing:.28em; color:var(--gold-light); font-size:15px; }
  footer .fl .mark{ width:22px; height:22px; }
  footer .fr{ font-size:11px; letter-spacing:.08em; color:rgba(246,241,231,.45); }

  /* ---------- WHATSAPP FLOAT ---------- */
  .wa-float{ position:fixed; bottom:28px; right:28px; z-index:90; width:56px; height:56px; border-radius:50%; background:var(--espresso); border:1px solid var(--gold); display:flex; align-items:center; justify-content:center; color:var(--gold-light); text-decoration:none; box-shadow:0 10px 30px rgba(0,0,0,.25); transition:transform .4s var(--ease); }
  .wa-float:hover{ transform:scale(1.08); }
  .wa-float svg{ width:24px; height:24px; }

  /* ---------- MOBILE FIXED CTA BAR ----------
     Whatever product or section the visitor is on, there's always a way to WhatsApp us —
     replaces the round floating button on small screens, where it tends to sit over content. */
  .mobile-cta-bar{ display:none; }

  @media (max-width:900px){
    nav.links{ display:none; }
    .burger{ display:flex; }
    .hero-copy h1{ font-size:clamp(30px,8vw,46px); }
    .philosophy .grid{ grid-template-columns:1fr; gap:50px; text-align:center; }
    .philosophy p{ margin:0 auto; }
    .steps{ grid-template-columns:1fr; gap:56px; }
    .steps svg.connector{ display:none; }
    .t-grid{ grid-template-columns:1fr; gap:56px; }
    .contact .grid{ grid-template-columns:1fr; gap:56px; }
  }

  /* ---------- FAMILY CAROUSEL: mobile ----------
     Below 760px the 3 equal desktop columns become a swipeable horizontal
     carousel — each card takes most of the viewport with a peek of the next. */
  @media (max-width:760px){
    .family-carousel{
      overflow-x:auto; scroll-snap-type:x mandatory; padding:2px 2px 14px;
      -webkit-overflow-scrolling:touch; scrollbar-width:thin;
    }
    .family-card{ flex:0 0 82%; scroll-snap-align:start; }
  }

  @media (max-width:560px){
    .family-card{ flex-basis:88%; }
    .fragrance-card{ flex-basis:210px; }
  }

  /* ---------- HERO: full-bleed image on phones ----------
     Photo fills the whole hero height, copy sits directly on top of it (same
     treatment as desktop) — object-position tuned so the diffuser stays in the
     visible crop window on narrow/tall viewports. */
  @media (max-width:700px){
    .hero-fallback-img{ object-position:54% 50%; }
    .hero-copy{
      padding:0 24px; gap:12px;
    }
    .hero-copy h1{ font-size:clamp(30px,9vw,42px); }
    .hero-lead{ max-width:100%; }
    .hero-benefits{ gap:7px 16px; }
    body{ padding-bottom:60px; } /* room for the fixed mobile WhatsApp bar */
    .wa-float{ display:none; }
    .mobile-cta-bar{
      display:flex; position:fixed; left:0; right:0; bottom:0; z-index:95;
      background:var(--espresso); border-top:1px solid var(--gold);
      padding:14px 20px; align-items:center; justify-content:center;
    }
    .mobile-cta-bar a{
      font-size:12.5px; letter-spacing:.16em; text-transform:uppercase;
      color:var(--gold-light); display:flex; align-items:center; gap:10px;
    }
    .mobile-cta-bar svg{ width:18px; height:18px; flex:none; }
  }
