/* ===========================================================
   Apex Delicacy — Design System
   Palette: #6FCF97  #2FA084  #1F6F5F on green-tinted paper
   Type:    Spectral (display + body) + Spectral SC (labels)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Spectral+SC:wght@400;500;600&display=swap');

:root {
  /* Brand palette */
  --c-light:    #EEEEEE;
  --c-mint:     #6FCF97;
  --c-teal:     #2FA084;
  --c-deep:     #1F6F5F;

  /* Derived / semantic */
  --c-deep-900: #143A30;   /* darker shade for footer / dark sections */
  --c-ink:      #1A2A24;   /* deep green-black text */
  --c-bg:       #F3F6F2;   /* soft green-tinted paper (not warm cream) */
  --c-surface:  #FBFCFA;
  --c-muted:    #E8EDE7;
  --c-border:   #D6DFD8;
  --c-on-deep:  #FFFFFF;
  --c-danger:   #B3261E;

  --c-primary:  var(--c-deep);
  --c-accent:   var(--c-teal);

  /* Type scale */
  --f-head:  'Spectral', Georgia, 'Times New Roman', serif;
  --f-body:  'Spectral', Georgia, 'Times New Roman', serif;
  --f-label: 'Spectral SC', 'Spectral', Georgia, serif;

  /* Spacing (8pt) */
  --s-1: 8px;  --s-2: 16px;  --s-3: 24px;  --s-4: 32px;
  --s-5: 48px; --s-6: 64px;  --s-7: 96px;  --s-8: 128px;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(20,63,54,.06);
  --shadow:    0 12px 32px rgba(20,63,54,.10);
  --shadow-lg: 0 24px 60px rgba(20,63,54,.16);

  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-lux: cubic-bezier(.16,1,.3,1);   /* slow, refined ease-out for premium motion */
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(47,160,132,.18); scroll-padding-top: 104px; }
body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--f-head); font-weight: 400; line-height: 1.14;
  letter-spacing: -0.01em; color: var(--c-deep-900); text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6vw, 5rem); font-weight: 300; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); font-weight: 500; }
p  { max-width: 64ch; text-wrap: pretty; }

