:root {
  --ink: #17212b;
  --muted: #61717d;
  --blue: #35aee0;
  --blue-dark: #117fae;
  --green: #9ac64d;
  --mint: #e9f7fb;
  --paper: #fbfcfd;
  --line: #d7e3e7;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 68px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 54px; height: auto; display: block; }
.brand span { display: grid; line-height: 1; }
.brand strong { color: var(--blue); font-size: 26px; font-weight: 900; }
.brand small { color: #555d62; font-size: 12px; font-weight: 800; text-transform: uppercase; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}
.nav a:hover { color: var(--blue-dark); }

.header-action,
.primary-button,
.secondary-button,
.secondary-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.header-action,
.primary-button {
  color: var(--white);
  background: var(--blue);
}
.secondary-button,
.secondary-submit {
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.secondary-submit {
  border-color: var(--line);
}

svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 69, 86, 0.9), rgba(28, 132, 162, 0.6) 48%, rgba(13, 69, 86, 0.12));
}
.hero-content {
  position: relative;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 92px);
  padding: 58px 0 92px;
  color: var(--white);
  animation: fadeUp 0.7s ease both;
}
.hero-logo {
  width: min(168px, 46vw);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
}
.eyebrow {
  margin: 0 0 10px;
  color: #d9ee9b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1,
.section h2,
.band h2,
.contact-band h2,
.quote-hero h1 {
  margin: 0;
  line-height: 1.08;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
}
.hero-copy {
  max-width: 650px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 20px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--line);
  gap: 1px;
  border-bottom: 1px solid var(--line);
}
.info-strip div {
  padding: 24px clamp(14px, 3vw, 36px);
  background: var(--white);
}
.info-strip .info-link {
  display: block;
  padding: 24px clamp(14px, 3vw, 36px);
  background: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
}
.info-strip .info-link:hover {
  color: var(--blue-dark);
  background: #f0fbff;
}
.info-strip strong {
  display: block;
  color: var(--blue-dark);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.info-strip span { color: var(--muted); font-size: 14px; }

.promo-worldcup {
  padding: 72px clamp(18px, 6vw, 82px);
  background:
    radial-gradient(circle at top left, rgba(53, 174, 224, 0.18), transparent 32%),
    linear-gradient(135deg, #f7fbff, #ffffff 45%, #f2f9e9);
  border-bottom: 1px solid var(--line);
}

.promo-intro {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  margin-bottom: 28px;
}

.promo-intro img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(17, 127, 174, 0.16);
}

.promo-intro h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.promo-intro p {
  max-width: 720px;
  color: var(--muted);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.promo-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17, 127, 174, 0.16);
}

.promo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.promo-card span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: var(--blue-dark);
  font-weight: 900;
}

.promo-card-content {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.promo-card-content strong {
  color: var(--blue-dark);
  font-weight: 900;
}

.promo-card-content > b {
  color: var(--green-dark);
  font-size: 20px;
}

.promo-card-actions {
  display: grid;
  gap: 8px;
}

.promo-card-actions a {
  padding: 10px 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.promo-whatsapp {
  color: #08783e;
  background: #e9fff3;
  border: 1px solid #a9e5c3;
}

.promo-cart {
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
}

.ultrasound-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 46px clamp(18px, 6vw, 82px);
  color: var(--white);
  background: linear-gradient(120deg, #117fae, #35aee0 58%, #74bfd5);
}
.ultrasound-promo h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); }
.ultrasound-promo p { margin-bottom: 0; color: rgba(255,255,255,.88); }
.ultrasound-promo-actions { display: grid; gap: 12px; justify-items: center; }
.ultrasound-promo-actions > strong { font-size: 42px; }
.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 6vw, 82px) 72px;
  background: var(--paper);
}
.mission-vision article {
  min-height: 280px;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at top right, rgba(154, 198, 77, 0.14), transparent 34%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(17, 127, 174, 0.08);
}
.mission-vision h2 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: clamp(26px, 3vw, 38px);
}
.mission-vision p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin-inline: auto;
}
.facilities-grid figure {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #dcebef;
}
.facilities-grid .facility-large { grid-row: span 2; min-height: 514px; }
.facilities-grid .facility-wide {
  grid-column: span 3;
  min-height: 440px;
}
.facilities-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facilities-grid .facility-wide img { object-fit: contain; background: #e9f7fb; }
.facilities-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(13,69,86,.78);
  border-radius: 6px;
  font-weight: 800;
}

