/* =========================================================
   Bozki Centro Veterinario — estilos
   ========================================================= */
:root {
  --navy: #002A6D;        /* azul del logo */
  --navy-2: #00397A;      /* footer superior */
  --navy-3: #022475;      /* tarjetas oscuras */
  --royal: #0047CC;       /* sección recursos */
  --blue: #0066E0;        /* sección aliados / footer inferior */
  --bright: #0087FF;      /* botones */
  --teal: #1A6B8F;        /* "Centro Veterinario" del logo */
  --text: #1F2937;
  --muted: #6B7280;
  --light: #F9F9F9;
  --white: #FFFFFF;

  --f-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --f-round: "Nunito", "Montserrat", ui-sans-serif, sans-serif;
  --f-script: "Kaushan Script", cursive;

  --radius: 12px;
  --shadow: 0 6px 24px rgba(0, 42, 109, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-display);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.block { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.script {
  font-family: var(--f-script);
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Fondos con garabatos ---------- */
.doodle-bg { position: relative; isolation: isolate; }
.doodle-bg::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-size: 420px;
  pointer-events: none;
}
.doodle-dark  { background: var(--navy); }
.doodle-dark::before  { background-image: url("../img/doodle-white.svg"); opacity: .07; }
.doodle-light { background: var(--white); }
.doodle-light::before { background-image: url("../img/doodle-blue.svg"); opacity: .07; }
.doodle-royal { background: var(--royal); }
.doodle-royal::before { background-image: url("../img/doodle-white.svg"); opacity: .09; }
.doodle-card  { background: var(--blue); }
.doodle-card::before  { background-image: url("../img/doodle-white.svg"); background-size: 220px; opacity: .14; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bright); color: var(--white); }
.btn-primary:hover { background: #0072DB; }
.btn-outline { background: var(--white); color: var(--bright); border-color: var(--bright); }
.btn-outline:hover { background: #EEF6FF; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.i-info {
  display: inline-grid; place-items: center;
  width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 50%;
  font-size: 10px; font-weight: 800; font-family: var(--f-round);
}

/* Huellita (icono CSS) */
.paw-ico {
  display: inline-block; width: 22px; height: 22px; vertical-align: middle;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5'/%3E%3Ccircle cx='5' cy='10' r='2.4'/%3E%3Ccircle cx='9' cy='5.5' r='2.4'/%3E%3Ccircle cx='15' cy='5.5' r='2.4'/%3E%3Ccircle cx='19' cy='10' r='2.4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5.5' ry='4.5'/%3E%3Ccircle cx='5' cy='10' r='2.4'/%3E%3Ccircle cx='9' cy='5.5' r='2.4'/%3E%3Ccircle cx='15' cy='5.5' r='2.4'/%3E%3Ccircle cx='19' cy='10' r='2.4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.paw-ico-lg { width: 34px; height: 34px; }

/* ---------- Placeholder de imagen pendiente ---------- */
.img-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 160px; width: 100%; height: 100%;
  padding: 16px;
  border: 2px dashed rgba(255, 255, 255, .55);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .9);
  font: 600 12px/1.4 var(--f-display);
}
.img-ph small { display: block; opacity: .7; font-weight: 500; margin-top: 4px; }
.img-ph.on-light {
  border-color: rgba(0, 87, 217, .4);
  background: rgba(0, 87, 217, .05);
  color: var(--blue);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  transition: background .25s, padding .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: var(--navy-2);
  padding: 12px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}
.header-logo img { transition: height .25s; }
.site-header.is-scrolled .header-logo img { height: 44px; }
section[id], main[id] { scroll-margin-top: 70px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding-inline: 40px; }
.header-logo img { height: 52px; width: auto; }
.main-nav { display: flex; gap: clamp(18px, 2.4vw, 44px); }
.main-nav a {
  color: var(--white); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-color: var(--bright); }
.nav-toggle { display: none; }
.main-nav { margin-left: auto; margin-right: clamp(8px, 1.5vw, 24px); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.hdr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; border-radius: 999px; font-weight: 800; font-size: 13px;
  transition: transform .15s, background .15s;
}
.hdr-btn:hover { transform: translateY(-1px); }
.hdr-btn svg { width: 18px; height: 18px; fill: currentColor; }
.hdr-call { width: 40px; color: var(--white); border: 2px solid rgba(255, 255, 255, .6); }
.hdr-call:hover { background: rgba(255, 255, 255, .12); }
.hdr-wa { padding: 0 18px 0 14px; background: #25D366; color: var(--white); box-shadow: 0 4px 14px rgba(37, 211, 102, .35); }
.hdr-wa:hover { background: #1EBE5A; }

/* =========================================================
   HERO
   ========================================================= */
.hero { overflow: hidden; color: var(--white); }
/* Temporada Halloween: se activa con la clase "halloween" en la sección .hero de index.html.
   Para quitarla, borra esa clase (no hace falta tocar este CSS). */
.hero.halloween {
  background:
    linear-gradient(to bottom, transparent 78%, var(--navy) 100%), /* pasa suave al azul de la sección de abajo */
    radial-gradient(ellipse 42% 40% at 0% 52%, rgba(255, 122, 0, .14), transparent 72%),
    radial-gradient(ellipse 55% 50% at 95% -5%, rgba(150, 70, 210, .22), transparent 70%),
    #0B0B12;
}
.hero.halloween::before { background-image: url("../img/doodle-halloween.svg"); opacity: .1; }
/* brillo para que el sombrero, murciélagos y gato (negros) se distingan del fondo negro */
.hero.halloween .hero-logo { filter: drop-shadow(0 0 2px rgba(255, 170, 90, .55)) drop-shadow(0 0 14px rgba(255, 140, 40, .3)); }
/* círculo decorativo detrás de las mascotas */
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: 6%; top: 50px;
  border: 70px solid var(--royal); border-radius: 50%; opacity: .75;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: end;
  min-height: 520px; padding-top: 110px;
}
.hero-text { align-self: center; padding-bottom: 30px; }
.hero-logo { width: min(400px, 100%); margin-bottom: 26px; }
.hero-title { text-transform: uppercase; font-weight: 900; line-height: 1; padding-left: 36px; }
.hero-line1 { display: block; font-size: clamp(40px, 6vw, 68px); letter-spacing: .01em; }
.hero-line2 { display: block; font-size: clamp(30px, 4.2vw, 46px); margin-top: 6px; }
.hero-line2 .script { font-size: 1.55em; display: inline-block; transform: rotate(-4deg) translateY(4px); margin-left: 6px; }
.hero-pets { position: relative; align-self: end; margin-right: max(calc((100vw - min(1120px, 100vw - 32px)) / -2), -150px); }
.hero-pets img {
  width: 100%; max-width: 560px; height: auto; margin-left: auto;
  /* los brazos de la izquierda se desvanecen; los de la derecha salen de pantalla */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%);
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .25));
}
.hero-pets .img-ph { min-height: 420px; border-bottom: 0; border-radius: 10px 10px 0 0; }

