/* 1. Identidad y base */
:root {
  color-scheme: light;
  --color-primary: #0066ff;
  --color-primary-ink: #0057db;
  --color-dark: #0d1b2a;
  --color-steel: #6b7280;
  --color-text: #4c5968;
  --color-light: #e5e7eb;
  --color-white: #fff;
  --color-whatsapp: #25d366;
  --color-surface: #f5f8fc;
  --color-line: #dce3ec;
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --shadow-sm: 0 3px 14px rgb(13 27 42 / 5%);
  --space-section: clamp(3.75rem, 7vw, 6rem);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-bottom: 6rem;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--color-dark);
  background: var(--color-white);
  font: 1rem/1.65 var(--font-sans);
  padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
figure,
blockquote,
p,
h1,
h2,
h3 {
  margin: 0;
}
p {
  color: var(--color-text);
}
p + p {
  margin-top: 1rem;
}
h1,
h2,
h3 {
  font-weight: 750;
  line-height: 1.18;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 4.1vw, 3.45rem);
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}
address {
  font-style: normal;
}
::selection {
  color: var(--color-white);
  background: var(--color-primary-ink);
}
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 5px;
  border-radius: 3px;
}
.guarantee-section :focus-visible,
.final-section :focus-visible {
  outline-color: #fff;
}
.container {
  width: min(var(--container-width), calc(100% - 2.5rem));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-section);
}
main > section[id] {
  scroll-margin-top: 1rem;
}
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
svg.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-dark);
  color: white;
}
.skip-link:focus {
  top: 1rem;
}

/* 2. Contacto y componentes compartidos */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  transition:
    background-color 0.16s,
    border-color 0.16s;
}
.button--whatsapp {
  color: var(--color-dark);
  background: var(--color-whatsapp);
}
.button--whatsapp:hover {
  background: #41e27d;
}
.button--call {
  color: var(--color-dark);
  background: var(--color-white);
  border-color: #b6c4d4;
}
.button--call:hover {
  background: #edf4ff;
  border-color: var(--color-primary);
}
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.actions--center {
  justify-content: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-primary-ink);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  flex: 0 0 22px;
}
.section-heading {
  margin-bottom: 2rem;
}
.section-heading .intro {
  margin-top: 1.15rem;
  max-width: 65ch;
}
.heading-centered {
  max-width: 750px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.section-close {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: center;
}
.section-close > p {
  color: var(--color-dark);
  font-weight: 600;
}
.check-list {
  list-style: none;
  padding: 0;
  margin-block: 1.6rem;
  display: grid;
  gap: 0.65rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
}
.check-list .icon {
  color: var(--color-primary);
  margin-top: 2px;
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}

/* Teléfono: botones sin número en móvil; texto sin enlace desde tablet. */
.phone-desktop {
  display: none;
}
.phone-contact {
  align-self: center;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0 0.25rem 1.15rem;
  border-left: 1px solid #a9c4e8;
  text-align: left;
}
.phone-contact > .icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  padding: 8px;
  color: var(--color-primary-ink);
  background: #e1eeff;
  border-radius: 50%;
}
.phone-contact-copy,
.phone-contact-label {
  display: block;
}
.phone-contact-label {
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  line-height: 1.4;
}
.phone-contact .phone-number {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.final-section .phone-contact {
  border-color: rgb(255 255 255 / 40%);
}
.final-section .phone-contact > .icon {
  color: white;
  background: rgb(255 255 255 / 15%);
}
.phone-number {
  white-space: nowrap;
  font-weight: 700;
}

/* 3. Header y hero */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 89px;
  padding-block: 0.6rem;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 124px;
  height: auto;
}
.brand span {
  font-size: 0.61rem;
  line-height: 1.5;
  color: var(--color-text);
  letter-spacing: 0.035em;
}
.header-contact {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-contact > .button {
  min-height: 44px;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
}
.header-contact-label {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 2.5rem 3rem;
  background:
    radial-gradient(ellipse at 0 100%, #d5f5ff 0, transparent 55%),
    linear-gradient(115deg, #f2f8ff 5%, #e3f0ff 60%, #c5dfff);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 140%;
  height: 450px;
  right: -55%;
  top: 16rem;
  border-radius: 50%;
  background: linear-gradient(140deg, #168bff, var(--color-primary) 65%, #0055dc);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-areas: "heading" "photo" "content";
  gap: 1.5rem;
  align-items: start;
}
.hero-heading {
  grid-area: heading;
}
.hero-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  max-width: 690px;
}
.hero h1 span {
  color: var(--color-primary);
}
.hero .eyebrow {
  max-width: 400px;
  font-size: 0.65rem;
}
.hero-actions {
  width: 100%;
  order: 1;
  margin-top: 1.5rem;
}
.hero-checks {
  width: 100%;
  order: 0;
  margin-block: 0;
  gap: 0.65rem;
}
.hero-checks li {
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid #c5dcf8;
  border-radius: 8px;
  background: rgb(255 255 255 / 75%);
  font-size: 0.95rem;
  line-height: 1.55;
}
.hero-checks strong {
  font-weight: 750;
}
.hero-checks .icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  padding: 5px;
  margin-top: 0;
  color: white;
  background: var(--color-primary);
  border-radius: 50%;
}
.hero-coverage {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  margin-top: 1.25rem;
  order: 2;
}
.hero-coverage .icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
  margin-top: 3px;
}
.service-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-dark);
  border: 1px solid #20374d;
}
.service-photo > img {
  width: 100%;
  aspect-ratio: 8 / 9;
  object-fit: cover;
}
.service-photo--hero {
  grid-area: photo;
  width: min(100%, 480px);
  justify-self: center;
  border: 6px solid var(--color-white);
  border-radius: 18px;
  background: #eee8de;
  box-shadow: 0 16px 40px rgb(0 61 145 / 12%);
}
.service-photo--hero > img {
  aspect-ratio: 4 / 5;
  object-position: center;
}
.service-photo figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 1rem 1.2rem;
  background: #11263c;
  border-top: 1px solid #2c4159;
  color: #c4d3e5;
  font-size: 0.73rem;
}
.service-photo figcaption span {
  display: block;
}
.service-photo figcaption code {
  font:
    0.63rem/1.5 ui-monospace,
    monospace;
  color: #95afcd;
  overflow-wrap: anywhere;
}

