/* ===========================================================
   TEJORI — Fine Gold & Diamond Jewellery, Dubai · Since 1964
   Quiet-luxury system keyed to the "Tejori Since 1964" wordmark
   =========================================================== */

:root{
  --bg:#FBF8F3;        /* ivory / paper */
  --surface:#FFFFFF;   /* cards, tiles */
  --text:#1A1714;      /* near-black ink */
  --muted:#6E665C;     /* warm grey */
  --primary:#0E0C0A;   /* charcoal — dark sections */
  --secondary:#D2AD61; /* brand gold (wordmark) */
  --accent:#A87C2C;    /* antique gold — CTAs/links */
  --accent-deep:#8C6622;
  --border:#E7DECF;    /* warm hairline */
  --border-strong:#D8CBB4;
  --focus:#A87C2C;
  --ivory-dim:#F2ECE1;
  --charcoal-soft:#1C1814;

  --serif:"Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:"Jost","Helvetica Neue", Arial, sans-serif;

  --container:1240px;
  --gutter:clamp(20px, 5vw, 64px);
  --radius:3px;
  --radius-lg:10px;

  --shadow-sm:0 1px 2px rgba(26,23,20,.05), 0 1px 1px rgba(26,23,20,.04);
  --shadow-md:0 18px 40px -24px rgba(26,23,20,.30);
  --shadow-lg:0 40px 80px -40px rgba(26,23,20,.45);

  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body.no-scroll{overflow:hidden;}
img{display:block;max-width:100%;}
button{font-family:inherit;cursor:pointer;}
a{color:inherit;text-decoration:none;}

::selection{background:rgba(168,124,44,.22);color:var(--text);}

:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:2px;}

/* ---------- Typography ---------- */
.serif{font-family:var(--serif);}
h1,h2,h3,h4{margin:0;font-family:var(--serif);font-weight:500;line-height:1.06;color:var(--text);letter-spacing:.005em;}
h1{font-size:clamp(2.7rem,7vw,5.1rem);}
h2{font-size:clamp(2.1rem,5vw,3.5rem);}
h3{font-size:clamp(1.5rem,3vw,2.1rem);}
p{margin:0;}
.lede{font-size:clamp(1.05rem,1.6vw,1.28rem);line-height:1.7;color:var(--muted);font-weight:300;}

.eyebrow{
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.36em;
  text-transform:uppercase;
  color:var(--accent);
  display:inline-flex;
  align-items:center;
  gap:.7em;
}
.eyebrow.on-dark{color:var(--secondary);}
.eyebrow::before{content:"";width:26px;height:1px;background:currentColor;opacity:.6;}
.eyebrow.center{justify-content:center;}
.eyebrow.no-rule::before{display:none;}

.script-accent{font-style:italic;color:var(--accent);}

/* ---------- Layout ---------- */
.container{max-width:var(--container);margin-inline:auto;padding-inline:var(--gutter);}
.section{padding-block:clamp(64px,9vw,128px);}
.section.tight{padding-block:clamp(48px,6vw,80px);}
.section-head{max-width:680px;}
.section-head.center{margin-inline:auto;text-align:center;}
.section-head .eyebrow{margin-bottom:20px;}
.section-head p{margin-top:18px;}

