:root{color-scheme:light;--ink:#17343c;--teal:#00665c;--mint:#e9f5f1;--line:#d6e6e1;--muted:#36565d}*{box-sizing:border-box}body{margin:0;font:1rem/1.6 system-ui,sans-serif;color:var(--ink);background:#fff}a{color:var(--teal)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a45118;outline-offset:4px}.skip{position:absolute;left:1rem;transform:translateY(-150%);background:white;padding:.5rem}.skip:focus{transform:none}.wrap{width:min(1120px,calc(100% - 2.5rem));margin-inline:auto}.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.6rem}.bar img{display:block;width:132px;height:auto}.bar nav{display:flex;gap:clamp(.65rem,3vw,2rem);flex-wrap:wrap}.bar a,.secondary{font-weight:650}.hero{background:var(--mint);padding:clamp(2rem,6vw,5rem) 0}.hero-grid,.contact-grid{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:clamp(1.5rem,5vw,4rem)}.kicker{font-weight:750;color:var(--teal);margin:0 0 .6rem}h1,h2,h3{line-height:1.14;margin:0 0 .8rem;letter-spacing:-.025em}h1{font-size:clamp(2.2rem,4.8vw,4rem);max-width:16ch}h2{font-size:clamp(1.6rem,3.4vw,2.6rem)}h3{font-size:1.28rem}p{margin:0 0 1rem}.lead{font-size:1.14rem;max-width:48ch}.hero-image{width:100%;aspect-ratio:5/4;object-fit:cover;object-position:center;border-radius:1.1rem}.actions,.card-actions{display:flex;align-items:center;gap:.8rem 1rem;flex-wrap:wrap}.button{display:inline-block;padding:.65rem 1rem;border:1px solid transparent;border-radius:.55rem;background:var(--teal);color:white;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}.button:hover{background:#004d45}.button:disabled{opacity:.55;cursor:default}.services,.coverage,.detail-sections,.contact{padding-block:clamp(2.5rem,6vw,4.8rem)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.45rem}.cards article{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:.9rem;padding:1.2rem}.cards p{color:var(--muted)}.card-actions{margin-top:auto}.coverage{border-top:1px solid var(--line)}.areas{padding:0;display:flex;flex-wrap:wrap;gap:.55rem;list-style:none}.areas li{background:var(--mint);padding:.35rem .8rem;border-radius:.45rem}.contact{background:var(--mint)}.contact-grid{align-items:start}.contact .actions{margin-bottom:1rem}form{background:white;border:1px solid var(--line);border-radius:.9rem;padding:1.2rem;display:grid;gap:.65rem}label{display:grid;font-weight:650;gap:.15rem}input,select{font:inherit;min-width:0;width:100%;padding:.45rem;border:1px solid #819d99;border-radius:.35rem}#estado:empty{display:none}.detail h1{margin-top:1rem;max-width:24ch}.detail-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.detail-sections h2{font-size:1.35rem}footer{border-top:1px solid var(--line)}@media(max-width:850px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.hero-grid,.contact-grid,.detail-sections{grid-template-columns:1fr}.bar img{width:88px}.bar nav a{font-size:.9rem}.bar{gap:.6rem}.hero-image{aspect-ratio:16/10}.cards{grid-template-columns:1fr}footer .bar{flex-wrap:wrap;padding-block:.7rem}}
.bar > a:has(img){background:#17423f;border-radius:.5rem;padding:.1rem .45rem}
:root{--ink:#204745;--teal:#2f6966;--mint:#eef6f3;--line:#d6e6e1}
.bar > a:has(img){background:#204745}
.button:hover{background:#204745}
.bar a,.secondary,.button,summary{min-height:24px}
.bar a:not(:has(img)),.secondary{display:inline-flex;align-items:center}
footer .bar{flex-wrap:wrap;padding-block:.8rem}
.consent{display:flex;align-items:start;gap:.65rem;font-weight:500}
.consent input{margin:.25rem 0 0;width:1.15rem;height:1.15rem;flex:none}
.trap{display:none}
.subpage{max-width:740px}
.subpage .actions{margin-block:1rem}
.steps{padding-inline-start:1.3rem}
.steps li{padding-block:.2rem}
details{border-top:1px solid var(--line);padding:.8rem 0}
details summary{cursor:pointer;font-weight:650}
details p{margin-top:.6rem}
@media(max-width:350px){header .bar{flex-wrap:wrap;justify-content:center;padding-block:.4rem}}
textarea{font:inherit;width:100%;resize:vertical;border:1px solid #819d99;border-radius:.35rem;padding:.45rem}textarea:focus-visible{outline:3px solid #a45118;outline-offset:4px}#nota-mensaje{margin:0;color:var(--muted)}
.secondary-links{margin-top:1.2rem}
.tarifa{font-size:1.1rem;font-weight:750;color:var(--ink)}
.cards .tarifa{color:var(--ink)}
.tarifas-nota{margin-top:1rem;color:var(--muted);max-width:72ch}
.benefits{padding-top:1.25rem}
@media(max-width:650px){header .bar{flex-direction:column;align-items:flex-start;padding-block:.65rem;gap:.45rem}header .bar nav{gap:.25rem .65rem}}

/* FisioKined · dirección visual de atención en casa */
:root {
  --ink: #204745;
  --teal: #2f6966;
  --muted: #415953;
  --mint: #eaf2ee;
  --line: #d9e4db;
  --paper: #faf7f0;
  --blush: #f8e2dd;
  --display: Georgia, "Times New Roman", serif;
}

body { background: var(--paper); }
.wrap { width: min(1180px, calc(100% - 2.5rem)); }
header { background: #fffdf8; border-bottom: 1px solid var(--line); }
header .bar { min-height: 5.25rem; }
header .bar .brand { border-radius: .6rem; padding: .27rem .65rem; }
header .bar img { width: 115px; }
header .bar nav { gap: .5rem clamp(.65rem, 2.1vw, 1.8rem); }
header .bar nav a {
  color: var(--ink);
  font-size: .94rem;
  text-decoration: none;
  min-height: 2rem;
}
header .bar nav a:hover { text-decoration: underline; }
header .bar nav a:last-child {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .8rem;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.036em;
}
h2 { font-size: clamp(2rem, 4.1vw, 3.35rem); }
.home-hero { background: var(--paper); padding: clamp(2rem, 5vw, 4.75rem) 0; }
.home-hero .hero-grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.home-hero h1 {
  font-size: clamp(2.65rem, 5.15vw, 5rem);
  max-width: 14ch;
  line-height: 1.02;
  margin-bottom: 1.25rem;
}
.kicker {
  display: inline-block;
  padding: .3rem .75rem;
  margin-bottom: 1rem;
  border: 1px solid #edccc4;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink);
  font-size: .875rem;
}
.lead { color: var(--muted); line-height: 1.62; }
.hero-photo { margin: 0; }
.hero-image {
  display: block;
  height: auto;
  aspect-ratio: 5 / 5.2;
  border-radius: 7rem 1.4rem 1.4rem 1.4rem;
  object-position: 48% center;
}
.button {
  padding: .72rem 1.12rem;
  border-radius: 999px;
  min-height: 44px;
  background: var(--ink);
}
.button:hover { background: #153331; }
.home-hero .secondary { min-height: 44px; text-underline-offset: .28em; }
.benefits {
  padding: 1.2rem 0;
  background: var(--ink);
  color: white;
}
.benefits ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.benefits li { padding: .35rem .65rem; font-weight: 650; }
.benefits li + li { border-inline-start: 1px solid #8ba9a1; }

.catalogue h2 { max-width: 22ch; }
.cards { gap: 1.1rem; }
.cards article {
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  background: #fffdf8;
  border-radius: 1.1rem;
  box-shadow: 0 3px 15px #20474509;
  overflow-wrap: anywhere;
}
.cards article:nth-child(-n+6) { border-top: 4px solid #83aaa0; }
.cards h3 { font-size: clamp(1.22rem, 2vw, 1.45rem); }
.cards .tarifa { font-size: 1rem; }
.card-actions { align-items: flex-start; flex-direction: column; gap: .45rem; }
.card-actions .secondary { min-height: 2rem; text-underline-offset: .24em; }
.card-actions .button {
  background: var(--mint);
  border: 1px solid #c3d8cf;
  color: var(--ink);
  font-size: .95rem;
}
.card-actions .button:hover { background: #d8e9e0; }
.coordination { border-top: 1px solid var(--line); }
.detail { background: var(--mint); }
.detail-sections h2 { font-family: inherit; font-weight: 700; letter-spacing: -.018em; }
.areas li { border-radius: 999px; }
.contact { background: var(--mint); }
footer { background: var(--ink); color: white; }
footer a { color: white; text-underline-offset: .2em; }
footer a:focus-visible { outline-color: #fff; }
summary:focus-visible { outline: 3px solid #a45118; outline-offset: 4px; }

@media (max-width: 760px) {
  .home-hero .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .home-hero h1 { max-width: 15ch; }
  .hero-image { aspect-ratio: 5 / 3.5; border-radius: 3rem 1rem 1rem 1rem; }
  header .bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 2rem); }
  .home-hero h1 { font-size: clamp(2.33rem, 8vw, 2.7rem); }
  .benefits ul { grid-template-columns: 1fr; text-align: left; }
  .benefits li { padding-inline: 0; }
  .benefits li + li { border-inline-start: 0; }
}

/* Portada clínica y navegación de contacto */
:root {
  --paper: #fff;
  --ink: #163b37;
  --teal: #22675d;
  --mint: #edf5f1;
  --line: #dbe8e2;
  --muted: #455e58;
  --display: system-ui, sans-serif;
}
header { background: white; }
header .bar .brand {
  background: transparent;
  padding: .15rem 0;
}
header .bar .brand img {
  width: 140px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(29%) saturate(831%) hue-rotate(119deg) brightness(92%) contrast(93%);
}
h1, h2 { font-weight: 750; letter-spacing: -.045em; }
.home-hero { background: #eaf4ee; padding: clamp(1.5rem,4vw,3.25rem) 0; }
.home-hero .hero-grid {
  background: #163b37;
  color: white;
  border-radius: 1.65rem;
  overflow: hidden;
  grid-template-columns: 1.06fr 1fr;
  gap: 0;
}
.hero-copy { padding: clamp(1.6rem,4.7vw,4.3rem); }
.home-hero h1 { font-size: clamp(2.5rem,4.6vw,4.35rem); max-width: 15ch; }
.home-hero .lead { color: #e3eee9; }
.home-hero .kicker { background: #d4eddc; border-color: transparent; }
.home-hero .hero-photo { height: 100%; min-height: 0; }
.home-hero .hero-image { height: 100%; aspect-ratio: auto; border-radius: 0; object-position: 47% center; }
.home-hero .button { background: #c6edb7; color: #143a2c; }
.home-hero .button:hover { background: #d9f2ce; }
.home-hero .secondary { color: white; }
.benefits { background: #f1f7f4; color: var(--ink); border-bottom: 1px solid var(--line); }
.benefits li + li { border-color: var(--line); }
.catalogue-heading,.review-intro { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; }
.catalogue-heading h2 { margin-bottom: 0; }
.cards article { background: #fff; box-shadow: 0 6px 20px #163b3710; }
.cards article:nth-child(-n+6) { background: #f5faf7; border-top-color: #48a68d; }
.section-label { color: var(--teal); font-size: .9rem; font-weight: 750; }
.coordination { padding: clamp(2.5rem,6vw,5rem) 0; background: #f2f8f5; }
.coordination-grid,.coverage-grid,.team-section {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: center;
  gap: clamp(1.5rem,5vw,4.4rem);
}
.coordination-photo { margin: 0; }
.coordination-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 1.25rem; }
.steps { list-style: none; padding: 0; counter-reset: visit; }
.steps li { display: grid; grid-template-columns: 2.7rem 1fr; gap: .85rem; padding: .55rem 0; counter-increment: visit; }
.steps li::before { content: counter(visit); display: grid; place-items: center; background: #d5ecdf; color: #163b37; border-radius: 50%; height: 2.7rem; font-weight: 800; }
.steps p { margin: .1rem 0 0; color: var(--muted); }
.service-map { margin: 0; min-width: 0; }
.service-map figcaption { margin-top: .55rem; color: var(--muted); font-size: .88rem; }
.map-board { position: relative; isolation: isolate; min-height: 19rem; border: 1px solid #c7ddd4; border-radius: 1.2rem; overflow: hidden; background: #edf4e5; }
.map-bay,.map-river { position: absolute; inset: 0; background: #cbe6ee; pointer-events: none; }
.map-bay { clip-path: polygon(0 0,100% 0,100% 12%,77% 20%,69% 32%,55% 39%,43% 29%,37% 15%,27% 23%,24% 47%,14% 62%,0 65%); }
.map-river { clip-path: polygon(0 67%,16% 65%,31% 75%,51% 82%,59% 100%,64% 100%,55% 79%,30% 70%,16% 61%,0 63%); }
.map-water-label,.map-north { position: absolute; top: 5%; color: #2b5661; font-size: .73rem; font-weight: 700; }
.map-water-label { left: 42%; }
.map-north { left: 5%; }
.map-pins { margin: 0; padding: 0; list-style: none; }
.map-pin { position: absolute; transform: translate(-50%,-50%); }
.map-pin a { display: inline-flex; align-items: center; gap: .28rem; white-space: nowrap; background: #fff; color: var(--ink); border: 1px solid #c0d8cc; padding: .35rem .5rem; border-radius: 999px; font-size: clamp(.71rem,1.4vw,.9rem); font-weight: 750; }
.map-pin a::before { content: ''; width: .48rem; height: .48rem; flex: none; border-radius: 50%; background: #297c68; }
.map-pin.talcahuano { left: 28%; top: 35%; }
.map-pin.hualpen { left: 31%; top: 57%; }
.map-pin.penco { left: 70%; top: 40%; }
.map-pin.lirquen { left: 83%; top: 23%; }
.map-pin.concepcion { left: 64%; top: 64%; }
.map-pin.san-pedro { left: 29%; top: 85%; }
.map-pin.chiguayante { left: 76%; top: 87%; }
.team-roles,.review-grid { margin: 0; padding: 0; list-style: none; display: grid; gap: .65rem; }
.team-roles { grid-template-columns: repeat(2,minmax(0,1fr)); }
.team-roles li { padding: .65rem .8rem; background: var(--mint); border-radius: .7rem; font-weight: 650; }
.review-section { padding: clamp(2.5rem,6vw,5rem) 0; background: #163b37; color: white; }
.review-intro h2 { margin-bottom: 0; }
.review-section .section-label { color: #c6edb7; }
.review-rating { margin: 0; }
.review-rating strong,.review-rating span { display: block; }
.review-rating strong { font-size: 1.5rem; }
.review-rating span { font-size: .9rem; color: #d8e8e1; }
.review-grid { margin-top: 1.7rem; grid-template-columns: repeat(3,minmax(0,1fr)); }
.review-grid li { padding: 1.2rem; color: var(--ink); background: #f6faf8; border-radius: .9rem; }
.review-grid p { margin: 0; }
.review-source { margin: 1.1rem 0 0; color: #e1eee6; }
.review-source a { color: white; }
.field-hint { color: var(--muted); margin: 0; font-size: .88rem; }
.field-hint:empty { display: none; }
@media (max-width: 800px) {
  .home-hero .hero-grid,.coordination-grid,.coverage-grid,.team-section { grid-template-columns: 1fr; }
  .home-hero .hero-image { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .coordination-photo { order: 2; }
}
@media (max-width: 560px) {
  .home-hero h1 { font-size: clamp(2rem,8vw,2.7rem); }
  .home-hero .actions { gap: .3rem .85rem; }
  .review-grid { grid-template-columns: 1fr; }
  .map-board { min-height: 16rem; }
  .map-pin a { padding: .3rem .36rem; }
}
