/* Tech Medical Health — design tokens */
:root {
  --ink: #0A1B2B;
  --ink-2: #102A42;
  --ink-3: #1A3A57;
  --teal: #0A7079;
  --teal-bright: #2EC4B6;
  --sun: #E8A45C;
  --sun-deep: #A85B14;
  --paper: #F7F5F0;
  --white: #FFFFFF;
  --text: #0A1B2B;
  --muted: #4A5B6C;
  --line: rgba(10, 27, 43, .12);
  --line-light: rgba(255, 255, 255, .14);
  --on-dark: #EAF1F6;
  --on-dark-muted: #A9BACB;
  --danger: #C0362C;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(10,27,43,.06), 0 12px 32px -12px rgba(10,27,43,.18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
:is(.site-header, .hero, .why, .hub-sec, .hospitals, .contact, .footer) :focus-visible { outline-color: var(--teal-bright); }
.form-card :focus-visible { outline-color: var(--teal); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 28px; height: 28px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Type */
.display {
  font: 500 clamp(2.3rem, 5.2vw, 4.3rem)/1.06 var(--font-display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2 {
  font: 500 clamp(1.8rem, 3.5vw, 2.9rem)/1.1 var(--font-display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.display em, .h2 em { font-style: italic; font-weight: 400; color: var(--teal); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.eyebrow-light { color: var(--teal-bright); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #F1B576; box-shadow: 0 10px 30px -10px rgba(232,164,92,.7); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.site-header.scrolled {
  background: rgba(10, 27, 43, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-bright); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; fill: var(--ink); }
.brand-name { font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-name em { font: italic 400 1.1rem var(--font-display); color: var(--teal-bright); margin-left: 1px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.82); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-cta { white-space: nowrap; margin-left: 10px; min-height: 42px; padding: 0 18px; font-size: .92rem; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.lang button {
  min-width: 40px; min-height: 34px; padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.7);
  transition: background-color .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.lang button:hover:not([aria-pressed="true"]) { color: var(--white); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; place-items: center; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 56px) 0 36px;
  color: var(--white);
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,27,43,.94) 0%, rgba(10,27,43,.78) 42%, rgba(10,27,43,.25) 100%),
    linear-gradient(0deg, rgba(10,27,43,.95) 0%, rgba(10,27,43,0) 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 56px; align-items: end; }
.hero-copy { max-width: 760px; }
.hero .display em { color: var(--sun); }
.hero .lead { color: rgba(234, 241, 246, .86); margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 26px 26px 18px;
}
.hero-card-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 18px; }
.mini-journey li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.mini-journey li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: rgba(255,255,255,.14); }
.mini-journey li.done:not(:last-child)::before { background: var(--teal-bright); }
.mj-dot { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.25); }
.mj-dot .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.done .mj-dot { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--ink); }
.active .mj-dot { background: var(--sun); border-color: var(--sun); color: var(--ink); box-shadow: 0 0 0 6px rgba(232,164,92,.22); animation: pulseDot 2.4s ease-in-out infinite; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 11px rgba(232,164,92,0); } }
.mini-journey strong { display: block; font-size: .98rem; font-weight: 600; line-height: 1.3; }
.mini-journey small { color: var(--on-dark-muted); font-size: .86rem; }
.mini-journey li:not(.done):not(.active) strong { color: rgba(255,255,255,.7); }

.trust {
  margin-top: 56px; padding-top: 26px;
  border-top: 1px solid var(--line-light);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.trust li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: rgba(234,241,246,.9); }
.trust .ic { color: var(--teal-bright); width: 22px; height: 22px; }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .lead { margin-top: 20px; }
.sec-head-split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.sec-head-light .h2 { color: var(--white); }
.sec-head-light .h2 em, .hub-sec .h2 em, .contact .h2 em { color: var(--teal-bright); }
.sec-head-light .lead { color: var(--on-dark-muted); }

/* Pillars */
.pillars { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.pillar {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 520px; border-radius: var(--radius-lg);
  display: flex; align-items: flex-end;
  color: var(--white); text-decoration: none;
  background: var(--ink);
}
.pillar img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,27,43,.95) 8%, rgba(10,27,43,.35) 60%, rgba(10,27,43,.1)); }
.pillar:hover img { transform: scale(1.05); }
.pillar-body { padding: clamp(24px, 3.4vw, 40px); max-width: 560px; }
.pillar h3 { font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -.02em; margin: 16px 0 12px; }
.pillar p { color: rgba(234,241,246,.85); }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.tag-sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.pillar:hover .link-arrow .ic { transform: translateX(4px); }

