/* ==========================================================================
   INSTITUTO AMPRE DE SAÚDE — folha de estilos
   ========================================================================== */

:root {
  --sand: #f4fafe;
  --paper: #ffffff;
  --ink: #444444;
  --muted: #6d737a;
  --brand-900: #2c5b80;
  --brand-800: #4682b4;
  --brand-700: #3c74a2;
  --brand-500: #88cdea;
  --mist: #dceff9;
  --mist-soft: #eef8fd;
  --clay: #4682b4;
  --line: rgba(68, 68, 68, 0.12);
  --shadow-sm: 0 1px 2px rgba(44, 91, 128, 0.05), 0 8px 24px -18px rgba(44, 91, 128, 0.35);
  --shadow-md: 0 2px 4px rgba(44, 91, 128, 0.04), 0 24px 48px -28px rgba(44, 91, 128, 0.45);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1160px;
  --btn-pad-y: 0.9rem;
  --btn-pad-x: 1.6rem;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

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

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--brand-900);
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header.is-scrolled {
  padding: 0.55rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 18px 30px -30px rgba(44, 91, 128, 0.6);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
}

.brand-name {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.25;
}

.brand-sub {
  display: block;
  font-size: 0.63rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  color: #444444;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--brand-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--brand-800); }

.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-900);
  color: #fff !important;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 500;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta::after { display: none; }

.nav-links a.nav-cta:hover { background: var(--brand-800); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  margin: 3px auto;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--brand-900);
  color: #fff;
  box-shadow: 0 12px 24px -18px var(--brand-900);
}

.btn-primary:hover {
  background: var(--brand-800);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -20px var(--brand-900);
}

.btn-ghost {
  border-color: rgba(44, 91, 128, 0.22);
  color: var(--brand-900);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--brand-700);
  background: rgba(136, 205, 234, 0.08);
}

.btn-light {
  background: #ffffff;
  color: var(--brand-900);
}

.btn-light:hover { background: #fff; transform: translateY(-2px); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(60% 60% at 88% 12%, rgba(136, 205, 234, 0.5) 0%, rgba(136, 205, 234, 0) 70%),
    radial-gradient(45% 45% at 0% 90%, rgba(70, 130, 180, 0.12) 0%, rgba(70, 130, 180, 0) 70%),
    var(--sand);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brand-500);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand-800);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(68, 68, 68, 0.14);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-900);
}

.hero-stats span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.4rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: clamp(380px, 46vw, 560px);
  object-fit: cover;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-badge {
  position: absolute;
  left: -1.5rem;
  bottom: 2.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 255px;
  box-shadow: var(--shadow-md);
}

.hero-badge svg { color: var(--brand-700); flex-shrink: 0; }

.hero-badge strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-badge span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Faixa de valores
   -------------------------------------------------------------------------- */

.values {
  background: var(--brand-900);
  color: #eaf4fb;
}

.values-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.6rem 0;
}

.value-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.value-item svg { color: #b6e1f5; flex-shrink: 0; margin-top: 2px; }

.value-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.value-item span {
  display: block;
  font-size: 0.8rem;
  color: #b3cfe0;
  margin-top: 0.2rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Seções
   -------------------------------------------------------------------------- */

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 40rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center p { margin-inline: auto; }

.section--tint { background: var(--sand); }

.section--mist { background: var(--mist-soft); }

/* --------------------------------------------------------------------------
   Especialidades
   -------------------------------------------------------------------------- */

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.specialty-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(70, 130, 180, 0.3);
}

.specialty-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--mist-soft);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
}

.specialty-card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.6rem;
}

.specialty-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.specialty-card .team {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--brand-700);
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
}

.specialty-card--wide { grid-column: span 2; }

.specialty-card--highlight {
  background: var(--brand-900);
  border-color: transparent;
  color: #f2f9fd;
}

