:root {
  --blue: #2b6cb0;
  --blue-dark: #215387;
  --blue-ink: #163b64;
  --ink: #1a202c;
  --body: #4a5568;
  --muted: #718096;
  --line: #dce6f0;
  --soft: #edf2f7;
  --mist: #f7fafc;
  --white: #ffffff;
  --cyan: #08a8c7;
  --green: #159447;
  --warning: #b45309;
  --shadow-sm: 0 10px 30px rgba(30, 78, 125, 0.08);
  --shadow-lg: 0 24px 80px rgba(30, 78, 125, 0.14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}

p {
  color: var(--body);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220, 230, 240, 0.7);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(33, 83, 135, 0.04);
  backdrop-filter: blur(14px);
  transition: border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(190, 209, 226, 0.92);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 10px 34px rgba(33, 83, 135, 0.1);
}

.header-shell {
  width: min(1320px, calc(100% - 34px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: min-height 240ms ease;
}

.site-header.scrolled .header-shell {
  min-height: 68px;
}

.brand {
  flex: 0 0 250px;
}

.brand img {
  width: 250px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  transition: height 240ms ease, width 240ms ease;
}

.site-header.scrolled .brand img {
  height: 66px;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav > a,
.nav-menu-trigger {
  position: relative;
  border: 0;
  border-radius: 8px;
  padding: 12px 9px;
  background: transparent;
  color: #29384a;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
  white-space: nowrap;
}

.desktop-nav > a::after,
.nav-menu-trigger::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 6px;
  left: 9px;
  height: 2px;
  border-radius: 9px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-menu-trigger:hover,
.nav-menu-trigger.active {
  color: var(--blue);
}

.desktop-nav > a:hover::after,
.desktop-nav > a.active::after,
.nav-menu-trigger:hover::after,
.nav-menu-trigger.active::after {
  transform: scaleX(1);
}

.nav-menu {
  position: relative;
}

.nav-menu-trigger span {
  display: inline-block;
  margin-left: 2px;
  transition: transform 180ms ease;
}

.nav-menu.open .nav-menu-trigger span {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 11px);
  left: 0;
  width: 224px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: 180ms ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 14px;
}

.nav-menu:hover .nav-dropdown,
.nav-menu.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--blue);
  background: #f0f7ff;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 20px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(43, 108, 176, 0.2);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.2;
  transition: 180ms ease;
}

.header-cta {
  min-height: 43px;
  padding: 9px 16px;
  font-size: 0.88rem;
}

.header-cta:hover,
.button:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(43, 108, 176, 0.28);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--blue-dark);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: #a9c7e6;
  background: var(--white);
}

.button.ghost {
  min-height: 42px;
  border-color: #b8cee4;
  background: transparent;
  color: var(--blue-dark);
  box-shadow: none;
}

.button.small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.91rem;
}

.menu-toggle {
  display: none;
  min-width: 78px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
}

.menu-icon {
  width: 20px;
  flex: 0 0 20px;
}

.menu-icon span {
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 5px;
  background: var(--ink);
  transition: 180ms ease;
}

