/* ==========================================================================
   Buckhead Esthetic Dentistry — v2 (Apple-vibe)
   Black + white dominance · massive type · centered sections · teal accent
   ========================================================================== */

:root {
  /* Apple-style monochrome */
  --black: #000;
  --near-black: #1d1d1f;
  --gray-1: #86868b;
  --gray-2: #d2d2d7;
  --gray-3: #e8e8ed;
  --gray-4: #f5f5f7;
  --white: #fbfbfd;
  --pure-white: #ffffff;

  /* Brand teal — kept, but used sparingly as accent only */
  --accent: #009ea6;
  --accent-dark: #007a80;
  --accent-bright: #5bc3ca;
  --accent-pale: #e7f4f5;
  --primary: #46717b;
  --primary-dark: #2e525c;

  /* Type */
  --display: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  --script: 'Allura', 'Pinyon Script', 'Great Vibes', 'Brush Script MT', cursive;

  /* Radius */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Layout */
  --container: 1200px;
  --container-wide: 1440px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --gutter-tight: clamp(1rem, 2vw, 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.47;
  color: var(--near-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--accent-dark); }

ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* --- Typography (Apple cadence) ---------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--near-black);
  font-weight: 600;
}

/* Section headlines — massive */
.headline-xl {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: .98;
}
.headline-lg {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.05;
}
.headline-md {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.022em; line-height: 1.1; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; letter-spacing: -0.014em; line-height: 1.2; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.008em; }

/* Eyebrow — small caps line above headline */
.eyebrow {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  letter-spacing: -0.005em;
  color: var(--accent);
  margin-bottom: .35rem;
  line-height: 1.2;
}

/* Body / lead text */
.lede {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.4;
  color: var(--near-black);
  font-weight: 400;
  letter-spacing: -0.005em;
  max-width: 38ch;
  margin: 0 auto;
}
.lede-dark { color: var(--gray-2); }

p { font-size: 1.05rem; line-height: 1.55; color: var(--near-black); }
p + p { margin-top: 1rem; }

.text-mute { color: var(--gray-1); }

/* --- Layout ------------------------------------------------------------ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* The section immediately following the hero gets a tighter top */
.hero + section { padding-top: clamp(2.5rem, 5vw, 4rem); }

.center { text-align: center; }
.section-head {
  text-align: center;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 720px;
}
.section-head .lede { margin-top: 1rem; }

/* Section backgrounds (all light, alternating warmth) */

/* Pale teal wash — primary "tint" section */
.tint {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0,158,166,.10) 0%, transparent 55%),
    radial-gradient(100% 70% at 0% 100%, rgba(70,113,123,.08) 0%, transparent 55%),
    #ecf5f6;
}
.tint .eyebrow { color: var(--accent-dark); }

