/* ═══════════════════════════════════════════════════════
   CARMAY — Centro Médico & Dental
   Archetype: Premium White Editorial (custom)
   v20260629
════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --bg:           #f5f0e8;
  --bg-2:         #ede7db;
  --bg-3:         #e3dace;
  --ink:          #0a0a0a;
  --ink-soft:     #2a2a2a;
  --ink-mute:     #6b6b6b;
  --ink-xmute:    #a0a0a0;
  --wood:         #c4a882;
  --wood-light:   #e8d9c4;
  --wood-dark:    #8c6e4a;
  --line:         rgba(10,10,10,0.1);
  --line-strong:  rgba(10,10,10,0.18);

  --nav-h:        72px;
  --container:    1200px;
  --radius:       12px;
  --radius-lg:    24px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ── SPLASH ──────────────────────────────────────────── */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  animation: splashSafety 0.01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
}
.splash-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: splashIn 0.6s var(--ease-out) both;
}
@keyframes splashIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.splash-logo { width: 160px; }
.splash-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.splash-line {
  width: 40px; height: 1px;
  background: var(--wood);
  margin-top: 8px;
  animation: splashLineGrow 0.8s var(--ease-out) 0.3s both;
  transform-origin: left;
}
@keyframes splashLineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── CONTAINER ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ── REVEAL ANIMATIONS ───────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-split] {
  opacity: 1;
  transform: none;
}

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  letter-spacing: -0.02em;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-2); }
.nav-cta {
  font-size: 13px; font-weight: 600;
  background: var(--ink);
  color: var(--bg);
  padding: 9px 20px;
  border-radius: 50px;
  margin-left: 8px;
  transition: background 0.2s, transform 0.2s var(--ease-spring);
}
.nav-cta:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: rotate(-45deg) translate(4px, -4px); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--ink-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,10,10,0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--bg-2);
  transform: translateY(-2px);
}
.btn-large { font-size: 16px; padding: 16px 36px; }
.btn-join {
  background: var(--bg);
  color: var(--ink);
}
.btn-join:hover {
  background: var(--wood-light);
  transform: translateY(-2px);
}

/* ── SECTION TYPOGRAPHY ──────────────────────────────── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood-dark);
  margin-bottom: 16px;
}
.section-eyebrow--light { color: var(--wood-light); }
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; font-weight: 700; color: var(--wood-dark); }
.section-title--light { color: var(--bg); }
.section-title--light em { color: var(--wood-light); }
.section-sub {
  font-size: 17px;
  color: var(--ink-mute);
  line-height: 1.7;
  max-width: 600px;
}
.section-sub--light { color: rgba(255,255,255,0.72); }
.section-header {
  max-width: 700px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.section-header--light .section-title { color: var(--bg); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding-bottom: clamp(60px, 10vh, 120px);
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-img.is-loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,10,10,0.62) 0%,
    rgba(10,10,10,0.38) 50%,
    rgba(10,10,10,0.72) 100%
  );
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(196,168,130,0.12), transparent),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(196,168,130,0.08), transparent);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 3;
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-wrap: balance;
  max-width: 14ch;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; font-weight: 700; color: var(--wood-light); }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute; bottom: 40px; right: clamp(20px, 5vw, 60px);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50%       { transform: scaleY(0.5); opacity: 0.2; }
}

/* ── MANIFESTO ───────────────────────────────────────── */
.manifesto {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 900px;
}
.manifesto-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-xmute);
  padding-top: 6px;
}
.manifesto-text {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.manifesto-quote {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
  border-left: 3px solid var(--wood);
  padding-left: 24px;
  letter-spacing: -0.02em;
}

/* ── DENTAL ──────────────────────────────────────────── */
.dental {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--bg);
}
.dental-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(80px, 10vw, 120px);
}
.dental-feature--reverse { direction: rtl; }
.dental-feature--reverse > * { direction: ltr; }
.dental-feature-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.dental-feature-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.dental-feature-img:hover img { transform: scale(1.04); }
.dental-feature-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 50px;
}
.feature-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood-dark);
  margin-bottom: 14px;
}
.feature-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
  text-wrap: balance;
}
.feature-title em { font-style: italic; color: var(--wood-dark); }
.feature-text {
  font-size: 16px;
  color: var(--ink-mute);
  line-height: 1.72;
  margin-bottom: 24px;
}
.feature-list {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.feature-list li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wood);
}
.feature-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--ink-soft);
  border-left: 2px solid var(--wood-light);
  padding-left: 16px;
}

/* Dental cards secondary */
.dental-cards-section {
  background: var(--bg-2);
  padding-block: clamp(64px, 9vw, 100px);
  margin-top: 20px;
}
.dental-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.dental-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.dental-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10,10,10,0.08);
  border-color: var(--wood-light);
}
.dental-card-icon {
  width: 40px; height: 40px;
  color: var(--wood-dark);
  margin-bottom: 18px;
}
.dental-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.dental-card p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.65;
}

/* ── TECHNOLOGY ──────────────────────────────────────── */
.technology {
  position: relative;
  padding-block: clamp(80px, 12vw, 140px);
  overflow: hidden;
}
.technology-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1512 100%);
}
.technology .container { position: relative; z-index: 1; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
}
.tech-item {
  padding: 36px 28px;
  background: rgba(255,255,255,0.03);
  transition: background 0.3s;
}
.tech-item:hover { background: rgba(255,255,255,0.07); }
.tech-item-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--wood);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.tech-item-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.tech-item-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}
.tech-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/7;
}
.tech-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
  transition: filter 0.5s;
}
.tech-image:hover img { filter: saturate(1) brightness(0.9); }