/* Why Spain */
.why { background: var(--ink); color: var(--white); isolation: isolate; overflow: hidden; }
.why-media { position: absolute; inset: 0; z-index: -1; }
.why-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.why-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,27,43,.6) 40%, var(--ink) 100%); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .3s, transform .4s var(--ease);
}
.why-item:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.why-item .ic { color: var(--sun); }
.why-item h3 { font-size: 1.15rem; font-weight: 600; margin: 20px 0 8px; }
.why-item p { color: var(--on-dark-muted); font-size: .96rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative;
  padding: 30px 28px 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .3s;
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.step-n { position: absolute; top: 22px; right: 26px; font: italic 400 2.6rem/1 var(--font-display); color: rgba(10,112,121,.22); }
.step .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(46,196,182,.14); color: var(--teal); }
.step h3 { font-size: 1.18rem; font-weight: 600; margin: 22px 0 8px; }
.step p { color: var(--muted); font-size: .97rem; }

/* Hub */
.hub-sec { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--white); overflow: hidden; }
.hub-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hub-copy .h2 { color: var(--white); }
.hub-copy .lead { color: var(--on-dark-muted); margin-top: 20px; }
.regions { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.regions li { background: var(--ink-2); padding: 18px 20px; }
.regions strong { display: block; font-weight: 600; margin-bottom: 4px; }
.regions span { font-size: .88rem; color: var(--on-dark-muted); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.langs span { padding: 7px 14px; border-radius: 999px; font-size: .86rem; border: 1px solid var(--line-light); color: var(--on-dark); }

.hub { margin: 0; }
.hub-svg { width: 100%; height: auto; overflow: visible; }
.ring { fill: none; stroke: rgba(255,255,255,.12); stroke-dasharray: 2 6; }
.ring-faint { stroke: rgba(255,255,255,.06); }
.routes path { fill: none; stroke: var(--teal-bright); stroke-width: 1.5; stroke-opacity: .65; stroke-dasharray: 6 10; animation: flow 3.2s linear infinite; }
.routes path:nth-child(odd) { stroke: var(--sun); animation-duration: 4s; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.cities circle { fill: var(--ink); stroke: var(--teal-bright); stroke-width: 2; }
.cities text { fill: var(--on-dark); font: 500 15px var(--font-body); }
.madrid .core { fill: var(--sun); }
.madrid .cross { fill: var(--ink); }
.madrid .pulse { fill: rgba(232,164,92,.25); transform-origin: center; animation: hubPulse 2.6s ease-out infinite; }
.madrid text { fill: var(--white); font: 700 15px var(--font-body); letter-spacing: .18em; }
@keyframes hubPulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }

/* Specialties */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .3s;
}
.spec:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.spec .ic { color: var(--teal); width: 26px; height: 26px; }
.spec h3 { font-size: 1.1rem; font-weight: 600; margin: 18px 0 6px; }
.spec p { color: var(--muted); font-size: .94rem; }
.spec-feature {
  grid-column: span 2; grid-row: span 2;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 380px; padding: 0;
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--ink); border: 0;
}
.spec-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.spec-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,27,43,.95) 10%, rgba(10,27,43,.2) 70%); }
.spec-feature:hover img { transform: scale(1.05); }
.spec-feature-body { padding: 32px; }
.spec-feature .ic { color: var(--teal-bright); }
.spec-feature h3 { font: 500 2rem/1.1 var(--font-display); letter-spacing: -.02em; margin: 16px 0 10px; }
.spec-feature p { color: rgba(234,241,246,.85); font-size: 1rem; max-width: 42ch; }

