/* ==========================================================
   HYPNOTHERAPY FOR NAIL BITING — Micro-Habit Design System
   Palette:
   --white: #FFFFFF
   --beige: #F2E9E4
   --coral: #E07A5F
   --olive: #3D405B
   --mint:  #81B29A
========================================================== */

:root {
  --white: #FFFFFF;
  --beige: #F2E9E4;
  --beige-2: #EADFD7;
  --coral: #E07A5F;
  --coral-dark: #C8623F;
  --olive: #3D405B;
  --olive-2: #2C2E45;
  --mint: #81B29A;
  --mint-dark: #5F9479;
  --ink: #1B1D2A;
  --muted: #6B6F80;
  --line: #E6DED7;

  --radius: 4px;
  --radius-lg: 10px;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);

  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(27,29,42,.06), 0 2px 8px rgba(27,29,42,.04);
  --shadow-md: 0 6px 24px rgba(27,29,42,.08);
  --transition: 220ms cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--olive);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; color: #2C2E3A; }
.muted { color: var(--muted); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============== TOP BAR / NAV ============== */
.topbar {
  background: var(--olive);
  color: var(--beige);
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--beige); }
.topbar a:hover { color: var(--mint); }
.topbar .right { display: flex; gap: 18px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--olive);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--olive));
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0;
}
.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
@media (max-width: 1100px) {
  .brand-text { display: none; }
}

.menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.menu a {
  display: inline-block;
  padding: 8px 9px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--olive);
  border-radius: var(--radius);
  position: relative;
  letter-spacing: .005em;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px; bottom: 4px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.menu a:hover::after,
.menu a.active::after { transform: scaleX(1); }
.menu a.active { color: var(--coral); }

.nav-cta {
  background: var(--olive);
  color: var(--white) !important;
  padding: 9px 14px !important;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--coral); }
.nav-cta::after { display: none; }

.brand-text { font-size: .98rem; }
.brand-mark { width: 34px; height: 34px; font-size: 13px; }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--olive);
  transform: translateX(-50%);
  transition: var(--transition);
}
.hamburger span { top: 50%; transform: translate(-50%, -50%); }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.hamburger.open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 880px) {
  .hamburger { display: inline-block; }
  .menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 22px;
    gap: 2px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu a::after { display: none; }
  .nav-cta { margin-top: 10px; text-align: center; }
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  font-family: var(--font-head);
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); color: var(--white); transform: translateY(-1px); }
.btn-dark { background: var(--olive); color: var(--white); }
.btn-dark:hover { background: var(--olive-2); color: var(--white); }
.btn-outline { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-outline:hover { background: var(--olive); color: var(--white); }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============== HERO ============== */
.hero {
  background: var(--beige);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  gap: 0;
  min-height: clamp(520px, 78vh, 760px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 64px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--coral);
  display: inline-block;
}
.hero h1 {
  margin: 0 0 .35em;
  color: var(--olive);
}
.hero h1 .accent { color: var(--coral); }
.hero .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: #2C2E3A;
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(61,64,91,.18);
}
.hero-stats .num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--olive);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats .lbl {
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-top: 6px;
}
.hero-visual {
  position: relative;
  min-height: 360px;
  background: var(--olive);
  overflow: hidden;
}
.hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-tag {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(255,255,255,.94);
  color: var(--olive);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(129,178,154,.25);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; order: -1; }
}

/* ============== PAGE HEADER (sub pages) ============== */
.page-head {
  background: var(--olive);
  color: var(--white);
  padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 9vw, 100px);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(224,122,95,.35), transparent 60%);
  pointer-events: none;
}
.page-head h1 { color: var(--white); margin-bottom: 14px; max-width: 18ch; }
.page-head p { color: rgba(255,255,255,.78); max-width: 60ch; font-size: 1.05rem; }
.crumbs {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}
.crumbs a { color: var(--mint); }
.crumbs span { color: rgba(255,255,255,.5); margin: 0 10px; }

/* ============== SECTIONS ============== */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-beige { background: var(--beige); }
.section-olive { background: var(--olive); color: var(--white); }
.section-olive h2, .section-olive h3 { color: var(--white); }
.section-olive p { color: rgba(255,255,255,.8); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ============== TRIGGER GRID ============== */
.trigger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trigger-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.trigger-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.trigger-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trigger-card:hover::before { transform: scaleX(1); }
.trigger-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--coral);
  letter-spacing: .14em;
  display: block;
  margin-bottom: 16px;
}
.trigger-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--olive);
}
.trigger-card p { font-size: .92rem; color: var(--muted); margin: 0; }

@media (max-width: 900px) { .trigger-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trigger-grid { grid-template-columns: 1fr; } }

/* ============== SPLIT (image + copy) ============== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split.flip > .split-media { order: 2; }
.split-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--beige);
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.split-media.pos-mid img { object-position: center 35%; }
.split-media.pos-upper img { object-position: center 20%; }
.split-media.pos-center img { object-position: center center; }
.split-copy h2 { margin-bottom: .5em; }
.split-copy .eyebrow { margin-bottom: 14px; }
.split-copy ul { list-style: none; padding: 0; margin: 18px 0; }
.split-copy ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.split-copy ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 14px; height: 14px;
  border: 2px solid var(--coral);
  border-radius: 50%;
}
.split-copy ul li::after {
  content: "";
  position: absolute;
  left: 4px; top: 22px;
  width: 6px; height: 6px;
  background: var(--coral);
  border-radius: 50%;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > .split-media { order: 0; }
}

/* ============== STEP / PROCESS ============== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: var(--transition);
}
.step:hover { border-color: var(--coral); transform: translateY(-3px); }
.step .step-num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 18px;
}
.step:nth-child(odd) .step-num { background: var(--coral); }
.step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ============== HABIT LOOP DIAGRAM ============== */
.loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 40px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.loop > div {
  padding: 28px 22px;
  text-align: center;
  position: relative;
  border-right: 1px solid var(--line);
}
.loop > div:last-child { border-right: none; }
.loop .icn {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--beige);
  display: grid; place-items: center;
  color: var(--olive);
  font-weight: 800;
  font-family: var(--font-head);
}
.loop h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 6px;
}
.loop p { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) {
  .loop { grid-template-columns: 1fr 1fr; }
  .loop > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .loop > div:nth-child(2n) { border-right: none; }
  .loop > div:nth-child(n+3) { border-bottom: none; }
}