.dark{background:var(--primary);color:#EDE6DA;}
.dark h1,.dark h2,.dark h3,.dark h4{color:#FBF6EC;}
.dark .lede{color:#C9BFAF;}
.ivory-dim{background:var(--ivory-dim);}
.divider{height:1px;background:var(--border);border:0;margin:0;}

/* ---------- Buttons ---------- */
.btn{
  --bg-btn:var(--accent);
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  font-family:var(--sans);font-size:.86rem;font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;
  padding:15px 30px;min-height:52px;
  border:1px solid transparent;border-radius:var(--radius);
  background:var(--bg-btn);color:#FFF8EC;
  transition:transform .4s var(--ease), background .3s var(--ease), box-shadow .4s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  position:relative;line-height:1;white-space:nowrap;
}
.btn svg{width:18px;height:18px;flex:none;}
.btn:hover{background:var(--accent-deep);transform:translateY(-2px);box-shadow:var(--shadow-md);}
.btn:active{transform:translateY(0);}

.btn--ghost{background:transparent;color:var(--text);border-color:var(--border-strong);}
.btn--ghost:hover{background:var(--text);color:var(--bg);border-color:var(--text);}
.btn--light{background:transparent;color:#F4EEE2;border-color:rgba(244,238,226,.4);}
.btn--light:hover{background:#F4EEE2;color:var(--primary);border-color:#F4EEE2;}
.btn--wa{background:#1FA855;color:#fff;}
.btn--wa:hover{background:#188544;}
.btn--sm{min-height:44px;padding:12px 22px;font-size:.76rem;}
.btn--block{width:100%;}

.link-underline{
  display:inline-flex;align-items:center;gap:.5em;
  font-size:.84rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:var(--text);padding-bottom:4px;position:relative;
}
.link-underline svg{width:16px;height:16px;transition:transform .35s var(--ease);}
.link-underline::after{content:"";position:absolute;left:0;bottom:0;height:1px;width:100%;background:var(--accent);transform:scaleX(.0);transform-origin:left;transition:transform .4s var(--ease);}
.link-underline:hover::after{transform:scaleX(1);}
.link-underline:hover svg{transform:translateX(4px);}
.dark .link-underline{color:#F4EEE2;}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .9s var(--ease), transform .9s var(--ease);}
.reveal.in{opacity:1;transform:none;}
.reveal.d1{transition-delay:.08s;}
.reveal.d2{transition-delay:.16s;}
.reveal.d3{transition-delay:.24s;}
.reveal.d4{transition-delay:.32s;}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1!important;transform:none!important;}
  html{scroll-behavior:auto;}
}

/* ---------- Header ---------- */
.header{position:sticky;top:0;z-index:60;background:rgba(251,248,243,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid transparent;transition:border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);}
.header.scrolled{border-bottom-color:var(--border);box-shadow:0 6px 24px -18px rgba(26,23,20,.4);}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;height:84px;}
.brand{display:flex;align-items:center;gap:12px;flex:none;}
.brand img{height:46px;width:auto;}
.nav{display:none;align-items:center;gap:34px;}
.nav a{font-size:.82rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--text);position:relative;padding:8px 0;transition:color .3s;}
.nav a::after{content:"";position:absolute;left:0;bottom:0;height:1px;width:100%;background:var(--accent);transform:scaleX(0);transform-origin:center;transition:transform .35s var(--ease);}
.nav a:hover{color:var(--accent-deep);}
.nav a.active{color:var(--accent-deep);}
.nav a.active::after,.nav a:hover::after{transform:scaleX(1);}
.header__cta{display:none;align-items:center;gap:14px;}
.burger{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:46px;height:46px;border:1px solid var(--border-strong);border-radius:var(--radius);background:transparent;}
.burger span{display:block;height:1.5px;width:20px;margin-inline:auto;background:var(--text);transition:transform .35s var(--ease), opacity .25s;}
.burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

@media (min-width:560px){.header__cta{display:flex;}}
@media (min-width:1000px){
  .nav{display:flex;}
  .burger{display:none;}
  .brand img{height:50px;}
}

/* ---------- Mobile drawer ---------- */
.drawer{position:fixed;inset:0;z-index:70;pointer-events:none;}
.drawer__scrim{position:absolute;inset:0;background:rgba(14,12,10,.5);opacity:0;transition:opacity .4s var(--ease);}
.drawer__panel{position:absolute;top:0;right:0;height:100%;width:min(86vw,360px);background:var(--bg);transform:translateX(102%);transition:transform .45s var(--ease);display:flex;flex-direction:column;padding:26px 28px 32px;box-shadow:var(--shadow-lg);}
.drawer.open{pointer-events:auto;}
.drawer.open .drawer__scrim{opacity:1;}
.drawer.open .drawer__panel{transform:none;}
.drawer__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;}
.drawer__top img{height:40px;}
.drawer__close{width:44px;height:44px;border:1px solid var(--border-strong);border-radius:var(--radius);background:transparent;display:grid;place-items:center;}
.drawer__close svg{width:18px;height:18px;}
.drawer__nav{display:flex;flex-direction:column;}
.drawer__nav a{font-family:var(--serif);font-size:1.7rem;font-weight:500;padding:13px 0;border-bottom:1px solid var(--border);color:var(--text);}
.drawer__nav a.active{color:var(--accent-deep);}
.drawer__cta{margin-top:auto;display:flex;flex-direction:column;gap:12px;padding-top:26px;}

/* ---------- Hero ---------- */
.hero{position:relative;}
.hero__grid{display:grid;grid-template-columns:1fr;gap:0;align-items:stretch;}
.hero__text{padding-block:clamp(48px,8vw,96px);display:flex;flex-direction:column;justify-content:center;}
.hero h1{margin-top:24px;letter-spacing:-.01em;}
.hero h1 em{font-style:italic;color:var(--accent);}
.hero__sub{margin-top:26px;max-width:30ch;}
.hero__actions{margin-top:38px;display:flex;flex-wrap:wrap;gap:14px;}
.hero__media{position:relative;min-height:62vw;background:var(--ivory-dim);overflow:hidden;}
.hero__media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;}
.hero__tag{position:absolute;left:0;bottom:0;padding:18px 22px;background:rgba(251,248,243,.92);backdrop-filter:blur(6px);font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);border-top-right-radius:var(--radius-lg);}
.hero__tag b{color:var(--text);font-weight:600;}
.hero__est{display:inline-flex;align-items:center;gap:14px;font-size:.74rem;letter-spacing:.3em;text-transform:uppercase;color:var(--muted);}
.hero__est .gold-dot{width:5px;height:5px;border-radius:50%;background:var(--secondary);}

@media (min-width:860px){
  .hero__grid{grid-template-columns:1.02fr 1fr;min-height:min(86vh,820px);}
  .hero__media{min-height:0;}
  .hero__text{padding-right:clamp(40px,5vw,80px);}
}

/* ---------- Trust strip ---------- */
.trust{border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);}
.trust__row{display:grid;grid-template-columns:repeat(2,1fr);}
.trust__item{padding:24px 18px;text-align:center;border-right:1px solid var(--border);border-bottom:1px solid var(--border);}
.trust__item:nth-child(2n){border-right:0;}
.trust__item .ico{color:var(--accent);display:grid;place-items:center;margin:0 auto 10px;}
.trust__item .ico svg{width:24px;height:24px;}
.trust__item b{display:block;font-family:var(--serif);font-size:1.18rem;font-weight:500;}
.trust__item span{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);}
@media (min-width:760px){
  .trust__row{grid-template-columns:repeat(4,1fr);}
  .trust__item{border-bottom:0;}
  .trust__item:last-child{border-right:0;}
}