/* 4. Beneficios y problemas */
.trust-strip {
  border-block: 1px solid var(--color-line);
  background: var(--color-surface);
  padding-block: 1.7rem;
}
.trust-grid {
  display: grid;
  gap: 1.3rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.trust-item > .icon {
  color: var(--color-primary);
  margin-top: 2px;
  width: 25px;
  height: 25px;
  flex-basis: 25px;
}
.trust-item h2 {
  font-size: 0.88rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  text-wrap: initial;
}
.trust-item p {
  font-size: 0.78rem;
  line-height: 1.55;
  margin-top: 0.25rem;
}
.problems {
  background: linear-gradient(180deg, #eaf4ff 0%, #f4f9ff 65%, #e7f1ff 100%);
  border-bottom: 1px solid #ccdef5;
}
.problems .eyebrow {
  width: fit-content;
  padding: 0.4rem 0.8rem;
  border: 1px solid #c4dbfa;
  border-radius: var(--radius-sm);
  background: #dcecff;
}
.problems h2 span {
  color: var(--color-primary-ink);
}
.problems .section-close {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid #c7dbf5;
  border-radius: 10px;
  background: white;
}
.problems .section-close strong {
  color: var(--color-primary-ink);
}
.problem-grid {
  display: grid;
  gap: 1rem;
}
.problem-card {
  padding: 1.5rem;
  border: 1px solid #c7dbf5;
  border-top: 3px solid var(--color-primary);
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 18px rgb(0 67 153 / 5%);
}
.problem-card .icon-tile {
  width: 50px;
  height: 50px;
  color: white;
  background: var(--color-primary);
  border-radius: 10px;
  margin-bottom: 1.2rem;
}
.problem-card:first-child {
  color: white;
  background: var(--color-primary-ink);
  border-color: var(--color-primary-ink);
}
.problem-card:first-child p {
  color: white;
}
.problem-card:first-child .icon-tile {
  color: white;
  background: rgb(255 255 255 / 16%);
}
.problem-card:last-child {
  background: #ddecff;
}
.problem-card:last-child .icon-tile {
  background: var(--color-primary-ink);
}
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: var(--radius-sm);
  color: var(--color-primary-ink);
  background: #edf4ff;
  margin-bottom: 1rem;
}
.problem-card h3 {
  margin-bottom: 0.65rem;
}
.problem-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}
.why-section {
  background: var(--color-surface);
  border-block: 1px solid var(--color-line);
}
.why-grid {
  display: grid;
  gap: 2.5rem;
}
.why-visual {
  display: grid;
  gap: 1.25rem;
  align-self: start;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}