.section,
.band,
.contact-band,
.quote-page {
  padding: 72px clamp(18px, 6vw, 82px);
}
.two-column,
.contact-band,
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}
.section-heading {
  margin-bottom: 28px;
}
.section h2,
.band h2,
.contact-band h2,
.quote-hero h1 {
  max-width: 780px;
  font-size: clamp(30px, 4vw, 48px);
}
.section p,
.band p,
.contact-band p,
.quote-hero p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card,
.reason-grid article,
.quote-panel,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.card {
  min-height: 205px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(17, 127, 174, 0.12);
}
.card h3 { margin: 18px 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
.linked-card { display: block; }
.price-card strong {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue-dark);
  font-size: 22px;
}
.icon {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 9px;
  color: var(--blue-dark);
  background: var(--mint);
  border-radius: 8px;
  font-weight: 900;
  font-size: 14px;
}

.band {
  background: #eef8fb;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.reason-grid article {
  min-height: 130px;
  display: flex;
  align-items: center;
  padding: 20px;
}
.reason-grid strong { color: var(--blue-dark); }

.contact-band {
  color: var(--white);
  background: #154d66;
}
.contact-band p { color: rgba(255, 255, 255, 0.82); }
.contact-band a { text-decoration: underline; text-underline-offset: 3px; }
.contact-card {
  padding: 26px;
  color: var(--ink);
}
.contact-card p { color: var(--muted); }
.map-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--blue-dark);
  background: var(--white);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none !important;
}
.map-card img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef8fb;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(18px, 6vw, 82px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}
.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

.quote-page {
  background: linear-gradient(135deg, #eef8fb, #fbfcfd 48%, #f2f9e9);
}
.quote-hero {
  margin-bottom: 28px;
}
.quote-panel {
  padding: 24px;
}
.search-label,
.quote-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
.search-input,
.quote-form input,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.quote-form textarea {
  min-height: 100px;
  padding-top: 12px;
  resize: vertical;
}
.exam-list,
.selected-list,
.form-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.exam-row,
.selected-row,
.totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.exam-row span,
.selected-row span,
.empty-state {
  color: var(--muted);
}
.exam-action {
  display: flex;
  align-items: center;
  gap: 10px;
}
.exam-action button,
.selected-row button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}
.exam-action button:disabled {
  cursor: default;
  opacity: 0.55;
}
.totals {
  margin-top: 12px;
  font-size: 18px;
}
.total-final strong {
  color: var(--blue-dark);
  font-size: 28px;
}
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.form-status {
  min-height: 24px;
  color: var(--blue-dark);
  font-weight: 800;
}