/* ---------- Collection cards ---------- */
.collection-grid{display:grid;grid-template-columns:1fr;gap:18px;}
@media (min-width:680px){.collection-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1000px){
  .collection-grid{grid-template-columns:repeat(12,1fr);grid-auto-rows:240px;gap:20px;}
  .col-card.feature{grid-column:span 6;grid-row:span 2;}
  .col-card.half{grid-column:span 6;}
  .col-card.third{grid-column:span 4;}
}
.col-card{position:relative;overflow:hidden;border-radius:var(--radius-lg);background:var(--primary);min-height:240px;display:block;isolation:isolate;}
.col-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease);}
.col-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(10,9,8,.82) 4%,rgba(10,9,8,.28) 46%,rgba(10,9,8,.04) 78%);z-index:1;transition:opacity .5s;}
.col-card__body{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:26px 26px 24px;color:#F6F1E7;min-height:240px;}
.col-card__body .eyebrow{color:var(--secondary);margin-bottom:8px;}
.col-card__body h3{color:#FFF;}
.col-card__body p{font-size:.92rem;color:rgba(246,241,231,.82);margin-top:8px;max-width:34ch;font-weight:300;}
.col-card__more{margin-top:16px;display:inline-flex;align-items:center;gap:.5em;font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:#fff;}
.col-card__more svg{width:15px;height:15px;transition:transform .35s var(--ease);}
.col-card:hover img{transform:scale(1.06);}
.col-card:hover .col-card__more svg{transform:translateX(5px);}

/* ---------- Product grid ---------- */
.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
@media (min-width:680px){.product-grid{grid-template-columns:repeat(3,1fr);gap:22px;}}
@media (min-width:1000px){.product-grid{grid-template-columns:repeat(4,1fr);gap:26px;}}
.product-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .5s var(--ease), transform .5s var(--ease), border-color .4s;}
.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-4px);border-color:var(--border-strong);}
.product-card__media{position:relative;aspect-ratio:1/1;overflow:hidden;background:#fff;}
.product-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease);}
.product-card:hover .product-card__media img{transform:scale(1.05);}
.product-card__cat{position:absolute;top:12px;left:12px;background:rgba(251,248,243,.92);color:var(--muted);font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;padding:6px 10px;border-radius:40px;}
.product-card__body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:4px;flex:1;}
.product-card__body h4{font-family:var(--serif);font-size:1.22rem;font-weight:500;line-height:1.15;}
.product-card__meta{font-size:.82rem;color:var(--muted);font-weight:300;}
.product-card__foot{margin-top:auto;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.product-card__price{font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-deep);font-weight:500;}
.product-card__enq{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;font-weight:500;color:var(--text);display:inline-flex;align-items:center;gap:.4em;border-bottom:1px solid var(--accent);padding-bottom:2px;}
.product-card__enq svg{width:14px;height:14px;transition:transform .3s var(--ease);}
.product-card__enq:hover svg{transform:translateX(3px);}