.menu-label {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

main {
  min-height: 70vh;
  outline: none;
}

main.route-enter {
  animation: route-enter 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.99);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .reveal[data-reveal="left"] {
  transform: translate3d(-24px, 10px, 0);
}

.motion-ready .reveal[data-reveal="right"] {
  transform: translate3d(24px, 10px, 0);
}

.motion-ready .reveal[data-reveal="scale"] {
  transform: translate3d(0, 14px, 0) scale(0.955);
}

.motion-ready .reveal.is-visible,
.motion-ready .reveal.is-visible[data-reveal] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

@keyframes route-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.section {
  padding: 92px 0;
}

.section.compact {
  padding: 70px 0;
}

.section.soft {
  background: linear-gradient(180deg, #f8fbfe 0%, #edf4fa 100%);
}

.section.deep {
  color: var(--white);
  background: linear-gradient(135deg, #143a64, #215c93);
}

.section.deep p,
.section.deep .eyebrow {
  color: #dbeafe;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lead {
  max-width: 700px;
  color: #425466;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.center .lead {
  margin-right: auto;
  margin-left: auto;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: #f4f8fc;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.96));
}

.hero-art {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, #f4f8fc 0%, rgba(244, 248, 252, 0.96) 30%, rgba(244, 248, 252, 0.22) 58%, rgba(244, 248, 252, 0) 100%), url("./images/inicio.webp");
  background-position: center center;
  background-size: cover;
  animation: hero-drift 16s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.055) translate3d(-0.8%, -0.4%, 0);
  }
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: var(--shell);
  min-height: 690px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 62px 0 118px;
}

.hero-copy {
  width: min(600px, 52%);
}

.hero-copy h1 {
  color: #173b63;
}

.hero-copy .lead {
  max-width: 590px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 30px;
  color: #36516f;
  font-size: 0.9rem;
  font-weight: 650;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row span::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff4e6;
  color: var(--green);
  font-size: 0.74rem;
}

.section-heading {
  margin-bottom: 38px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card::before,
.process-step::before,
.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover::before,
.process-step:hover::before,
.contact-item:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.card.interactive {
  cursor: pointer;
  transition: 180ms ease;
}

.card.interactive:hover {
  border-color: #aecce8;
  box-shadow: 0 18px 44px rgba(30, 78, 125, 0.12);
  transform: translateY(-3px);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #e5f5ff, #edf2ff);
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 850;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 750;
}

.card-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

.service-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
}

.service-card .card-link {
  margin-top: auto;
}

.service-card.featured {
  border-color: #91bde5;
  background: linear-gradient(145deg, #ffffff, #f0f7ff);
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid #c6dcef;
  border-radius: 999px;
  padding: 4px 10px;
  background: #f0f7ff;
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}

.guide-intro {
  position: sticky;
  top: 118px;
}

.guide-box {
  min-height: 450px;
  border: 1px solid #cdddea;
  border-radius: var(--radius-lg);
  padding: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
}

.guide-box.guide-panel-enter > * {
  animation: guide-item-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.guide-box.guide-panel-enter > *:nth-child(2) {
  animation-delay: 55ms;
}

.guide-box.guide-panel-enter > *:nth-child(3) {
  animation-delay: 110ms;
}

.guide-box.guide-panel-enter > *:nth-child(4) {
  animation-delay: 165ms;
}

.guide-box.guide-panel-enter > *:nth-child(5) {
  animation-delay: 220ms;
}

@keyframes guide-item-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.guide-progress {
  display: flex;
  gap: 7px;
  margin-bottom: 24px;
}

.guide-progress span {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #d9e5ef;
}

.guide-progress span.active {
  background: var(--blue);
}

.guide-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.guide-option {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  transition: 180ms ease;
}

.guide-option:hover,
.guide-option:focus-visible {
  border-color: var(--blue);
  background: #f5faff;
  color: var(--blue-dark);
  outline: none;
}

.guide-option::after {
  content: "→";
  color: var(--blue);
}

.guide-back {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 750;
}

.guide-result {
  border-left: 4px solid var(--blue);
  border-radius: 0 16px 16px 0;
  padding: 20px 22px;
  background: #f1f7fd;
}

.safety-note {
  margin-top: 18px;
  border: 1px solid #f3d7b2;
  border-radius: 14px;
  padding: 14px 16px;
  background: #fffaf0;
  color: #704515;
  font-size: 0.88rem;
}

.split-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.about-panel,
.location-panel {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}

.about-panel {
  background: linear-gradient(135deg, #173f6c, #2b6cb0);
  color: var(--white);
}

.about-panel p,
.about-panel .eyebrow {
  color: #e5f2ff;
}

.about-panel h2 {
  color: var(--white);
}

.about-panel .button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.location-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6f9fc;
}

.location-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border: 42px solid rgba(43, 108, 176, 0.07);
  border-radius: 50%;
}

.location-panel > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 78px;
  background: linear-gradient(135deg, #eef6fd, #ffffff 62%);
}

.page-hero.has-image {
  min-height: 520px;
  padding: 0;
  background: #f4f8fc;
}

.page-hero.has-image::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 250, 252, 0.99) 0%, rgba(247, 250, 252, 0.96) 34%, rgba(247, 250, 252, 0.8) 50%, rgba(247, 250, 252, 0.1) 74%, rgba(247, 250, 252, 0) 100%);
}