/* ── MEDICAL ─────────────────────────────────────────── */
.medical {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--bg);
}
.specialties { margin-block: clamp(48px, 6vw, 64px); }
.specialties-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-xmute);
  margin-bottom: 28px;
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.specialty {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  padding: 24px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.4;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
  cursor: default;
}
.specialty:hover {
  border-color: var(--wood-light);
  background: var(--bg-2);
  transform: translateY(-3px);
}
.specialty--soon {
  opacity: 0.6;
}
.specialty--soon small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood-dark);
}
.specialty-icon {
  width: 28px; height: 28px;
  color: var(--wood-dark);
  flex-shrink: 0;
}
.medical-image {
  margin-top: clamp(48px, 6vw, 72px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/6;
}
.medical-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.medical-image:hover img { transform: scale(1.03); }

/* ── VALUES ──────────────────────────────────────────── */
.values {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--bg-2);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 0;
}
.value-card {
  padding: 36px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(10,10,10,0.08);
}
.value-icon {
  width: 40px; height: 40px;
  color: var(--wood-dark);
  margin-bottom: 20px;
}
.value-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.value-desc {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.68;
}

/* ── EXPERIENCE ──────────────────────────────────────── */
.experience {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--bg);
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.experience-text {
  font-size: 17px;
  color: var(--ink-mute);
  line-height: 1.72;
  margin-bottom: 28px;
}
.experience-list {
  display: flex; flex-direction: column; gap: 12px;
}
.experience-list li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.experience-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wood-light);
  border: 1.5px solid var(--wood);
}
.experience-images {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
  align-items: start;
}
.experience-img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease-out);
}
.experience-img:hover { transform: scale(1.02); }
.experience-img--main  { aspect-ratio: 3/4; }
.experience-img--secondary { aspect-ratio: 1/1; margin-top: 40px; }

/* ── ABOUT ───────────────────────────────────────────── */
.about {
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: center;
}
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.about-img-wrap:hover img { transform: scale(1.04); }
.about-text {
  font-size: 16px;
  color: var(--ink-mute);
  line-height: 1.74;
  margin-bottom: 20px;
}
.about-stats {
  display: flex; gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about-stat { display: flex; flex-direction: column; gap: 4px; }
.about-stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.about-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── JOIN ────────────────────────────────────────────── */
.join {
  position: relative;
  padding-block: clamp(80px, 12vw, 140px);
  overflow: hidden;
}
.join-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #1a1208 0%, #0d0d0d 60%, #1a1208 100%);
}
.join-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 50%, rgba(196,168,130,0.12), transparent),
    radial-gradient(ellipse 40% 60% at 90% 50%, rgba(196,168,130,0.07), transparent);
}
.join .container { position: relative; z-index: 1; }
.join-content { max-width: 720px; }
.join-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 20px;
  text-wrap: balance;
}
.join-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.72;
  max-width: 600px;
  margin-bottom: 40px;
}
.join-benefits {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 48px;
}
.join-benefit {
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
.join-benefit-icon {
  color: var(--wood);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

/* ── CTA FINAL ───────────────────────────────────────── */
.cta-final {
  padding-block: clamp(100px, 14vw, 160px);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.cta-final-content {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.cta-final-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 20px;
  text-wrap: balance;
}
.cta-final-title em { font-style: italic; color: var(--wood-dark); }
.cta-final-sub {
  font-size: 17px;
  color: var(--ink-mute);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 52ch;
  margin-inline: auto;
}
.cta-final-contact {
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-xmute);
}
.cta-final-contact a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s, border-color 0.2s;
}
.cta-final-contact a:hover { color: var(--ink); border-color: var(--ink); }

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding-block: clamp(56px, 8vw, 80px) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  line-height: 1.5;
}
.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.footer-email {
  font-size: 13px;
  color: var(--wood-light);
  border-bottom: 1px solid rgba(196,168,130,0.3);
  display: inline-block;
  transition: color 0.2s;
}
.footer-email:hover { color: #ffffff; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-nav-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-seo {
  font-size: 11px;
  color: rgba(255,255,255,0.15);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .dental-feature {
    grid-template-columns: 1fr;
  }
  .dental-feature--reverse { direction: ltr; }
  .dental-feature-img { aspect-ratio: 16/9; }

  .about-grid,
  .experience-grid { grid-template-columns: 1fr; }
  .experience-images {
    grid-template-columns: 1fr 1fr;
  }
  .experience-img--main  { aspect-ratio: 16/10; }
  .experience-img--secondary { margin-top: 0; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.4s;
    margin-left: 0;
    z-index: 99;
  }
  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link, .nav-cta {
    font-size: 18px;
    padding: 14px 16px;
    width: 100%;
    border-radius: 12px;
    margin: 0;
  }
  .nav-toggle { display: flex; }

  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-num { display: none; }

  .tech-grid { grid-template-columns: 1fr 1fr; }
  .tech-image { aspect-ratio: 16/9; }

  .specialties-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }

  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-scroll-hint { display: none; }

  .about-stats { gap: 24px; }

  .experience-images { grid-template-columns: 1fr; }
  .experience-img--secondary { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .tech-grid { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-nav { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; }
}

/* ── FOCUS VISIBLE ───────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 3px;
  border-radius: 4px;
}