/* ---------- Filter tabs ---------- */
.filters{display:flex;flex-wrap:wrap;gap:10px;}
.filter{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;font-weight:500;padding:10px 18px;border-radius:40px;border:1px solid var(--border-strong);background:transparent;color:var(--muted);transition:all .3s var(--ease);min-height:42px;}
.filter:hover{color:var(--text);border-color:var(--text);}
.filter.active{background:var(--text);color:var(--bg);border-color:var(--text);}

/* ---------- Split feature ---------- */
.split{display:grid;grid-template-columns:1fr;gap:clamp(32px,5vw,72px);align-items:center;}
.split.flip .split__media{order:-1;}
@media (min-width:900px){.split{grid-template-columns:1fr 1fr;} .split.flip .split__media{order:0;}}
.split__media{position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/5;background:var(--ivory-dim);}
.split__media img{width:100%;height:100%;object-fit:cover;}
.split__media.tall{aspect-ratio:3/4;}
.split__media .badge-seal{position:absolute;right:18px;bottom:18px;width:84px;height:84px;}
.split ul{list-style:none;padding:0;margin:24px 0 0;display:flex;flex-direction:column;gap:14px;}
.split li{display:flex;gap:14px;align-items:flex-start;}
.split li .tick{flex:none;width:22px;height:22px;border-radius:50%;border:1px solid var(--secondary);color:var(--accent);display:grid;place-items:center;margin-top:3px;}
.split li .tick svg{width:12px;height:12px;}
.split li b{font-weight:500;}
.split li span{display:block;color:var(--muted);font-size:.94rem;font-weight:300;}

