/* =========================================================
   RV Therapy · Clínica de fisioterapia y salud
   ========================================================= */

:root {
  --navy-950: #070B2A;
  --navy-900: #0E1440;
  --navy-800: #161E5A;
  --navy-700: #1F2A78;
  --blue-600: #2D55E6;
  --blue-500: #3B6BFF;
  --blue-400: #6B93FF;
  --blue-100: #E6EDFF;
  --blue-50:  #F2F5FF;

  --ink:   #10163A;
  --muted: #586085;
  --line:  #E2E7F2;
  --bg:    #FAFBFE;
  --surface: #FFFFFF;
  --tint:  #F2F5FB;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(14, 20, 64, .06), 0 2px 8px rgba(14, 20, 64, .04);
  --shadow:    0 10px 30px -12px rgba(14, 20, 64, .18);
  --shadow-lg: 0 30px 60px -20px rgba(14, 20, 64, .30);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px;
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 26px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 24px -8px rgba(45, 85, 230, .6); }
.btn--primary:hover { background: var(--blue-500); box-shadow: 0 12px 28px -8px rgba(59, 107, 255, .7); }
.btn--ghost { border-color: var(--line); color: var(--navy-900); background: var(--surface); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(59, 107, 255, .18); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 254, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14, 20, 64, .3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--font-display); font-size: 15.5px; font-weight: 450; }
.nav a:not(.btn) { color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-500); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--navy-900); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 10px 20px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; padding: 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -300px; top: -380px;
  background: radial-gradient(circle, rgba(59, 107, 255, .16), transparent 62%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); font-weight: 600; letter-spacing: -.035em; color: var(--navy-900); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); margin-top: 22px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--navy-900); }
.hero__trust span { font-size: 14px; color: var(--muted); }

.hero__media { position: relative; }
.hero__frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); position: relative; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 20, 64, .35)); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  padding: 14px 18px 14px 14px; border-radius: 16px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy-900); }
.float-card span { font-size: 13px; color: var(--muted); }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); }
.float-card__icon svg { width: 20px; height: 20px; }
.float-card--a { left: -28px; bottom: 56px; }
.float-card--b { right: -18px; top: 40px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__frame { aspect-ratio: 4 / 3; }
  .float-card--a { left: 12px; bottom: 16px; }
  .float-card--b { right: 12px; top: 16px; }
}
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .float-card { padding: 10px 14px 10px 10px; }
  .float-card--b { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-950); color: #fff; overflow: hidden; isolation: isolate; }
.section--dark .eyebrow { color: var(--blue-400); }
.section--dark h2, .section--dark .section__head h2 { color: #fff; }
.section--dark .section__head p, .section--dark .lead { color: rgba(255, 255, 255, .68); }
.glow { position: absolute; z-index: -1; width: 760px; height: 760px; left: -260px; top: -320px; background: radial-gradient(circle, rgba(59, 107, 255, .35), transparent 60%); filter: blur(10px); }
.glow--right { left: auto; right: -280px; top: auto; bottom: -360px; }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2 { font-size: clamp(32px, 4.2vw, 50px); color: var(--navy-900); }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-top: 18px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__img { aspect-ratio: 16 / 10; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { padding: 26px 26px 30px; }
.service h3 { font-size: 23px; color: var(--navy-900); }
.service__body > p { color: var(--muted); margin: 10px 0 20px; font-size: 16px; }

.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; margin-bottom: 9px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D55E6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ticks--sm li { font-size: 14.5px; }

.banner {
  margin-top: 32px; display: flex; align-items: center; gap: 24px;
  padding: 28px 32px; border-radius: var(--radius);
  background: linear-gradient(110deg, var(--navy-900), var(--navy-700) 60%, var(--blue-600));
  color: #fff; box-shadow: var(--shadow);
}
.banner__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex-shrink: 0; }
.banner__icon svg { width: 26px; height: 26px; }
.banner__text { flex: 1; }
.banner h3 { font-size: 22px; }
.banner p { color: rgba(255, 255, 255, .75); margin-top: 4px; font-size: 16px; }

@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } .services .service:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .banner { flex-direction: column; align-items: flex-start; padding: 26px; }
  .banner .btn { width: 100%; }
}

/* ---------- Técnicas ---------- */
.techs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px;
  display: flex; align-items: flex-end; border: 1px solid rgba(255, 255, 255, .08);
}
.tech img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tech::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 11, 42, .1) 10%, rgba(7, 11, 42, .7) 50%, rgba(7, 11, 42, .97)); }
.tech:hover img { transform: scale(1.06); }
.tech__body { position: relative; z-index: 2; padding: 26px; }
.tech__num { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; color: var(--blue-400); }
.tech h3 { font-size: 24px; margin: 8px 0 10px; }
.tech p { font-size: 15px; color: rgba(255, 255, 255, .78); line-height: 1.55; }
@media (max-width: 1020px) { .techs { grid-template-columns: 1fr 1fr; } .tech { min-height: 380px; } }
@media (max-width: 560px) { .techs { grid-template-columns: 1fr; } .tech { min-height: 340px; } }