.why-photo {
  overflow: hidden;
  border: 5px solid var(--color-white);
  border-radius: var(--radius-md);
  background: #e6eef7;
  box-shadow: 0 8px 24px rgb(13 27 42 / 8%);
}
.why-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 780 / 922;
}
.benefit-list {
  display: grid;
}
.benefit {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--color-line);
}
.benefit:first-child {
  padding-top: 0;
}
.benefit:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.benefit-number {
  color: var(--color-primary-ink);
  font:
    600 0.8rem/1.7 ui-monospace,
    monospace;
  padding-top: 2px;
}
.benefit h3 {
  font-size: 1rem;
}
.benefit p {
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

/* 5. Proceso y evidencia */
.steps {
  display: grid;
  list-style: none;
  padding: 0;
  margin-block: 2.7rem 2rem;
  gap: 2rem;
}
.steps li {
  position: relative;
}
.step-number {
  display: inline-grid;
  place-content: center;
  width: 48px;
  height: 48px;
  background: #edf4ff;
  border: 1px solid #cdddff;
  color: var(--color-primary-ink);
  border-radius: 50%;
  font:
    600 0.92rem ui-monospace,
    monospace;
  margin-bottom: 1.1rem;
}
.steps li:first-child .step-number {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.steps h3 {
  font-size: 1.2rem;
}
.steps p {
  font-size: 0.89rem;
}
.steps .step-subtitle {
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.7rem;
}
.steps .step-subtitle + p {
  margin-top: 0.55rem;
}
.process-proof {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  max-width: 870px;
  margin: 2rem auto 1.5rem;
}
.process-photo {
  width: min(100%, 210px);
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 5px solid var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.process-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.process-note {
  background: var(--color-surface);
  padding: 1.4rem;
  border-left: 3px solid var(--color-primary);
}
.process-note > div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.process-note .icon {
  color: var(--color-primary-ink);
  margin-top: 3px;
}
.process-note > div > p {
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 600;
}
.process-note .fine-print {
  font-size: 0.77rem;
  margin-top: 0.6rem;
}
.testimonials-section {
  background: var(--color-surface);
  border-block: 1px solid var(--color-line);
}
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
}
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem;
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.testimonial-source {
  width: fit-content;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-primary-ink);
  background: #edf4ff;
}
.testimonial-source--whatsapp {
  color: #075e36;
  background: #e0f5e9;
}
.testimonial-author {
  font-size: 0.94rem;
  font-weight: 700;
}
.stars {
  color: #9a6000;
  font-size: 1.08rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}
.quote-icon {
  color: var(--color-primary-ink);
  margin-bottom: 0.8rem;
}
.testimonial blockquote {
  margin-bottom: 1.5rem;
}
.testimonial blockquote p {
  color: var(--color-dark);
  font-size: 0.94rem;
}
.testimonial-evidence {
  display: block;
  width: 100%;
  margin-top: auto;
  color: var(--color-primary-ink);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.testimonial-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: 0.5rem;
  background: #f5f7fa;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.testimonial-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.testimonial-evidence-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 650;
  border-top: 1px solid var(--color-line);
}
.testimonial-evidence:hover {
  border-color: var(--color-primary);
  background: #edf4ff;
}
.testimonial-dialog {
  width: min(1100px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 1.25rem;
  border: 0;
  border-radius: var(--radius-md);
  background: white;
  color: var(--color-dark);
}
.testimonial-dialog::backdrop {
  background: rgb(13 27 42 / 80%);
}
.testimonial-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.testimonial-dialog-header h2 {
  font-size: 1.05rem;
  letter-spacing: normal;
}
.testimonial-dialog-close {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #bdcde0;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-dark);
  font: 600 0.9rem var(--font-sans);
  cursor: pointer;
}
.testimonial-dialog-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
body.testimonial-is-open {
  overflow: hidden;
}

/* 6. Garantía */
.guarantee-section {
  background: var(--color-dark);
  color: white;
}
.guarantee-section p {
  color: #bdccdd;
}
.guarantee-section .eyebrow {
  color: #83b5ff;
}
.guarantee-section .eyebrow::before {
  background: #83b5ff;
}
.guarantee-heading {
  display: grid;
  gap: 1.5rem;
  max-width: 860px;
  margin-inline: auto;
}
.guarantee-emblem {
  display: grid;
  place-items: center;
  width: 80px;
  height: 90px;
  border: 1px solid #365571;
  border-radius: var(--radius-md);
  background: #142b43;
}
.guarantee-emblem .icon {
  width: 49px;
  height: 49px;
  color: #75adff;
}
.guarantee-heading .section-heading {
  margin-bottom: 0;
}
.guarantee-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem;
  margin-top: 1rem;
}
.guarantee-grid > div {
  padding-top: 1.25rem;
  border-top: 1px solid #304253;
}
.guarantee-grid .icon {
  color: #79adff;
  margin-bottom: 0.65rem;
}
.guarantee-grid h3 {
  font-size: 1rem;
}
.guarantee-grid p {
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* 7. Cobertura y preguntas */
.coverage-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.coverage-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.coverage-list .icon {
  color: var(--color-primary-ink);
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}
.coverage-contact {
  padding: 2rem 1.4rem;
  border: 1px solid #ccddf7;
  border-radius: var(--radius-md);
  background: #f2f7ff;
}
.coverage-pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: #e2edff;
  border: 1px solid #c4d9ff;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}
.coverage-pin .icon {
  color: var(--color-primary);
  width: 30px;
  height: 30px;
}
.coverage-contact h3 {
  font-size: 1.3rem;
  max-width: 300px;
}
.coverage-contact p {
  font-size: 0.95rem;
  margin-block: 0.8rem 1.5rem;
}
.coverage-contact .button {
  width: 100%;
}
.faq-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
}
.faq-grid {
  display: grid;
  gap: 0.5rem;
}
.faq-list {
  border-top: 1px solid #cdd8e5;
}
.faq-list details {
  border-bottom: 1px solid #cdd8e5;
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 68px;
  padding-block: 1rem;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.5;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  color: var(--color-primary-ink);
  transition: transform 0.16s;
}
.faq-list details[open] summary .icon {
  transform: rotate(45deg);
}
.faq-list details[open] summary {
  color: var(--color-primary-ink);
}
.faq-answer {
  padding: 0 1rem 1.3rem 0;
  font-size: 0.92rem;
}

/* 8. Cierre, footer y contacto móvil */
.final-section {
  background: #0057db;
  color: #fff;
}
.final-section .section-heading {
  max-width: 720px;
  margin-bottom: 1.75rem;
}
.final-section .eyebrow {
  color: #dae8ff;
}
.final-section .eyebrow::before {
  background: #b7d5ff;
}
.final-section h2 {
  font-size: clamp(2.15rem, 4vw, 3rem);
}
.final-section .intro {
  color: #e5edff;
  max-width: 600px;
  margin-inline: auto;
}
.final-hours {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #e5edff;
}
.final-hours .icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
  margin-top: 2px;
}
.site-footer {
  padding-block: 3rem 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
}
.footer-brand {
  max-width: 320px;
}
.footer-brand > p {
  margin-top: 1rem;
}
.footer-details {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
.footer-details > * {
  min-width: 0;
  margin: 0;
}
.footer-grid p {
  font-size: 0.82rem;
  line-height: 1.7;
}
.footer-grid strong {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary-ink);
  letter-spacing: 0.04em;
}
.disclaimer {
  font-size: 0.73rem;
  margin-top: 2rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--color-line);
  line-height: 1.8;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.2rem;
  font-size: 0.73rem;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.mobile-contact {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0.6rem;
  background: white;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -4px 20px rgb(13 27 42 / 8%);
}
.mobile-contact .button {
  min-height: 48px;
  padding: 0.7rem 0.5rem;
}

