/* Jerarquía de portada, catálogo y contacto. */
:root {
  --ink: #152e2b;
  --teal: #236456;
  --muted: #495e58;
  --mint: #edf5ef;
  --line: #dbe5dd;
  --paper: #fcfdfb;
}
header .bar { min-height: 4.55rem; }
header .bar nav a:last-child { background: #edf4ee; border-color: #d6e4d9; }
.home-hero {
  background: linear-gradient(125deg, #f9fbf6, #edf5eb);
  padding: clamp(1.5rem, 4.2vw, 4rem) 0 clamp(2rem, 4.5vw, 4.25rem);
}
.home-hero .hero-grid {
  grid-template-columns: .96fr 1.04fr;
  gap: clamp(1.75rem, 5vw, 4.75rem);
  background: none;
  color: var(--ink);
  border-radius: 0;
  overflow: visible;
}
.hero-copy { padding: clamp(.4rem, 1.8vw, 1.5rem) 0; }
.home-hero .kicker {
  font-weight: 720;
  color: #275b4e;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: .8rem;
  letter-spacing: .015em;
}
.home-hero h1 { max-width: 17ch; font-size: clamp(2.4rem, 4.8vw, 4.65rem); line-height: 1.01; }
.home-hero .lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.home-hero .button { color: white; background: var(--ink); }
.home-hero .button:hover { background: #26574f; }
.home-hero .secondary { color: var(--teal); }
.home-hero .hero-photo { min-width: 0; height: auto; }
.home-hero .hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.12;
  object-position: 48% center;
  border-radius: 1.1rem 5rem 1.1rem 1.1rem;
  box-shadow: 0 20px 50px #1d4b3620;
}
.benefits { background: #183a34; color: white; }
.benefits li { font-size: .95rem; }
.benefits li + li { border-color: #638279; }

.catalogue-heading h2 { max-width: none; }
.catalogue-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.3rem 0 2rem; }
.catalogue-nav a {
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 680;
  text-decoration: none;
}
.catalogue-nav a:hover { text-decoration: underline; text-underline-offset: .24em; }
.catalogue-group { scroll-margin-top: 1rem; }
.catalogue-group + .catalogue-group { margin-top: 2.8rem; }
.catalogue-group h3 { font-size: clamp(1.25rem,2.65vw,1.8rem); margin-bottom: .8rem; }
.catalogue-group .cards { margin-top: 0; }
.catalogue-group .cards article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  padding: clamp(1.12rem, 2.3vw, 1.6rem);
  box-shadow: 0 4px 18px #183a3409;
}
.catalogue-group .cards article:hover { border-color: #83a99a; }
.catalogue-group h4 { font-size: 1.2rem; letter-spacing: -.025em; line-height: 1.28; margin: 0 0 .6rem; }
.catalogue-group h4 a { color: var(--ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.catalogue-group .card-actions { border-top: 1px solid var(--line); padding-top: .8rem; gap: .6rem; }
.catalogue-group .tarifa { margin: 0; }
.catalogue-group .card-actions .button { background: #f1f6f2; }
.catalogue-group .card-actions .button:hover { background: #dcebe0; }

.coordination { background: #edf4ef; }
.coordination-photo img { border-radius: 1rem 4rem 1rem 1rem; }
.steps li::before { content: none; }
.step-number {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: #d5ecdf;
  color: #163b37;
  font-weight: 800;
}
.steps li:not(:last-child) { position: relative; }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.32rem;
  top: 3.35rem;
  bottom: -.4rem;
  border-left: 1px solid #b2cbbd;
}
.contact { background: #eaf3ed; }
.contact .contact-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(1.25rem,5vw,4rem); }
.contact-copy h2 { max-width: 16ch; }
.contact form, .subpage form { border-radius: 1.25rem; box-shadow: 0 14px 35px #1a3d3310; padding: clamp(1rem,3vw,2rem); }
.contact form input:not([type="checkbox"]), .contact form select { min-height: 44px; }
#contacto, #servicios { scroll-margin-top: 1rem; }
@media (max-width: 800px) {
  .home-hero .hero-grid, .contact .contact-grid { grid-template-columns: 1fr; }
  .home-hero .hero-image { aspect-ratio: 1.65; border-radius: 1rem 2.65rem 1rem 1rem; }
  .home-hero h1 { max-width: 18ch; }
}
@media (max-width: 420px) {
  .home-hero h1 { font-size: clamp(2.1rem, 8.3vw, 2.55rem); }
  .home-hero .actions { gap: .2rem 1rem; }
  .catalogue-nav { gap: .4rem; }
  .benefits li { padding-block: .27rem; }
}

/* Planos de color, luz y textura. El texto mantiene color sólido. */
.home-hero {
  background:
    radial-gradient(ellipse at 13% 17%, #fff 0%, #ffffff00 56%),
    radial-gradient(ellipse at 86% 27%, #b0d5c566 0%, #b0d5c500 53%),
    linear-gradient(138deg, #f5f8f0 14%, #e5f0e9 100%);
  overflow: clip;
}
.home-hero .kicker {
  color: #265b4e;
  border-bottom: 1px solid #2e736445;
  padding-bottom: .28rem;
}
.hero-title-accent {
  color: #286759;
  text-shadow: 0 1px 0 #ffffffb3;
}
.hero-photo,.coordination-photo { position: relative; isolation: isolate; }
.hero-photo::before,.coordination-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .8rem -.65rem -.65rem .65rem;
  border: 1px solid #37776442;
  border-radius: 1.25rem 5rem 1.25rem 1.25rem;
  background: linear-gradient(155deg, #f2fbf499, #8fbcab35);
  pointer-events: none;
}
.hero-photo::after,.coordination-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(155deg, #ffffff2b, #ffffff00 42%, #163b371c);
  pointer-events: none;
}
.hero-photo { border-radius: 1.1rem 5rem 1.1rem 1.1rem; }
.hero-photo .hero-image { box-shadow: 0 20px 46px #183a342b, 0 4px 10px #183a3412; }
.coordination-photo { border-radius: 1rem 4rem 1rem 1rem; }
.coordination-photo::before { border-top-right-radius: 4rem; }
.catalogue-group .cards article {
  background: linear-gradient(160deg, #fffffff5, #f0f7f2bf);
  box-shadow: 0 1px 2px #183a340b, 0 9px 24px #183a340d;
}
.catalogue-group .card-actions .button {
  background: #e6f3ebc9;
  box-shadow: inset 0 1px 0 #ffffffb3;
}
.review-section {
  background: radial-gradient(ellipse at 85% 0, #42776577, #42776500 67%), #183a34;
}
.review-grid li {
  border: 1px solid #fff9;
  background: linear-gradient(135deg, #fffffff7, #e8f4ecf2);
  box-shadow: 0 14px 28px #0d2f2936;
}
.contact {
  background: radial-gradient(ellipse at 78% 17%, #c3ded080 0%, #c3ded000 55%), #eef5ee;
}
.contact form {
  border-color: #fff;
  background: #ffffffe8;
  box-shadow: 0 18px 45px #1a3d331e, 0 2px 6px #1a3d3310;
}
@media (max-width: 800px) {
  .hero-photo,.hero-photo::before { border-top-right-radius: 2.65rem; }
  .hero-photo::before,.coordination-photo::before { inset: .55rem -.4rem -.4rem .4rem; }
}

/* Jerarquía editorial y paleta institucional. */
:root {
  --display: Cambria, Georgia, "Times New Roman", serif;
  --reading: "Segoe UI", system-ui, sans-serif;
  --ink: #20322d;
  --teal: #285b4c;
  --muted: #4d5e55;
  --line: #d7ded7;
  --mint: #eef2ed;
  --paper: #fcfcf9;
  --sand: #f4f2eb;
}
body { font-family: var(--reading); }
h1,h2,.category-heading h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.026em;
}
header .bar nav a:last-child { border-color: #c8d5cb; background: transparent; border-radius: .35rem; }
.home-hero { background: linear-gradient(110deg, #fcfcf9, #eeeee6); }
.home-hero .kicker { border-color: #a7957466; color: #394e43; }
.home-hero h1 { font-size: clamp(2.65rem, 5.05vw, 4.85rem); line-height: 1.04; max-width: 18ch; }
.hero-title-accent { color: #35574b; text-shadow: none; }
.home-hero .hero-image,.hero-photo,.hero-photo::before { border-radius: .45rem; }
.hero-photo::before { border-color: #a8957163; background: none; inset: .65rem -.65rem -.65rem .65rem; }
.hero-photo::after,.coordination-photo::after { background: linear-gradient(160deg, #fff0 65%, #182f2617); }
.hero-photo .hero-image { box-shadow: 0 14px 36px #192b211d; }
.button { border-radius: .42rem; }
.home-hero .button,.contact .button { background: #244d40; color: white; }
.home-hero .button:hover,.contact .button:hover { background: #173b30; }
.benefits { background: #243e35; padding: 1rem 0; }
.benefits li + li { border-color: #668073; }
.detail-sections h2 { font-family: var(--reading); font-weight: 700; }

.catalogue-nav { gap: 0 1.25rem; border-block: 1px solid var(--line); margin-bottom: 2.45rem; }
.catalogue-nav .category-link {
  background: transparent;
  border-radius: 0;
  padding: .5rem 0;
  color: var(--teal);
  min-height: 2.75rem;
  text-decoration: underline;
  text-decoration-color: #78968a;
  text-underline-offset: .25em;
}
.catalogue-group { padding-top: .85rem; border-top: 2px solid #7d9386; }
.catalogue-group + .catalogue-group { margin-top: clamp(2.6rem, 6vw, 4.75rem); }
.category-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .25rem .8rem;
  background: transparent;
  padding: 0;
  margin-bottom: 1.05rem;
}
.category-heading h3 { font-size: clamp(1.75rem, 3.35vw, 2.55rem); margin: 0; }
.catalogue-group .cards { gap: .85rem; }
.catalogue-group .cards article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .45rem;
  box-shadow: none;
}
.catalogue-group .cards article:hover { border-color: #94ab9d; }
.catalogue-group .card-actions .button {
  border-radius: .35rem;
  background: #eef2ed;
  border-color: #d9e3da;
  color: #23483b;
  box-shadow: none;
}
.catalogue-group .card-actions .button:hover { background: #e0ebe3; }
.coordination { background: var(--sand); }
.coordination-photo,.coordination-photo img,.coordination-photo::before { border-radius: .55rem; }
.coordination-photo::before { background: none; }
.step-number { background: #e8ede7; border-radius: .3rem; }
.coverage-areas { margin-block: .9rem 1rem; gap: .35rem .65rem; }
.coverage-areas li,.contact-coverage .coverage-areas li {
  padding: .14rem .15rem;
  border: 0;
  background: none;
  color: var(--ink);
}
.coverage-areas li::after { content: "·"; color: #6b8276; margin-left: .75rem; }
.coverage-areas li:last-child::after { content: none; }
.coverage-grid .coverage-areas { max-width: 36rem; }
.contact-coverage { padding: .9rem 0; margin: .7rem 0 1rem; border-block: 1px solid #cadbd1; }
.contact-coverage h3 { font-size: 1.05rem; }
.contact form,.subpage form { background: white; border: 1px solid var(--line); border-radius: .6rem; box-shadow: 0 10px 25px #1a3d330d; }
.review-section { background: #243e35; }
.review-grid li { background: #fafbf8; box-shadow: none; border-radius: .45rem; }
#mapa-cobertura { scroll-margin-top: 1rem; }
.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4.5vw, 4rem);
}
.service-hero-grid h1 { font-size: clamp(2.35rem, 4.4vw, 4.1rem); line-height: 1.04; }
.service-photo { margin: 0; min-width: 0; }
.service-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: .4rem;
}
@media (max-width: 800px) {
  .service-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .home-hero h1 { font-size: clamp(2.2rem, 9vw, 2.65rem); }
  .catalogue-nav { gap: 0 .9rem; }
  .category-heading { align-items: flex-start; flex-direction: column; }
}

.benefits { padding: clamp(1.7rem, 4vw, 3.15rem) 0; }
.benefits ul { text-align: left; }
.benefits li { padding: .3rem clamp(.8rem, 3.1vw, 2.2rem); }
.benefits li:first-child { padding-inline-start: 0; }
.benefits li:last-child { padding-inline-end: 0; }
.benefits strong {
  display: block;
  font: 400 clamp(1.5rem, 2.7vw, 2.25rem)/1.12 var(--display);
}
.benefits p { color: #e2ebe5; margin: .6rem 0 0; line-height: 1.45; font-weight: 400; }
@media (max-width: 650px) {
  .benefits ul { grid-template-columns: 1fr; }
  .benefits li { padding: .9rem 0; }
  .benefits li:first-child { padding-top: 0; }
  .benefits li:last-child { padding-bottom: 0; }
  .benefits li + li { border-inline-start: 0; border-top: 1px solid #668073; }
}
/* Tokens de interfaz compartidos por portada, fichas y contacto. */
:root {
  --brand-deep: #153b39;
  --brand-teal: #2b827e;
  --brand-sage: #508d89;
  --brand-mint: #d8eee8;
  --brand-rose: #e1cdda;
  --brand-white: #f4f4f8;
  --ink: #38665f;
  --teal: #327068;
  --muted: #48655f;
  --brand-logo: #416d66;
  --surface-default: #ffffff;
  --action-primary: #1d625d;
  --action-hover: #154e4a;
  --corner-control: .42rem;
  --corner-panel: .6rem;
  --target-touch: 44px;
  --space-unit: .75rem;
}
h1,h2,.category-heading h3 {
  font-family: var(--reading);
  font-weight: 700;
  letter-spacing: -.035em;
}
.home-hero {
  background: radial-gradient(ellipse at 80% 24%, #d8eee899, transparent 53%), #f9fbfa;
}
.home-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.home-hero .kicker { color: var(--teal); border-color: var(--brand-rose); }
.hero-title-accent { color: var(--teal); }
.hero-photo::before { border-color: #508d8966; }
.home-hero .button,.contact .button { background: var(--action-primary); }
.home-hero .button:hover,.contact .button:hover { background: var(--action-hover); }
.benefits { background: var(--brand-deep); }
.review-section { background: #f0f8f5; color: var(--ink); }
.review-section .section-label,.review-source a { color: var(--action-primary); }
.review-rating span,.review-source { color: var(--muted); }
.benefits strong {
  font-family: var(--reading);
  font-weight: 650;
  letter-spacing: -.025em;
}
.catalogue-group { border-top-color: var(--brand-teal); }
.review-grid li { background: var(--surface-default); border: 1px solid var(--brand-mint); }
.coordination,.detail { background: #f0f8f5; }
.step-number { background: var(--brand-mint); }
.contact {
  background: radial-gradient(ellipse at 80% 20%, #d8eee899, transparent 53%), #f4f9f7;
}
.button {
  min-height: var(--target-touch);
  border-radius: var(--corner-control);
  background: var(--action-primary);
}
.button:hover { background: var(--action-hover); }
.catalogue-group .cards article,.contact form,.subpage form {
  background: var(--surface-default);
  border-radius: var(--corner-panel);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .9rem;
}
.breadcrumb li + li::before { content: "/"; margin-right: .6rem; color: var(--muted); }
.breadcrumb [aria-current] { color: var(--muted); }
.service-intro h1 { font-size: clamp(2.35rem, 4.4vw, 4.1rem); line-height: 1.04; }
.service-intro .lead { max-width: 65ch; }
#solicitud { scroll-margin-top: var(--space-unit); }
@media (max-width: 420px) {
  .home-hero h1 { font-size: clamp(2.1rem, 8.1vw, 2.5rem); }
}

/* Composición de portada y fichas, mantenida como sistema común. */
.home-hero {
  position: relative;
  isolation: isolate;
  --hero-contrast: #285a54;
  background: var(--hero-contrast);
  padding: 0;
}
.home-hero .hero-grid {
  display: block;
  min-height: clamp(32rem, 53vw, 43rem);
  color: white;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(55%, 39rem);
  padding: clamp(3rem,7vw,6.2rem) 0;
}
.home-hero .kicker { color: #ddf4ed; border-color: #e1cdda80; }
.home-hero h1 { font-size: clamp(2.7rem,5.2vw,4.65rem); }
.home-hero .hero-title-accent { color: #c6e8df; }
.home-hero .lead { color: #eef7f4; }
.home-hero .button { background: #e2f2ec; color: var(--brand-deep); }
.home-hero .button:hover { background: #c5e7db; }
.home-hero .secondary { color: white; }
.home-hero .hero-photo {
  position: absolute;
  inset: 0 0 0 38%;
  z-index: 0;
  border-radius: 0;
  height: 100%;
}
.home-hero .hero-image { height: 100%; aspect-ratio: auto; border-radius: 0; object-position: 56% center; box-shadow: none; }
.home-hero .hero-photo::before { content: none; }
.home-hero .hero-photo::after {
  border-radius: 0;
  background: linear-gradient(90deg, var(--hero-contrast) 0%, #285a54d9 13%, #285a54a6 26%, #285a5426 46%, transparent 65%);
}
.home-hero a:focus-visible { outline-color: white; }
.benefits { background: #edf7f3; color: var(--brand-deep); border-bottom: 1px solid #cadfd7; }
.benefits p { color: var(--muted); }
.benefits li + li { border-color: #adc9be; }

.catalogue-group .cards {
  display: block;
  border-top: 1px solid var(--line);
}
.catalogue-group .cards article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, .42fr);
  gap: .65rem 2rem;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(1rem,2.4vw,1.65rem) 0;
  background: transparent;
}
.service-summary p { max-width: 65ch; margin: 0; }
.catalogue-group .card-actions { border: 0; padding-top: 0; margin-top: 0; align-items: flex-start; }
.catalogue-group .card-actions .button { padding-inline: .8rem; }

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, .85fr);
  align-items: start;
  gap: 1.5rem clamp(1.5rem, 5vw, 4.5rem);
}
.service-layout .breadcrumb { grid-column: 1 / -1; }
.service-layout h1 { margin-top: 0; font-size: clamp(2.25rem,4.5vw,4.1rem); }
.service-booking { padding: clamp(1rem,3vw,1.55rem); background: #fff; border: 1px solid #c8ddd4; border-radius: var(--corner-panel); }
.service-booking h2 { font-size: 1.15rem; margin-bottom: .7rem; }
.service-booking .tarifa { font-size: 1.25rem; }
.service-booking .tarifas-nota { font-size: .88rem; margin-top: 0; }
.service-layout .service-photo { grid-column: 1 / -1; max-width: 42rem; width: 100%; }
.service-faq details { max-width: 52rem; }

@media (max-width: 800px) {
  .home-hero .hero-grid { min-height: 0; }
  .hero-copy { width: 100%; padding: 2rem 0 1.1rem; }
  .home-hero h1 { max-width: 20ch; font-size: clamp(2.1rem,7vw,3.45rem); }
  .home-hero .hero-photo { position: relative; inset: auto; height: auto; margin-inline: calc((100% - 100vw)/2); }
  .home-hero .hero-image { aspect-ratio: 16 / 9; height: auto; }
  .home-hero .hero-photo::after { background: linear-gradient(180deg, var(--hero-contrast) 0%, #285a5426 17%, transparent 32%); }
  .service-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .catalogue-group .cards article { grid-template-columns: 1fr; }
  .catalogue-group .card-actions { align-items: center; flex-direction: row; }
}

/* Contenido y contacto de fichas individuales. */
.service-layout .service-heading h1 { max-width: 24ch; }
.service-booking .tarifas-nota { margin-bottom: .85rem; }
.service-section { padding-block: clamp(1.6rem,4vw,3.25rem); }
.service-section h2,.service-contact h2 { font-size: clamp(1.65rem,3.6vw,2.5rem); }
.service-help p,.service-note p,.service-faq p { max-width: 70ch; }
.service-help-with-photo {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.68fr);
  gap: clamp(1rem,4vw,3rem);
  align-items: center;
}
.service-help-with-photo .service-photo { width: min(100%, 14rem); }
.service-help-with-photo .service-photo img { aspect-ratio: 16/9; object-position: center 38%; }
.service-gallery {
  display: flex;
  justify-content: flex-start;
  gap: clamp(.45rem,1.2vw,.85rem);
}
.service-gallery img {
  display: block;
  flex: 1 1 0;
  width: 0;
  max-width: 5.5rem;
  height: auto;
  aspect-ratio: 3 / 4;
  align-self: flex-start;
  border-radius: var(--corner-panel);
}
.service-process { background: #f0f8f5; }
.service-stages {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.75rem,2.4vw,1.5rem);
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.service-stages li { background: white; border: 1px solid var(--line); border-radius: var(--corner-panel); padding: 1rem; }
.service-stages h3,.service-note h3 { font-size: 1.14rem; }
.service-stages p,.service-note p { margin-bottom: 0; }
.service-note { border-inline-start: 3px solid #9cc4b8; padding: .65rem .85rem; margin-top: 1rem; }
.service-note-urgent { border-color: #9c6046; background: #fff7f1; }
.service-faq summary { min-height: 44px; }
.service-area { padding-block: 1.25rem; border-block: 1px solid var(--line); }
.service-area h2 { font-size: 1.15rem; }
.service-area p { margin-bottom: .35rem; }
.service-related ul { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; padding-inline-start: 1.1rem; }
.service-contact { padding-block: clamp(1.6rem,4vw,3.5rem); background: #edf7f3; }
.service-request input:not([type="checkbox"]),.service-request select { min-height: 44px; }
@media (max-width: 720px) {
  .service-help-with-photo,.service-stages { grid-template-columns: minmax(0,1fr); }
  .service-layout { gap: 1rem; }
}
/* Presentación del equipo profesional. */
.team-page h1 { max-width: none; }
.team-page > .lead { margin-bottom: 2rem; max-width: 62ch; }
.team-roster + .team-roster { margin-top: clamp(2.4rem,5vw,4.25rem); }
.team-purpose {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 clamp(2rem,4vw,3.25rem);
  padding: clamp(1rem,3vw,2rem);
  background: #f0f8f5;
  border-radius: var(--corner-panel);
}
.team-purpose h2 { font-size: 1.35rem; margin: 0 0 .45rem; }
.team-purpose p { margin: 0; }
.team-roster h2 { padding-top: .85rem; border-top: 2px solid var(--brand-teal); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.85rem,2.6vw,1.7rem);
}
.team-profile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--corner-panel);
  overflow: hidden;
  scroll-margin-top: 1rem;
  background: var(--surface-default);
}
.team-profile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.45; object-fit: cover; object-position: center 24%; }
.team-profile-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1rem,2vw,1.5rem); }
.team-profile-copy h3 { font-size: 1.45rem; }
.team-profile-role { color: var(--teal); font-weight: 700; }
.team-profile-copy a { margin-top: auto; min-height: 44px; }
.team-preview-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.team-preview-list img { display: block; width: 100%; max-width: 130px; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 24%; border-radius: var(--corner-panel); margin-bottom: .4rem; }
.team-preview-list span { display: block; color: var(--muted); font-size: .92rem; }
@media(max-width:900px) {
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px) {
  .team-grid { grid-template-columns: minmax(0,1fr); }
}

/* Tipografía FisioKined, alojada localmente. */
@font-face {
  font-family: Anton;
  src: url("assets/fuente-anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "League Spartan";
  src: url("assets/fuente-league-spartan.woff2") format("woff2");
  font-weight: 600 800;
  font-display: optional;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("assets/fuente-bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Roboto;
  src: url("assets/fuente-roboto.woff2") format("woff2");
  font-weight: 400 800;
  font-display: optional;
}
:root {
  --reading: Roboto, "Segoe UI", system-ui, sans-serif;
  --display: "League Spartan", "Segoe UI", system-ui, sans-serif;
}
body { font-family: var(--reading); }
h1 {
  font-family: Anton, "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.12;
}
h2,h3,h4,.category-heading h3,.detail-sections h2,.benefits strong {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.015em;
}
.kicker,.section-label {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .07em;
}
.home-hero .kicker { font-weight: 400; letter-spacing: .07em; }


.home-hero ~ #cobertura .coverage-areas {
  display: grid;
  gap: .28rem;
  padding: .2rem 0 .2rem .9rem;
  border-inline-start: 2px solid var(--brand-mint);
}
.home-hero ~ #cobertura .coverage-areas li {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  padding: .1rem 0;
  font-weight: 600;
}
.home-hero ~ #cobertura .coverage-areas li::before {
  content: "";
  align-self: center;
  flex: 0 0 .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--brand-sage);
}
.home-hero ~ #cobertura .coverage-areas li::after { content: none; }

/* Retratos del equipo con navegación progresiva. */
.team-carousel { min-width: 0; overflow: clip; }
.team-carousel:focus-within { overflow-clip-margin: 6px; }
.team-carousel .team-preview-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(8.2rem, 1fr);
  gap: .8rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .3rem;
  padding: .25rem .3rem .8rem;
}
.team-carousel .team-preview-list::-webkit-scrollbar { display: none; }
.team-carousel .team-preview-list.team-carousel-loop { scroll-snap-type: none; scroll-behavior: auto; }
.team-carousel .team-preview-list li { min-width: 0; scroll-snap-align: start; }
.team-carousel .team-preview-list a { display: block; }
.team-carousel .team-preview-list img { max-width: none; }
.team-carousel-controls:not([hidden]) { display: flex; justify-content: center; gap: .5rem; }
.team-carousel-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  background: var(--brand-white);
  cursor: pointer;
}
.team-carousel-controls button:hover { background: #eaf4f0; }
.team-carousel-controls button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.team-carousel-controls span {
  width: .55rem;
  height: .55rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateX(-1px) rotate(-45deg);
}
.team-carousel-controls button:first-child span { transform: translateX(1px) rotate(135deg); }

@media (max-width: 640px) {
  .home-hero .hero-copy { padding-block: 1.5rem; }
  .home-hero .hero-image { aspect-ratio: 2 / 1; }
  .catalogue .catalogue-nav,.catalogue .tarifas-nota,.catalogue .catalogue-group > a,
  .catalogue .service-summary p,.catalogue .card-actions,
  body[data-page="index"] .contact .contact-coverage { display: none; }
  .catalogue .catalogue-group { margin-block: .55rem; padding: 0; }
  .catalogue .category-heading { min-height: 48px; padding: .75rem; }
  .catalogue .category-heading h3 { margin: 0; font-size: 1.2rem; }
  .catalogue-group .cards { gap: 0; padding: 0 .75rem .5rem; }
  .catalogue-group .cards article {
    padding: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }
  .catalogue-group .service-summary h4 { margin: 0; }
  .catalogue-group .service-summary a { display: flex; align-items: center; min-height: 44px; }
  .benefits li { padding-block: .5rem; }
  .benefits li p { margin-top: .25rem; }
}

/* Cabecera y composición clínica compartidas. */
header .bar { flex-direction: row; align-items: center; min-height: 4.5rem; }
header .bar .brand { padding: 0; margin-right: auto; }
header .bar .brand img { width: clamp(7.25rem, 12vw, 10rem); height: auto; filter: none; }
header .bar nav a:last-child { background: transparent; border-color: transparent; }
.header-contact, .mobile-nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .75rem;
  font-weight: 700;
  border-radius: .45rem;
}
.header-contact { background: var(--brand-deep); color: white; text-decoration: none; }
.header-contact:hover { text-decoration: underline; }
.mobile-nav { display: none; }

h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.01; }
.home-hero { background: #edf7f3; }
.home-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  min-height: 0;
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
  gap: clamp(1rem, 4vw, 3.5rem);
  color: var(--brand-deep);
}
.home-hero .hero-copy { width: auto; padding: 0; }
.home-hero h1 { max-width: 12ch; font-size: clamp(2.55rem, 5.2vw, 5.25rem); }
.home-hero .kicker { color: var(--brand-deep); border-color: var(--brand-sage); }
.home-hero .lead { color: var(--muted); }
.home-hero .button { background: var(--brand-deep); color: white; }
.home-hero .button:hover { background: #285a54; }
.home-hero .hero-photo { position: static; height: auto; margin: 0; }
.home-hero .hero-photo::after { content: none; }
.home-hero .hero-image { display: block; height: auto; aspect-ratio: 4 / 3; border-radius: .85rem; object-position: center 43%; }
.home-hero a:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 3px solid #a45118; outline-offset: 3px; }
.quick-services { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; padding-top: 1rem; }
.quick-services a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .35rem;
  min-height: 54px;
  padding: .6rem .8rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 700;
}
.quick-services a:hover { background: #edf7f3; text-decoration: underline; }
.quick-services + .catalogue { padding-top: clamp(2rem, 4vw, 3.5rem); }
.service-layout h1 { font-size: clamp(2.15rem, 4.2vw, 4rem); overflow-wrap: break-word; }
.service-booking .tarifa { color: var(--brand-deep); font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.service-professional { display: flex; align-items: center; gap: .75rem; }
.service-professionals { display: grid; gap: 1rem; grid-column: 1 / -1; }
.service-professionals:has(.service-professional:nth-child(2)) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.service-professional img {
  flex: none;
  width: 2.75rem;
  height: 3.4375rem;
  object-fit: cover;
  object-position: center 25%;
  background: var(--brand-mint);
  border-radius: .55rem;
}
.service-professional p { margin: 0; }
.nursing-procedures { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; padding: 0; list-style: none; margin-bottom: 1.75rem; }
.nursing-procedures li { background: #edf7f3; padding: .8rem 1rem; border-radius: .55rem; }
.team-profile img { background: #edf7f3; }
.team-purpose { margin-top: 2rem; }
.contact-page { align-items: start; }
body[data-page="cobertura"] main { background: #edf7f3; }
body[data-page="cobertura"] .coverage { padding-bottom: 0; }
#solicitud h2, #solicitud h3 { margin: 0; font-size: 1.5rem; }
.field-error { color: #8e2424; font-weight: 600; }
.field-error:empty { display: none; }

@media (max-width: 850px) {
  header .bar .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; margin: 0; padding: 0; border: 0; background: transparent; }
  .mobile-nav summary { cursor: pointer; color: var(--brand-deep); }
  .mobile-nav nav {
    position: absolute;
    right: 0;
    z-index: 4;
    display: grid;
    gap: 0;
    width: min(14rem, 65vw);
    padding: .35rem;
    background: white;
    border: 1px solid var(--line);
    border-radius: .55rem;
    box-shadow: 0 12px 28px #153b3921;
  }
  .mobile-nav nav a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 800px) {
  .home-hero .hero-grid { grid-template-columns: minmax(0,1fr); }
  .home-hero .hero-image { aspect-ratio: 16 / 9; }
  .home-hero h1 { max-width: 16ch; }
}
@media (max-width: 640px) {
  .quick-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-professionals:has(.service-professional:nth-child(2)) { grid-template-columns: minmax(0,1fr); }
  .nursing-procedures { grid-template-columns: 1fr; gap: .5rem; }
  .catalogue .service-summary p, .catalogue .card-actions { display: block; }
  .catalogue .card-actions { display: flex; margin-bottom: .75rem; }
  .catalogue-group .cards article { gap: .4rem; }
}