.specialty-card--highlight h3 { color: #fff; }
.specialty-card--highlight p { color: #c3dceb; }
.specialty-card--highlight .specialty-icon { background: rgba(255, 255, 255, 0.1); color: #cfeafa; }
.specialty-card--highlight .team { color: #b6e1f5; border-top-color: rgba(255, 255, 255, 0.16); }

/* --------------------------------------------------------------------------
   Profissionais
   -------------------------------------------------------------------------- */

.professionals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.pro-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(70, 130, 180, 0.28);
}

.pro-photo {
  aspect-ratio: 4 / 5;
  background: var(--mist);
  overflow: hidden;
}

.pro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.pro-photo--mono {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-700);
  background: linear-gradient(160deg, #f7fcff, #d8edf9);
}

.pro-top {
  padding: 1.3rem 1.5rem 0;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--brand-900);
  background: var(--mist);
  border: 1px solid rgba(70, 130, 180, 0.14);
  flex-shrink: 0;
}

.avatar--clay { background: #e3f1fa; }
.avatar--brand { background: #d6ecf8; }
.avatar--olive { background: #eaf5fb; }
.avatar--rose { background: #dff0fa; }
.avatar--sand { background: #f0f8fd; }

.pro-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.pro-role {
  font-size: 0.76rem;
  color: var(--brand-700);
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
  line-height: 1.4;
}

.pro-bio {
  padding: 0.7rem 1.5rem 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.pro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding: 1.1rem 1.5rem 0;
}

.pro-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
}

.pro-btn {
  width: 100%;
  font-size: 0.86rem;
}

.pro-phone {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: #4d5b66;
  background: var(--sand);
  border: 1px solid rgba(68, 68, 68, 0.08);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Sobre
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-media { position: relative; }

.about-media img {
  width: 100%;
  height: clamp(340px, 44vw, 520px);
  object-fit: cover;
  border-radius: var(--radius-lg) 120px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-media .quote-card {
  position: absolute;
  right: -1rem;
  bottom: -1.75rem;
  background: var(--brand-900);
  color: #eaf4fb;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  max-width: 290px;
  box-shadow: var(--shadow-md);
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.4;
}

.quote-card span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b6e1f5;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 1.2rem;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.about-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  align-items: flex-start;
}

.about-list svg { color: var(--brand-700); flex-shrink: 0; margin-top: 3px; }

/* Etapas */

.steps {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.step {
  border-top: 1px solid rgba(68, 68, 68, 0.18);
  padding-top: 1.5rem;
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--clay);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
}

.step h3 {
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */

.contact {
  position: relative;
  background:
    radial-gradient(55% 70% at 82% 18%, rgba(136, 205, 234, 0.35) 0%, rgba(136, 205, 234, 0) 70%),
    var(--brand-900);
  color: #eaf4fb;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 1.2rem;
}

.contact-lead {
  color: #c3dceb;
  max-width: 30rem;
  margin-bottom: 2.2rem;
}

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.contact-cards {
  display: grid;
  gap: 0.9rem;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

a.contact-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-card svg { color: #b6e1f5; flex-shrink: 0; margin-top: 2px; }

.contact-card strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8c8db;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.contact-card span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #f2f9fd;
}

.contact-note {
  margin-top: 2.2rem;
  font-size: 0.8rem;
  color: #9fbece;
  max-width: 30rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.site-footer {
  background: #244c69;
  color: #b9d3e3;
  padding: 3.5rem 0 2rem;
  font-size: 0.85rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  display: inline-flex;
  background: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
}

.footer-brand .brand-logo { height: 44px; }

.footer-brand .brand-name { color: #f2f9fd; }
.footer-brand .brand-sub { color: #a6c4d7; }

.footer-tagline {
  margin-top: 1rem;
  max-width: 22rem;
  line-height: 1.6;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: #cfe6f4;
  transition: color 0.2s var(--ease);
}

.footer-social:hover { color: #fff; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
}

.footer-nav a { transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: #f2f9fd; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-size: 0.78rem;
  color: #96b6c9;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* --------------------------------------------------------------------------
   Animações de entrada
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .specialties-grid,
  .professionals-grid { grid-template-columns: repeat(2, 1fr); }

  .specialty-card--wide { grid-column: span 2; }

  .hero-grid { grid-template-columns: 1fr 0.9fr; gap: 2.5rem; }

  .hero-badge { left: -0.75rem; }

  .values-inner { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .site-header.is-open .nav-links { display: flex; }

  .nav-links a { width: 100%; padding: 0.6rem 0.75rem; border-radius: 10px; }
  .nav-links a:hover { background: var(--sand); }
  .nav-links a::after { display: none; }

  .nav-links a.nav-cta {
    justify-content: center;
    width: 100%;
    margin-top: 0.25rem;
    padding: var(--btn-pad-y) var(--btn-pad-x);
  }

  .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 7.5rem; }

  .hero-media { order: -1; }

  .hero-media img {
    height: clamp(280px, 58vw, 400px);
    border-radius: 160px 160px var(--radius-lg) var(--radius-lg);
  }

  .hero-badge {
    left: auto;
    right: 1rem;
    bottom: -1.25rem;
    max-width: 230px;
    padding: 0.85rem 1rem;
  }

  .hero-stats { margin-top: 1.5rem; }

  .about-media .quote-card {
    right: 0.75rem;
    bottom: -1.5rem;
    max-width: 250px;
    padding: 1.15rem 1.25rem;
  }

  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 620px) {
  .specialties-grid,
  .professionals-grid { grid-template-columns: 1fr; }

  .specialty-card--wide { grid-column: auto; }

  .pro-photo { aspect-ratio: 1 / 1; }

  .pro-photo img { object-position: 50% 14%; }

  .values-inner { grid-template-columns: 1fr; gap: 1.25rem; padding: 2rem 0; }

  .hero-actions .btn { flex: 1 1 100%; }

  .hero-stats { gap: 1.25rem 2rem; }

  .footer-top { flex-direction: column; }

  .quote-card { position: static; margin-top: 1rem; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
}

section[id] { scroll-margin-top: 90px; }