/* Warm off-white green — softer than gray, brighter than tint */
.wash { background: #f6faf9; }

/* Apple-style cool gray */
.gray { background: var(--gray-4); }

/* Cream — warm light, no teal */
.cream { background: #faf9f6; }

/* Deep brand-teal section (replaces previous pure-black `.dark`) */
.deep {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(0,158,166,.22) 0%, transparent 55%),
    linear-gradient(135deg, #46717b 0%, #2e525c 100%);
  color: rgba(255, 255, 255, .92);
}
.deep h1, .deep h2, .deep h3, .deep h4 { color: #fff; }
.deep .lede { color: rgba(255, 255, 255, .88); }
.deep .eyebrow { color: var(--accent-bright); }
.deep p { color: rgba(255, 255, 255, .85); }
.deep a { color: var(--accent-bright); }
.deep a:hover { color: #fff; }

/* `.dark` legacy: keep for highlight-card etc., but no longer used at section level */
.dark {
  background: var(--near-black);
  color: var(--gray-2);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--pure-white); }
.dark .lede { color: var(--gray-2); }
.dark .eyebrow { color: var(--accent-bright); }
.dark p { color: var(--gray-2); }
.dark a { color: var(--accent-bright); }
.dark a:hover { color: var(--pure-white); }

/* --- Buttons (Apple pill) --------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .85rem 1.5rem;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  border-radius: 980px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost::after {
  content: " ›";
  margin-left: .1rem;
  transition: transform .2s ease;
}
.btn-ghost:hover { color: var(--accent-dark); }
.btn-ghost:hover::after { transform: translateX(2px); }

.btn-outline {
  background: transparent;
  color: var(--near-black);
  border: 1px solid var(--near-black);
}
.btn-outline:hover {
  background: var(--near-black);
  color: #fff;
}

.dark .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.dark .btn-outline:hover {
  background: #fff;
  color: var(--black);
}

.btn-lg { padding: 1rem 1.8rem; font-size: 1.08rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }

/* Inline "Learn more ›" link style */
.link {
  font-size: 1.02rem;
  color: var(--accent);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  letter-spacing: -0.005em;
}
.link::after {
  content: "›";
  margin-left: .2rem;
  transition: transform .2s ease;
}
.link:hover::after { transform: translateX(2px); }

/* --- Top global nav (Apple-style) ------------------------------------- */

.global-nav {
  background: rgba(0, 0, 0, .8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  font-size: .82rem;
  letter-spacing: -0.005em;
}
.global-nav .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  gap: 1rem;
}
.global-nav .brand-mini {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 500;
}
.global-nav .brand-mini-mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: .72rem;
}
.global-nav-links {
  display: flex;
  gap: clamp(.9rem, 2.4vw, 2rem);
  align-items: center;
}
.global-nav-links a {
  color: rgba(255,255,255,.85);
  font-weight: 400;
  font-size: .82rem;
  transition: color .15s ease;
}
.global-nav-links a:hover { color: #fff; }
.global-nav-cta {
  color: var(--accent-bright);
  font-weight: 400;
}
@media (max-width: 760px) {
  .global-nav-links a:not(.global-nav-cta) { display: none; }
  .global-nav-links { gap: .9rem; }
}

/* --- Site header (single nav) ---------------------------------------- */

.sub-nav {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-3);
  position: sticky;
  top: 0;
  z-index: 99;
  font-size: .94rem;
}
.sub-nav .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 1rem;
  padding-left: clamp(.5rem, 1vw, 1rem);
}
.sub-nav .product-title {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.1vw, 1.85rem);
  letter-spacing: 0;
  line-height: 1;
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease;
  white-space: nowrap;
  padding-bottom: .15em;
}
.sub-nav .product-title:hover { color: var(--accent); }
.sub-nav .brand-mark {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
@media (max-width: 760px) {
  .sub-nav .brand-mark { height: 32px; }
}

.sub-nav-links {
  display: flex;
  gap: clamp(.8rem, 2.5vw, 2rem);
  align-items: center;
}
.sub-nav-links a {
  color: var(--near-black);
  font-weight: 400;
  font-size: .92rem;
  letter-spacing: -0.005em;
}
.sub-nav-links a:hover { color: var(--accent); }
.sub-nav-links a.book-cta {
  background: var(--accent);
  color: #fff;
  padding: .55rem 1.2rem;
  border-radius: 980px;
  font-weight: 500;
}
.sub-nav-links a.book-cta:hover { background: var(--accent-dark); color: #fff; }

.sub-nav-links a.phone-link { color: var(--accent); font-weight: 500; }
.sub-nav-links a.phone-link:hover { color: var(--accent-dark); }

@media (max-width: 760px) {
  .sub-nav-links a:not(.book-cta) { display: none; }
  .sub-nav .product-title { font-size: 1.35rem; }
}

/* --- Hero (Apple full-bleed) ----------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0,158,166,.14) 0%, transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(70,113,123,.10) 0%, transparent 60%),
    #f3faf9;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem);
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 30s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slide:nth-child(5) { animation-delay: 24s; }
@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(243,250,249,.92) 0%, rgba(243,250,249,.7) 40%, rgba(243,250,249,.35) 75%, rgba(243,250,249,.2) 100%),
    radial-gradient(120% 80% at 100% 0%, rgba(0,158,166,.18) 0%, transparent 55%);
}
.hero > .container-wide {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 580px) 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: .35; }
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: .98;
  margin-bottom: .9rem;
}
.hero-copy .lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0 0 1.8rem;
  max-width: 38ch;
}

/* Hero tile grid — 3 services + 1 book CTA */
.hero-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  max-width: 520px;
}
@media (max-width: 480px) {
  .hero-tiles { grid-template-columns: 1fr; max-width: 100%; }
}

.hero-tile {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(70, 113, 123, .14);
  border-radius: var(--r);
  color: var(--near-black);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-tile:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(70, 113, 123, .12);
  color: var(--near-black);
}
.hero-tile-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-pale, #e7f4f5);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.hero-tile-icon svg { width: 20px; height: 20px; }
.hero-tile-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hero-tile strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--near-black);
  letter-spacing: -0.008em;
  line-height: 1.2;
}
.hero-tile small {
  font-size: .82rem;
  color: var(--gray-1);
  line-height: 1.3;
}

