:root{color-scheme:light;--ink:#122634;--muted:#47606b;--sea:#006d65;--paper:#f3f8f7;--line:#d8e5e3;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #008d83;outline-offset:4px}.skip{position:absolute;left:1rem;top:-4rem}.skip:focus{top:1rem;z-index:5;background:white;padding:1rem}.wrap{width:min(1120px,calc(100% - 40px));margin:auto}header{position:sticky;top:0;z-index:2;background:#f3f8f7ed;backdrop-filter:blur(20px);border-bottom:1px solid var(--line)}.bar{min-height:70px;display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding-block:9px}.brand{display:flex;align-items:center;gap:10px;font-weight:750}.mark{display:grid;place-items:center;background:#d6efeb;color:var(--sea);width:36px;height:36px;border-radius:12px;font-size:24px}.links{display:flex;gap:4px;flex-wrap:wrap;align-items:center}.links a{padding:10px 13px;border-radius:99px;font-size:14px}.links a:hover,.links a[aria-current]{background:#deeeeb}.btn{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:10px 18px;border-radius:100px;border:1px solid transparent;background:var(--sea);color:white;font-weight:650;cursor:pointer}.btn.alt{color:var(--ink);background:#fff;border-color:var(--line)}.btn:active{transform:scale(.98)}main{padding:48px 0 64px}.hero{display:grid;grid-template-columns:1.18fr 1fr;min-height:460px;overflow:hidden;border-radius:36px;background:#102c35;color:white}.hero-copy{padding:clamp(28px,5vw,65px);align-self:center}.hero p{color:#c9dfde}.hero .eyebrow{color:#87e4d2}.eyebrow{font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.14em;color:var(--sea);margin:0 0 14px}h1,h2,h3{margin:0;line-height:1.06;letter-spacing:-.035em}h1{font-size:clamp(40px,5.4vw,76px);max-width:15ch}h2{font-size:clamp(28px,4vw,46px)}h3{font-size:23px}p,li{line-height:1.6}p{color:var(--muted);max-width:65ch}.hero .actions{margin-top:24px}.actions{display:flex;gap:10px;flex-wrap:wrap}.hero .btn:first-child{background:#a0eddb;color:#123438}.hero .btn.alt{background:transparent;color:white;border-color:#79969b}.section{margin-top:54px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.card,.panel{background:white;border:1px solid var(--line);border-radius:25px;padding:24px}.card .eyebrow{margin-bottom:16px}.card p:last-child,.panel p:last-child{margin-bottom:0}.lead{margin-bottom:26px}.lead p{font-size:18px}.panels{display:grid;gap:15px}.split{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.note{background:#e3f2ee;border-radius:16px;padding:12px 16px;font-size:14px}.fields{display:grid;gap:14px;margin-top:16px}label{display:grid;gap:5px;font-weight:650}input,textarea,select{width:100%;border:1px solid #a9c2be;border-radius:12px;padding:12px;background:white;color:var(--ink)}textarea{min-height:105px;resize:vertical}[hidden]{display:none!important}footer{border-top:1px solid var(--line);padding:30px 0 40px}footer .bar{align-items:flex-start}footer a{font-size:14px;color:var(--sea);display:inline-block;padding:8px}.fine{font-size:13px}.step{color:var(--sea);font-weight:750;margin:0 0 8px}@media(max-width:780px){.hero,.split{grid-template-columns:1fr}.hero{min-height:auto}.hero-copy{padding:30px}.grid{grid-template-columns:1fr 1fr}.bar{gap:6px}.links{width:100%}.links a{padding:8px 10px}main{padding-top:24px}}@media(max-width:460px){.wrap{width:calc(100% - 28px)}.grid{grid-template-columns:1fr}.card,.panel{padding:20px}.hero{border-radius:24px}h1{font-size:38px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.btn:active{transform:none}}
.preferences{display:flex;align-items:center;gap:8px}.pref{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:7px 12px;border:1px solid var(--line);border-radius:99px;background:var(--surface,#fff);color:var(--ink);font-size:14px;font-weight:650;cursor:pointer;white-space:nowrap}.pref:hover{background:var(--hover,#deeeeb)}.theme-icon{font-size:19px;line-height:1}.pref[aria-pressed=true]{border-color:var(--sea)}.pref:active{transform:scale(.98)}
:root[data-theme=oscuro]{color-scheme:dark;--ink:#edf7f7;--muted:#b0c5cb;--sea:#83dfcd;--paper:#0e181e;--line:#30464d;--surface:#182830;--hover:#233c42}
:root[data-theme=oscuro] header{background:#101d23ec}
:root[data-theme=oscuro] .links a:hover,:root[data-theme=oscuro] .links a[aria-current]{background:var(--hover)}
:root[data-theme=oscuro] .mark,:root[data-theme=oscuro] .note{background:#203b41}
:root[data-theme=oscuro] .card,:root[data-theme=oscuro] .panel,:root[data-theme=oscuro] .btn.alt,:root[data-theme=oscuro] .skip{background:var(--surface)}
:root[data-theme=oscuro] .hero{border:1px solid var(--line)}
:root[data-theme=oscuro] .btn{color:#102e33}
:root[data-theme=oscuro] .btn.alt{color:var(--ink)}
:root[data-theme=oscuro] .hero .btn.alt{background:transparent;color:white}
:root[data-theme=oscuro] input,:root[data-theme=oscuro] textarea,:root[data-theme=oscuro] select{background:#101d24;border-color:#526d74}
@media(max-width:780px){header .links{order:3}header .bar{column-gap:10px}header .preferences{margin-left:auto}}
@media(max-width:560px){header .preferences{margin-left:0}.pref{min-height:40px}.brand{font-size:14px}}
@media(prefers-reduced-motion:reduce){.pref:active{transform:none}}

.site-footer{background:#102933;color:#eaf6f4;padding:45px 0 18px}
.site-footer .footer-grid{display:grid;grid-template-columns:1.1fr .75fr 1fr;gap:32px}
.site-footer .brand{display:inline-flex;color:#eaf6f4;padding:0}
.site-footer .mark{background:#26454d;color:#a2e8d7}
.site-footer h2{font-size:18px;letter-spacing:0;margin-bottom:12px}
.site-footer p,.site-footer .footer-bottom{color:#bfd4d7}
.site-footer .footer-links a,.site-footer .footer-bottom a{color:#e4f2f1}
.site-footer .footer-links a{display:block;width:fit-content;padding:5px 0}
.site-footer a:focus-visible{outline-color:#a2e8d7}
.site-footer .footer-links a:hover,.site-footer .footer-bottom a:hover{text-decoration:underline}
.site-footer .footer-bottom{border-top:1px solid #36545a;margin-top:32px;padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:8px 20px;flex-wrap:wrap;font-size:13px}
.site-footer .footer-bottom nav{display:flex;flex-wrap:wrap;gap:8px 16px}
.site-footer .footer-bottom a{padding:6px 0}
@media(max-width:700px){.site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:24px}.site-footer .footer-contact{grid-column:1/-1}}
@media(max-width:400px){.site-footer .footer-grid{grid-template-columns:1fr}.site-footer .footer-contact{grid-column:auto}}

.btn {
  transition: transform 220ms ease-out, background-color 220ms ease-out,
    border-color 220ms ease-out, box-shadow 220ms ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    box-shadow: 0 6px 16px #0003;
  }

  :root .hero .btn:first-child:hover {
    background-color: #c3f8eb;
  }

  :root .hero .btn.alt:hover {
    background-color: #23434b;
    border-color: #a0eddb;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover:not(:active) {
    transform: translateY(-3px);
  }
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero-wallpaper {
  position: absolute;
  inset: -76px 0 0;
  z-index: -2;
  background: #102c35 url("fondo-biomedico.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #071a23 0%, #071a23ee 29%, #071a2380 62%, #071a2326 100%);
}

@media (max-width: 780px) {
  .hero {
    min-height: 440px;
    align-items: end;
  }

  .hero-wallpaper {
    background-position: 85% center;
  }

  .hero::before {
    background: linear-gradient(0deg, #071a23 0%, #071a23e8 43%, #071a2340 100%);
  }
}
.home-main {
  position: relative;
  isolation: isolate;
}

.home-intro {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 120px);
  padding-bottom: 24px;
}

.home-intro + .section {
  margin-top: 32px;
}


@media (min-width: 1360px) {
  .home-main::before,
  .home-main::after {
    content: "";
    position: absolute;
    top: 20px;
    width: min(300px, calc((100vw - 1200px) / 2));
    height: min(760px, 92%);
    z-index: -1;
    pointer-events: none;
    background: url("pulso-lateral.svg") center / 100% auto no-repeat;
    mask-image: radial-gradient(ellipse, #000 20%, transparent 72%);
    opacity: .56;
  }

  .home-main::before { right: calc(100% + 14px); }
  .home-main::after { left: calc(100% + 14px); }
  :root[data-theme=oscuro] .home-main::before,
  :root[data-theme=oscuro] .home-main::after { opacity: .82; }
}

@media (min-width: 1360px) and (prefers-reduced-motion: no-preference) {

  .home-main::before,
  .home-main::after { animation: drift-pulse 9s ease-in-out infinite alternate; }
  .home-main::after { animation-delay: -4s; }
}

@keyframes drift-pulse {
  from { transform: translateY(-9px); filter: saturate(.8); }
  to { transform: translateY(18px); filter: saturate(1.6) brightness(1.2); }
}

.tilt-card {
  display: grid;
  perspective: 1000px;
}

.brand-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 96px;
  height: 48px;
  padding: 0;
  background: transparent;
}

.brand-symbol img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px #ffffff65);
}

.brand-name {
  display: block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .025em;
  color: var(--ink);
}

.brand-name small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 650;
}

/* Display lettering pairs a technical character with readable body text. */
:root {
  font-family: "Aptos", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

body {
  font-size: 17px;
}

h1, h2, h3 {
  font-family: "Bahnschrift", "Aptos Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  line-height: 1.04;
  letter-spacing: -.04em;
}

h2 {
  line-height: 1.12;
  letter-spacing: -.025em;
}

h3 {
  font-size: clamp(22px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: -.015em;
}

p, li {
  line-height: 1.65;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 750;
}

.btn {
  font-size: 15px;
  letter-spacing: -.01em;
}

.fields {
  font-size: 16px;
}

.phone-links .phone-whatsapp {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: .01em;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.phone-links {
  gap: 10px;
}

.phone-whatsapp-icon {
  flex: 0 0 auto;
  color: var(--sea);
}

.phone-links .phone-whatsapp:hover {
  border-color: var(--sea);
  background: var(--hover, #deeeeb);
}

.site-footer .phone-whatsapp-icon {
  color: #a0edcc;
}

.site-footer .phone-links .phone-whatsapp {
  border-color: #36545a;
  padding: 8px 12px;
  font-size: clamp(16px, 1.6vw, 19px);
}

.site-footer .phone-whatsapp:hover {
  background: #203e48;
  border-color: #a0edcc;
}

.site-footer .brand-name {
  color: #eaf6f4;
}

.phone-links {
  display: grid;
  gap: 2px;
  margin-bottom: 18px;
}

.phone-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-size: 17px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.site-footer .phone-links a {
  color: #eaf6f4;
  padding: 4px 0;
}

.contact-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 24px;
}

.brand-presentation {
  margin: 32px 0 0;
  padding: clamp(24px, 4vw, 48px);
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: center;
}

.brand-presentation .presentation-symbol {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 4px #ffffff50);
}

.presentation-name {
  color: var(--ink);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  letter-spacing: .035em;
}

.presentation-name span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .37em;
  letter-spacing: .22em;
}

.presentation-tagline {
  margin: 24px auto 32px;
  padding-top: 20px;
  border-top: 2px solid var(--sea);
  font-size: clamp(17px, 2.3vw, 24px);
  color: var(--ink);
}

.presentation-services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.presentation-services li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
}

.presentation-services svg {
  width: 42px;
  height: 42px;
  color: var(--sea);
}

@media (max-width: 700px) {
  .presentation-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .presentation-services li:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .services-grid > .tilt-card {
    grid-column: span 2;
  }

  .services-grid > .tilt-card:nth-child(4) { grid-column: 2 / span 2; }
  .services-grid > .tilt-card:nth-child(5) { grid-column: 4 / span 2; }
}

@media (max-width: 460px) {
  .brand-symbol { width: 82px; height: 42px; }
  .brand-name { font-size: 18px; }
}

.contact-main {
  padding-block: clamp(24px, 4vw, 40px) 48px;
}

.contact-main .lead {
  margin-bottom: 22px;
}

.contact-main .lead h1 {
  max-width: none;
  font-size: clamp(32px, 4.5vw, 54px);
}

.contact-main .lead .eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
}

.contact-main .lead p:not(.eyebrow) {
  margin: 10px 0 0;
  font-size: 16px;
}

.contact-main .split {
  align-items: start;
}

.contact-main .panel {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 24px);
}

.contact-main h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.contact-main .note {
  max-width: none;
  margin-block: 10px 0;
  padding: 9px 12px;
}

.contact-main .fields {
  gap: 12px;
  margin-top: 12px;
}

.contact-main .fields :is(input, select, textarea) {
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  font-weight: 400;
}

.contact-main .fields textarea {
  min-height: 88px;
}

.contact-main .btn:disabled {
  opacity: .68;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-main .fields textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

@media (min-width: 600px) {
  .contact-main .fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-main .fields > :nth-child(n + 3) {
    grid-column: 1 / -1;
  }
}

@media (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tilt-card > .card {
    transform: rotateX(0deg) rotateY(0deg) scale(1);
    transition: transform 440ms cubic-bezier(.22, 1, .36, 1);
  }

  .tilt-card.is-tilting > .card {
    transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.03);
    transition-duration: 120ms;
  }
}

/* WhatsApp request composer and office location */
.whatsapp-send { border-top: 1px solid var(--line); padding-top: 16px; }
.whatsapp-send > p { margin: 0 0 12px; font-size: .9rem; font-weight: 650; color: var(--ink); }
.whatsapp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.whatsapp-actions .btn { gap: 9px; flex: 1 1 230px; font-size: .95rem; }
.whatsapp-actions svg { flex-shrink: 0; width: 22px; height: 22px; }
.office-location address { font-style: normal; line-height: 1.6; margin: 12px 0; color: var(--muted); }
.office-map { display: inline-flex; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--sea); font-weight: 650; }
.office-map:hover { background: var(--paper); }
#request-status:empty { display: none; }
#request-status { color: var(--muted); font-size: .9rem; line-height: 1.5; }