/* =========================================================
   PROPUESTA DE VALOR
   ========================================================= */
/* Proporciones tomadas de Pawternity a 1920px: tarjetas de 400px, mascotas
   paradas sobre el borde inferior y montadas sobre las orillas de las tarjetas.
   Todo en % del ancho de .values-inner para que escale. */
.values { padding-top: clamp(56px, 5.4vw, 103px); overflow: hidden; }
.values-inner {
  position: relative;
  width: min(1254px, 100% - 420px); margin-inline: auto;
  min-height: clamp(420px, 29.5vw, 566px);
}
.values-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.1%; }
.value-card {
  background: var(--navy); color: var(--white);
  border-radius: 10px;
  padding: clamp(22px, 2.2vw, 42px) clamp(20px, 2.1vw, 40px);
  min-height: clamp(220px, 16.5vw, 316px);
  align-self: start;
}
.value-card-2 { margin-top: clamp(8px, .65vw, 12px); }
.value-card h3 {
  text-transform: uppercase; font-weight: 900;
  font-size: clamp(19px, 1.8vw, 35px); line-height: .95;
  margin-bottom: clamp(10px, .9vw, 18px);
}
.value-card h3 .script {
  font-size: 1.75em; line-height: 1; color: #4FA3FF;
  display: inline-block; transform: rotate(-4deg); margin-top: -.05em;
}
.value-card h3 .accent { color: #4FA3FF; }
.value-card h3 .paw-ico { color: #4FA3FF; width: .85em; height: .85em; }
.value-card-2 h3 .script, .value-card-2 h3 .paw-ico { color: var(--white); }
.value-card-2 h3 .script-row { display: block; }
.value-card p {
  font-size: clamp(12.5px, 1vw, 19px); line-height: 1.35; font-weight: 500;
}
.value-card-1 p { padding-left: 1.4em; }
.value-card-2 p { padding-left: 1.6em; max-width: 12em; }
.value-card-3 p { max-width: 11em; }

.values-pet { position: absolute; bottom: 0; z-index: 2; height: auto; }
.values-pet.img-ph { color: var(--blue); min-height: 0; height: 200px; }
.values-pet-left  { left: -15%; width: 18%; }
.values-pet-mid   { left: 41.5%;  width: 25.5%; }
.values-pet-right { left: 92.5%;  width: 20%; }
/* el gato y el cachorro vienen cortados del lado izquierdo en la foto: se desvanece */
.values-pet-mid:not(.img-ph), .values-pet-right:not(.img-ph) {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 25%);
          mask-image: linear-gradient(to right, transparent 0, #000 25%);
}

/* =========================================================
   AGENDA
   ========================================================= */
.finder { padding: 48px 0; }
.finder-box {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  background: var(--white); border-radius: 10px; padding: 26px 34px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}
.finder-label {
  color: var(--navy); font-weight: 800; font-size: 19px; line-height: 1.3; max-width: 170px;
}
.contact-phone { display: flex; align-items: center; gap: 16px; padding-left: 32px; border-left: 1px solid #E5E7EB; }
.contact-ico {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: #E8F9EF; display: grid; place-items: center;
}
.contact-ico svg { width: 28px; height: 28px; fill: #25D366; }
.contact-kicker { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-number { display: block; font-weight: 900; font-size: clamp(22px, 2.2vw, 30px); color: var(--navy); line-height: 1.2; }
.contact-number:hover { color: var(--bright); }
.contact-hours { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.contact-address { display: block; font-size: 12.5px; color: var(--navy); margin-top: 4px; }
.contact-address strong { color: var(--bright); }
.contact-address:hover strong { text-decoration: underline; }
.footer-ref { font-size: 11px !important; opacity: .7 !important; max-width: 260px; }
.contact-actions { display: flex; gap: 12px; }
.btn-whatsapp { background: #25D366; color: var(--white); padding: 14px 24px; font-size: 15px; }
.btn-whatsapp:hover { background: #1EBE5A; }
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.btn-call { padding: 12px 22px; font-size: 15px; }

/* =========================================================
   SERVICIOS (tarjetas)
   ========================================================= */
.services { padding: 80px 0 70px; }
.section-title {
  text-align: center; font-weight: 900; color: var(--navy);
  font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 44px;
}
.section-title .script { font-size: 1.15em; margin-left: 6px; display: inline-block; transform: rotate(-3deg); }
.section-title.light { color: var(--white); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 920px; margin: 0 auto 40px; }
.pet-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .1);
  display: flex; flex-direction: column;
}
.pet-card-photo { aspect-ratio: 1 / 1.05; position: relative; display: grid; place-items: center; }
.pet-card-photo > img:not(.pet-card-badge) { width: 100%; height: 100%; object-fit: cover; }
.pet-card-photo .img-ph { margin: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
.pet-card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 54px; background: var(--white); padding: 4px; border-radius: 3px;
}
.pet-card-body { padding: 16px 16px 20px; }
.pet-card-body h3 { text-transform: uppercase; color: var(--navy); font-weight: 900; font-size: 21px; letter-spacing: .02em; }
.pet-card-tag { font-family: var(--f-script); color: var(--bright); font-size: 16px; margin: 4px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; }
.chips li {
  font-size: 10.5px; font-weight: 600; color: var(--navy);
  border: 1px solid #D1D5DB; border-radius: 999px; padding: 4px 10px;
}
.pet-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Tarjetas de servicio con icono en lugar de foto */
.section-sub { text-align: center; color: var(--teal); font-weight: 600; font-size: 16px; margin: -30px 0 40px; }
.svc-grid { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 22px; }
.svc-icon { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; }
.svc-icon svg {
  width: 38%; max-width: 96px; height: auto;
  fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s;
}
.svc-card:hover .svc-icon svg { transform: scale(1.08) rotate(-3deg); }
.svc-special {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: linear-gradient(135deg, #F6E3A1, #D9B65C); color: var(--navy);
  font-size: 10.5px; font-weight: 800; padding: 5px 10px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.svc-card .pet-card-body { display: flex; flex-direction: column; flex: 1; }
.svc-card .pet-card-body h3 { font-size: 17px; line-height: 1.15; }
.svc-card .chips { margin-bottom: 16px; }
.btn-block { width: 100%; margin-top: auto; }
.btn-block svg { width: 16px; height: 16px; fill: currentColor; }
.svc-grid:not(.is-expanded) .svc-more { display: none; }

/* ---- Opción B: icono flotante ---- */
.services { background: #F3F6FB; }
.svc-grid { row-gap: 52px; margin-top: 40px; }
.svc-card {
  position: relative; overflow: visible; text-align: center;
  border: 1px solid #E3EAF5; border-radius: 16px; box-shadow: 0 4px 14px rgba(0, 42, 109, .06);
  transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0, 42, 109, .12); }
.svc-card .svc-icon {
  position: absolute; top: -32px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 64px; aspect-ratio: auto; border-radius: 50%;
  background: #0057D9; border: 5px solid #F3F6FB;
}
.svc-card .svc-icon::before { display: none; }
.svc-card .svc-icon .pet-card-badge { display: none; }
.svc-card .svc-icon svg { width: 34px; max-width: none; stroke-width: 3; }
.svc-card:hover .svc-icon svg { transform: scale(1.1) rotate(-4deg); }
.svc-card .pet-card-body { padding: 46px 18px 18px; align-items: center; }
.svc-card .pet-card-body h3 { font-size: 15px; }
.svc-card .pet-card-tag { margin: 4px 0 12px; }
.svc-card .chips { justify-content: center; }
/* la etiqueta dorada va centrada entre el icono y el nombre (no se encima con el icono) */
.svc-card .svc-special { position: static; align-self: center; margin-top: 44px; }
.svc-card:has(.svc-special) .pet-card-body { padding-top: 10px; }
.svc-card .btn-block {
  background: transparent; color: var(--bright); border: 1.5px solid var(--bright); border-radius: 999px;
}
.svc-card .btn-block:hover, .svc-card:hover .btn-block { background: var(--bright); color: var(--white); }

/* =========================================================
   PACIENTES (carrusel automático)
   ========================================================= */
.allies { background: var(--blue); color: var(--white); padding: 70px 0 74px; overflow: hidden; }
.allies .section-title { margin-bottom: 14px; }
.allies .section-title .script { color: #BFE0FF; }
.allies-text { max-width: 620px; margin: 0 auto 40px; font-size: 15px; line-height: 1.6; font-weight: 500; }

.patients-viewport {
  /* desvanece los bordes */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.patients-track {
  --gap: 22px;
  display: flex; gap: var(--gap); width: max-content; padding: 14px 0 22px;
  animation: patients-scroll var(--dur, 40s) linear infinite;
}
.patients-viewport:hover .patients-track { animation-play-state: paused; }
@keyframes patients-scroll { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

.patient {
  margin: 0; flex: none;
  width: clamp(190px, 18vw, 260px); aspect-ratio: 4 / 5;
  background: var(--white); padding: 8px; border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 20, 60, .28);
  transition: transform .3s;
}
.patient:nth-child(odd)  { transform: rotate(-2deg); }
.patient:nth-child(even) { transform: rotate(2deg) translateY(10px); }
.patient:hover { transform: rotate(0) scale(1.05); z-index: 2; }
.patient img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
/* insignia dorada, mismo estilo que "Servicio especializado" */
.patient { position: relative; }
.patient-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 2;
  white-space: nowrap;
  background: linear-gradient(135deg, #F6E3A1, #D9B65C); color: var(--navy);
  font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}
.patient-first { outline: 3px solid #E3C66F; outline-offset: -3px; }

/* dos filas del carrusel (en todos los dispositivos):
   arriba de izquierda a derecha · abajo de derecha a izquierda, empezando en otra foto */
.patients-viewport.is-alt { margin-top: 4px; }
.patients-viewport:not(.is-alt) .patients-track { animation-direction: reverse; }
.patients-viewport.is-alt .patients-track { animation-delay: calc(var(--dur, 40s) / -2); }
@media (max-width: 760px) {
  .patient { width: 150px; padding: 6px; border-radius: 12px; }
  .patients-track { --gap: 14px; padding: 10px 0 14px; }
  .patient-badge { font-size: 10px; padding: 5px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .patients-track { animation: none; }
  .patients-viewport { overflow-x: auto; }
}

/* =========================================================
   ASÍ FUNCIONA
   Proporciones tomadas de Pawternity a 1920px (contenedor de 1600px).
   ========================================================= */
.steps { padding: clamp(70px, 6vw, 120px) 0 clamp(60px, 5vw, 100px); overflow: hidden; }
.steps-inner { width: min(1600px, 100% - 64px); margin-inline: auto; }
.steps-kicker {
  font-family: "Barlow Condensed", var(--f-display); font-weight: 600;
  font-size: clamp(28px, 2.3vw, 44px); letter-spacing: -.01em; color: var(--navy);
  margin: 0 0 clamp(16px, 1.6vw, 30px) 11%;
}

.steps-row {
  position: relative;
  display: grid; grid-template-columns: 16% 21% 14.5% 21% 23.5%; column-gap: 1%;
  align-items: start;
}
.step { position: relative; }
.step h3 {
  font-weight: 800; color: #0057D9; line-height: 1.12;
  font-size: clamp(18px, 1.75vw, 34px);
}
.step h3 em { font-style: italic; }
.step p { color: #3B4A6B; font-size: clamp(12.5px, 1vw, 19px); margin-top: .35em; font-weight: 500; }
.step-num {
  display: grid; place-items: center;
  width: clamp(36px, 2.8vw, 54px); height: clamp(36px, 2.8vw, 54px);
  margin-bottom: clamp(6px, .6vw, 12px);
  color: var(--white); font: 900 clamp(12px, 1vw, 18px)/1 var(--f-display); padding-top: .9em;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='7' ry='6.5'/%3E%3Ccircle cx='3.8' cy='9' r='2.6'/%3E%3Ccircle cx='8.6' cy='3.6' r='2.6'/%3E%3Ccircle cx='15.4' cy='3.6' r='2.6'/%3E%3Ccircle cx='20.2' cy='9' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='7' ry='6.5'/%3E%3Ccircle cx='3.8' cy='9' r='2.6'/%3E%3Ccircle cx='8.6' cy='3.6' r='2.6'/%3E%3Ccircle cx='15.4' cy='3.6' r='2.6'/%3E%3Ccircle cx='20.2' cy='9' r='2.6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* cachorro a la izquierda, un poco más grande que la fila */
.steps-pet { width: 92%; height: auto; align-self: center; justify-self: end; margin-top: -4%; }

/* texto de los pasos 1 y 3 */
.step-1, .step-3 { padding-top: .4vw; }
.step-3 { padding-left: 2.2vw; }

/* cajas azules (pasos 2 y 4) */
.step-box {
  background: #0047CC; border-radius: 10px; color: var(--white); text-align: center;
  padding: clamp(14px, 1.2vw, 22px) clamp(12px, 1vw, 20px) clamp(18px, 1.6vw, 30px);
  box-shadow: 0 10px 30px rgba(0, 42, 109, .18);
}
.step-box .step-num { margin-inline: auto; background: var(--white); color: var(--navy); }
.step-box h3 { color: var(--white); font-size: clamp(17px, 1.65vw, 32px); }
.step-box p { color: rgba(255, 255, 255, .85); }
.step-2 { min-height: clamp(170px, 12.2vw, 234px); }
.step-4 {
  margin-top: clamp(16px, 1vw, 20px);
  min-height: clamp(150px, 10.2vw, 196px);
  display: flex; flex-direction: column; justify-content: center;
}
/* foto del gato en revisión, asomándose sobre la caja 4 */
.step-4-photo {
  position: absolute; left: 50%; bottom: calc(100% - 26px); transform: translateX(-46%) rotate(2deg);
  width: 62%; aspect-ratio: 4 / 3;
  background: var(--white); padding: 6px; border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.step-4-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* flechas dibujadas */
.steps-arrow { position: absolute; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.arrow-1, .arrow-3 { stroke: #8EC5FF; width: 4.2%; }
.arrow-2 { stroke: var(--navy); width: 2.8%; }
.arrow-1 { left: 35.2%; top: 4%; }
.arrow-2 { left: 53.1%; top: 24%; }
.arrow-3 { left: 73%; top: 33%; }

/* fila 2: polaroid debajo de la caja 2 y el paso 5 a su lado */
.steps-row-2 {
  display: flex; align-items: center; gap: 2.2%;
  margin: -1.5% 0 0 21%;
}
.steps-photo {
  flex: none; width: 26%; aspect-ratio: 4 / 3;
  background: #FFF8EC; padding: 10px 10px 12px; transform: rotate(-2deg);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.steps-photo img { width: 100%; height: 100%; object-fit: cover; }
.step-5 { padding-top: 2%; }

/* =========================================================
   RECURSOS
   ========================================================= */
.resources { padding: 64px 0 70px; }
.resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.res-card { border-radius: 8px; overflow: hidden; min-height: 290px; position: relative; display: flex; flex-direction: column; }
.res-photo > img, .res-photo > .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.res-photo > .img-ph { align-items: flex-start; padding-top: 40px; border-radius: 8px; }
.res-overlay {
  position: relative; margin-top: auto; padding: 18px;
  background: linear-gradient(transparent, rgba(0, 20, 60, .85));
  color: var(--white);
}
.res-overlay h3 { font-size: 18px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.res-overlay span { font-size: 13px; font-weight: 500; }
.res-stat {
  background: var(--navy-3); color: var(--white); text-align: center;
  justify-content: center; align-items: center; gap: 14px; padding: 24px;
}
.res-stat p { font-size: 18px; font-weight: 800; line-height: 1.35; }
.res-plain { background: var(--white); }
.res-plain > img, .res-plain > .img-ph { height: 150px; width: 100%; object-fit: cover; min-height: 0; border-radius: 0; }
.res-plain-body { padding: 16px; }
.res-plain-body h3 { color: var(--navy); font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.res-plain-body p { color: var(--blue); font-size: 13px; }

/* Posts de Facebook en las tarjetas de Recursos */
.res-post { cursor: zoom-in; }
.res-post > img { object-position: top; transition: transform .4s; }
.res-post:hover > img { transform: scale(1.06); }
.res-post .res-overlay { background: linear-gradient(transparent, rgba(0, 20, 60, .55) 25%, rgba(0, 20, 60, .92)); padding-top: 40px; }
.res-post .res-overlay span { font-weight: 700; }

/* Visor (lightbox) */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: rgba(0, 15, 45, .88); padding: 24px;
  animation: lb-in .2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(720px, 100%); }
.lb-img {
  max-width: 100%; max-height: calc(100vh - 130px); width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: var(--white);
}
.lb-close, .lb-nav {
  flex: none; display: grid; place-items: center; cursor: pointer;
  border: 0; border-radius: 50%; color: var(--white); background: rgba(255, 255, 255, .14);
  font: 400 34px/1 var(--f-display); transition: background .15s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .28); }
.lb-close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; }
.lb-nav { width: 54px; height: 54px; padding-bottom: 4px; }
body.lb-open { overflow: hidden; }
@media (max-width: 760px) {
  .lightbox { padding: 60px 12px 16px; gap: 0; }
  .lb-nav { position: absolute; bottom: 18px; width: 46px; height: 46px; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .lb-img { max-height: calc(100vh - 170px); }
  .lb-actions { margin-bottom: 56px; }
}

/* =========================================================
   RESULTADOS (módulo con folio y contraseña)
   ========================================================= */
.results-card {
  position: relative; width: min(480px, 100%); background: var(--white); color: var(--text);
  border-radius: 18px; padding: 34px 30px 28px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.results-card h2 { color: var(--navy); font-weight: 900; font-size: 24px; line-height: 1.2; }
.results-card h2 .script { color: var(--bright); font-size: 1.25em; }
.results-sub { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.results-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.results-option {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px; border-radius: 14px; cursor: pointer;
  border: 2px solid #E3EAF5; background: #F7FAFE; color: var(--navy);
  font: 800 16px var(--f-display); transition: border-color .15s, transform .15s, background .15s;
}
.results-option:hover, .results-option:focus-visible { border-color: var(--bright); background: #EEF6FF; transform: translateY(-2px); outline: none; }
.results-option svg {
  width: 52px; height: 52px; padding: 10px; border-radius: 50%; background: #0057D9;
  fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.results-form { text-align: left; }
.results-form h2, .results-form .results-sub { text-align: center; }
.results-back {
  background: none; border: 0; padding: 0; margin-bottom: 10px; cursor: pointer;
  color: var(--bright); font: 700 13px var(--f-display);
}
.results-field { display: block; margin-bottom: 14px; }
.results-field span { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.results-field input {
  width: 100%; padding: 13px 14px; border: 1.5px solid #D5DEEA; border-radius: 10px;
  font: 600 16px var(--f-display); color: var(--navy); background: #FBFCFE; /* 16px: el iPhone no hace zoom al tocarlo */
}
.results-field input:focus { outline: none; border-color: var(--bright); box-shadow: 0 0 0 3px rgba(0, 135, 255, .15); }
.results-msg { min-height: 20px; font-size: 13px; font-weight: 600; color: #C62828; margin: 0 0 10px; }
.results-msg.is-info { color: var(--teal); }
.results-submit { width: 100%; padding: 14px; font-size: 15px; }
.results-submit[aria-busy="true"] { opacity: .7; pointer-events: none; }
.results-help { display: block; text-align: center; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--teal); }
.results-help:hover { text-decoration: underline; }
.results-ok {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: #E8F9EF; color: #1EBE5A; font: 900 32px/64px var(--f-display);
}
.results-open, .results-download { width: 100%; margin-top: 10px; padding: 14px; }
.results-again { margin-top: 16px; }
@media (max-width: 480px) {
  .results-card { padding: 54px 18px 22px; }
  .results-option { padding: 18px 8px; font-size: 14px; }
}

/* Página de resultados */
.page-resultados .site-header { background: var(--navy-2); }
.res-hero { color: var(--navy); background: #F3F6FB; text-align: left; padding: 108px 0 0; }
.res-hero .container, .res-page .container { width: calc(100% - 64px); }
.res-hero h1 { font-weight: 900; font-size: 22px; line-height: 1.2; }
.res-hero h1 .script { color: var(--bright); font-size: 1.15em; }
.res-hero p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.res-page { background: #F3F6FB; padding: 20px 0 80px; }
.res-panel { margin: 0 auto; width: min(640px, 100%); }
.res-panel .results-options { max-width: 440px; margin: 0 auto; }
.res-privacy { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }
.res-view { text-align: left; }
.res-view-head { text-align: center; margin: 6px 0 18px; }
.res-tipo { display: inline-block; padding: 4px 14px; border-radius: 999px; background: #E8F2FF; color: var(--blue); font-size: 12px; font-weight: 800; }
.res-tipo.rx { background: #F1E8FF; color: #6A2FC4; }
.res-titulo { margin-top: 10px; font-size: 26px !important; }
.res-meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.res-notas { background: #FFF8E6; border-left: 4px solid #E3C66F; border-radius: 0; padding: 12px 16px; font-size: 14px; color: var(--navy); margin-bottom: 18px; white-space: pre-line; }
.res-file { border: 1px solid #E3EAF5; border-radius: 14px; overflow: hidden; background: #FBFCFE; }
.res-file-view { background: #EEF3FA; display: grid; place-items: center; min-height: 120px; }
.res-file-view img { max-width: 100%; max-height: 70vh; width: auto; }
.res-file-view iframe { width: 100%; height: 70vh; border: 0; background: var(--white); }
.res-file-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; flex-wrap: wrap; }
.res-file-name { font-weight: 700; font-size: 13px; color: var(--navy); word-break: break-all; }
.res-file-bar .btn { padding: 9px 16px; font-size: 13px; }
.res-loading { color: var(--muted); font-size: 13px; font-weight: 600; padding: 30px; }
/* historial en tarjetas */
/* con resultados: el panel ocupa todo el ancho (con margen ligero a los lados) */
.res-panel:has(.res-view:not([hidden])) { width: 100%; padding: 24px; }
.res-panel:has(.res-view:not([hidden])) .res-view-head { text-align: left; margin: 10px 0 18px; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.hist-card {
  display: flex; flex-direction: column; gap: 12px; padding: 16px; min-width: 0;
  border: 1px solid #E6ECF4; border-radius: 14px; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.hist-card:hover { border-color: #BFD8FF; box-shadow: 0 6px 18px rgba(0, 42, 109, .06); }
.hist-card-head { display: flex; align-items: center; gap: 12px; }
.hist-card-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #EEF4FF; }
.hist-card-ico.rx { background: #F4EEFF; }
.hist-card-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hist-card-ico.rx svg { stroke: #6A2FC4; }
.hist-card-title { min-width: 0; }
.hist-card-pet { font-weight: 800; color: var(--navy); font-size: 15px; display: flex; align-items: center; gap: 6px; }
.hist-card-new { width: 7px; height: 7px; border-radius: 50%; background: #1EBE5A; flex: none; }
.hist-card-date { font-size: 12px; color: var(--muted); margin-top: 1px; }
/* nombres largos sin espacios (fotos del iPhone): se cortan en renglones en vez de ensanchar la página */
.hist-card-file { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; word-break: break-word; }
.hist-card-file b { color: var(--navy); font-weight: 700; }
.hist-card-note { font-size: 12.5px; color: var(--navy); border-left: 2px solid #E3C66F; padding: 2px 0 2px 10px; white-space: pre-line; }
.hist-card-actions { display: flex; gap: 8px; margin-top: auto; }
.hist-card-actions button {
  flex: 1; height: 36px; border-radius: 9px; cursor: pointer;
  font: 700 13px var(--f-display); transition: background .15s, color .15s;
}
.hist-card-ver { border: 0; background: #EEF4FF; color: var(--blue); }
.hist-card-ver:hover { background: var(--blue); color: var(--white); }
.hist-card-dl { border: 1px solid #E6ECF4; background: var(--white); color: var(--navy); }
.hist-card-dl:hover { border-color: var(--navy); }

/* visor */
.res-viewer { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(0, 15, 45, .82); padding: 20px; animation: lb-in .2s ease; }
.res-viewer[hidden] { display: none; }
.res-viewer-box { width: min(980px, 100%); height: min(92vh, 1100px); display: flex; flex-direction: column; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.res-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid #E3EAF5; }
.res-viewer-bar strong { display: block; color: var(--navy); font-weight: 900; font-size: 16px; }
.res-viewer-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.res-viewer-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.res-viewer-actions .btn { padding: 9px 16px; font-size: 13px; }
.res-viewer-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #EEF3FA; color: var(--navy); font-size: 24px; line-height: 1; cursor: pointer; }
.res-viewer-body { flex: 1; min-height: 0; background: #E9EEF6; display: grid; place-items: center; overflow: auto; }
.res-viewer-body iframe { width: 100%; height: 100%; border: 0; background: var(--white); }
.res-viewer-body img { max-width: 100%; max-height: 100%; object-fit: contain; }
.res-viewer-body .res-loading { padding: 40px; }
@media (max-width: 760px) {
  .res-hero { padding: 92px 0 14px; }
  .res-hero .container, .res-page .container { width: calc(100% - 24px); }
  .res-hero h1 { font-size: 19px; }
  .res-page { padding-top: 16px; }
  .res-panel:has(.res-view:not([hidden])) { padding: 16px 12px; }
  .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .res-viewer { padding: 0; }
  .res-viewer-box { height: 100%; border-radius: 0; }
  .res-viewer-bar { padding: 10px 10px 10px 14px; }
  .res-viewer-bar > div:first-child { min-width: 0; }
  .res-viewer-bar strong { font-size: 14px; }
  .res-viewer-actions { flex: none; gap: 6px; }
  .res-viewer-actions .btn { padding: 8px 12px; font-size: 12px; }
}
@media (max-width: 560px) { .res-grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer-top { background: var(--navy-2); color: var(--white); padding: 40px 0 38px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand img { height: 70px; width: auto; margin-bottom: 18px; }
.socials {
  display: inline-flex; gap: 14px; padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
}
.socials a { width: 22px; height: 22px; display: grid; place-items: center; background: var(--white); border-radius: 50%; }
.socials svg { width: 13px; height: 13px; fill: var(--navy-2); }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-cols li { font-size: 12px; opacity: .9; }
.footer-cols a:hover { text-decoration: underline; }
.footer-bottom { background: var(--blue); color: var(--white); padding: 18px 0 22px; font-size: 11px; line-height: 1.6; }
.footer-bottom strong { font-size: 12px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* menú en anchos medianos: sin cortes de línea y WhatsApp solo con icono */
.main-nav a { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 761px) {
  .header-inner { padding-inline: 24px; gap: 16px; }
  .header-logo img { height: 44px; }
  .main-nav a { font-size: 11.5px; }
  .hdr-wa { width: 40px; padding: 0; }
  .hdr-wa span { display: none; }
}
/* pantallas grandes: la foto ya no llega al borde, se desvanecen ambos lados */
@media (min-width: 1441px) {
  .hero-pets img {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 88%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 88%, transparent 100%);
  }
}
@media (max-width: 1020px) {
  .values-inner { width: min(1120px, 100% - 32px); min-height: 0; display: flex; flex-direction: column; }
  .values-pet-left, .values-pet-right { display: none; }
  .values-pet-mid { position: static; align-self: center; width: min(360px, 70%); margin-top: -40px; }
  .finder-box { grid-template-columns: 1fr auto; }
  .contact-actions { grid-column: 1 / -1; }
  .contact-actions .btn { flex: 1; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-inner { width: min(720px, 100% - 32px); }
  .steps-kicker { margin-left: 0; text-align: center; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .steps-pet { grid-column: 1 / -1; width: min(240px, 60%); justify-self: center; margin: 0; }
  .steps-arrow { display: none; }
  .step-4 { margin-top: 120px; }
  .step-4-photo { width: 70%; }
  .steps-row-2 { margin: 40px 0 0; gap: 28px; }
  .steps-photo { width: 46%; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .header-inner { padding-inline: 16px; }
  .header-actions { margin-left: auto; gap: 8px; }
  .hdr-btn { height: 38px; }
  .hdr-call { width: 38px; }
  .hdr-wa { width: 38px; padding: 0; }
  .hdr-wa span { display: none; }
  .nav-toggle { order: 3; }
  .header-logo img { height: 44px; }
  .nav-toggle {
    display: grid; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
  }
  .nav-toggle span { width: 24px; height: 3px; background: var(--white); border-radius: 2px; }
  .main-nav {
    position: absolute; top: 100%; left: 16px; right: 16px;
    flex-direction: column; gap: 0; background: var(--navy-3); border-radius: 10px; padding: 8px 18px;
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }

  .hero::after { width: 340px; height: 340px; border-width: 46px; right: -60px; top: auto; bottom: 20px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 90px; min-height: 0; }
  .hero-text { text-align: center; padding-bottom: 10px; }
  .hero-logo { margin-inline: auto; width: 260px; }
  .hero-title { padding-left: 0; }
  .hero-pets { margin-right: -16px; margin-left: -16px; }
  .hero-pets img { max-width: none; }
  .hero-pets .img-ph { min-height: 280px; }

  .values-inner { max-width: 360px; }
  .values-cards { grid-template-columns: 1fr; gap: 14px; }
  .value-card { min-height: 0; }
  .value-card-2 { margin-top: 0; }
  .value-card h3 { font-size: 24px; }
  .value-card p { font-size: 14px; }
  .values-pet-mid { margin-top: 10px; width: 80%; }

  .finder-box { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; text-align: center; }
  .finder-label { max-width: none; }
  .contact-phone { flex-direction: column; gap: 10px; padding-left: 0; border-left: 0; }
  .contact-actions { flex-direction: column-reverse; }

  .cards-grid { grid-template-columns: 1fr; max-width: 360px; }
  .svc-grid { grid-template-columns: 1fr 1fr; max-width: none; gap: 12px; }
  .svc-card .pet-card-body { padding: 12px 12px 14px; }
  .svc-card .pet-card-body h3 { font-size: 14px; }
  .svc-card .pet-card-tag { font-size: 14px; }
  .svc-card .chips { display: none; }
  .svc-special { font-size: 0; padding: 3px 7px; top: 8px; right: 8px; }
  .svc-special::before { content: "★"; font-size: 12px; }
  /* "Bajo cita" es corto: en celular se deja el texto completo */
  .svc-special-keep { font-size: 10px; padding: 4px 8px; }
  .svc-special-keep::before { content: none; }
  .svc-icon .pet-card-badge { width: 40px; top: 8px; left: 8px; }
  .svc-grid { row-gap: 44px; }
  .svc-card .svc-icon { width: 52px; height: 52px; top: -26px; border-width: 4px; }
  .svc-card .svc-icon svg { width: 24px; }
  .svc-card .pet-card-body { padding: 36px 10px 12px; }
  .svc-card .svc-special { margin-top: 34px; }
  .svc-card:has(.svc-special) .pet-card-body { padding-top: 8px; }
  .svc-card .pet-card-body h3 { font-size: 13px; }
  .section-sub { margin-top: -26px; font-size: 14px; }
  .steps-row { grid-template-columns: 1fr; text-align: center; }
  .step .step-num { margin-inline: auto; }
  .step-4 { margin-top: 150px; }
  .step-4-photo { width: 55%; }
  .step-2 { min-height: 0; }
  .step-3 { padding-left: 0; }
  .steps-row-2 { flex-direction: column; text-align: center; }
  .steps-photo { width: 80%; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-cols { gap: 28px; }
}