.hero-tile-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 158, 166, .22);
}
.hero-tile-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #006065 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 158, 166, .32);
}
.hero-tile-primary strong { color: #fff; }
.hero-tile-primary small { color: rgba(255, 255, 255, .85); }
.hero-tile-primary .hero-tile-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

/* Legacy wrapper (no longer used in markup, kept for safety) */
.hero-photo-col {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: clamp(360px, 32vw, 480px);
  justify-self: end;
}

/* Stat badge cards — used in Dr. Warren section */
.stat-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
@media (max-width: 800px)  { .stat-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .stat-badges { grid-template-columns: 1fr; } }

.stat-badge {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.15rem;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: .85rem;
  box-shadow: 0 6px 18px rgba(70, 113, 123, .08), 0 1px 2px rgba(0,0,0,.04);
  text-align: left;
}
.stat-badge-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.stat-badge-mark svg { width: 20px; height: 20px; }
.stat-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.stat-badge-text strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.018em;
  line-height: 1;
  color: var(--near-black);
}
.hero-stat-num { display: inline; }
.hero-stat-num .plus { color: var(--accent); }
.stat-badge-text small {
  font-size: .78rem;
  color: var(--gray-1);
  line-height: 1.25;
  letter-spacing: -0.005em;
}

/* Hero photo card */
.hero-photo {
  position: relative;
  width: clamp(540px, 48vw, 720px);
  aspect-ratio: 5 / 4;
  max-height: 560px;
  justify-self: end;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #d8eaeb 0%, #93b6bb 100%);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(70, 113, 123, .18), 0 10px 20px rgba(70, 113, 123, .08);
}
.hero-photo .hero-slide {
  border-radius: var(--r-xl);
}
.hero-photo-floater {
  position: absolute;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .85rem 1.05rem;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  z-index: 2;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}
.hero-photo-floater.bottom-left { bottom: 1.1rem; left: 1.1rem; }
.hero-photo-floater-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-pale, #e7f4f5);
  color: var(--accent);
  flex-shrink: 0;
}
.hero-photo-floater-mark svg { width: 20px; height: 20px; }
.hero-photo-floater strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--near-black);
  letter-spacing: -0.005em;
}
.hero-photo-floater small {
  font-size: .78rem;
  color: var(--gray-1);
  line-height: 1.3;
}