/* ============== RESULTS / STATS BANNER ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--olive);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats > div {
  padding: 38px 26px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stats > div:last-child { border-right: none; }
.stats .big {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.02em;
}
.stats .lbl {
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 6px;
}
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2n) { border-right: none; }
  .stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}

/* ============== TESTIMONIALS ============== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.testi::before {
  content: "“";
  position: absolute;
  top: 6px; right: 16px;
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--coral);
  line-height: 1;
  opacity: .2;
}
.testi p { font-size: .98rem; color: #2C2E3A; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi .who .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--olive);
  font-weight: 800;
  display: grid; place-items: center;
  font-family: var(--font-head);
}
.testi .who strong { display: block; font-size: .92rem; color: var(--olive); }
.testi .who small { color: var(--muted); font-size: .78rem; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============== CTA STRIP ============== */
.cta-strip {
  background: var(--coral);
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) 0;
}
.cta-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-strip h2 { color: var(--white); margin: 0; max-width: 22ch; }
.cta-strip .btn-dark { background: var(--olive); }
.cta-strip .btn-dark:hover { background: var(--white); color: var(--olive); }

/* ============== BLOG GRID ============== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
}
.post .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s ease;
}
.post .thumb.pos-mid img { object-position: center 35%; }
.post .thumb.pos-upper img { object-position: center 20%; }
.post .thumb.pos-center img { object-position: center center; }
.post:hover .thumb img { transform: scale(1.05); }
.post .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post .tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}
.post h3 { font-size: 1.15rem; margin: 0 0 10px; }
.post p { color: var(--muted); font-size: .94rem; margin: 0 0 18px; }
.post .meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto;
  font-size: .82rem;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.post .read {
  color: var(--coral);
  font-weight: 600;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============== MEDIA / GALLERY ============== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery .tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--beige);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
}
.gallery .tile img,
.gallery .tile video {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s ease;
}
/* Per-image positioning: keep faces in frame */
.gallery .tile.pos-mid img,
.gallery .tile.pos-mid video { object-position: center 35%; }
.gallery .tile.pos-upper img,
.gallery .tile.pos-upper video { object-position: center 20%; }
.gallery .tile.pos-center img,
.gallery .tile.pos-center video { object-position: center center; }

.gallery .tile:hover img,
.gallery .tile:hover video { transform: scale(1.03); }
.gallery .tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,64,91,.25), transparent 55%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.gallery .tile:hover::after { opacity: 1; }
.gallery .tile.feature {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .tile.feature { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery .tile.feature { grid-column: span 2; grid-row: auto; aspect-ratio: 4/5; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(27,29,42,.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img,
.lightbox video {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lightbox .close {
  position: absolute;
  top: 20px; right: 24px;
  background: var(--white);
  color: var(--olive);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 700;
}

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.contact-info {
  background: var(--olive);
  color: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
}
.contact-info h3 { color: var(--white); margin-bottom: 22px; }
.contact-info .row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-info .row:last-child { border-bottom: none; }
.contact-info .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: var(--coral);
  flex-shrink: 0;
}
.contact-info .lbl { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mint); display: block; margin-bottom: 4px; }
.contact-info .val { color: var(--white); font-weight: 500; word-break: break-word; }
.contact-info .val a { color: var(--white); }
.contact-info .val a:hover { color: var(--coral); }
.contact-socials {
  display: flex; gap: 10px; margin-top: 24px;
}
.contact-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: var(--white);
  transition: var(--transition);
}
.contact-socials a:hover { background: var(--coral); color: var(--white); transform: translateY(-2px); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 36px;
  border-radius: var(--radius);
}
.form h3 { margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  transition: var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224,122,95,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============== FOOTER ============== */
.footer {
  background: var(--olive-2);
  color: rgba(255,255,255,.78);
  padding: 64px 0 24px;
  font-size: .92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer h5 {
  color: var(--white);
  font-size: .88rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--coral); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer .brand-mark { background: linear-gradient(135deg, var(--coral), var(--mint)); }
.footer .brand-text, .footer .brand-text small { color: var(--white); }
.foot-socials { display: flex; gap: 10px; margin-top: 18px; }
.foot-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: var(--white);
  transition: var(--transition);
}
.foot-socials a:hover { background: var(--coral); transform: translateY(-2px); }
.foot-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}
.foot-bottom a { color: var(--mint); font-weight: 600; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============== UTIL ============== */
.fadein {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease;
}
.fadein.in { opacity: 1; transform: none; }

.divider-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 14px;
}
.divider-tag::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--coral);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature:hover { transform: translateY(-3px); border-color: var(--coral); }
.feature .ic {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--coral);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.1rem; margin: 0 0 8px; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* prose for article-style content */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.6em; font-size: 1.25rem; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.78; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 3px solid var(--coral);
  background: var(--beige);
  font-style: italic;
  color: var(--olive);
  border-radius: 0 var(--radius) var(--radius) 0;
}