/* ---------- Salud integral (tabs) ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; }
.tab {
  font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--muted);
  border: 0; background: transparent; padding: 11px 26px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s;
}
.tab.is-active { background: var(--surface); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.panel__intro { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; color: var(--navy-900); max-width: 36em; margin-bottom: 36px; line-height: 1.4; letter-spacing: -.01em; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.feature:hover { border-color: var(--blue-400); transform: translateY(-3px); }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 20px; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); }
@media (max-width: 1180px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } .tabs { display: flex; } .tab { flex: 1; padding-inline: 12px; } }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.member { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 1 / .82; overflow: hidden; background: #e9ecf3; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 25%; transition: transform .7s ease; }
.member:hover .member__photo img { transform: scale(1.03); }
.member__body { padding: 28px 30px 32px; }
.member h3 { font-size: 26px; color: var(--navy-900); }
.member__role { font-size: 14.5px; color: var(--blue-600); font-weight: 600; margin: 6px 0 16px; }
.member__body > p:not(.member__role) { color: var(--muted); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--navy-800); border: 1px solid var(--blue-100); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* ---------- Tarifas ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px 26px; display: flex; flex-direction: column;
}
.price h3 { font-size: 18px; font-weight: 500; color: var(--muted); }
.price__amount { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--navy-900); margin: 14px 0 4px; display: flex; align-items: baseline; gap: 2px; }
.price__amount span { font-size: 54px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price__amount s { font-size: 16px; color: #9AA1BD; margin-left: 10px; font-weight: 400; }
.price__note { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price .ticks { margin-bottom: 26px; flex: 1; }
.price--featured { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.price--featured h3, .price--featured .price__note { color: rgba(255, 255, 255, .7); }
.price--featured .price__amount { color: #fff; }
.price--featured .price__amount s { color: rgba(255, 255, 255, .45); }
.price--featured .ticks li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B93FF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.price__badge { position: absolute; top: -12px; left: 26px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--blue-500); color: #fff; }
.price__badge--soft { background: var(--blue-100); color: var(--blue-600); }
@media (max-width: 1020px) { .prices { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .price--featured { transform: none; } }
@media (max-width: 520px) { .prices { grid-template-columns: 1fr; } }

/* ---------- Opiniones ---------- */
.rating { display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center; padding: 16px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.rating:hover { border-color: var(--blue-400); }
.rating__score { grid-row: span 2; font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--navy-900); line-height: 1; }
.rating__stars { color: #F5B301; letter-spacing: 2px; font-size: 18px; }
.rating__src { font-size: 14px; color: var(--blue-600); font-weight: 500; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.review__stars { color: #F5B301; letter-spacing: 2px; margin-bottom: 14px; }
.review blockquote { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; color: var(--navy-900); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); color: #fff; font-family: var(--font-display); font-size: 15px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(34px, 4.4vw, 54px); }
.contact__list { margin: 36px 0 28px; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: var(--blue-400); flex-shrink: 0; }
.contact__list small { display: block; font-size: 13px; color: rgba(255, 255, 255, .55); }
.contact__list a { font-family: var(--font-display); font-size: 19px; font-weight: 500; line-height: 1.35; }
.contact__list a:hover { color: var(--blue-400); }

.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }
.map__load { width: 100%; height: 100%; border: 0; background: radial-gradient(circle at 50% 40%, rgba(59, 107, 255, .2), transparent 70%); color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 500; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.map__load svg { width: 30px; height: 30px; color: var(--blue-400); margin-bottom: 4px; }
.map__load small { font-family: var(--font-body); font-size: 13px; color: rgba(255, 255, 255, .5); font-weight: 400; }
.map__load:hover { background-color: rgba(255, 255, 255, .04); }

.form { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 26px; color: var(--navy-900); }
.form__hint { font-size: 14.5px; color: var(--muted); margin: 6px 0 24px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-900); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(59, 107, 255, .14); }
.field input.is-invalid { border-color: #D93B3B; }
.form .btn { margin-top: 8px; }
.form__error { color: #C62F2F; font-size: 14px; margin-top: 12px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .65); border-top: 1px solid rgba(255, 255, 255, .08); padding: 56px 0 28px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand img { height: 36px; width: auto; opacity: .95; margin-bottom: 16px; }
.footer__brand p { max-width: 30em; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__contact a { font-family: var(--font-display); font-size: 20px; color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 28px -6px rgba(37, 211, 102, .55);
  transition: transform .2s;
}
.wa-fab svg { width: 30px; height: 30px; stroke: none; }
.wa-fab:hover { transform: scale(1.07); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Páginas secundarias ---------- */
.page .container { max-width: 800px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); color: var(--navy-900); margin-bottom: 24px; }
.page h2 { font-size: 22px; color: var(--navy-900); margin: 40px 0 12px; }
.page p, .page li { color: var(--muted); margin-bottom: 12px; }
.page ul { padding-left: 1.2em; list-style: disc; }
.page--center { text-align: center; min-height: 60vh; display: grid; place-items: center; }
.page--center .lead { margin-inline: auto; }