/* ---------- Diamond cut education ---------- */
.cuts{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
@media (min-width:760px){.cuts{grid-template-columns:repeat(4,1fr);gap:20px;}}
.cut-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;text-align:left;transition:all .4s var(--ease);}
.cut-card .cut-media{aspect-ratio:1/1;background:#101013;overflow:hidden;}
.cut-card .cut-media img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease);}
.cut-card:hover{border-color:var(--secondary);box-shadow:var(--shadow-md);transform:translateY(-3px);}
.cut-card:hover .cut-media img{transform:scale(1.07);}
.cut-card__body{padding:16px 16px 18px;}
.cut-card__body h4{font-family:var(--serif);font-size:1.28rem;font-weight:500;}
.cut-card__body p{font-size:.86rem;color:var(--muted);margin-top:4px;font-weight:300;line-height:1.5;}

/* ---------- Steps ---------- */
.steps{display:grid;grid-template-columns:1fr;gap:18px;counter-reset:step;}
@media (min-width:760px){.steps{grid-template-columns:repeat(4,1fr);}}
.step{position:relative;padding:28px 22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);}
.step__n{font-family:var(--serif);font-size:2.4rem;color:var(--secondary);line-height:1;}
.step h4{font-size:1.2rem;margin-top:12px;}
.step p{font-size:.9rem;color:var(--muted);margin-top:8px;font-weight:300;line-height:1.55;}

/* ---------- Heritage band ---------- */
.heritage{position:relative;overflow:hidden;}
.heritage__bg{position:absolute;inset:0;z-index:0;}
.heritage__bg img{width:100%;height:100%;object-fit:cover;}
.heritage__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,rgba(10,9,8,.93) 22%,rgba(10,9,8,.72) 52%,rgba(10,9,8,.42) 100%);}
.heritage__inner{position:relative;z-index:1;max-width:640px;}
.heritage blockquote{margin:0;font-family:var(--serif);font-size:clamp(1.7rem,3.4vw,2.7rem);line-height:1.25;color:#FBF6EC;font-weight:500;}
.heritage blockquote em{color:var(--secondary);font-style:italic;}

/* ---------- Visit / contact ---------- */
.visit-grid{display:grid;grid-template-columns:1fr;gap:26px;}
@media (min-width:920px){.visit-grid{grid-template-columns:1.05fr .95fr;gap:48px;align-items:start;}}
.info-list{display:flex;flex-direction:column;gap:4px;margin-top:8px;}
.info-row{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--border);align-items:flex-start;}
.info-row:last-child{border-bottom:0;}
.info-row .ico{flex:none;width:42px;height:42px;border-radius:50%;background:var(--ivory-dim);color:var(--accent);display:grid;place-items:center;}
.info-row .ico svg{width:19px;height:19px;}
.info-row .lbl{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);}
.info-row .val{font-size:1.06rem;margin-top:2px;}
.info-row a.val:hover{color:var(--accent-deep);}

.map-placeholder{position:relative;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border);background:
  repeating-linear-gradient(45deg,#F4EEE2,#F4EEE2 14px,#EFE7D8 14px,#EFE7D8 28px);
  min-height:300px;display:grid;place-items:center;text-align:center;}
.map-placeholder .pin{width:54px;height:54px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow-md);display:grid;place-items:center;color:var(--accent);margin:0 auto 14px;}
.map-placeholder .pin svg{width:24px;height:24px;}
.map-placeholder .label{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);background:var(--surface);padding:8px 16px;border-radius:40px;border:1px solid var(--border);}
.map-placeholder b{display:block;font-family:var(--serif);font-size:1.3rem;color:var(--text);margin-bottom:6px;font-weight:500;}