/* 9. Aviso de privacidad */
.legal-main {
  max-width: 840px;
  padding-block: 3rem 4.5rem;
  min-height: 60vh;
}
.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  padding-block: 0.5rem;
  font-size: 0.9rem;
}
.legal-main h1 {
  margin-bottom: 0.5rem;
}
.privacy-updated {
  color: var(--color-steel);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.privacy-intro {
  padding: 1.5rem;
  background: var(--color-surface);
  border-left: 3px solid var(--color-primary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.privacy-section + .privacy-section {
  border-top: 1px solid var(--color-line);
  margin-top: 2.25rem;
  padding-top: 2.25rem;
}
.privacy-section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.privacy-section ul {
  color: var(--color-text);
  margin: 1rem 0 0;
  padding-left: 1.4rem;
}
.privacy-section li + li {
  margin-top: 0.45rem;
}
.privacy-contact-lines {
  margin-top: 1rem;
}
.privacy-contact-lines p + p {
  margin-top: 0.25rem;
}
.legal-main p a {
  color: var(--color-primary-ink);
  overflow-wrap: anywhere;
}

/* 10. Adaptación progresiva según el espacio disponible */
@media (min-width: 540px) {
  .problems .eyebrow {
    margin-inline: auto;
  }
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .trust-grid,
  .problem-grid,
  .testimonials-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .heading-centered {
    text-align: center;
  }
  .heading-centered .eyebrow {
    justify-content: center;
  }
  .heading-centered .intro {
    margin-inline: auto;
  }
  .trust-item {
    gap: 0.7rem;
  }
  .hero .eyebrow {
    max-width: none;
  }
  .hero-actions .button {
    flex: 1 1 auto;
  }
  .guarantee-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .guarantee-heading {
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
  }
  .final-hours {
    align-items: center;
  }
}

@media (min-width: 768px) {
  .process-proof {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
  }
  .process-photo {
    width: 220px;
  }
  .hero::before {
    top: auto;
    bottom: -80px;
  }
  .hero-grid {
    grid-template-areas: "heading" "content" "photo";
    gap: 0;
  }
  .service-photo--hero {
    margin-top: 2.5rem;
  }
  .phone-mobile {
    display: none;
  }
  .phone-desktop {
    display: inline;
  }
  .phone-desktop.phone-contact {
    display: inline-flex;
  }
  body {
    padding-bottom: 0;
  }
  .container {
    width: min(var(--container-width), calc(100% - 4rem));
  }
  .header-inner {
    min-height: 100px;
  }
  .brand img {
    width: 140px;
  }
  .brand span {
    font-size: 0.66rem;
  }
  .header-contact > .button {
    gap: 0.65rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
  .header-contact-label {
    display: inline;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
  }
  .footer-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.6rem;
    padding-left: clamp(1.4rem, 3vw, 2.4rem);
    border-left: 1px solid var(--color-line);
  }
  .footer-coverage {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
  }
  .mobile-contact {
    display: none;
  }
  .hero {
    padding-block: 3.7rem;
  }
  .hero-content {
    display: block;
  }
  .hero-actions {
    margin-top: 1.5rem;
  }
  .hero-checks {
    margin-top: 1.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }
  .hero-checks li {
    align-items: flex-start;
    padding: 1rem;
  }
  .hero-checks .icon {
    margin-top: 0.15rem;
  }
  .hero .eyebrow {
    font-size: 0.66rem;
  }
  .problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .problem-card {
    padding: 1.65rem;
  }
  .coverage-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
  .coverage-contact {
    padding: 2rem;
  }
  .faq-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
  .guarantee-grid {
    gap: 2.5rem;
    margin-block: 1rem 0.6rem;
  }
  .guarantee-emblem {
    width: 100px;
    height: 110px;
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero::before {
    width: 60%;
    height: 150%;
    right: -24%;
    top: -25%;
    bottom: auto;
  }
  .hero-grid {
    grid-template-areas: "heading photo" "content photo";
    grid-template-columns: 1.23fr 1fr;
    column-gap: 3rem;
    row-gap: 0;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 3.8vw, 3.45rem);
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-actions .button {
    flex: 0 1 auto;
    font-size: 0.84rem;
    padding-inline: 0.85rem;
  }
  .service-photo--hero {
    width: 100%;
    margin-top: 0;
    align-self: center;
  }
  .hero-coverage {
    max-width: 490px;
  }
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .trust-item + .trust-item {
    border-left: 1px solid var(--color-line);
    padding-left: 1.25rem;
  }
  .why-grid {
    grid-template-columns: 1fr 1.22fr;
    gap: 5.5rem;
  }
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 65px;
    width: calc(100% - 47px);
    height: 1px;
    background: var(--color-line);
  }
  .coverage-grid {
    gap: 7rem;
  }
  .faq-grid {
    gap: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .faq-list summary .icon {
    transition: none;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}

@media print {
  body {
    padding-bottom: 0;
  }
  .mobile-contact,
  .header-contact,
  .actions,
  .button,
  .skip-link {
    display: none;
  }
  .section {
    padding-block: 1.5rem;
  }
  .service-photo {
    max-width: 220px;
  }
  .guarantee-section,
  .final-section {
    background: white;
    color: var(--color-dark);
  }
  .guarantee-section p,
  .final-section p {
    color: var(--color-text);
  }
}