.booking-page {
  padding: 58px clamp(18px, 5vw, 72px) 80px;
  background: linear-gradient(135deg, #eef8fb, #fff 48%, #f2f9e9);
}
.booking-intro { max-width: 840px; margin-bottom: 28px; }
.booking-intro h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; }
.booking-intro > p { color: var(--muted); font-size: 18px; }
.test-notice {
  display: inline-block;
  padding: 10px 14px;
  color: #795500;
  background: #fff4c7;
  border: 1px solid #f0d36a;
  border-radius: 8px;
  font-weight: 800;
}
.catalog-cart-layout,
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
  gap: 20px;
  align-items: start;
}
.booking-layout { margin-top: 26px; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); }
.booking-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(17, 127, 174, 0.08);
}
.cart-card { position: sticky; top: 100px; }
.catalog-toolbar,
.booking-fields {
  display: grid;
  gap: 14px;
}
.catalog-toolbar { grid-template-columns: 1fr 220px; margin-bottom: 18px; }
.two-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.booking-card label { display: grid; gap: 7px; font-weight: 800; }
.booking-card input,
.booking-card select,
.booking-card textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.catalog-list { display: grid; gap: 10px; max-height: 680px; overflow: auto; padding-right: 4px; }
.catalog-item,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.catalog-item > div,
.cart-item > div { display: grid; gap: 3px; }
.catalog-item span,
.cart-item span { color: var(--muted); font-size: 13px; }
.catalog-item b { color: var(--blue-dark); }
.catalog-item button,
.cart-item button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.catalog-item button:disabled { opacity: 0.55; cursor: default; }
.cart-list { display: grid; gap: 10px; }
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  font-size: 18px;
  border-top: 1px solid var(--line);
}
.cart-total strong { color: var(--blue-dark); font-size: 26px; }
.cart-card .primary-button,
.booking-continue { width: 100%; }
.consent-row { grid-template-columns: auto 1fr !important; align-items: start; margin: 16px 0; }
.consent-row input { width: 18px; min-height: 18px; margin-top: 3px; }
.booking-summary ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.booking-summary li { display: flex; justify-content: space-between; gap: 16px; }

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.catalog-heading h2 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: clamp(24px, 3vw, 34px);
}
.catalog-heading p {
  margin: 0;
  color: var(--muted);
}
.catalog-sections {
  display: grid;
  gap: 14px;
}
.catalog-section {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(53, 174, 224, 0.08), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8fcfd);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.catalog-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.catalog-section-toggle span {
  display: grid;
  gap: 4px;
}
.catalog-section-toggle strong {
  color: var(--blue-dark);
  font-size: 20px;
}
.catalog-section-toggle small {
  color: var(--muted);
}
.catalog-section-toggle b {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}
.catalog-section-toggle b::before {
  content: "+";
  font-size: 24px;
  line-height: 1;
}
.catalog-section-toggle[aria-expanded="true"] b::before {
  content: "−";
}
.catalog-section-body {
  padding: 0 18px 18px;
}
.catalog-section .catalog-list {
  max-height: 520px;
}

.confirmation-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #eef8fb, #f2f9e9);
}
.confirmation-card {
  width: min(680px, 100%);
  padding: 36px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.confirmation-card img { width: 110px; }
.confirmation-summary { display: grid; gap: 10px; text-align: left; margin: 24px 0; }
.confirmation-summary div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.confirmation-summary dt { color: var(--muted); }
.confirmation-summary dd { margin: 0; font-weight: 800; }

.payment-rescue {
  margin-top: 18px;
  padding: 16px;
  display: grid;
  gap: 8px;
  border: 1px solid #b8e3f5;
  border-radius: 16px;
  background: #eefaff;
  color: var(--ink);
  font-size: 14px;
}
.payment-rescue .secondary-button {
  justify-content: center;
  width: fit-content;
  margin-top: 4px;
}
.recover-form {
  display: grid;
  gap: 14px;
  margin: 24px 0 12px;
  text-align: left;
}
.recover-form input {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }
  .info-strip,
  .service-grid,
  .reason-grid,
  .promo-grid,
  .two-column,
  .contact-band,
  .quote-layout {
    grid-template-columns: 1fr;
  }
  .promo-intro {
    grid-template-columns: 1fr;
  }
  .ultrasound-promo,
  .facilities-grid { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .ultrasound-promo-actions { justify-items: start; }
  .facilities-grid .facility-large { grid-row: auto; min-height: 360px; }
  .facilities-grid .facility-wide { grid-column: auto; min-height: 320px; }
  .promo-intro img {
    max-width: 320px;
  }
  .hero {
    min-height: 680px;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(13, 69, 86, 0.92), rgba(28, 132, 162, 0.55));
  }
  .hero-content {
    margin: 0 auto;
  }
  .catalog-cart-layout,
  .booking-layout { grid-template-columns: 1fr; }
  .catalog-heading { grid-template-columns: 1fr; }
  .cart-card { position: static; }
}

@media (max-width: 560px) {
  .brand strong { font-size: 23px; }
  .brand img { width: 48px; }
  .hero h1 { font-size: 39px; }
  .hero-copy { font-size: 17px; }
  .section,
  .band,
  .contact-band,
  .promo-worldcup,
  .quote-page {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .exam-row,
  .selected-row,
  .totals,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .floating-whatsapp {
    width: 52px;
    height: 52px;
  }
  .catalog-toolbar,
  .two-fields { grid-template-columns: 1fr; }
  .catalog-item { align-items: flex-start; flex-direction: column; }
}