/* legacy: keep hero-cta-row and hero-image styles for other pages if used */
.hero-cta-row {
  margin-top: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* --- Highlights bento (Apple "Get the highlights") ------------------ */

.highlights {
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.highlights-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.highlights-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.highlight-card {
  background: linear-gradient(135deg, #e7f4f5 0%, #c8e2e5 100%);
  color: var(--near-black);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(70, 113, 123, .15);
}
.highlight-card .h-image {
  flex: 1;
  margin: 0 -.6rem 1.5rem;
  border-radius: var(--r);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.65) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.2) 100%);
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(0,0,0,.35);
  font-size: .82rem;
  font-family: var(--display);
  text-align: center;
  padding: 1rem;
}
.highlight-card .h-meta {
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent-dark);
  letter-spacing: -0.005em;
  margin-bottom: .4rem;
}
.highlight-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--near-black);
  line-height: 1.2;
}

/* White-card variant */
.highlight-card.light {
  background: var(--pure-white);
  border: 1px solid var(--gray-3);
}
.highlight-card.light .h-image {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,158,166,.18) 0%, transparent 60%),
    linear-gradient(135deg, #e7f4f5 0%, #c8e2e5 100%);
}

/* Deep teal "feature" card variant — for one accent card per row */
.highlight-card.feature-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.highlight-card.feature-accent h3 { color: #fff; }
.highlight-card.feature-accent .h-meta { color: var(--accent-bright); }
.highlight-card.feature-accent .h-image {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(91,195,202,.35) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.04) 100%);
  color: rgba(255,255,255,.55);
}

/* --- Feature section (Apple-style centered stack) -------------------- */

.feature {
  text-align: center;
}
.feature .feature-copy {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.feature .feature-copy h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.feature .feature-copy .lede {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  margin: 0 auto;
  max-width: 42ch;
}

.feature-visual {
  margin: 0 auto;
  max-width: 1200px;
  height: clamp(360px, 50vw, 600px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,158,166,.15) 0%, transparent 55%),
    linear-gradient(135deg, var(--gray-4) 0%, #d8e4e6 100%);
  display: grid;
  place-items: center;
  color: rgba(0,0,0,.4);
  font-family: var(--display);
  font-size: .9rem;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.dark .feature-visual {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(91,195,202,.18) 0%, transparent 55%),
    linear-gradient(135deg, #1a262a 0%, #0a1416 100%);
  color: rgba(255,255,255,.35);
}

.deep .feature-visual {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(91,195,202,.30) 0%, transparent 55%),
    linear-gradient(135deg, #2e525c 0%, #1d3a42 100%);
  color: rgba(255,255,255,.5);
}

.tint .feature-visual {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0,158,166,.18) 0%, transparent 55%),
    linear-gradient(135deg, #d8eaeb 0%, #adcbcf 100%);
  color: rgba(0,0,0,.42);
}

.feature-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  text-align: left;
}
.feature-bullets > div {
  border-top: 1px solid var(--gray-3);
  padding-top: 1.1rem;
}
.dark .feature-bullets > div { border-top-color: rgba(255,255,255,.15); }
.feature-bullets h4 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  margin-bottom: .35rem;
}
.feature-bullets p {
  font-size: .94rem;
  line-height: 1.5;
  color: var(--gray-1);
}
.dark .feature-bullets p { color: var(--gray-2); }

/* --- Three-up comparison (Apple "Pick your quick") ------------------- */