/* Concierge */
.concierge { background: var(--white); }
.concierge-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.concierge-media { position: relative; }
.concierge-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.float-note {
  position: absolute; left: -20px; bottom: 36px; right: 40px; max-width: 340px;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--white); box-shadow: 0 24px 60px -20px rgba(10,27,43,.35);
}
.float-note .ic { color: var(--sun-deep); margin-top: 2px; }
.float-note strong { display: block; font-weight: 600; }
.float-note span { font-size: .9rem; color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.features li { display: flex; gap: 16px; }
.features .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #FBEBD9; color: var(--sun-deep); }
.features h3 { font-size: 1.06rem; font-weight: 600; margin-bottom: 4px; }
.features p { color: var(--muted); font-size: .95rem; }

/* Hospitals */
.hospitals { background: var(--ink); color: var(--white); }
.hosp-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: 56px; }
.hosp-top .sec-head { margin-bottom: 0; }
.hosp-top .btn { margin-top: 32px; }
.hosp-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.hosp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hosp-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  transition: transform .35s var(--ease), border-color .3s;
}
.hosp-card:hover { transform: translateY(-4px); border-color: rgba(46,196,182,.5); }
.hosp-card .ic { color: var(--teal-bright); }
.hosp-card h3 { font-size: 1.15rem; font-weight: 600; margin: 20px 0 8px; }
.hosp-card p { color: var(--on-dark-muted); font-size: .95rem; }
.hosp-points { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.hosp-points li { display: flex; align-items: center; gap: 10px; color: var(--on-dark); font-size: .96rem; }
.hosp-points .ic { color: var(--teal-bright); stroke-width: 2.4; width: 18px; height: 18px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; min-height: 44px;
  font-size: 1.12rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 36px; height: 36px; padding: 8px; border-radius: 50%; border: 1px solid var(--line); color: var(--teal); transition: transform .3s var(--ease), background-color .2s; }
.faq summary:hover .ic { background: rgba(46,196,182,.12); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 56px 26px 0; color: var(--muted); }

/* Contact */
.contact { background: radial-gradient(1200px 600px at 85% 10%, rgba(46,196,182,.14), transparent 60%), var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .h2 { color: var(--white); }
.contact .lead { color: var(--on-dark-muted); margin-top: 20px; }
.contact-list { margin-top: 36px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--on-dark); }
.contact-list .ic { color: var(--teal-bright); }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-list a:hover { border-color: var(--teal-bright); }

.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--paper); margin-bottom: 26px; }
.tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border: 0; border-radius: 11px; background: transparent; cursor: pointer;
  font-weight: 600; font-size: .94rem; color: var(--muted);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(10,27,43,.1); }
.tabs .ic { width: 18px; height: 18px; }
.form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid rgba(10,27,43,.2); border-radius: 12px; background: var(--white);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46,196,182,.2); }
.field .err { display: none; color: var(--danger); font-size: .84rem; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.check.invalid span, .field.invalid .check span { color: var(--danger); }
.field-check .check { font-size: .9rem; font-weight: 400; }   /* no hereda el estilo de .field label */
.field-check .err { padding-left: 30px; }
.form[data-mode="patient"] .only-hospital, .form[data-mode="hospital"] .only-patient { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: progress; }
.form-status { font-size: .92rem; color: var(--teal); min-height: 1.2em; }
.form-status.is-error { color: var(--danger); }
.form-fallback { display: grid; gap: 10px; justify-items: start; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: .92rem; color: var(--muted); }
.form-fallback[hidden] { display: none; }
.form-fallback a { color: var(--teal); font-weight: 600; overflow-wrap: anywhere; }
.btn-copy { min-height: 44px; padding: 0 16px; border: 1px solid rgba(10,27,43,.2); border-radius: 999px; background: var(--white); font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.btn-copy:hover { border-color: var(--teal); }

/* Footer */
.footer { background: #06121E; color: var(--on-dark-muted); padding: 56px 0 40px; }
.footer .brand { color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: start; }
.footer-tag { margin-top: 14px; font-size: .94rem; max-width: 40ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { text-decoration: none; font-size: .94rem; padding: 6px 0; }
.footer-nav a:hover { color: var(--white); }
.legal { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; line-height: 1.8; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1320px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: rgba(10,27,43,.98);
    border-bottom: 1px solid var(--line-light);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 8px; font-size: 1.05rem; }
  .nav-cta { margin: 12px 0 0; min-height: 50px; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .why-grid, .hosp-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .pillars, .hub-grid, .concierge-grid, .hosp-top, .faq-grid, .contact-grid, .sec-head-split { grid-template-columns: 1fr; }
  .sec-head-split { gap: 20px; }
  .pillar { min-height: 440px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hub { max-width: 560px; margin: 0 auto; }
  .faq-grid .sec-head { position: static; }
  .concierge-media img { aspect-ratio: 16 / 10; }
  .float-note { left: 16px; right: 16px; bottom: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-name { font-size: 1rem; }
  .hero { padding-bottom: 28px; }
  .hero-ctas .btn { width: 100%; }
  .trust, .why-grid, .hosp-grid, .steps, .features, .regions, .field-row { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .spec { padding: 20px 18px; }
  .spec-feature { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
  .spec-feature-body { padding: 24px; }
  .hosp-points { flex-direction: column; }
  .cities text { font-size: 22px; }
  .madrid text { font-size: 20px; }
  .cities circle { r: 7; }
  .faq details p { padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .tabs button { font-size: .86rem; }
}
@media (max-width: 380px) {
  .spec-grid { grid-template-columns: 1fr; }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: .92rem; }
  .brand-name em { font-size: 1.05rem; }
  .lang button { min-width: 34px; padding: 0 8px; }
  .header-tools { gap: 6px; }
}

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