.page-hero.has-image::after {
  display: none;
}

.page-hero-art {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  animation: page-art-drift 18s ease-in-out infinite alternate;
}

@keyframes page-art-drift {
  from {
    transform: scale(1.005) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.045) translate3d(0.6%, -0.35%, 0);
  }
}

.page-hero.has-image .shell {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0;
}

.page-hero-copy {
  position: relative;
  z-index: 2;
  width: min(640px, 56%);
}

.page-hero.has-image h1 {
  max-width: 640px;
  font-size: clamp(2.35rem, 4.6vw, 4.15rem);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -220px;
  width: 540px;
  height: 540px;
  border: 70px solid rgba(43, 108, 176, 0.055);
  border-radius: 50%;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.content-subsection {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 42px;
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.info-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #f8fbfe;
}

.info-panel h3 {
  color: var(--blue-ink);
}

.mini-steps {
  counter-reset: clinical-step;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.mini-steps li {
  position: relative;
  min-height: 50px;
  padding: 2px 0 0 58px;
}

.mini-steps li::before {
  counter-increment: clinical-step;
  content: counter(clinical-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e2effa;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.mini-steps strong,
.mini-steps span {
  display: block;
}

.mini-steps span {
  margin-top: 3px;
  color: var(--body);
}

.home-services {
  margin-top: 52px;
  border-top: 1px solid #cfdeeb;
  padding-top: 42px;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  color: #173b63;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 700;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.prose h2 {
  margin-top: 44px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.prose li,
.check-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 30px;
  color: var(--body);
}

.prose li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e2f5e9;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.sidebar-card {
  position: sticky;
  top: 110px;
  border: 1px solid #cdddea;
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(145deg, #f5faff, #ffffff);
  box-shadow: var(--shadow-sm);
}

.sidebar-card .button {
  width: 100%;
  margin-top: 14px;
}

.quick-facts {
  margin: 20px 0;
  display: grid;
  gap: 11px;
}

.quick-facts div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.84rem;
}

.quick-facts span {
  color: var(--body);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  background: var(--white);
}

.faq-list summary {
  padding: 17px 34px 17px 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  margin-right: -28px;
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  padding-right: 18px;
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 28px;
}

.credential {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  background: var(--white);
}

.credential small {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: #bdd3e8;
}

.timeline-item {
  position: relative;
  padding-left: 52px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 5px solid #dcecf9;
  border-radius: 50%;
  background: var(--blue);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.process-step {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--blue);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.process-step .number {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.notice {
  border: 1px solid #c9dfee;
  border-radius: var(--radius);
  padding: 24px;
  background: #f2f8fd;
}

.notice.warning {
  border-color: #f0d1a8;
  background: #fff9ef;
}

.emergency-notice {
  align-self: start;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border-color: #edc2bd;
  padding: 22px 24px;
  background: linear-gradient(135deg, #fff8f5, #fffdf8);
  box-shadow: 0 14px 34px rgba(143, 49, 42, 0.08);
}

.emergency-visual {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid #f0cec9;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(143, 49, 42, 0.1);
}

.emergency-visual svg {
  width: 64px;
  height: 64px;
  overflow: visible;
}

.siren-ray {
  fill: none;
  stroke: #c43f35;
  stroke-width: 5;
  stroke-linecap: round;
  transform-origin: center;
  animation: siren-ray-pulse 1.8s ease-in-out infinite;
}

.ray-right { animation-delay: 180ms; }
.ray-top { animation-delay: 360ms; }

.siren-dome {
  fill: #df4f45;
  transform-origin: 48px 66px;
  animation: siren-dome-pulse 1.8s ease-in-out infinite;
}

.siren-shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 5;
  stroke-linecap: round;
}

.siren-base { fill: #204f7f; }

.emergency-copy h3 {
  margin: 2px 0 7px;
  color: #7f2d27;
  font-size: 1.18rem;
}

.emergency-copy p {
  margin: 0;
  color: #633d39;
}

.emergency-kicker {
  color: #b6382f;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes siren-ray-pulse {
  0%, 100% { opacity: 0.38; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes siren-dome-pulse {
  0%, 100% { transform: scale(0.96); filter: saturate(0.9); }
  50% { transform: scale(1.03); filter: saturate(1.12); }
}

.condition-card {
  min-height: 230px;
}

.quote-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card .quote-mark {
  color: #abc9e5;
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.8;
}

.review-placeholder {
  border: 1px dashed #9abbd9;
  border-radius: var(--radius);
  padding: 30px;
  background: #f7fbff;
}

.article-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.article-visual {
  min-height: 330px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.72), transparent 22%), linear-gradient(145deg, #d9eefb, #91bce2);
}

.article-visual svg {
  width: 170px;
  color: #215387;
}

.article-content {
  padding: clamp(28px, 5vw, 56px);
}

.article-meta {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--white);
}

.contact-item small,
.contact-item strong {
  display: block;
}

.contact-item small {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cddae6;
  border-radius: 12px;
  padding: 12px 13px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
  transition: 160ms ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 108, 176, 0.1);
}

.privacy-copy {
  margin: 5px 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.footer-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 58px 0 44px;
  display: grid;
  grid-template-columns: 1.8fr 0.7fr 1fr;
  gap: 60px;
}

.footer-brand img {
  width: 290px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 500px;
}

.footer-shell h2 {
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-shell a:not(.brand) {
  width: fit-content;
  display: block;
  margin: 7px 0;
  color: var(--body);
}

.footer-shell a:hover {
  color: var(--blue);
}

.footer-bottom {
  width: var(--shell);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 18px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.79rem;
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 11px 18px 11px 13px;
  background: #1fad58;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(22, 139, 70, 0.28);
  font-size: 0.88rem;
  font-weight: 800;
  transition: 180ms ease;
  animation: whatsapp-breathe 3.8s ease-in-out infinite;
}

.whatsapp-fab:hover {
  background: #168b46;
  transform: translateY(-2px);
}

.whatsapp-fab svg {
  width: 28px;
  fill: currentColor;
}

@keyframes whatsapp-breathe {
  0%, 100% { box-shadow: 0 14px 34px rgba(22, 139, 70, 0.28), 0 0 0 0 rgba(31, 173, 88, 0.20); }
  50% { box-shadow: 0 18px 40px rgba(22, 139, 70, 0.34), 0 0 0 9px rgba(31, 173, 88, 0); }
}

/* Movimiento sutil y consistente para que cada sección se sienta viva sin distraer. */
.interactive {
  transform: translateZ(0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease, border-color 360ms ease;
}

.interactive:hover,
.interactive:focus-visible {
  transform: translateY(-7px);
}

.motion-ready .hero-copy > * {
  transition-duration: 760ms;
}

.motion-ready .section-heading,
.motion-ready .guide-box,
.motion-ready .about-panel,
.motion-ready .location-panel,
.motion-ready .sidebar-card,
.motion-ready .contact-form {
  transition-duration: 760ms;
}

.page-hero-art::after,
.hero-art::before {
  content: "";
  position: absolute;
  inset: 12% auto auto 8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(2px);
  animation: ambient-orbit 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ambient-orbit {
  from { transform: translate3d(-12px, 8px, 0) scale(0.92); opacity: 0.25; }
  to { transform: translate3d(28px, -16px, 0) scale(1.1); opacity: 0.52; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: min(430px, calc(100% - 36px));
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: 200ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1180px) {
  .brand {
    flex-basis: 220px;
  }

  .brand img {
    width: 220px;
  }

  .desktop-nav > a,
  .nav-menu-trigger {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 0.82rem;
  }

  .grid.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-shell {
    min-height: 82px;
  }

  .brand img {
    height: 72px;
  }

  .menu-toggle {
    margin-left: auto;
    display: flex;
  }

  .mobile-panel {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 110;
    display: block;
    overflow: auto;
    height: calc(100dvh - 82px);
    padding: 12px 20px 34px;
    background: var(--white);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: 200ms ease;
  }

  .mobile-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-panel nav {
    width: min(700px, 100%);
    margin: 0 auto;
  }

  .mobile-panel nav > a,
  .mobile-panel summary {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 15px 4px;
    color: var(--ink);
    font-weight: 750;
    list-style: none;
  }

  .mobile-panel summary::after {
    content: "+";
    float: right;
    color: var(--blue);
  }

  .mobile-panel details[open] summary::after {
    content: "−";
  }

  .mobile-panel details a {
    display: block;
    margin-left: 12px;
    border-bottom: 1px solid #edf2f7;
    padding: 12px 10px;
    color: var(--body);
  }

  .mobile-panel .mobile-contact {
    margin-top: 16px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    text-align: center;
  }

  .hero {
    min-height: 650px;
  }

  .hero-art {
    background-position: 58% center;
  }

  .hero-shell {
    min-height: 650px;
  }

  .hero-copy {
    width: 58%;
  }

  .guide-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .guide-intro {
    position: static;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 780px) {
  .motion-ready .reveal[data-reveal="left"],
  .motion-ready .reveal[data-reveal="right"] {
    transform: translate3d(0, 20px, 0);
  }

  :root {
    --shell: min(100% - 30px, 640px);
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3.45rem);
  }

  .section,
  .section.compact {
    padding: 68px 0;
  }

  .header-shell {
    width: calc(100% - 20px);
    gap: 8px;
  }

  .brand {
    flex-basis: 214px;
  }

  .brand img {
    width: 214px;
  }

  .menu-toggle {
    min-width: 76px;
    padding: 0 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 310px;
    background: #f4f8fc;
  }

  .hero-art {
    height: 350px;
    background-image: linear-gradient(180deg, rgba(244, 248, 252, 0) 58%, #f4f8fc 100%), url("./images/inicio.webp");
    background-position: 58% center;
    background-size: cover;
  }

  .hero::after {
    display: none;
  }

  .hero-shell {
    min-height: auto;
    padding: 32px 0 72px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 570px;
  }

  .grid.two,
  .grid.three,
  .grid.five,
  .split-panel,
  .credential-list,
  .process-grid,
  .article-card,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .service-card,
  .condition-card {
    min-height: auto;
  }

  .guide-box {
    min-height: 0;
    padding: 22px;
  }

  .about-panel,
  .location-panel {
    padding: 30px;
  }

  .page-hero {
    padding: 70px 0 58px;
  }

  .page-hero.has-image {
    min-height: auto;
    padding-top: 260px;
    background: #f7fafc;
  }

  .page-hero.has-image::before {
    inset: 150px 0 auto;
    height: 125px;
    background: linear-gradient(180deg, rgba(247, 250, 252, 0), #f7fafc 92%);
  }

  .page-hero-art {
    height: 280px;
    background-position: center top;
  }

  .page-hero.has-image .shell {
    min-height: auto;
    padding: 30px 0 58px;
  }

  .page-hero-copy {
    width: 100%;
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
  }

  .info-columns {
    grid-template-columns: 1fr;
  }

  .article-visual {
    min-height: 230px;
  }

  .footer-shell {
    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    padding: 13px;
  }

  .whatsapp-fab span {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 260px;
  }

  .hero-art {
    height: 300px;
    background-position: 57% center;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .actions .button {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .card,
  .contact-form {
    padding: 22px;
  }

  .emergency-notice {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 15px;
    padding: 18px;
  }

  .emergency-visual {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .emergency-visual svg {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal,
  .motion-ready .reveal[data-reveal],
  .motion-ready .reveal.is-visible,
  main.route-enter {
    opacity: 1 !important;
    transform: none !important;
  }

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

  .whatsapp-fab,
  .page-hero-art::after,
  .hero-art::before {
    animation: none !important;
  }
}