.compare-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .compare-3 { grid-template-columns: 1fr; }
}
.compare-card {
  background: var(--pure-white);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  text-align: center;
  border: 1px solid var(--gray-3);
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.dark .compare-card {
  background: #14171a;
  border-color: rgba(255,255,255,.08);
}

.deep .compare-card {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
  backdrop-filter: blur(8px);
}
.deep .compare-card h3 { color: #fff; }
.deep .compare-card .price-line { color: rgba(255, 255, 255, .7); }
.deep .compare-card li { color: rgba(255, 255, 255, .9); }
.deep .compare-card li::before { background: var(--accent-bright); }
.deep .compare-card .link { color: var(--accent-bright); }

.tint .compare-card {
  background: #fff;
  border-color: rgba(70, 113, 123, .15);
}
.compare-card .c-icon {
  width: 56px; height: 56px;
  margin: 0 auto .8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  display: grid;
  place-items: center;
  color: #fff;
}
.compare-card .c-icon svg { width: 28px; height: 28px; }
.compare-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}
.compare-card .price-line {
  font-size: 1.05rem;
  color: var(--gray-1);
  margin-bottom: .8rem;
}
.compare-card ul {
  text-align: left;
  margin-top: .8rem;
  display: grid;
  gap: .6rem;
}
.compare-card li {
  font-size: .98rem;
  color: var(--near-black);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}
.dark .compare-card li { color: var(--gray-2); }
.compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.compare-card .link { margin-top: auto; padding-top: 1rem; }

/* --- Smile gallery showcase ----------------------------------------- */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .showcase-grid { grid-template-columns: 1fr; }
}
.showcase-card {
  background: var(--pure-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-3);
}
.dark .showcase-card {
  background: #14171a;
  border-color: rgba(255,255,255,.08);
}

