/* ============================================================
   Airco Pure — shared base
   Palette, primitives, placeholders, reveal. Direction files
   override theme vars (fonts / accents / radius) in their own
   <style> AFTER linking this file.
   ============================================================ */

:root{
  /* Paper / sand */
  --sand:        #FAF6EF;
  --sand-2:      #F4EEE3;
  --sand-3:      #ECE2D2;
  --white:       #FFFFFF;

  /* Air (light blue) */
  --blue:        #8EC5D6;
  --blue-deep:   #4F9FB8;
  --blue-ink:    #2C6E82;
  --blue-soft:   #DCEEF4;

  /* Growth (green) */
  --green:       #7FB069;
  --green-deep:  #5E9248;
  --green-ink:   #426B33;
  --green-soft:  #E4F0DA;

  /* Warm coral (energy) */
  --coral:       #EFA98C;
  --coral-deep:  #D97E58;
  --coral-ink:   #A85633;
  --coral-soft:  #FAE4DA;

  /* Sun amber (optimism) */
  --amber:       #F0C56B;
  --amber-deep:  #D69E32;
  --amber-ink:   #97691A;
  --amber-soft:  #FAEFD2;

  /* Section tints */
  --tint-blue:   #E7F1F5;
  --tint-green:  #ECF4E3;
  --tint-coral:  #FBEDE4;
  --tint-amber:  #FBF3DD;

  /* Ink (warm dark grey) */
  --ink:         #2E2A25;
  --ink-2:       #6E665C;
  --ink-3:       #A79E92;
  --rule:        rgba(46,42,37,0.10);
  --rule-strong: rgba(46,42,37,0.16);

  /* Theme hooks (overridable per direction) */
  --bg:          var(--sand);
  --accent:      var(--blue-deep);
  --accent-2:    var(--green-deep);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;

  --r:    20px;   /* card radius */
  --r-sm: 12px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-soft: 0 2px 6px rgba(46,42,37,0.04), 0 14px 34px rgba(46,42,37,0.07);
  --shadow-lift: 0 4px 10px rgba(46,42,37,0.06), 0 22px 50px rgba(46,42,37,0.11);
  --shadow-blue: 0 16px 40px rgba(79,159,184,0.20);
  --shadow-green:0 16px 40px rgba(94,146,72,0.20);

  --ease: cubic-bezier(.2,.7,.2,1);
  --maxw: 1180px;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-head); font-weight:600; line-height:1.08; margin:0; letter-spacing:-0.01em; color:var(--ink); }
p{ margin:0; }
::selection{ background:var(--blue-soft); }

/* ---- layout ---- */
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 22px; }
.section{ padding:72px 0; }
@media(min-width:880px){ .section{ padding:112px 0; } }

.eyebrow{
  font-family:var(--font-head);
  font-weight:600;
  font-size:12.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
  display:inline-flex; align-items:center; gap:.5em;
}
.eyebrow::before{
  content:""; width:22px; height:1.5px; background:currentColor; display:inline-block; border-radius:2px;
}
.lead{ color:var(--ink-2); font-size:1.06rem; }