.eyebrow {
  font-family: var(--f-label);
  font-weight: 500; font-size: 1rem; letter-spacing: .08em;
  text-transform: lowercase; color: var(--c-teal);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content:""; width: 34px; height: 1px; background: currentColor; display:inline-block; opacity:.6; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.section   { padding-block: clamp(80px, 12vh, 152px); }
.section--muted { background: var(--c-muted); }
.section--deep  { background: var(--c-deep-900); color: #E8F1ED; }
.section--deep h2, .section--deep h3 { color: #fff; }
.center { text-align: center; }
.section-head { max-width: 580px; margin: 0 auto clamp(48px, 7vh, 84px); text-align: center; }
.section-head p { margin: var(--s-2) auto 0; color: #4d5e58; font-size: 1.05rem; }
.section--deep .section-head p { color: #bcd9d0; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; white-space: nowrap;
  background: none; border: 0; padding: 14px 0; cursor: pointer; position: relative; line-height: 1;
  font-family: var(--f-label); font-weight: 500; font-size: 1rem; letter-spacing: .12em; text-transform: lowercase;
  color: var(--c-deep);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px;
  transition: background-size .3s var(--ease-lux), color .3s var(--ease-lux);
}
.btn::after {
  content: ""; width: 28px; height: 10px; margin-left: 14px; flex: none; align-self: center;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='46'%20height='16'%20viewBox='0%200%2046%2016'%3E%3Cpath%20d='M8,0,6.545,1.455l5.506,5.506H-30V9.039H12.052L6.545,14.545,8,16l8-8Z'%20transform='translate(30)'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='46'%20height='16'%20viewBox='0%200%2046%2016'%3E%3Cpath%20d='M8,0,6.545,1.455l5.506,5.506H-30V9.039H12.052L6.545,14.545,8,16l8-8Z'%20transform='translate(30)'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: translateX(-6px); transition: transform .3s var(--ease-lux);
}
.btn:hover { background-size: calc(100% - 42px) 2px; }
.btn:hover::after { transform: translateX(0); }
.btn:active::after { transform: scale(.9); }
.btn:focus-visible { outline: 3px solid var(--c-mint); outline-offset: 6px; }

/* dark-background buttons (hero, CTA band) read white */
.btn--light, .btn--accent { color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 72px; padding-block: 14px; }
.nav__logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
  margin-left: calc(clamp(20px, 4vw, 40px) * -1); padding-left: 16px; }
.nav__mark { height: 58px; width: auto; }
.nav__name { height: 54px; width: auto; }
@media (max-width: 560px) { .nav__mark { height: 46px; } .nav__name { height: 42px; } }
.nav__links { display: flex; align-items: center; gap: var(--s-3); margin-inline: auto; }
.nav__links a { font-family: var(--f-head); font-weight: 500; font-size: 1.02rem; color: var(--c-ink); position: relative; padding: 6px 2px; }
.nav__links a::after {
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background: var(--c-teal); transition: width .25s var(--ease);
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--c-deep); }
.nav__cta { display:flex; align-items:center; gap: var(--s-2); }
.nav__toggle { display:none; background:none; border:0; cursor:pointer; padding:10px; margin-right:-10px; min-width:44px; min-height:44px; }
.nav__toggle span { display:block; width:24px; height:2px; background: var(--c-deep); margin:5px 0; transition: .3s; }

/* ---------- Hero (editorial split: text on paper, image bleeds right) ---------- */
.hero {
  display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch;
  min-height: 86svh; background: var(--c-bg); overflow: clip;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(48px, 7vw, 104px);
  padding-left: max(clamp(20px, 4vw, 40px), calc((100vw - var(--container)) / 2 + 4px));
  padding-right: clamp(28px, 5vw, 72px);
}
.hero h1 { color: var(--c-deep-900); margin: var(--s-2) 0 var(--s-3);
  font-size: clamp(2.8rem, 5.4vw, 5rem); }
.hero p { font-size: 1.18rem; color: #3c4a44; margin-bottom: var(--s-4); max-width: 46ch; }
.hero .gradient-text { color: var(--c-teal); font-style: italic; }
.hero__actions { display:flex; flex-wrap:wrap; align-items:center; gap: var(--s-4); }
.hero__cred { display:flex; align-items:center; gap: 12px; flex-wrap:wrap;
  margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--c-border);
  font-size: .98rem; color:#56655f; max-width: 52ch; }
.hero__stars { color: var(--c-teal); letter-spacing: 2px; font-size: 1.05rem; }
.hero__media { position: relative; min-height: 340px; }
.hero__media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; min-height: 44svh; }
  .hero__text { padding: clamp(36px,8vw,56px) clamp(20px,5vw,40px); }
}

/* ---------- Trust bar (quiet hairline strip) ---------- */
.trust { background: var(--c-bg); border-bottom: 1px solid var(--c-border); }
.trust .container { display:flex; flex-wrap:wrap; justify-content:center; gap: var(--s-3) var(--s-6); padding-block: var(--s-4); }
.trust__item { display:flex; align-items:center; gap:10px; font-family: var(--f-label); font-size:.95rem; font-weight:500; letter-spacing:.06em;
  text-transform:lowercase; color: var(--c-deep-900); }
.trust__item svg { width:18px; height:18px; color: var(--c-teal); flex:none; stroke-width:1.5; }

/* ---------- Cards (borderless, hairline-ruled minimal) ---------- */
.card {
  background: transparent; border: 0; border-top: 1px solid var(--c-border);
  border-radius: 0; padding: var(--s-4) 0 0; height: 100%;
  transition: border-color .6s var(--ease-lux);
}
.card:hover { border-color: var(--c-teal); }
.card__icon {
  width: 40px; height: 40px; display:grid; place-items:center; justify-content:start;
  background: none; color: var(--c-teal); margin-bottom: var(--s-3);
}
.card__icon svg { width: 32px; height: 32px; stroke-width: 1.6; }
/* Unified icon stroke weight */
.feature-list svg, .info-item svg, .trust__item svg { stroke-width: 1.6; }

/* Skip link (keyboard a11y) */
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000;
  background: var(--c-deep); color: #fff; padding: 10px 16px; border-radius: 6px;
  font-family: var(--f-label); font-size: .95rem; transform: translateY(-160%);
  transition: transform .25s var(--ease-lux); }
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--c-mint); outline-offset: 2px; }
.card h3 { margin-bottom: var(--s-2); }
.card p { color:#56655f; font-size: 1rem; }
.card__link { display:inline-flex; align-items:center; gap:8px; margin-top: var(--s-3);
  color: var(--c-teal); font-weight:500; font-size:.98rem; font-family: var(--f-label);
  letter-spacing:.06em; text-transform:lowercase; }
.card__link svg { width:16px;height:16px; transition: transform .4s var(--ease-lux); }
.card:hover .card__link svg { transform: translateX(5px); }

/* Team member role label */
.team-role { color: var(--c-teal); font-weight: 600; margin-bottom: 6px; }

/* Centered note panel */
.note { margin: var(--s-6) auto 0; max-width: 760px; text-align: center;
  background: var(--c-muted); border-radius: var(--radius); padding: clamp(32px, 4vw, 56px); }
.note h3 { margin-bottom: var(--s-2); }
.note p { color: #4d5e58; margin-inline: auto; }

/* Service card with image (clean, no chrome) */
.service-card { padding:0; border-top:0; }
.service-card img { aspect-ratio: 3/2; object-fit: cover; width:100%; border-radius: var(--radius-sm); }
.service-card .service-card__body { padding: var(--s-3) 0 0; }
.service-card:hover { border-color: transparent; }

/* ---------- Services editorial index ---------- */
.services-ed { display:grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(40px, 6vw, 96px); align-items:start; }
.services-ed__intro { position: sticky; top: clamp(100px, 13vh, 150px); }
.services-ed__intro h2 { margin-bottom: var(--s-3); }
.services-ed__intro p { color:#4d5e58; margin-bottom: var(--s-4); max-width: 38ch; }
.svc-list { border-top:1px solid var(--c-border); }
.svc-list li { border-bottom:1px solid var(--c-border); }
.svc-list a { display:grid; grid-template-columns: 1fr auto; align-items:center; gap: 6px var(--s-3);
  padding: clamp(22px, 2.6vw, 34px) 0; transition: padding-left .45s var(--ease-lux); }
.svc-list__name { font-family: var(--f-head); font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight:500;
  color: var(--c-deep-900); grid-column:1; transition: color .35s var(--ease-lux); }
.svc-list__desc { color:#56655f; font-size:1rem; grid-column:1; max-width: 54ch; }
.svc-list__arrow { width:26px; height:26px; color: var(--c-teal); grid-column:2; grid-row:1 / span 2;
  transform: translateX(-8px); opacity:.45; transition: transform .45s var(--ease-lux), opacity .45s var(--ease-lux); }
.svc-list a:hover { padding-left: clamp(8px, 1.4vw, 20px); }
.svc-list a:hover .svc-list__name { color: var(--c-teal); }
.svc-list a:hover .svc-list__arrow { transform: translateX(0); opacity:1; }
@media (max-width: 880px) {
  .services-ed { grid-template-columns: 1fr; gap: var(--s-5); }
  .services-ed__intro { position: static; }
}

/* ---------- About / split ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items:center; }
.split__media img { border-radius: var(--radius-sm); aspect-ratio: 4/5; object-fit:cover; width:100%; }
.split p { color:#4d5e58; margin-top: var(--s-2); }
.feature-list { margin-top: var(--s-3); display:grid; gap: var(--s-2); }
.feature-list li { display:flex; gap:12px; align-items:flex-start; }
.feature-list svg { width:22px;height:22px;color:var(--c-teal); flex:none; margin-top:3px; }

/* ---------- Menu ---------- */
.menu-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: var(--s-4) var(--s-6); }
.menu-cat h3 { display:flex; align-items:baseline; justify-content:space-between; gap:12px;
  border-bottom:2px solid var(--c-border); padding-bottom:10px; margin-bottom: var(--s-2); }
.menu-cat h3 span { font-family: var(--f-label); font-size:1rem; color: var(--c-teal); font-weight:500; letter-spacing:.04em; text-transform:lowercase; }
.menu-item { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px dashed var(--c-border); }
.menu-item:last-child { border-bottom:0; }
.menu-item__name { font-weight:600; }
.menu-item__desc { font-size:.88rem; color:#56655f; }
.menu-item__price { font-family:var(--f-head); color: var(--c-deep); white-space:nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Gallery ---------- */
.gallery { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--s-2); }
.gallery figure { position:relative; overflow:hidden; border-radius: var(--radius-sm); aspect-ratio:1; }
.gallery img { width:100%;height:100%;object-fit:cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption { position:absolute; inset:auto 0 0 0; padding:14px;
  background: linear-gradient(transparent, rgba(20,63,54,.85)); color:#fff; font-size:.85rem; font-weight:500;
  opacity:0; transform: translateY(8px); transition:.3s var(--ease); }
.gallery figure:hover figcaption { opacity:1; transform:none; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--c-surface); border:1px solid var(--c-border); border-radius:var(--radius); padding: var(--s-4); }
.quote-card .stars { color: var(--c-teal); margin-bottom: var(--s-2); letter-spacing:2px; }
.quote-card blockquote { font-family: var(--f-head); font-size:1.1rem; color: var(--c-deep-900); font-style: italic; }
.quote-card .who { margin-top: var(--s-3); font-weight:600; font-size:.92rem; }
.quote-card .who span { display:block; color:#56655f; font-weight:400; font-size:.85rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--c-deep-900); color:#fff; border-radius: var(--radius); padding: clamp(56px, 8vw, 104px); text-align:center; }
.cta-band h2 { color:#fff; }
.cta-band p { margin: var(--s-2) auto var(--s-5); color:#cfe3dc; font-size: 1.05rem; }
.cta-band .btn--light { box-shadow: var(--shadow); }

/* ---------- Forms ---------- */
.form { display:grid; gap: var(--s-3); }
.form__row { display:grid; grid-template-columns:1fr 1fr; gap: var(--s-3); }
.field { display:grid; gap:6px; }
.field label { font-weight:600; font-size:.9rem; }
.field label .req { color: var(--c-teal); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size:1rem; padding:13px 14px; border:1.5px solid var(--c-border);
  border-radius: var(--radius-sm); background:#fff; min-height:48px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(47,160,132,.18);
}
.field .help { font-size:.8rem; color:#56655f; }
.form__note { font-size:.85rem; color:#56655f; }

/* Validation states */
.field__error { display:none; color: var(--c-danger); font-size:.82rem; font-weight:500; }
.field--error .field__error { display:block; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--c-danger); }
.field--error input:focus, .field--error select:focus, .field--error textarea:focus {
  box-shadow: 0 0 0 3px rgba(179,38,30,.16);
}
.form__status { font-weight:600; font-size:.92rem; }
.form__status[data-state="error"] { color: var(--c-danger); }
.form__status[data-state="ok"] { color: var(--c-deep); }

/* ---------- Contact split ---------- */
.contact-grid { display:grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-6); }
.contact-info { display:grid; gap: var(--s-3); align-content:start; }
.contact-info .info-item { display:flex; gap:14px; align-items:flex-start; }
.contact-info svg { width:24px;height:24px;color:var(--c-teal); flex:none; margin-top:2px; }
.contact-info a:hover { color: var(--c-teal); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--c-border); }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: var(--s-3) 4px; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem;
  color: var(--c-deep-900); transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--f-body); font-weight: 400; font-size: 1.6rem; line-height: 1;
  color: var(--c-teal); transition: transform .25s var(--ease); flex: none;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--c-teal); }
.faq__item summary:focus-visible { outline: 3px solid var(--c-mint); outline-offset: 3px; border-radius: 4px; }
.faq__item p { padding: 0 4px var(--s-3); color: #56655f; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: var(--c-deep-900); color:#fff; padding-block: var(--s-7) var(--s-6); text-align:center; }
.page-hero h1 { color:#fff; }
.page-hero p { color:#bcd9d0; margin: var(--s-2) auto 0; }
.breadcrumb { font-size:.85rem; color:#8fb3a8; margin-bottom: var(--s-2); }
.breadcrumb a:hover { color: var(--c-mint); }

/* ---------- Footer ---------- */
.footer { background: var(--c-deep-900); color:#cfe3dc; padding-block: var(--s-6) var(--s-3); }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-5); }
.footer__logo { height:48px; width:auto; margin-bottom: var(--s-2); filter: brightness(0) invert(1); opacity:.95; }
.footer h4 { font-family: var(--f-label); font-size:1rem; font-weight:500; letter-spacing:.06em; text-transform:lowercase; color:#fff; margin-bottom: var(--s-2); }
.footer ul { display:grid; gap:10px; }
.footer a:hover { color: var(--c-mint); }
.footer p { font-size:.92rem; color:#9fc0b7; }
.footer__social { display:flex; gap:12px; margin-top: var(--s-2); }
.footer__social a { width:44px;height:44px;border-radius:50%; display:grid;place-items:center;
  background: rgba(255,255,255,.08); transition:.25s; }
.footer__social a:hover { background: var(--c-teal); }
.footer__social svg { width:18px;height:18px; }
.footer__bottom { border-top:1px solid rgba(255,255,255,.12); margin-top: var(--s-5); padding-top: var(--s-3);
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:.85rem; color:#8fb3a8; }
.footer__badges { display:flex; gap: var(--s-2); flex-wrap:wrap; }
.footer__badges span { font-size:.78rem; padding:4px 12px; border:1px solid rgba(255,255,255,.18); border-radius:999px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* Nav collapses to a menu before the logo + links can crowd */
@media (max-width: 900px) {
  .nav__links { display:none; }
  .nav__toggle { display:block; }
  .nav.open .nav__links {
    display:flex; flex-direction:column; align-items:flex-start; gap: var(--s-2);
    position:absolute; top:100%; left:0; right:0; background:#fff; padding: var(--s-3) var(--s-3) var(--s-4);
    border-bottom:1px solid var(--c-border); box-shadow: var(--shadow); margin:0;
  }
  .nav.open .nav__links a { width: 100%; padding: 12px 0; font-size: 1.05rem; }
}

@media (max-width: 760px) {
  .nav__cta .btn { display:none; }   /* phones use the sticky bottom CTA */
  .grid-3, .grid-4, .grid-2, .menu-grid, .gallery, .form__row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .hero { min-height: 78svh; }
  .page-hero { padding-block: var(--s-6) var(--s-5); }
  .section { padding-block: var(--s-6); }
  .cta-band { padding: clamp(40px, 9vw, 64px); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .gallery { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .section { padding-block: 56px; }
  .split__media img { aspect-ratio: 4/3; }
  .hero p { font-size: 1.08rem; }
}

/* ===========================================================
   MODERN ENHANCEMENTS — 5-star pass (animations & polish)
   =========================================================== */

/* ---- Preloader ---- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--c-deep-900);
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader img { height: 88px; width: auto; filter: brightness(0) invert(1);
  animation: pl-pulse 1.4s var(--ease) infinite; }
.preloader__bar { width: 160px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 40%; border-radius: 99px;
  background: linear-gradient(90deg, var(--c-mint), var(--c-teal)); animation: pl-load 1.1s var(--ease) infinite; }
@keyframes pl-pulse { 0%,100%{opacity:.55; transform:scale(.97)} 50%{opacity:1; transform:scale(1)} }
@keyframes pl-load { 0%{transform:translateX(-120%)} 100%{transform:translateX(320%)} }

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: linear-gradient(90deg, var(--c-mint), var(--c-teal), var(--c-deep));
  box-shadow: 0 0 12px rgba(47,160,132,.5); transition: width .08s linear;
}

/* ---- Custom scrollbar ---- */
html { scrollbar-color: var(--c-teal) var(--c-muted); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--c-muted); }
::-webkit-scrollbar-thumb { background: var(--c-teal); border-radius: 99px; border: 3px solid var(--c-muted); }
::-webkit-scrollbar-thumb:hover { background: var(--c-deep); }
::selection { background: var(--c-mint); color: var(--c-deep-900); }

/* ---- Emphasis word (was gradient text; now solid per brand) ---- */
.gradient-text { color: var(--c-mint); font-style: italic; }

/* ---- Hero load: refined staggered entrance ---- */
.hero__text > * { opacity: 0; transform: translateY(22px); animation: hero-rise 1.2s var(--ease-lux) forwards; }
.hero__text > *:nth-child(1) { animation-delay: .15s; }
.hero__text > *:nth-child(2) { animation-delay: .30s; }
.hero__text > *:nth-child(3) { animation-delay: .45s; }
.hero__text > *:nth-child(4) { animation-delay: .60s; }
.hero__text > *:nth-child(5) { animation-delay: .75s; }
.hero__media { animation: hero-fade 1.4s var(--ease-lux) both; }
@keyframes hero-rise { to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 16px; z-index: 2;
}
.hero__scroll::before { content:""; position:absolute; left:50%; top:8px; width:4px; height:8px; border-radius:99px;
  background:#fff; transform:translateX(-50%); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0%{opacity:0; transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0; transform:translate(-50%,14px)} }

/* ---- Reveal variants (progressive enhancement: hidden only when JS is live) ---- */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux), filter 1.1s var(--ease-lux); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-anim="left"]  { transform: translateX(-40px); }
.reveal[data-anim="right"] { transform: translateX(40px); }
.reveal[data-anim="scale"] { transform: scale(.9); }
.reveal[data-anim="blur"]  { filter: blur(10px); }

/* ---- Card icon hover (flat, no 3D) ---- */
.card__icon { transition: transform .3s var(--ease); }
.card:hover .card__icon { transform: scale(1.06) rotate(-3deg); }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: rgba(15,34,29,.92); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; padding: 24px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); transform: scale(.92); transition: transform .35s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); border: 0;
  color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center;
  transition: background .25s; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 22px; } .lightbox__nav.next { right: 22px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--c-teal); }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; }
.gallery figure { cursor: pointer; }

/* ---- Sticky mobile CTA ---- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--c-surface);
  border-top: 1px solid var(--c-border); box-shadow: 0 -8px 24px rgba(20,63,54,.08); }
.mobile-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 760px) { .mobile-cta { display: block; } body { padding-bottom: 76px; } }

/* ---- Service card image zoom ---- */
.service-card img { transition: transform .6s var(--ease); }
.service-card:hover img { transform: scale(1.07); }

/* ---- Reduced motion: kill heavy stuff, keep content visible ---- */
@media (prefers-reduced-motion: reduce) {
  .preloader img, .preloader__bar i, .hero__media { animation: none !important; }
  .hero__text > * { opacity: 1 !important; transform: none !important; }
}