.deep .showcase-card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
}
.deep .showcase-body h3 { color: #fff; }
.deep .showcase-body p { color: rgba(255, 255, 255, .85); }
.deep .showcase-meta { color: rgba(255, 255, 255, .65); }
.deep .showcase-meta strong { color: #fff; }
.deep .showcase-body .h-meta { color: var(--accent-bright); }
.showcase-image {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,158,166,.12) 0%, transparent 50%),
    linear-gradient(135deg, var(--gray-4) 0%, #c8d8da 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.showcase-image::before {
  content: "Before";
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .25rem .7rem;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
  border-radius: 980px;
}
.showcase-image::after {
  content: "After";
  position: absolute;
  top: 1rem; right: 1rem;
  padding: .25rem .7rem;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
  border-radius: 980px;
}
.showcase-body {
  padding: 1.6rem 1.8rem 2rem;
}
.showcase-body .h-meta {
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: .35rem;
}
.dark .showcase-body .h-meta { color: var(--accent-bright); }
.showcase-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: .35rem;
}
.dark .showcase-body h3 { color: #fff; }
.showcase-body p {
  font-size: .95rem;
  color: var(--gray-1);
  margin-bottom: 1rem;
}
.dark .showcase-body p { color: var(--gray-2); }
.showcase-meta {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--gray-1);
}
.showcase-meta strong { color: var(--near-black); font-weight: 600; }
.dark .showcase-meta strong { color: #fff; }

/* --- Stats / counter band ------------------------------------------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 700px) { .stat-band { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.stat {
  border-left: 1px solid var(--gray-3);
  padding: .4rem 1rem;
}
.dark .stat { border-left-color: rgba(255,255,255,.15); }
.stat:first-child { border-left: 0; }
@media (max-width: 700px) {
  .stat { border-left: 0; }
}
.stat-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--near-black);
}
.dark .stat-num { color: #fff; }
.stat-num .plus { color: var(--accent); }
.stat-label {
  font-size: .92rem;
  color: var(--gray-1);
  margin-top: .6rem;
  letter-spacing: -0.005em;
}

/* --- Testimonial single big quote ----------------------------------- */

.big-quote {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.big-quote blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  letter-spacing: -0.018em;
  line-height: 1.18;
  color: var(--near-black);
  margin-bottom: 1.5rem;
}
.dark .big-quote blockquote { color: #fff; }
.big-quote cite {
  font-style: normal;
  font-size: .98rem;
  color: var(--gray-1);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* --- Marquee / scrolling reviews ------------------------------------ */

.tm-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.tm-card {
  background: var(--pure-white);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
  border: 1px solid var(--gray-3);
}
.dark .tm-card {
  background: #14171a;
  border-color: rgba(255,255,255,.08);
}

.deep .tm-card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
}
.deep .tm-card p { color: rgba(255, 255, 255, .9); }
.deep .tm-card .tm-name { color: #fff; }
.deep .tm-card .tm-source { color: rgba(255, 255, 255, .6); }

.tint .tm-card { background: #fff; }
.tm-stars { color: #f6b13e; font-size: 1rem; letter-spacing: .04em; margin-bottom: .8rem; display: block; }
.tm-card p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--near-black);
  margin-bottom: 1.2rem;
}
.dark .tm-card p { color: var(--gray-2); }
.tm-card .tm-name {
  font-weight: 600;
  font-size: .98rem;
  color: var(--near-black);
}
.dark .tm-card .tm-name { color: #fff; }
.tm-card .tm-source {
  font-size: .82rem;
  color: var(--gray-1);
}

/* --- Bottom CTA panel (Apple-style "Why MacBook Pro") --------------- */

.cta-panel {
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.cta-panel .lede { margin-bottom: 1.6rem; }
.cta-panel-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* --- "Keep exploring" carousel block -------------------------------- */

.keep-exploring {
  background: var(--gray-4);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
}
.explore-heading {
  grid-column: 1 / -1;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin: 0 0 1rem;
  padding: 0;
  font-weight: 600;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  width: 100%;
  margin: 0;
  padding: 0;
}
.explore-card {
  background: #fff;
  border: 1px solid var(--gray-3);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  min-height: 320px;
  text-decoration: none;
  color: var(--near-black);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.explore-card:hover { border-color: var(--accent-pale); box-shadow: 0 12px 28px rgba(70,113,123,.08); }
.explore-card:hover { transform: translateY(-4px); color: var(--near-black); }
.explore-card .e-meta {
  font-size: .8rem;
  color: var(--gray-1);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.explore-card h3 {
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}
.explore-card p {
  font-size: .95rem;
  color: var(--gray-1);
  margin-bottom: auto;
}
.explore-card .e-cta {
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 400;
  font-size: .98rem;
}
.explore-card .e-cta::after { content: " ›"; }

/* --- Footer (Apple-style) ------------------------------------------- */

.footnotes {
  background: var(--gray-4);
  font-size: .76rem;
  color: var(--gray-1);
  line-height: 1.5;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-3);
}
.footnotes p { font-size: .76rem; color: var(--gray-1); }
.footnotes a { color: var(--gray-1); text-decoration: underline; }

.footer {
  background: var(--gray-4);
  color: var(--gray-1);
  font-size: .9rem;
  padding: clamp(2rem, 4vw, 2.5rem) 0 1.5rem;
}
/* When footer directly follows keep-exploring, merge them seamlessly */
.keep-exploring + .footer { padding-top: .5rem; }

.footer-row {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.6fr 1.3fr auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0 0 1.25rem;
}
@media (max-width: 900px) {
  .footer-row { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-social-col { grid-column: span 2; }
}
@media (max-width: 520px) {
  .footer-row { grid-template-columns: 1fr; }
  .footer-social-col { grid-column: auto; }
}

.footer-col h5 {
  font-family: var(--body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .4rem;
}
.footer-col p {
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gray-1);
  margin: 0;
}
.footer-col a {
  color: var(--gray-1);
  font-size: .92rem;
  font-weight: 400;
}
.footer-col a:hover { color: var(--accent); }

.footer-social-col {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.footer-social {
  display: flex;
  gap: .55rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.04);
  color: var(--gray-1);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}
.footer-social svg { width: 16px; height: 16px; }
.footer a {
  color: var(--gray-1);
  font-size: .82rem;
}
.footer a:hover { color: var(--near-black); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  width: 100%;
  margin: 0;
  padding: 0;
}
.footer-bottom-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Form (kept minimal, Apple-style) ------------------------------- */

.form-block {
  max-width: 640px;
  margin: 0 auto;
}
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label {
  font-family: var(--body);
  font-weight: 500;
  font-size: .9rem;
  color: var(--near-black);
}
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1.02rem;
  padding: 1rem 1.1rem;
  background: var(--pure-white);
  border: 1px solid var(--gray-2);
  border-radius: var(--r-sm);
  color: var(--near-black);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,158,166,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.radio-tile { position: relative; }
.radio-tile input { position: absolute; opacity: 0; pointer-events: none; }
.radio-tile label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1rem;
  border: 1px solid var(--gray-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-weight: 400;
  background: var(--pure-white);
  font-size: .98rem;
  transition: all .18s ease;
}
.radio-tile input:checked + label {
  border-color: var(--accent);
  background: rgba(0,158,166,.06);
  color: var(--accent-dark);
}
.form-note {
  font-size: .82rem;
  color: var(--gray-1);
  margin-top: 1rem;
  line-height: 1.5;
}

/* --- Page hero (interior pages) ------------------------------------ */

.page-hero {
  text-align: center;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(0,158,166,.10) 0%, transparent 60%),
    #f3faf9;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1;
  margin-bottom: 1rem;
}
.page-hero .lede { margin: 0 auto; max-width: 42ch; }

/* --- Gallery tabs / filter ----------------------------------------- */

.gallery-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.gallery-tab {
  padding: .55rem 1.3rem;
  font-family: var(--body);
  font-weight: 400;
  font-size: .95rem;
  color: var(--near-black);
  background: var(--gray-4);
  border-radius: 980px;
  transition: all .18s ease;
  border: 0;
}
.gallery-tab.active,
.gallery-tab:hover {
  background: var(--near-black);
  color: #fff;
}

/* --- FAQ accordion -------------------------------------------------- */

.faqs { max-width: 800px; margin: 0 auto; }
.faq {
  border-top: 1px solid var(--gray-3);
}
.faq:last-child { border-bottom: 1px solid var(--gray-3); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.012em;
  color: var(--near-black);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  display: grid; place-items: center;
  transition: transform .2s ease;
}
.faq[open] summary::after { content: "−"; }
.faq .faq-body {
  padding: 0 0 1.5rem;
  color: var(--gray-1);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 64ch;
}

/* --- Services hub list ---------------------------------------------- */

.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 1000px) { .service-detail { grid-template-columns: 1fr; } }
.service-sidebar {
  position: sticky;
  top: 110px;
  font-size: .94rem;
}
.service-sidebar h4 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-1);
  margin-bottom: 1rem;
}
.service-sidebar ul li a {
  display: block;
  padding: .55rem 0;
  color: var(--gray-1);
  font-weight: 400;
  border-left: 2px solid transparent;
  padding-left: .9rem;
  transition: all .15s ease;
}
.service-sidebar ul li a:hover {
  color: var(--near-black);
}
.service-sidebar ul li a.active {
  color: var(--accent);
  border-left-color: var(--accent);
}
.service-block {
  scroll-margin-top: 130px;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--gray-3);
}
.service-block:last-child { border-bottom: 0; }
.service-block .meta {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: .4rem;
  letter-spacing: -0.005em;
}
.service-block h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.service-block .price-line {
  font-size: 1rem;
  color: var(--gray-1);
  margin-bottom: 1.5rem;
}
.service-block p { font-size: 1.05rem; line-height: 1.55; }
.service-block h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 .8rem;
  letter-spacing: -0.015em;
}

/* --- Team grid ------------------------------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.team-card {
  background: var(--gray-4);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  text-align: center;
}
.team-photo {
  width: 140px; height: 140px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8e4e6 0%, #93b6bb 100%);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.85);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.team-card h3 { font-size: 1.18rem; font-weight: 600; }
.team-role {
  font-size: .82rem;
  color: var(--accent);
  font-weight: 500;
  margin: .25rem 0 .9rem;
  display: block;
}
.team-card p {
  font-size: .9rem;
  color: var(--gray-1);
  line-height: 1.5;
}

/* --- Misc ----------------------------------------------------------- */

.tag {
  display: inline-block;
  font-size: .82rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: .4rem;
}

[data-fade] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-fade].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-fade] { opacity: 1; transform: none; }
}
