/* /administracion v2: cada sección con su propia composición. */

/* hero: what the service includes, under the words */
.incluye { list-style: none; margin: var(--s-7) 0 0; padding: var(--s-5) 0 0; border-top: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-5); max-width: 560px; }
.incluye li { display: flex; align-items: center; gap: var(--s-3); color: #e4ebf4; font-size: 16px; line-height: 1.35; }
.incluye li::before { content: ""; width: 14px; height: 2px; background: var(--b-coral-on-navy); flex: none; }
.b-hero h1 { font-size: clamp(36px, 3.4vw, 50px); }

/* 01 fee: the big number, editorial */
#tarifa h2 { margin: 0 0 var(--s-6); }
.fee-big { margin: 0 0 var(--s-5); display: grid; gap: var(--s-3); }
.fee-big__n { font: 800 clamp(120px, 16vw, 240px)/.85 var(--font-display); font-stretch: 125%; letter-spacing: -0.05em; color: var(--ink); }
.fee-big__t { font: 500 clamp(20px, 1.8vw, 26px)/1.3 var(--font-text); color: var(--ink); max-width: 22ch; }
.tarifa-report { align-self: end; }
.tarifa-report .report { box-shadow: none; border: 1px solid var(--line-strong); border-radius: 0; }

/* 02 how: the points beside a large slot for the system image */
.como-lead { margin: 0 0 var(--s-6); font-size: 18px; max-width: 36ch; }
#como h2 { margin: 0 0 var(--s-4); }
.como-ph { height: 100%; min-height: 520px; aspect-ratio: auto; border-radius: 0; }

/* 04 comparison: the table across the wrap */
.compare-wrap { margin-top: var(--s-6); overflow-x: auto; }
.compare th, .compare td { padding: 16px 12px; }
.compare thead th { font-size: 13px; }
.compare td:last-child { color: var(--ink); }

/* 05 conversemos */
.cot-photo3 { aspect-ratio: 4 / 5; border-radius: 0; }
#cotizacion .form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }
/* 2026-11-30 (W2): the optional email after the phone; the pairs are name | phone and email | town (n+6: the honeypot
   div counts as the first div) */
#cotizacion .form > .field:nth-of-type(n+6), #cotizacion .form > .btn-row, #cotizacion .form > .form__status { grid-column: 1 / -1; }
/* 2026-11-30 (W2): two fields side by side with error lines of different length keep label and box at the top */
#cotizacion .form > .field { align-content: start; }

/* tablet */
@media (min-width: 640px) and (max-width: 1023px) {
  .como-ph { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .cot-photo3 { aspect-ratio: 21 / 9; }
  .incluye { display: none; }
}
/* short laptop screens */
@media (min-width: 1024px) and (max-height: 820px) {
  .incluye { margin-top: var(--s-5); padding-top: var(--s-4); }
  .fee-big__n { font-size: clamp(110px, 13vw, 180px); }
  .como-ph { min-height: 0; }
  .cot-photo3 { aspect-ratio: 1 / 1; }
  .compare th, .compare td { padding: 11px 12px; }
}
/* phone */
@media (max-width: 639px) {
  .incluye { grid-template-columns: 1fr; gap: var(--s-2); margin-top: var(--s-5); }
  .b-hero h1 { font-size: 28px; }
  main h2, footer.closing h2 { font-size: 26px; }
  .fee-big__n { font-size: 96px; }
  .como-ph { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .cot-photo3 { aspect-ratio: 16 / 10; }
  #cotizacion .form { grid-template-columns: 1fr; }
  #comparacion { --hm: 2; }
  #cotizacion { --hm: 2; }
}

/* fit pass */
.cot-photo3 { aspect-ratio: 1 / 1; }
.como-list li { padding: var(--s-3) 0; }
@media (min-width: 1024px) and (max-width: 1279px) { #comparacion { --h: 1; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .como-ph { aspect-ratio: 21 / 9; }
  .cot-photo3 { display: none; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .como-list li { padding: var(--s-2) 0; }
  .como-lead { margin-bottom: var(--s-4); }
  .faq .faq__item > h3 { font-size: 17px; }
  .faq > .faq__item { padding: 10px 0; }
  .como-ph { max-height: 560px; }
}
@media (max-width: 639px) {
  #tarifa { --hm: 1; }
  .fee-big__n { font-size: 80px; }
  .como-ph { aspect-ratio: 21 / 9; }
}
#preguntas .section-head { margin-bottom: var(--s-5); }
.faq > .faq__item { padding-block: var(--s-4); }
@media (min-width: 1024px) and (max-height: 820px) { #como { --h: 2; } }
@media (min-width: 640px) and (max-width: 799px) { .como-ph { display: none; } }
@media (max-width: 639px) { .fee-big__n { font-size: 72px; } #tarifa .report { padding: var(--s-4); } }

/* gate round 1 */
.b-hero h1 { font-size: clamp(34px, 3vw, 44px); }
main h2 { font-size: clamp(28px, 2.4vw, 36px); }
p.pending { background: none; border: 0; padding: 0; }
.tarifa-report { align-self: start; margin-top: calc(2px + var(--s-3)); }
.como-ph { margin-top: calc(2px + var(--s-3)); height: calc(100% - 14px); }
#cotizacion .wrap > .start-8 { margin-top: calc(2px + var(--s-3)); }
#cuidado::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(10,23,41,.28); pointer-events: none; }
@media (max-width: 639px) { .b-hero h1 { font-size: 28px; font-stretch: 100%; } main h2, footer.closing h2 { font-size: 26px; } .como-ph { height: auto; } }

/* v3 content (2026-11-14) */
#tarifa .span-6 { grid-column: 1 / -1; }
.como-text .como-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.como-text .como-list li { padding: var(--s-5) 0; }
.como-text .como-lead { max-width: 56ch; }
.std-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.std { padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: var(--s-3); align-content: start; }
.std h3 { margin: 0; color: #fff; font: 500 19px/1.3 var(--font-text); }
.std p { margin: 0; color: #e4ebf4; font-size: 16px; line-height: 1.5; }
#cuidado .section-head h2 { color: #fff; }
@media (max-width: 1023px) { .std-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .std-grid, .como-text .como-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- así trabajamos: photo 45% and prose 55% */
.a-work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.a-work__photo { grid-column: 1 / span 5; margin: 0; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; }
.a-work__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-work__text { grid-column: 7 / -1; }
.a-work__text h2 { margin: 0 0 var(--s-5); }
.a-work__text p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); max-width: 58ch; }
.a-work__text p + p { margin-top: var(--s-4); }
@media (max-width: 767px) {
  .a-work { grid-template-columns: 1fr; row-gap: var(--s-6); }
  .a-work__photo, .a-work__text { grid-column: auto; }
  .a-work__photo { aspect-ratio: 4 / 3; }
  .a-work__text p { font-size: 17px; }
}

/* ---------------------------------------------------------------- the fee: one sentence, the number inside it */
.a-fee { max-width: 62ch; }
.a-fee h2 { margin: 0 0 var(--s-5); }
.a-fee p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.a-fee p + p { margin-top: var(--s-4); }
.a-fee .a-fee__line { font: 500 22px/1.45 var(--font-text); color: var(--navy); }
.a-fee__line strong { font-weight: 600; font-size: 1.5em; line-height: 1; color: #b83a20; }

/* ---------------------------------------------------------------- with us and without us: two prose blocks side by side */
.a-vs__title { margin: 0 0 var(--head-gap); }
.a-vs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: stretch; }
.a-vs__solo { grid-column: 1 / span 5; padding: var(--s-5) 0; }
.a-vs__brayla { grid-column: 6 / -1; padding: clamp(28px, 3.5vw, 48px); background: var(--navy); border-radius: 16px; color: #fff; }
.a-vs h3 { margin: 0 0 var(--s-3); font: 500 21px/1.3 var(--font-text); }
.a-vs__solo h3 { color: #4a5568; }
.a-vs__solo p { margin: 0; font-size: 17px; line-height: 1.6; color: #5b6b80; }
.a-vs__brayla h3 { color: #fff; }
.a-vs__brayla p { margin: 0; font-size: 18px; line-height: 1.6; color: #e4ebf4; }
@media (max-width: 767px) {
  .a-vs { grid-template-columns: 1fr; row-gap: var(--s-5); }
  .a-vs__solo, .a-vs__brayla { grid-column: auto; }
}

/* así trabajamos on navy */
.sec-navy .a-work__text h2 { color: #fff; }
.sec-navy .a-work__text p { color: #e4ebf4; }

/* ================================================================ the estimator in a phone, built in CSS (2026-11-14) */
.hero__incluye { margin: 18px 0 0; max-width: 52ch; font-size: 16px; line-height: 1.6; color: #e4ebf4; }
.tel-col { display: flex; justify-content: center; align-items: center; background: none !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; }
.tel { position: relative; width: 340px; max-width: 100%; padding: 12px; border-radius: 44px;
  background: linear-gradient(160deg, #22406b 0%, #13294a 60%, #0d1f3a 100%); border: 1px solid #3a5a86;
  box-shadow: 0 50px 90px rgba(5, 12, 24, .5), 0 18px 30px rgba(5, 12, 24, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.tel::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 999px; background: #08121f; z-index: 2; }
@media (min-width: 1024px) { .tel { transform: rotate(2.5deg); } }
.tel__pantalla { position: relative; border-radius: 33px; overflow: hidden; background: linear-gradient(180deg, #fdfaf3 0%, #f7f3ea 100%); color: #0e2039;
  padding: 58px 20px 22px; min-height: 600px; display: flex; flex-direction: column; }
.tel__barra { height: 4px; border-radius: 999px; background: rgba(14, 32, 57, .1); overflow: hidden; margin-bottom: 18px; }
.tel__barra span { display: block; height: 100%; width: 100%; border-radius: 999px; background: #0e2039; transform: scaleX(.2); transform-origin: left center; transition: transform var(--m-media) var(--m-entra); }
.tel__titulo { margin: 0 0 14px; font: 600 19px/1.25 var(--font-display); letter-spacing: -0.02em; color: #0e2039; }
.tel__form { display: grid; gap: 14px; flex: 1; }
.tel__paso { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; align-content: start; }
.tel__paso legend { padding: 0; margin-bottom: 4px; font: 600 15px/1.3 var(--font-text); color: #0e2039; }
.tel__paso label:not(.tel__switch):not(.tel__chip) { font: 500 14px/1.3 var(--font-text); color: rgba(14, 32, 57, .85); }
.tel__paso input[type=text], .tel__paso input[type=tel], .tel__paso input[type=email], .tel__paso input[type=url] { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px !important; border: 0 !important;
  background: #fff !important; box-shadow: inset 0 0 0 1px rgba(14, 32, 57, .16) !important; font: 16px/1.3 var(--font-text); color: #0e2039; box-sizing: border-box; }
.tel__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tel__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(14, 32, 57, .07); color: #0e2039; font: 500 15px/1 var(--font-text); }
.tel__chip[aria-pressed="true"], .tel__chip--radio:has(input:checked) { background: #0e2039; color: #fdfbf6; }
.tel__chip--radio input { position: absolute; opacity: 0; pointer-events: none; }
.tel__chip:focus-visible, .tel__chip--radio:has(input:focus-visible) { outline: 3px solid #b53b22; outline-offset: 2px; }
/* steppers */
.tel__cont { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 32, 57, .1); }
.tel__cont .ico { width: 22px; height: 22px; color: #0e2039; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tel__pasos-num { display: flex; align-items: center; gap: 4px; }
.tel__pasos-num input { width: 40px; text-align: center; border: 0 !important; background: transparent !important; box-shadow: none !important; font: 600 18px/1 var(--font-text); color: #0e2039; -moz-appearance: textfield; min-height: 44px; padding: 0; }
.tel__pasos-num input::-webkit-inner-spin-button, .tel__pasos-num input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tel__menos, .tel__mas { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(14, 32, 57, .08); color: #0e2039; font: 500 22px/1 var(--font-text); }
.tel__menos:hover, .tel__mas:hover { background: rgba(14, 32, 57, .14); }
/* switches */
.tel__switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 32, 57, .1); cursor: pointer; font: 500 15px/1.2 var(--font-text); color: #0e2039; }
.tel__switch input { appearance: none; -webkit-appearance: none; order: 2; width: 48px; height: 28px; margin: 0; border-radius: 999px; background: rgba(14, 32, 57, .18); position: relative; cursor: pointer; transition: background-color var(--m-rapida) var(--m-estado); flex: none; }
.tel__switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(14, 32, 57, .3); transition: transform var(--m-rapida) var(--m-entra); }
.tel__switch input:checked { background: #0e2039; }
.tel__switch input:checked::after { transform: translateX(20px); }
.tel__switch input:focus-visible { outline: 3px solid #b53b22; outline-offset: 2px; }
.tel__pregunta { margin: 6px 0 0; font: 500 14px/1.3 var(--font-text); color: rgba(14, 32, 57, .85); }
/* actions */
.tel__acciones { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.tel__acciones .btn { margin-left: auto; height: 48px !important; padding: 0 20px 0 22px !important; font-size: 15px !important; }
.tel__atras { min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer; font: 500 15px/1 var(--font-text); color: #0e2039; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
/* result */
.tel__resultado { display: grid; gap: 8px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: 0 14px 30px rgba(14, 32, 57, .08); outline: none; }
.tel__resultado .tag { justify-self: start; }
.tel__rango-et { margin: 4px 0 0; font-size: 14px; color: rgba(14, 32, 57, .78); }
.tel__rango { margin: 0; font: 600 26px/1.15 var(--font-display); letter-spacing: -0.02em; color: #0e2039; }
.tel__ocup { display: grid; gap: 6px; margin-top: 4px; }
.tel__ocup-et { font-size: 14px; color: rgba(14, 32, 57, .8); }
.tel__ocup-et b { font-weight: 600; color: #0e2039; }
.tel__ocup-barra { height: 6px; border-radius: 999px; background: rgba(14, 32, 57, .1); overflow: hidden; }
.tel__ocup-barra span { display: block; height: 100%; width: 100%; border-radius: 999px; background: #2f6b6a; transform: scaleX(0); transform-origin: left center; transition: transform var(--m-media) var(--m-entra); }
.tel__nota { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: rgba(14, 32, 57, .78); }
/* launch (2026-11-25): no figures, one sentence in their place */
.tel__res-t { margin: 0; font: 600 19px/1.3 var(--font-text); letter-spacing: -0.005em; color: #0e2039; text-wrap: balance; }
.tel__msg { margin: 0; font-size: 14px; color: #b83a20; }
.tel__msg:empty { display: none; }
/* done */
.tel__listo { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 10px; outline: none; }
.tel__listo-t { margin: 0; font: 600 20px/1.2 var(--font-display); color: #0e2039; }
.tel__listo p { margin: 0; color: rgba(14, 32, 57, .8); }
.tel__check { width: 64px; height: 64px; fill: none; stroke: #2f6b6a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tel__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.tel__check path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.tel__listo:not([hidden]) .tel__check circle { animation: tel-trazo .6s cubic-bezier(.2,.7,.2,1) forwards; }
.tel__listo:not([hidden]) .tel__check path { animation: tel-trazo .4s .45s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes tel-trazo { to { stroke-dashoffset: 0; } }
/* steps: shown one at a time once the script runs; without it, all fields in order (the steps' own buttons hide) */
.tel__pantalla:not(.tel--pasos) :is(.tel__solo-js, [data-sig], [data-atras], [data-calcular]) { display: none !important; }
.tel--pasos .tel__paso[hidden] { display: none !important; }
.tel__entra { animation: tel-entra .28s cubic-bezier(.2,.7,.2,1); }
.tel__entra--atras { animation-name: tel-entra-atras; }
@keyframes tel-entra { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes tel-entra-atras { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .tel__entra, .tel__entra--atras { animation: none; }
  .tel__barra span, .tel__ocup-barra span, .tel__switch input, .tel__switch input::after { transition: none; }
  .tel__listo .tel__check circle, .tel__listo .tel__check path { animation: none; stroke-dashoffset: 0; }
}
/* a real phone: no frame, a rounded card the full width */
@media (max-width: 767px) {
  .tel { width: 100%; padding: 0; border: 0; background: none; box-shadow: none; transform: none; border-radius: 28px; }
  .tel::before { display: none; }
  .tel__pantalla { border-radius: 28px; padding: 24px 18px 20px; min-height: 0; box-shadow: 0 20px 50px rgba(5, 12, 24, .25); }
}

/* ================================================================ cuánto te queda (2026-11-15) */
.wrap.calc { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: 28px; align-items: start; }
.calc__texto { grid-column: 1 / span 5; display: grid; gap: 16px; justify-items: start; }
.calc__texto h2 { margin: 0; }
.calc__formula { margin: 0; font-size: 18px; line-height: 1.6; color: rgba(14, 32, 57, .82); }
.calc__nota { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(14, 32, 57, .78); }
.calc__panel { grid-column: 7 / -1; display: grid; gap: 18px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 20px 50px rgba(14, 32, 57, .08); }
.calc__ctrl { display: grid; gap: 8px; }
.calc__ctrl label { font: 500 15px/1.3 var(--font-text); color: #0e2039; }
.calc__fila { display: flex; align-items: center; gap: 14px; }
.calc__fila input[type=range] { flex: 1; accent-color: #0e2039; height: 44px; margin: 0; }
.calc__campo { display: inline-flex; align-items: center; gap: 2px; padding: 0 12px; min-height: 44px; border-radius: 14px; background: #f7f3ea; font: 600 16px/1 var(--font-text); color: #0e2039; }
.calc__campo input { width: 56px; border: 0 !important; background: transparent !important; box-shadow: none !important; font: 600 16px/1 var(--font-text); color: #0e2039; min-height: 44px; padding: 0; -moz-appearance: textfield; }
.calc__campo input::-webkit-inner-spin-button, .calc__fila--props input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__valor { min-width: 56px; text-align: right; font: 600 16px/1 var(--font-text); color: #0e2039; }
.calc__fila--props input { width: 48px; text-align: center; border: 0 !important; background: transparent !important; box-shadow: none !important; font: 600 18px/1 var(--font-text); color: #0e2039; min-height: 44px; padding: 0; -moz-appearance: textfield; }
.calc__res { margin: 6px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc__res > div { padding: 14px; border-radius: 18px; background: #f7f3ea; }
.calc__res dt { font-size: 13px; color: rgba(14, 32, 57, .8); }
.calc__res dd { margin: 6px 0 0; font: 600 22px/1.1 var(--font-display); letter-spacing: -0.02em; color: #0e2039; }
.calc__res .calc__queda { background: #0e2039; }
.calc__res .calc__queda dt { color: #e4ebf4; }
.calc__res .calc__queda dd { color: #fdfbf6; }
.calc__barra { position: relative; display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: #ece6d8; }
/* 2026-11-24: each part covers the whole bar and scales from its own end (transform, not width) */
.calc__barra span { position: absolute; top: 0; bottom: 0; width: 100%; display: block; height: 100%; transition: transform var(--m-media, 400ms) var(--m-entra, cubic-bezier(.22, 1, .36, 1)); }
.calc__barra .calc__b-tarifa { left: 0; transform-origin: left center; }
.calc__barra .calc__b-queda { right: 0; transform-origin: right center; }
.calc__b-tarifa { background: #b53b22; }
.calc__b-queda { background: #2f6b6a; }
.calc__leyenda { margin: -8px 0 0; display: flex; justify-content: space-between; font-size: 13px; color: rgba(14, 32, 57, .8); }
@media (max-width: 1023px) { .calc__texto, .calc__panel { grid-column: 1 / -1; } }
@media (max-width: 639px) { .calc__panel { padding: 20px; grid-template-columns: minmax(0, 1fr); } .calc__res { grid-template-columns: 1fr; } .calc__fila input[type=range] { min-width: 0; } }
/* 2026-11-29 (auditoría móvil H03): en un teléfono angosto el deslizador va en su propia fila, sobre el campo */
@media (max-width: 399px) { .calc__fila { flex-wrap: wrap; } .calc__fila input[type=range] { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .calc__barra span { transition: none; } }
/* page per town */
.pueblo__intro { display: grid; gap: 14px; justify-items: start; max-width: 62ch; margin-bottom: 32px; }
.pueblo__intro h2 { margin: 0; }
.pueblo__intro p { margin: 0; font-size: 18px; line-height: 1.6; }

/* ================================================================ the hero phone is the button (2026-11-15)
   telefono.js gives it role="button" and opens the enlarged phone; without JavaScript it stays a normal form. */
.tel-col { flex-direction: column; gap: 18px; }
.hero__como { margin: 22px 0 0; }
.hero__como .link { color: #fff; font-weight: 500; }
/* A small turn only (2026-11-15): no rotateZ, which is what blurred the text, and a few degrees on Y and X so the
   phone still reads as an object. On hover it lifts a few pixels and turns most of the way to face the visitor. */
@media (min-width: 1024px) {
  .tel { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transition: transform var(--m-media) var(--m-entra);
    backface-visibility: hidden; -webkit-font-smoothing: antialiased; }
  .tel--boton:hover { transform: perspective(1600px) translateY(-8px) rotateY(-2deg) rotateX(.5deg);
    box-shadow: 0 64px 100px rgba(5, 12, 24, .5), 0 22px 34px rgba(5, 12, 24, .32), inset 0 1px 0 rgba(255, 255, 255, .12); }
}
@media (max-width: 1023px) and (hover: hover) {
  .tel { transition: transform var(--m-media) var(--m-entra); }
  .tel--boton:hover { transform: translateY(-6px); }
}
/* the preview of how it ends, in the empty lower half of the hero phone */
.tel__vista { display: none; }
.tel--boton .tel__vista { display: grid; gap: 10px; margin-top: auto; padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: 0 12px 26px rgba(14, 32, 57, .08); }
.tel--boton .tel__form { flex: 0 1 auto; margin-bottom: 16px; }
.tel__vista p { margin: 0; }
.tel__vista-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 15px/1.2 var(--font-text); color: #0e2039; }
.tel__vista-tag { padding: 5px 11px; border-radius: 999px; background: #0e2039; color: #fdfbf6; font: 600 12px/1 var(--font-text); }
.tel__vista-tag[hidden] { display: none; }
.tel__vista-rango { display: flex; align-items: center; gap: 8px; font: 500 14px/1 var(--font-text); color: rgba(14, 32, 57, .75); }
.tel__hueso { display: block; width: 72px; height: 20px; border-radius: 7px; background: rgba(14, 32, 57, .1); }
.tel--boton { cursor: pointer; }
.tel--boton:focus-visible { outline: 3px solid #f2b8a8; outline-offset: 6px; }
.tel--boton .tel__pantalla { pointer-events: none; }
.tel--fuera { opacity: 0; transition: none !important; }
.tel-nota { margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(10, 23, 41, .78); font: 500 14px/1.3 var(--font-text); color: #fff; text-align: center; }
.tel-nota[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .tel, .tel--boton:hover { transform: none !important; transition: none !important; } }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ================================================================ 2026-11-15, design pass */
.a-fee__foto { margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; align-self: center; }
.a-fee__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023px) { .a-fee__foto { grid-column: 1 / -1; margin-top: var(--s-6); } }
/* the comparison, task by task */
.a-tabla { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 17px; line-height: 1.45; }
.a-tabla th, .a-tabla td { padding: 16px 20px; text-align: left; vertical-align: top; border-top: 1px solid rgba(14, 32, 57, .1); }
.a-tabla thead th { border-top: 0; padding-top: 20px; font: 600 15px/1.3 var(--font-text); color: #5b6b80; }
.a-tabla tbody th { width: 22%; font: 600 16px/1.4 var(--font-text); color: var(--navy); }
.a-tabla td { color: #4f5f74; }
.a-tabla .a-tabla__brayla { background: var(--navy); color: #fff; border-top-color: rgba(255, 255, 255, .12); width: 40%; }
.a-tabla thead .a-tabla__brayla { color: #fff; border-radius: 16px 16px 0 0; }
.a-tabla tbody tr:last-child .a-tabla__brayla { border-radius: 0 0 16px 16px; font-weight: 600; }
/* 2026-11-29 (auditoría móvil H08, aprobado por Atlas): en el teléfono cada fila se apila (responsabilidad, "Administración
   propia" y "Con Brayla Properties", uno debajo del otro) y cada celda lleva su etiqueta visible (data-label). Las
   cabeceras de columna quedan para el lector de pantalla, sin pintarse (clip-path, sin overflow ni caja de 1 px); el HTML lleva role="table", "row",
   "columnheader", "rowheader" y "cell" porque Safari quita la semántica de tabla al cambiar el display de tr. La etiqueta
   lleva texto alternativo vacío ("/ ''") para que el lector no la lea dos veces (ya anuncia la cabecera de columna). */
@media (max-width: 639px) {
  .a-tabla { position: relative; font-size: 15px; }
  .a-tabla thead { position: absolute; inset: 0 0 auto; clip-path: inset(50%); pointer-events: none; }
  .a-tabla tr { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding-bottom: 6px; }
  .a-tabla tbody th { width: auto; padding: 14px 0 0; border-top: 1px solid rgba(14, 32, 57, .12); }
  .a-tabla td { padding: 8px 14px 10px; border-top: 0; border-radius: 12px; background: rgba(14, 32, 57, .04); }
  .a-tabla td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; margin-bottom: 2px; font: 600 14px/1.3 var(--font-text); color: #44526a; }
  .a-tabla .a-tabla__brayla { width: auto; border-radius: 12px !important; }
  .a-tabla .a-tabla__brayla::before { color: rgba(255, 255, 255, .78); }
}

/* ================================================================ 2026-11-19, the page rebuilt around the owner's questions */
.hero__acciones { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: 12px; }
.b-hero .hero__acciones .btn--secondary { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.a-cta { margin: var(--s-7) 0 0; }
/* social proof: the four most reviewed rentals we run, as they appear on Airbnb */
.a-prueba__head { display: grid; gap: var(--s-3); max-width: 62ch; margin-bottom: var(--s-6); }
.a-prueba__head h2, .a-prueba__head p { margin: 0; }
.a-prueba__head p { font-size: 18px; line-height: 1.55; }
.a-prueba { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.a-prueba a { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.a-prueba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 16px 34px rgba(14, 32, 57, .1); }
.a-prueba__nombre { font: 600 17px/1.3 var(--font-text); color: var(--navy); }
.a-prueba a:hover .a-prueba__nombre { text-decoration: underline; text-underline-offset: 4px; }
.a-prueba__nota { font-size: 15px; color: #4f5f74; }
.a-prueba__nota .star { width: 14px; height: 14px; vertical-align: -1px; fill: currentColor; }
.a-prueba__total { margin: var(--s-6) 0 0; font: 600 18px/1.4 var(--font-text); color: var(--navy); }
@media (max-width: 1023px) { .a-prueba { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 2026-11-29 (H08, Atlas): en el teléfono, una reseña por fila (en dos columnas el nombre quedaba en 122 px) */
@media (max-width: 639px) { .a-prueba { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
/* how we work: an introduction and seven short blocks, plain headings and text */
.a-trabajo__head { display: grid; gap: var(--s-4); max-width: 64ch; margin-bottom: var(--s-7); }
.a-trabajo__head h2, .a-trabajo__head p { margin: 0; }
.a-trabajo__head p { font-size: 19px; line-height: 1.55; color: #e4ebf4; }
.a-trabajo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) 48px; }
.a-trabajo h3 { margin: 0 0 8px; font: 600 19px/1.3 var(--font-text); color: #fff; }
.a-trabajo p { margin: 0; font-size: 16px; line-height: 1.6; color: #d7e0ec; }
.a-trabajo__cierre { margin: var(--s-7) 0 0; max-width: 62ch; font-size: 17px; line-height: 1.6; color: #e4ebf4; }
@media (max-width: 1023px) { .a-trabajo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .a-trabajo { grid-template-columns: 1fr; gap: var(--s-5); } }
/* the team on the ground: text and one real photo */
.a-equipo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.a-equipo__texto { grid-column: 1 / span 6; }
.a-equipo__texto h2 { margin: 0 0 var(--s-5); }
.a-equipo__texto p { margin: 0; font-size: 18px; line-height: 1.6; }
.a-equipo__foto { grid-column: 8 / -1; margin: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.a-equipo__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023px) { .a-equipo__texto, .a-equipo__foto { grid-column: 1 / -1; } .a-equipo__foto { margin-top: var(--s-6); } }
/* how we get started: one block of prose */
.a-empezar h2 { margin: 0 0 var(--s-5); }
.a-empezar p:not(.a-cta) { margin: 0; max-width: 62ch; font-size: 18px; line-height: 1.65; }
.calc__ilustra { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: #4f5f74; }
/* questions: one column, divided by lines, no boxes */
html[data-estilo="suave"] #preguntas .faq { display: block; max-width: 860px; }
html[data-estilo="suave"] #preguntas .faq .faq__item { background: none; border-radius: 0; border-top: 1px solid rgba(255, 255, 255, .18) !important; }
html[data-estilo="suave"] #preguntas .faq .faq__item:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .18) !important; }
html[data-estilo="suave"] #preguntas .faq .faq__item > summary { padding: 20px 0; }
html[data-estilo="suave"] #preguntas .faq .faq__item > p { padding: 0 0 22px; max-width: 62ch; }

/* 2026-11-19 adjustments: the introduction is the first of eight cells (two full rows of four); the star sits with its number */
.a-trabajo { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a-trabajo .a-trabajo__head { margin: 0; align-content: start; }
.a-trabajo .a-trabajo__head h2 { margin-bottom: 4px; }
.a-trabajo .a-trabajo__head p { font-size: 17px; }
@media (max-width: 1023px) { .a-trabajo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .a-trabajo .a-trabajo__head { grid-column: 1 / -1; } }
@media (max-width: 639px) { .a-trabajo { grid-template-columns: 1fr; } }
.a-prueba__nota { display: block; }
.a-prueba__nota .pf__rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--navy); }
.a-tabla thead th:not(.a-tabla__brayla) { color: #44526a; }
/* 2026-11-19: the hero phone keeps one height before and after telefono.js turns it into a button (the form steps
   fold away then), so the hero never changes size while the page loads (no layout shift). Without JavaScript the
   whole form scrolls inside the phone's screen. */
@media (min-width: 640px) { .tel .tel__pantalla { height: 600px; min-height: 0; overflow-y: auto; scrollbar-width: none; } .tel .tel__pantalla::-webkit-scrollbar { display: none; } }
/* the hint under the hero phone keeps its place before telefono.js shows it (no shift while loading) */
.tel-nota[hidden] { display: block !important; visibility: hidden; }

/* 2026-11-20: "Así trabajamos" as an editorial composition, not a grid: the introduction stays on the left while the
   points run down the right, each heading beside its short paragraph, divided by thin lines. No boxes, icons or numbers. */
.a-trabajo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 6vw, 96px); row-gap: 0; }
.a-trabajo > .a-trabajo__head { grid-column: 1; grid-row: 1 / span 6; align-self: start; position: sticky; top: calc(var(--nav) + 48px); }
.a-trabajo > div:not(.a-trabajo__head) { grid-column: 2; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 32px;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.a-trabajo > div:not(.a-trabajo__head):last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.a-trabajo > div:not(.a-trabajo__head) h3 { margin: 0; font-size: 18px; }
.a-trabajo > div:not(.a-trabajo__head) p { margin: 0; font-size: 16px; line-height: 1.6; }
.a-trabajo .a-trabajo__head h2 { margin-bottom: var(--s-4); }
@media (max-width: 1023px) {
  .a-trabajo { grid-template-columns: 1fr; }
  .a-trabajo > .a-trabajo__head { grid-row: auto; position: static; margin-bottom: var(--s-5); }
  .a-trabajo > div:not(.a-trabajo__head) { grid-column: 1; }
}
@media (max-width: 639px) { .a-trabajo > div:not(.a-trabajo__head) { grid-template-columns: 1fr; row-gap: 6px; padding: 18px 0; } }

/* ================================================================ 2026-11-20, empty space on /administracion */
/* the team: text and photo side by side on a computer (the kit's column rule on .wrap was stacking them) */
main > section > .wrap.a-equipo { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: center; }
main > section > .wrap.a-equipo > * { grid-column: auto !important; }
.a-equipo__foto { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { main > section > .wrap.a-equipo { grid-template-columns: 1fr; row-gap: var(--s-6); } .a-equipo__foto { margin-top: 0; } }
/* with us and without us: the heading, the table and the button share one reading width; the button sits at the table's edge */
#comparacion .wrap > :is(.a-vs__title, .a-tabla, .a-cta) { width: 100%; max-width: 980px; }
#comparacion .a-cta { text-align: right; }
@media (max-width: 639px) { #comparacion .a-cta { text-align: left; } }
/* how we work: tighter points (28 px each), the heading narrower so each paragraph takes fewer lines */
.a-trabajo > div:not(.a-trabajo__head) { padding: 14px 0; }
/* 2026-11-29 (auditoría móvil H04): dos columnas solo desde 640 px; en el teléfono manda la regla de una columna */
@media (min-width: 640px) { .a-trabajo > div:not(.a-trabajo__head) { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); } }
.a-trabajo__cierre { margin-top: var(--s-6); }
#como .a-cta { margin-top: var(--s-6); }
/* the questions: an accordion in two columns on a computer, the first answer open */
html[data-estilo="suave"] #preguntas .faq[data-acordeon] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; max-width: none; align-items: start; }
html[data-estilo="suave"] #preguntas .faq[data-acordeon] .faq__item:last-of-type { border-bottom: 0 !important; }
html[data-estilo="suave"] #preguntas .faq[data-acordeon] .faq__item > summary { padding: 18px 0; cursor: pointer; }
html[data-estilo="suave"] #preguntas .faq[data-acordeon] .faq__item > summary h3 { display: flex; justify-content: space-between; gap: 16px; }
html[data-estilo="suave"] #preguntas .faq[data-acordeon] .faq__item > summary h3::after { content: "+"; flex: none; font-weight: 400; color: #f2b8a8; }
html[data-estilo="suave"] #preguntas .faq[data-acordeon] .faq__item[open] > summary h3::after { content: "\2212"; }
html[data-estilo="suave"] #preguntas .faq[data-acordeon] .faq__item > p { padding-bottom: 20px; }
@media (max-width: 899px) { html[data-estilo="suave"] #preguntas .faq[data-acordeon] { grid-template-columns: 1fr; } }

/* ================================================================ 2026-11-20, columns without empty space
   Two-column sections must not leave half a screen blank: the shorter side gets useful confirmed content, is centred, or
   travels with the reader (sticky). tools/medir-columnas.mjs checks it on every page. */
/* Así trabajamos: "En cifras" under the intro, in the sticky left column */
.a-cifras { display: grid; gap: 10px; margin-top: var(--s-3); }
.a-trabajo__head .a-cifras__titulo { margin: 0; font: 600 15px/1.3 var(--font-text); color: #c9d4e2; }
.a-cifras__lista { display: grid; gap: 10px; margin: 0; }
.a-cifras__lista > div { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.a-cifras__lista dd { margin: 0; font: 500 28px/1.1 var(--font-titulares); letter-spacing: .01em; color: #fff; white-space: nowrap; }
.a-cifras__lista dt { font-size: 15px; line-height: 1.4; color: #d7e0ec; }

/* Lo que cobramos: two even columns; the photo starts at the top and is as tall as the text */
.wrap.a-tarifa { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 5vw, 80px); align-items: stretch; }
.a-tarifa .a-fee { max-width: none; }
.a-tarifa .a-fee h2 { margin-bottom: var(--s-3); }
.a-fee .a-fee__cifra { margin: 0 0 var(--s-3); }
.a-fee__cifra strong { font: 500 clamp(72px, 7vw, 104px)/1 var(--font-titulares); letter-spacing: .01em; color: #b83a20; }
.a-fee .a-fee__sub { margin: var(--s-6) 0 var(--s-3); font: 600 18px/1.35 var(--font-text); color: var(--navy); }
.a-fee .a-fee__lista { margin: 0; padding: 0; list-style: none; }
.a-fee .a-fee__lista li { font-size: 17px; line-height: 1.5; color: var(--ink); }
.a-tarifa .a-fee__foto { margin: 0; aspect-ratio: auto; height: 100%; min-height: 360px; align-self: stretch; }
@media (max-width: 1023px) {
  .wrap.a-tarifa { grid-template-columns: 1fr; }
  .a-tarifa .a-fee__foto { height: auto; min-height: 0; aspect-ratio: 4 / 3; margin-top: var(--s-6); }
}

/* the calculator: the text column travels with the reader beside the tall panel, with how to read the example */
.calc__leer { width: 100%; margin-top: var(--s-3); padding: 18px 20px; border-radius: 14px; background: rgba(14, 32, 57, .05); }
.calc__leer h3 { margin: 0 0 8px; font: 600 17px/1.35 var(--font-text); color: var(--navy); }
.calc__leer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.calc__leer li { font-size: 16px; line-height: 1.5; color: #2f3e54; }
@media (min-width: 1024px) { .calc__texto { position: sticky; top: calc(var(--nav) + 32px); align-self: start; } }

/* the opening: the words centred against the tall phone */
@media (min-width: 1024px) { .b-hero .hero__grid { align-items: center; } .b-hero .hero__grid > .hero__text { align-self: center !important; } }

/* the quote: the photo as tall as the text and the form (cover), no empty space under it */
@media (min-width: 1024px) {
  #cotizacion .wrap > .start-8 { margin-top: 0; align-self: stretch; display: flex; }
  #cotizacion .cot-photo3 { flex: 1; margin: 0; height: 100%; aspect-ratio: auto; }
  #cotizacion .cot-photo3 img { width: 100%; height: 100%; object-fit: cover; }
}
/* still more than 120 px shorter than its neighbour: the sticky column starts centred (and then travels), not at the top */
@media (min-width: 1024px) {
  .a-trabajo > .a-trabajo__head { align-self: center; }
  .calc__texto { align-self: center; }
}

/* the contract line under the 20% (2026-11-23) */
.a-fee .a-fee__contrato { margin-top: 10px; font: 600 18px/1.5 var(--font-text); color: var(--navy); }

/* ================================================================ 2026-11-23: the estimator phone on a phone
   Until now, up to 767 px the phone lost its frame (padding, border, background, shadow, the notch and the turn) and
   only the screen showed, as a flat card. Bryan wants the drawing there too: the same frame, notch and colours, as wide
   as its column (340 px at most), with a gentler turn than on a computer (-4 deg instead of -7) so the text stays sharp
   and nothing pokes past the edges. Same content, same role="button" and label, same focus ring. */
@media (max-width: 767px) {
  .tel { width: min(340px, 100%); padding: 10px; border-radius: 40px;
    background: linear-gradient(160deg, #22406b 0%, #13294a 60%, #0d1f3a 100%); border: 1px solid #3a5a86;
    box-shadow: 0 30px 60px rgba(5, 12, 24, .45), 0 12px 22px rgba(5, 12, 24, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
    transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg); backface-visibility: hidden; -webkit-font-smoothing: antialiased; }
  .tel::before { display: block; top: 18px; width: 80px; height: 22px; }
  /* the column and the phone never grow past the screen because of what is inside (the English text is wider) */
  #estimador.tel-col, .tel, .tel__pantalla { min-width: 0; }
  #estimador.tel-col { width: 100%; max-width: 100%; align-self: stretch; }
  .tel { max-width: 100%; }
  .tel__pantalla { border-radius: 31px; padding-top: 50px; box-shadow: none; }
  /* the screen is 20 px narrower inside the frame: the two grey placeholders give way so "al mes" stays on one line */
  html[data-estilo="suave"] .tel .tel__vista-rango { white-space: nowrap; text-wrap: nowrap; }
  html[data-estilo="suave"] .tel--boton .tel__vista { padding: 14px 12px; }
  html[data-estilo="suave"] .tel .tel__hueso { width: 52px; flex: none; }
}

/* "En cifras": the figures are at 700 in the title face (tipografia.css). */

/* ================================================================ 2026-11-23: the estimator lives in the hero phone
   Up to 1023 px (phones, and tablets, where the phone sits under the words) the hero phone is no longer a button that
   opens a separate window: the estimator works on its own screen (assets/brayla/estimador.js), and every "Estima tus
   ingresos" button brings the visitor to it (assets/brayla/telefono.js). From 1024 px nothing changes.
   - Between the buttons and the phone: --s-6, the same step as between the paragraph and the buttons.
   - The screen keeps one height on every step (no jump when a step changes, no layout shift), small enough that the
     whole phone fits under the header when it is centred; what does not fit scrolls inside the screen.
   - The phone floats a few pixels while it is on screen and straightens from -4 deg to flat as it rises to the middle
     of the screen. Transform only, on .tel and its column, which hold nothing fixed or sticky (the header, the menu,
     the Cal.com popup and the dialog live outside them). No float while a field inside it has the focus. */
@media (max-width: 1023px) {
  .b-hero .hero__grid { row-gap: var(--s-6) !important; }
  .b-hero .est { margin-top: 0 !important; }
  #estimador { --tel-aire: var(--s-5); scroll-margin-top: calc(var(--nav) + var(--margen, 10px) + var(--tel-aire)); }
  #estimador .tel-nota { display: none !important; }
  #estimador .tel .tel__pantalla { height: min(600px, calc(100svh - var(--nav) - 2 * var(--margen, 10px) - 2 * var(--tel-aire) - 26px));
    min-height: 0; overflow-y: auto; scrollbar-width: none; }
  #estimador .tel .tel__pantalla::-webkit-scrollbar { display: none; }
  #estimador .tel__paso :is(input, button) { scroll-margin: calc(var(--nav) + var(--margen, 10px) + var(--s-4)) 0 var(--s-5); }
}
/* a phone turned sideways: a thinner margin above and below, so the phone still fits */
@media (max-width: 1023px) and (max-height: 500px) { #estimador { --tel-aire: var(--s-3); } }
/* 2026-11-24: the continuous float was removed (Bryan's decision); only the straightening on scroll stays */
@keyframes tel-endereza { from { transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg); } to { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); } }
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  #estimador .tel { transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg); transition: none; }
  @supports (animation-timeline: view()) {
    #estimador .tel { animation: tel-endereza var(--m-estado) both; animation-timeline: view(); animation-range: cover 0% cover 50%; }
  }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { #estimador .tel { transform: none !important; } }
/* the Airbnb link field: shown only when the owner answers "Sí" (estimador.js); without JavaScript it is always there */
.tel__enlace { display: grid; gap: 10px; }
.tel__enlace[hidden], .tel__paso .field__error[hidden] { display: none !important; }
.tel__paso .field__error { margin: 0; }
.tel__paso input:focus-visible { outline: 3px solid #b53b22; outline-offset: 2px; }
/* short phones (360x640): the question at the top of the phone fits on the first screen; 12 px stay clear under the notch */
@media (max-width: 767px) { #estimador .tel .tel__pantalla { padding-top: 42px; } }
/* 2026-11-29 (auditoría móvil H03): a 320-374 px el marco y la pantalla del teléfono, más finos, dejan el texto en 220 px o más */
@media (max-width: 374px) { .tel { padding: 8px; } #estimador .tel .tel__pantalla { padding-left: 12px; padding-right: 12px; } }
@media (max-width: 1023px) and (max-height: 700px) { .b-hero .hero__grid { row-gap: var(--s-5) !important; } }
/* each step uses the whole screen of the phone: the buttons sit at the bottom, as in a phone app, instead of leaving an
   empty half under them; the columns never grow past the screen (the long send button made them 36 px too wide at
   360 px), and when "Atrás" and the button do not fit on one line the button goes on top, full width */
@media (max-width: 1023px) {
  #estimador .tel--pasos .tel__form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  #estimador .tel--pasos .tel__paso:not([hidden]) { display: flex; flex-direction: column; gap: 10px; flex: 1 0 auto; min-width: 0; }
  #estimador .tel--pasos .tel__paso > * { min-width: 0; max-width: 100%; }
  #estimador .tel--pasos .tel__acciones { margin-top: auto; padding-top: var(--s-2); flex-wrap: wrap-reverse; row-gap: var(--s-2); }
  #estimador .tel--pasos .tel__acciones .btn { flex: 1 0 auto; justify-content: center; }
  #estimador .tel--pasos .tel__paso legend { float: left; width: 100%; }
}
/* the field being typed in is marked even when the focus came from a tap or a button (where :focus-visible does not apply) */
#estimador .tel__paso input:is([type=text], [type=tel], [type=email], [type=url]):focus { box-shadow: inset 0 0 0 2px #0e2039 !important; }
/* the progress bar and the question never shrink when a step fills the fixed-height screen (the bar was squeezed to
   1 px and disappeared) */
.tel__pantalla > :is(.tel__barra, .tel__titulo) { flex: none; }
/* the phone keeps its own type sizes (the site's 17 px paragraph rule from suave.css was making every line in it
   17 px: the estimate read as small as its note, and the note took five lines and pushed the send button under the
   edge of the screen). The range is the largest line on the result screen. */
@media (max-width: 1023px) {
  html[data-estilo="suave"] #estimador .tel__titulo { font: 600 18px/1.3 var(--font-text); letter-spacing: -0.01em; margin-bottom: var(--s-3); }
  html[data-estilo="suave"] #estimador .tel__rango-et { font-size: 14px; line-height: 1.4; }
  html[data-estilo="suave"] #estimador .tel__rango { font: 500 26px/1.15 var(--font-titulares); letter-spacing: 0; }
  html[data-estilo="suave"] #estimador .tel__nota { font-size: 13px; line-height: 1.45; }
  html[data-estilo="suave"] #estimador .tel__res-t { font-size: 19px; line-height: 1.3; }
  html[data-estilo="suave"] #estimador .tel__resultado { padding: 16px; gap: 6px; }
  html[data-estilo="suave"] #estimador :is(.tel__listo p, .tel__pregunta, .tel__msg) { font-size: 15px; line-height: 1.45; }
  /* the counters on a narrow screen: the label takes what is left and the minus and plus keep their 44 px */
  #estimador .tel__cont { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; padding: 6px 8px 6px 12px; }
  #estimador .tel__cont label { min-width: 0; overflow-wrap: anywhere; }
  #estimador .tel__pasos-num { gap: 2px; }
  #estimador .tel__pasos-num input { width: 32px; }
}

/* 2026-11-23, Taste pass: the team and fee photos used a 16 px corner, the only photos on the site off the photo token */
.a-fee__foto, .a-equipo__foto { border-radius: var(--r-photo, 28px); }

/* opción B (2026-11-26): "Quiero mi estimado detallado" / "I want my detailed estimate" is wider than the hero phone's
   button below 390 px (224 px of text in 195 px at 320). There, and only on that step, the words wrap to two lines inside
   the same button; 390 px and up stay on one line. */
@media (max-width: 389px) {
  html[data-estilo="suave"] #estimador .tel__paso[data-paso="resultado"] .tel__acciones .btn {
    white-space: normal; text-wrap: wrap; height: auto !important; min-height: 48px; padding-block: 8px !important; font-size: 14px !important; line-height: 1.2; text-align: center;
  }
}

/* Fase 2 (2026-11-27): la calculadora de la tarifa (E10 y §5). Un solo campo, dos resultados y la barra 80/20 con el
   propietario a la izquierda */
.calc__res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc__campo input#calc-ingreso { width: 112px; }
.calc__tasa { margin: 0; font-size: 16px; line-height: 1.4; color: #0e2039; }
.calc__barra .calc__b-queda { left: 0; right: auto; transform-origin: left center; }
.calc__barra .calc__b-tarifa { right: 0; left: auto; transform-origin: right center; }
.calc__ctrl .field__error { margin: 0; }
/* el estimador: subtítulo (E4), ayuda del enlace (E5) y el resultado mensual (§4) */
.tel__subtitulo { margin: -4px 0 12px; font-size: 13px; line-height: 1.45; color: rgba(14, 32, 57, .78); }
.tel__ayuda { margin: 0 0 6px; font-size: 13px; line-height: 1.45; color: rgba(14, 32, 57, .78); }
.tel__form select { width: 100%; min-height: 44px; }
/* 2026-11-29 (auditoría móvil H05): donde el estimador vive en el teléfono del hero (hasta 1023 px), el municipio con
   letra de 16 px (con menos, iOS amplía la página al tocarlo) y 48 px de alto. WebKit ignora min-height en un select
   con su aspecto nativo (medía 18 px), así que aquí lleva aspecto propio con su flecha. En computadora no cambia. */
@media (max-width: 1023px) {
  .tel__form select { font: 500 16px/1.25 var(--font-text); color: #0e2039; -webkit-appearance: none; appearance: none; min-height: 48px;
    padding: 0 44px 0 14px; }
  /* la flecha: suave.css pinta los campos con "background: #fff !important" en un selector que pesa (0,4,2)
     (html[data-estilo] + :is(input[type=text]…) + dos :not()), y entre dos !important gana el más específico.
     Con el id del municipio (en ES y EN) este pesa (1,2,2) y gana; los cuatro !important ya existían. */
  html[data-estilo="suave"] .tel__form select#t-pueblo {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e2039' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right 16px center !important; background-size: 12px 8px !important; }
}
.est-res { display: grid; gap: 8px; }
.est-res p { margin: 0; }
.est-res__prov { padding: 6px 10px; border-radius: 10px; background: #fbe9c8; color: #6b4300; font-size: 13px; font-weight: 600; }
.est-res__et { font-size: 14px; color: rgba(14, 32, 57, .8); }
.est-res__cifra { font: 600 clamp(30px, 3vw, 38px)/1.05 var(--font-display); letter-spacing: -0.02em; color: #0e2039; }
.est-res__rango, .est-res__anual { font-size: 15px; line-height: 1.45; color: #0e2039; }
.est-res__estacion { font-size: 14px; line-height: 1.5; color: #0e2039; }
.est-res__nota { font-size: 12.5px; line-height: 1.5; color: rgba(14, 32, 57, .78); }
.est-res__sin { font-size: 15px; line-height: 1.5; color: #0e2039; }
.tel__e17 { font-size: 14px; line-height: 1.5; }
.a-vs__intro { max-width: 62ch; margin: 0 0 24px; font-size: 17px; line-height: 1.6; }
.a-llamada__datos { font-weight: 600; }
/* Fase 2: cuando el teléfono del hero es un botón (escritorio), sin el subtítulo E4 (lo muestra el teléfono ampliado) */
.tel--boton .tel__subtitulo { display: none; }
.tel__vista-s { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(14, 32, 57, .78); }