/* ---- buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  padding:14px 22px; border-radius:var(--r-pill);
  font-family:var(--font-head); font-weight:600; font-size:15px;
  border:1.5px solid transparent; background:transparent; color:var(--ink);
  transition:transform .25s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  -webkit-tap-highlight-color:transparent;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px) scale(.99); }
.btn svg{ width:18px; height:18px; }
.btn-primary{ background:var(--ink); color:var(--sand); }
.btn-primary:hover{ box-shadow:var(--shadow-lift); transform:translateY(-2px); }
.btn-accent{ background:var(--accent); color:#fff; }
.btn-accent:hover{ box-shadow:var(--shadow-blue); transform:translateY(-2px); }
.btn-ghost{ border-color:var(--rule-strong); color:var(--ink); background:rgba(255,255,255,.5); }
.btn-ghost:hover{ border-color:var(--ink); background:#fff; }
.btn-lg{ padding:17px 30px; font-size:16px; }
.btn-block{ width:100%; }

.arrow{ transition:transform .3s var(--ease); }
.btn:hover .arrow, a.lnk:hover .arrow{ transform:translateX(4px); }

.lnk{ display:inline-flex; align-items:center; gap:.5em; font-family:var(--font-head); font-weight:600; color:var(--accent); font-size:15px; }
.lnk svg{ width:17px; height:17px; }

/* ---- image placeholder ---- */
.ph{
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
  background:
    radial-gradient(120% 120% at 80% 0%, var(--blue-soft) 0%, transparent 55%),
    linear-gradient(160deg, var(--white), var(--sand-2));
  border:1px solid var(--rule);
  border-radius:var(--r);
  color:var(--ink-2);
  text-align:center;
  overflow:hidden;
  min-height:200px;
}
.ph::after{ /* subtle inner ring */
  content:""; position:absolute; inset:14px; border:1px dashed var(--rule-strong); border-radius:calc(var(--r) - 8px); pointer-events:none; opacity:.7;
}
.ph .ph-ico{ width:46px; height:46px; color:var(--accent); opacity:.9; }
.ph .ph-label{
  font-family:var(--font-head); font-weight:600; font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2);
  position:relative; z-index:1;
}
.ph .ph-sub{ font-size:13px; color:var(--ink-3); max-width:80%; }

/* ---- chips / line-icon badges ---- */
.ichip{
  width:54px; height:54px; flex:none; display:grid; place-items:center; border-radius:16px;
  background:var(--blue-soft); color:var(--blue-ink);
}
.ichip.green{ background:var(--green-soft); color:var(--green-ink); }
.ichip.coral{ background:var(--coral-soft); color:var(--coral-ink); }
.ichip.amber{ background:var(--amber-soft); color:var(--amber-ink); }
.ichip svg{ width:26px; height:26px; }

/* ---- reveal ---- */
[data-reveal]{ opacity:0; transform:translateY(20px); transition:opacity .75s var(--ease), transform .75s var(--ease); transition-delay:var(--d,0s); }
[data-reveal].in{ opacity:1; transform:none; }
@media(prefers-reduced-motion:reduce){
  [data-reveal]{ opacity:1 !important; transform:none !important; }
  html{ scroll-behavior:auto; }
}