/* ---------- Form ---------- */
.form-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:clamp(24px,4vw,40px);box-shadow:var(--shadow-sm);}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;}
.field label{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:500;}
.field input,.field textarea,.field select{
  font-family:var(--sans);font-size:1rem;color:var(--text);
  padding:13px 15px;border:1px solid var(--border-strong);border-radius:var(--radius);
  background:var(--bg);transition:border-color .3s, box-shadow .3s;width:100%;
}
.field textarea{resize:vertical;min-height:104px;}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(168,124,44,.14);}
.field.invalid input,.field.invalid textarea{border-color:#B4452F;box-shadow:0 0 0 3px rgba(180,69,47,.12);}
.field .err{color:#B4452F;font-size:.78rem;letter-spacing:.02em;text-transform:none;}
.form-row{display:grid;grid-template-columns:1fr;gap:0;}
@media (min-width:560px){.form-row{grid-template-columns:1fr 1fr;gap:18px;}}
.form-note{font-size:.8rem;color:var(--muted);font-weight:300;margin-top:4px;}

/* ---------- Modal ---------- */
.modal{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:18px;pointer-events:none;}
.modal__scrim{position:absolute;inset:0;background:rgba(14,12,10,.62);opacity:0;transition:opacity .35s var(--ease);backdrop-filter:blur(3px);}
.modal__panel{position:relative;width:min(560px,100%);max-height:92vh;overflow:auto;background:var(--bg);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);transform:translateY(20px) scale(.98);opacity:0;transition:transform .4s var(--ease), opacity .4s var(--ease);}
.modal.open{pointer-events:auto;}
.modal.open .modal__scrim{opacity:1;}
.modal.open .modal__panel{transform:none;opacity:1;}
.modal__head{padding:26px clamp(22px,4vw,34px) 0;position:relative;}
.modal__head .eyebrow{margin-bottom:10px;}
.modal__close{position:absolute;top:18px;right:18px;width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:var(--surface);display:grid;place-items:center;transition:background .3s;}
.modal__close:hover{background:var(--ivory-dim);}
.modal__close svg{width:18px;height:18px;}
.modal__body{padding:18px clamp(22px,4vw,34px) clamp(24px,4vw,34px);}
.modal__context{display:flex;align-items:center;gap:14px;background:var(--ivory-dim);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;margin-bottom:20px;}
.modal__context img{width:52px;height:52px;border-radius:6px;object-fit:cover;flex:none;}
.modal__context .t{font-family:var(--serif);font-size:1.1rem;font-weight:500;line-height:1.1;}
.modal__context .s{font-size:.76rem;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;}
.modal__or{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;margin:18px 0;}
.modal__or::before,.modal__or::after{content:"";flex:1;height:1px;background:var(--border);}

.success{text-align:center;padding:14px 0 6px;}
.success .seal{width:74px;height:74px;border-radius:50%;background:var(--ivory-dim);color:var(--accent);display:grid;place-items:center;margin:0 auto 18px;}
.success .seal svg{width:34px;height:34px;}
.success h3{margin-bottom:10px;}
.success p{color:var(--muted);font-weight:300;max-width:38ch;margin:0 auto 22px;}

/* ---------- WhatsApp FAB ---------- */
.fab{position:fixed;right:18px;bottom:calc(env(safe-area-inset-bottom,0) + 84px);z-index:55;width:56px;height:56px;border-radius:50%;background:#1FA855;color:#fff;display:grid;place-items:center;box-shadow:0 14px 30px -8px rgba(31,168,85,.6);border:none;transition:transform .4s var(--ease), box-shadow .4s;}
.fab svg{width:28px;height:28px;}
.fab:hover{transform:scale(1.07) translateY(-2px);}
.fab::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #1FA855;animation:fabpulse 2.6s var(--ease) infinite;}
@keyframes fabpulse{0%{transform:scale(1);opacity:.55;}70%{transform:scale(1.55);opacity:0;}100%{opacity:0;}}
@media (min-width:1000px){.fab{right:30px;bottom:30px;width:62px;height:62px;}.fab svg{width:30px;height:30px;}}
@media (prefers-reduced-motion:reduce){.fab::after{animation:none;}}

/* ---------- Mobile action bar ---------- */
.mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:58;display:grid;grid-template-columns:repeat(3,1fr);background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -8px 24px -16px rgba(26,23,20,.4);padding-bottom:env(safe-area-inset-bottom,0);}
.mobile-bar a,.mobile-bar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:11px 6px;background:transparent;border:none;border-right:1px solid var(--border);font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text);min-height:60px;}
.mobile-bar a:last-child,.mobile-bar button:last-child{border-right:0;}
.mobile-bar .ico{width:22px;height:22px;color:var(--accent);}
.mobile-bar .ico svg{width:22px;height:22px;}
.mobile-bar .wa .ico{color:#1FA855;}
@media (min-width:1000px){.mobile-bar{display:none;}}
body{padding-bottom:0;}
@media (max-width:999px){body.has-bar{padding-bottom:62px;}.fab{bottom:calc(env(safe-area-inset-bottom,0) + 76px);}}

/* ---------- Footer ---------- */
.footer{background:var(--bg);border-top:1px solid var(--border);}
.footer__main{display:grid;grid-template-columns:1fr;gap:36px;padding-block:clamp(48px,6vw,76px);}
@media (min-width:780px){.footer__main{grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:40px;}}
.footer__brand img{height:50px;width:auto;margin-bottom:18px;}
.footer__brand p{color:var(--muted);font-weight:300;font-size:.95rem;max-width:34ch;}
.footer__social{display:flex;gap:10px;margin-top:20px;}
.footer__social a{width:42px;height:42px;border-radius:50%;border:1px solid var(--border-strong);display:grid;place-items:center;color:var(--text);transition:all .3s var(--ease);}
.footer__social a:hover{background:var(--text);color:var(--bg);border-color:var(--text);}
.footer__social svg{width:18px;height:18px;}
.footer__col h5{font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--accent-deep);margin:0 0 16px;font-weight:600;}
.footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px;}
.footer__col a,.footer__col li{color:var(--muted);font-size:.95rem;font-weight:300;transition:color .3s;}
.footer__col a:hover{color:var(--text);}
.footer__bar{border-top:1px solid var(--border);padding-block:22px;display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;}
.footer__bar p{font-size:.78rem;color:var(--muted);font-weight:300;}
.footer__bar .disc{font-size:.72rem;color:var(--muted);opacity:.8;max-width:70ch;}
@media (min-width:680px){.footer__bar{flex-direction:row;justify-content:space-between;text-align:left;}}

/* ---------- Misc ---------- */
.pieces-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:18px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;}
.pieces-strip::-webkit-scrollbar{height:6px;}
.pieces-strip::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:10px;}
.pieces-strip > *{scroll-snap-align:start;}
@media (min-width:1000px){.pieces-strip{grid-auto-columns:1fr;overflow:visible;}}

.note-banner{background:var(--ivory-dim);border:1px solid var(--border);border-radius:var(--radius);padding:14px 18px;font-size:.84rem;color:var(--muted);font-weight:300;display:flex;gap:10px;align-items:flex-start;}
.note-banner svg{width:18px;height:18px;flex:none;color:var(--accent);margin-top:2px;}

.page-hero{padding-top:clamp(48px,7vw,90px);padding-bottom:clamp(32px,5vw,56px);}
.page-hero .eyebrow{margin-bottom:18px;}
.page-hero p{margin-top:18px;max-width:54ch;}
.breadcrumb{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:26px;display:flex;gap:10px;align-items:center;}
.breadcrumb a:hover{color:var(--accent-deep);}
.breadcrumb .sep{opacity:.5;}

.fade-view{animation:fadeView .55s var(--ease);}
@keyframes fadeView{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