/* ---- misc ---- */
.hairline{ height:1px; background:var(--rule); border:0; margin:0; }
.tag{ display:inline-flex; align-items:center; gap:.45em; padding:7px 13px; border-radius:var(--r-pill); font-family:var(--font-head); font-weight:600; font-size:12.5px; }
.tag-blue{ background:var(--blue-soft); color:var(--blue-ink); }
.tag-green{ background:var(--green-soft); color:var(--green-ink); }
.tag svg{ width:15px; height:15px; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* ---- quantity stepper ---- */
.qty{ display:inline-flex; align-items:center; gap:4px; background:var(--white); border:1px solid var(--rule-strong); border-radius:var(--r-pill); padding:5px; }
.qty button{ width:38px; height:38px; border:0; background:var(--sand-2); border-radius:50%; display:grid; place-items:center; color:var(--ink); transition:background .2s var(--ease), transform .2s var(--ease); }
.qty button:hover:not(:disabled){ background:var(--blue-soft); }
.qty button:disabled{ opacity:.35; cursor:not-allowed; }
.qty button svg{ width:16px; height:16px; }
.qty [data-qty-val]{ min-width:34px; text-align:center; font-family:var(--font-head); font-weight:700; font-size:17px; }

/* ---- toast ---- */
.ap-toast{
  position:fixed; left:50%; bottom:26px; transform:translate(-50%, 18px);
  display:flex; align-items:center; gap:10px;
  background:var(--ink); color:var(--sand);
  padding:13px 20px; border-radius:var(--r-pill);
  font-family:var(--font-head); font-weight:600; font-size:14.5px;
  box-shadow:var(--shadow-lift); opacity:0; transition:opacity .3s var(--ease), transform .3s var(--ease); z-index:200;
}
.ap-toast.show{ opacity:1; transform:translate(-50%,0); }
.ap-toast svg{ width:18px; height:18px; color:var(--green); }

/* ---- form fields ---- */
.field{ display:flex; flex-direction:column; gap:7px; }
.field label{ font-family:var(--font-head); font-weight:600; font-size:13.5px; color:var(--ink); }
.field input, .field textarea{
  font:inherit; font-size:16px; color:var(--ink);
  background:var(--white); border:1.5px solid var(--rule-strong); border-radius:var(--r-sm);
  padding:13px 15px; transition:border-color .2s var(--ease), box-shadow .2s var(--ease); resize:vertical;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px var(--blue-soft); }
.field.err input, .field.err textarea{ border-color:#C2553F; box-shadow:0 0 0 4px rgba(194,85,63,.12); }
.field .msg{ font-size:12.5px; color:#C2553F; display:none; }
.field.err .msg{ display:block; }

/* ---- order modal ---- */
.modal{ position:fixed; inset:0; z-index:300; display:none; }
.modal.open{ display:block; }
.modal-bg{ position:absolute; inset:0; background:rgba(46,42,37,.5); backdrop-filter:blur(4px); opacity:0; transition:opacity .3s var(--ease); }
.modal.open .modal-bg{ opacity:1; }
.modal-sheet{ position:absolute; left:50%; top:50%; transform:translate(-50%,-44%); width:min(490px, calc(100% - 28px)); max-height:92vh; overflow:auto; background:var(--white); border-radius:26px; box-shadow:0 30px 80px rgba(46,42,37,.34); opacity:0; transition:opacity .32s var(--ease), transform .32s var(--ease); }
.modal.open .modal-sheet{ transform:translate(-50%,-50%); opacity:1; }
.modal-head{ position:sticky; top:0; background:var(--white); display:flex; align-items:center; justify-content:space-between; padding:22px 24px 14px; z-index:2; }
.modal-head h3{ font-family:var(--font-head); font-weight:600; font-size:1.18rem; }
.modal-head .steps{ display:flex; gap:5px; margin-top:4px; }
.modal-head .steps i{ width:22px; height:4px; border-radius:3px; background:var(--rule-strong); display:block; transition:background .3s; }
.modal-head .steps i.on{ background:var(--accent); }
.modal-x{ width:38px; height:38px; border:1px solid var(--rule); border-radius:50%; background:var(--sand); display:grid; place-items:center; flex:none; }
.modal-x svg{ width:17px; height:17px; }
.modal-body{ padding:6px 24px 24px; }
.ostep{ display:none; }
.ostep.active{ display:block; animation:ofade .3s var(--ease); }
@keyframes ofade{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }

.oprod{ display:flex; gap:14px; align-items:center; padding:14px 0; }
.oprod .thumb{ width:74px; height:74px; flex:none; border-radius:16px; background:radial-gradient(120% 120% at 80% 0%, var(--blue-soft), transparent 55%), linear-gradient(160deg, var(--white), var(--sand-2)); border:1px solid var(--rule); display:grid; place-items:center; color:var(--accent); }
.oprod .thumb svg{ width:30px; height:30px; }
.oprod .nm{ font-family:var(--font-head); font-weight:600; font-size:1.04rem; }
.oprod .nm small{ display:block; font-weight:400; font-size:.84rem; color:var(--ink-2); }
.osum{ border-top:1px solid var(--rule); margin-top:6px; padding-top:14px; display:grid; gap:9px; }
.osum .r{ display:flex; justify-content:space-between; font-size:.96rem; color:var(--ink-2); }
.osum .r b{ color:var(--ink); font-weight:600; }
.osum .r.free b{ color:var(--green-deep); }
.osum .tot{ border-top:1px solid var(--rule); margin-top:6px; padding-top:13px; display:flex; justify-content:space-between; align-items:baseline; }
.osum .tot .l{ font-family:var(--font-head); font-weight:600; }
.osum .tot .v{ font-family:var(--font-head); font-weight:700; font-size:1.7rem; }
.ofields{ display:grid; gap:14px; margin-top:6px; }
.ofields .two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.onote{ margin-top:14px; display:flex; gap:9px; align-items:flex-start; background:var(--blue-soft); color:var(--blue-ink); border-radius:12px; padding:12px 14px; font-size:13px; }
.onote svg{ width:17px; height:17px; flex:none; margin-top:1px; }
.oactions{ margin-top:20px; display:flex; gap:10px; }
.oactions .btn{ flex:1; }
.oback{ background:transparent; border:1.5px solid var(--rule-strong); }
.oconfirm{ text-align:center; padding:14px 0 4px; }
.oconfirm .seal{ width:74px; height:74px; border-radius:50%; background:var(--green-soft); color:var(--green-ink); display:grid; place-items:center; margin:0 auto 16px; animation:opop .4s var(--ease); }
.oconfirm .seal svg{ width:36px; height:36px; }
@keyframes opop{ 0%{ transform:scale(.5); opacity:0; } 60%{ transform:scale(1.08); } 100%{ transform:scale(1); opacity:1; } }
.oconfirm h3{ font-family:var(--font-head); font-weight:600; font-size:1.45rem; }
.oconfirm p{ margin-top:9px; color:var(--ink-2); }
.oconfirm .onum{ display:inline-block; margin-top:16px; font-family:var(--font-mono,monospace); font-size:14px; letter-spacing:.06em; background:var(--sand-2); border:1px solid var(--rule); border-radius:10px; padding:9px 16px; }

/* ---- contact cards ---- */
.cdetail{ display:flex; align-items:center; gap:15px; background:var(--white); border:1px solid var(--rule); border-radius:var(--r); padding:18px 20px; box-shadow:var(--shadow-soft); transition:transform .3s var(--ease), box-shadow .3s var(--ease); }
.cdetail:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lift); }
.cdetail .ichip{ width:50px; height:50px; border-radius:15px; }
.cdetail .l{ font-size:12.5px; color:var(--ink-3); font-family:var(--font-head); font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.cdetail .v{ font-size:1.05rem; font-weight:600; color:var(--ink); margin-top:2px; }
.cformwrap{ background:var(--white); border:1px solid var(--rule); border-radius:var(--r-lg); padding:28px; box-shadow:var(--shadow-soft); }
.cformwrap .fgrid{ display:grid; gap:14px; }
.form-done{ display:none; flex-direction:column; align-items:center; text-align:center; gap:10px; padding:24px 0; }
.form-done .seal{ width:64px; height:64px; border-radius:50%; background:var(--green-soft); color:var(--green-ink); display:grid; place-items:center; }
.form-done .seal svg{ width:30px; height:30px; }
.form-done h4{ font-family:var(--font-head); font-size:1.2rem; }

/* ---- back-to-directions chip ---- */
.backlink{ position:fixed; left:14px; bottom:14px; z-index:150; display:inline-flex; align-items:center; gap:7px; background:var(--ink); color:var(--sand); font-family:var(--font-head); font-weight:600; font-size:13px; padding:9px 15px 9px 12px; border-radius:var(--r-pill); box-shadow:var(--shadow-lift); text-decoration:none; opacity:.92; transition:opacity .2s var(--ease), transform .2s var(--ease); }
.backlink:hover{ opacity:1; transform:translateY(-2px); }
.backlink svg{ width:16px; height:16px; }
@media(max-width:860px){ .backlink{ bottom:86px; } }
