/* ── Base ─────────────────────────────────────────────────── */
:root {
  color-scheme: light;
  --green: #5E7362;
  --green-hover: #4e6153;
  --bg: #F7F5F1;
  --bg-alt: #EFEDE7;
  --text: #1A1A1A;
  --text-body: #4a4a46;
  --text-quote: #2a2a28;
  --text-muted: #6b6b66;
  --text-subtle: #5a5a55;
  --border: #e0ddd5;
  --placeholder-bg: #eceae4;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
/* clip (no hidden): evita el scroll horizontal sin crear un scroll container,
   para no romper position: sticky (tarjetas apiladas) */
html, body { overflow-x: clip; }
::selection { background: var(--green); color: #fff; }
a { color: var(--green); }
a:hover { color: var(--green-hover); }
img { display: block; max-width: 100%; height: auto; }

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
}

/* ── Tipografía ──────────────────────────────────────────── */
.font-display { font-family: Fraunces, Georgia, serif; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero .container {
  max-width: none;
  margin: 0;
  padding-left: 48px;
}
.section-padding { padding-top: 96px; padding-bottom: 96px; }

/* ── Botón CTA ───────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 22px 36px;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1;
  transition: background 0.2s;
}
.btn-cta:hover { background: var(--green-hover); color: #fff; }
.btn-cta .arrow { font-size: 20px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  max-height: 860px;
  overflow: hidden;
  background: var(--bg);
}
.hero picture {
  position: absolute;
  top: 0;
  right: -12%;
  height: 100%;
  width: auto;
}
.hero-bg {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #F7F5F1 0%, #F7F5F1 32%, rgba(247,245,241,0.9) 39%, rgba(247,245,241,0.4) 48%, rgba(247,245,241,0) 58%);
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10%;
}
.hero-text {
  max-width: 70%;
}
.hero-tag {
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 4.1vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.008em;
  color: var(--text);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.hero-desc {
  font-size: 26px;
  line-height: 1.6;
  color: #6B6B6B;
  margin: 0 0 40px;
  max-width: 460px;
  text-wrap: pretty;
}
.hero-note {
  font-size: 15px;
  color: var(--text-subtle);
  margin-top: 16px;
}

/* ── Problemas ───────────────────────────────────────────── */
.problemas h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 56px;
  max-width: 760px;
  text-wrap: pretty;
}
.problemas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.problema-card {
  padding: 24px;
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  border-radius: 8px;
  border: 1px solid transparent;
  border-top: 2px solid var(--green);
}
.problema-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .problema-card.visible:hover {
    transform: scale(1.03);
    border-color: #5E7362;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
  .problema-card.visible:hover .avatar-icon {
    transform: scale(1.06);
  }
}
.problema-card .avatar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eceae4;
  margin-bottom: 16px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.problema-card .avatar-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.problema-card p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-quote);
  margin: 0;
  text-wrap: pretty;
}
.problemas-cierre {
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--text);
  margin: 56px 0 0;
  max-width: 720px;
  text-wrap: pretty;
}

/* ── Áreas ───────────────────────────────────────────────── */
.areas h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 56px;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.area-card {
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .area-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
}
.area-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 8px;
  overflow: hidden;
  background: var(--placeholder-bg);
  margin-bottom: 20px;
}
.area-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area-card h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 10px;
}
.area-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
  text-wrap: pretty;
}

/* ── Proceso ─────────────────────────────────────────────── */
.proceso-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr;
  gap: 120px;
  align-items: center;
}
.proceso-grid h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 48px;
}
.proceso-content {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
}
.proceso-sticky-num {
  position: relative;
}
.sticky-num {
  position: sticky;
  top: 40%;
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 96px;
  color: #5E7362;
  line-height: 1;
  transition: opacity 0.3s ease;
}
.sticky-num.fade {
  opacity: 0;
}
.proceso-num-mobile {
  display: none;
}
.proceso-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.proceso-step {
  display: block;
}
.proceso-step .num {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 36px;
  color: var(--green);
  line-height: 1;
  padding-top: 4px;
}
.proceso-step h3 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--text);
  margin: 0 0 6px;
}
.proceso-step p {
  font-size: 21px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
  text-wrap: pretty;
}
.proceso-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--placeholder-bg);
}
.proceso-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Sobre mí ────────────────────────────────────────────── */
.sobremi { background: var(--bg-alt); }
.sobremi-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: center;
}
.sobremi-photo-wrap {
  position: relative;
  min-width: 0;
  padding: 0 28px 28px 0;
}
.sobremi-photo-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86%;
  height: 88%;
  display: none;
}
.sobremi-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 18px 24px 60px 8px rgba(94, 115, 98, 0.5);
  background: var(--placeholder-bg);
}
.sobremi-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0.3);
  opacity: 0.3;
  transition: transform 0.1s linear, opacity 0.1s linear;
}
.sobremi-photo img.photo-done {
  transform: scale(1);
  opacity: 1;
}
@media (max-width: 768px) {
  .sobremi-photo img {
    transform: scale(0.85);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
  }
  .sobremi-photo img.photo-done {
    transform: scale(1);
    opacity: 1;
  }
}
.sobremi h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 24px;
}
.sobremi p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.sobremi blockquote {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.28;
  color: var(--text);
  margin: 32px 0;
  padding-left: 24px;
  border-left: 3px solid var(--green);
  text-wrap: pretty;
}
.sobremi .matricula {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.sobremi .matricula-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.sobremi .matricula span:last-child {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
}

/* ── Primera consulta ────────────────────────────────────── */
.consulta-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.consulta-grid h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 24px;
}
.consulta-grid > div:first-child p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 32px;
  max-width: 520px;
  text-wrap: pretty;
}
.consulta-precio {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}
.consulta-precio .price {
  font-weight: 600;
  color: var(--salvia);
}
.consulta-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--placeholder-bg);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.consulta-img.visible {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .consulta-img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.consulta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px 24px;
}
.faq h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 48px;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-toggle h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}
.faq-icon {
  font-size: 22px;
  font-weight: 400;
  color: #5E7362;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
  transform: rotate(90deg);
}
.faq-item.open .faq-icon {
  transform: rotate(270deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  opacity: 1;
}
.faq-answer p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
  padding-bottom: 28px;
  text-wrap: pretty;
}

/* ── Cierre ──────────────────────────────────────────────── */
.cierre {
  position: relative;
  margin: 0 auto;
  max-width: 1360px;
  padding: 0 24px;
}
.cierre-inner {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.cierre-bg {
  position: absolute;
  inset: 0;
}
.cierre-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% center;
  transform: scale(1.15);
  transform-origin: left center;
}
.cierre-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,22,20,0.82) 0%, rgba(20,22,20,0.6) 50%, rgba(20,22,20,0.25) 100%);
  pointer-events: none;
}
.cierre-blinds {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 1;
  pointer-events: none;
}
.blind {
  flex: 1;
  background: var(--bg);
  transform: scaleX(1);
  transform-origin: center;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.15, 1);
}
.cierre-inner.blinds-open .blind {
  transform: scaleX(0);
}
.cierre-content {
  position: relative;
  z-index: 2;
  padding: 80px 56px;
  max-width: 680px;
}
.cierre-content h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.cierre-content p {
  font-size: 20px;
  line-height: 1.55;
  color: #f0efe9;
  margin: 0 0 40px;
  max-width: 480px;
  text-wrap: pretty;
}
.cierre .btn-cta {
  background: #8aad8a;
  color: #fff;
  font-size: 22px;
  padding: 18px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .35);
}
.cierre .btn-cta:hover { background: #9bbe9b; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 72px;
}
.footer-watermark {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  text-align: center;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(90px, 22vw, 300px);
  line-height: 0.74;
  letter-spacing: -0.02em;
  color: rgba(26,26,26,0.07);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 1.2s ease 0.35s, transform 1.2s ease 0.35s;
}
.footer-watermark.visible {
  opacity: 1;
  transform: translateY(0);
}
.footer-content {
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer-info .name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 8px;
}
.footer-info .details {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}
.footer-contact {
  text-align: right;
}
.footer-contact-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-icons {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}
.footer-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}
@media (hover: hover) {
  .footer-icons a:hover {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Hero */
  .hero {
    position: relative;
    height: 100svh;
    height: 100vh;
    max-height: none;
    min-height: 0;
    display: block;
    overflow: hidden;
  }
  .hero picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(247,245,241,0) 35%, rgba(247,245,241,0.55) 52%, #F7F5F1 72%);
  }
  .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    display: flex;
    align-items: flex-end;
    padding: 0 0 32px;
  }
  .hero .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-tag {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .hero h1 br { display: none; }
  .hero-desc {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 18px;
  }
  .hero-note {
    font-size: 12px;
    margin-top: 10px;
  }
  .btn-cta {
    font-size: 16px;
    padding: 14px 20px;
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* General */
  .container {
    padding: 0 20px;
  }
  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* Problemas */
  .problemas-grid {
    grid-template-columns: 1fr;
  }
  .problema-card.visible.mobile-active {
    transform: translateY(-15px);
    border-color: #5E7362;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  }
  .problema-card.visible.mobile-active .avatar-icon {
    transform: scale(1.1);
  }

  /* Áreas */
  .areas-grid {
    grid-template-columns: 1fr;
  }

  /* Proceso */
  .proceso-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .proceso-img {
    order: 1;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    aspect-ratio: auto;
    height: 220px;
    border-radius: 0;
  }
  /* Parallax (compatible con iOS): la imagen es position: fixed y el
     clip-path del contenedor la recorta a la banda. Un transform en un
     ancestro rompería el fixed, por eso se anula al terminar el fade-in. */
  .proceso.fade-in.visible {
    transform: none;
  }
  .proceso-img {
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
  }
  .proceso-img img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100lvh;
    object-fit: cover;
    z-index: 0;
  }
  .proceso-img::after {
    content: "Arce Abogada";
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Fraunces, Georgia, serif;
    font-weight: 500;
    font-size: 15.5vw;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.24);
    text-align: center;
    pointer-events: none;
  }
  .proceso-left { order: 0; }
  .proceso-content {
    display: block;
  }
  .proceso-sticky-num {
    display: none;
  }
  .proceso-num-mobile {
    display: block;
    margin-bottom: 8px;
  }
  .proceso-step {
    display: block;
  }
  .proceso-steps {
    gap: 20px;
    padding-bottom: 24px;
  }
  .proceso-step {
    position: sticky;
    background: #F7F5F1;
    border-radius: 20px;
    padding: 28px 24px;
    min-height: 200px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  .proceso-step:nth-child(1) { top: 80px;  z-index: 1; }
  .proceso-step:nth-child(2) { top: 100px; z-index: 2; }
  .proceso-step:nth-child(3) { top: 120px; z-index: 3; }
  .proceso-step h3 { font-size: 20px; }
  .proceso-step p { font-size: 17px; }
  .proceso-grid h2 {
    font-size: clamp(28px, 7vw, 38px);
  }

  /* Sobre mí */
  .sobremi-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sobremi-photo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
  .sobremi h2 {
    font-size: clamp(26px, 6.5vw, 36px);
  }

  /* Primera consulta */
  .consulta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .consulta-grid h2 {
    font-size: clamp(26px, 6.5vw, 36px);
  }

  /* FAQ */
  .faq {
    padding: 64px 20px;
  }
  .faq h2 {
    font-size: clamp(26px, 6.5vw, 36px);
  }
  .faq-toggle h3 {
    font-size: 18px;
  }

  /* Cierre */
  .cierre {
    padding: 0 16px;
  }
  .cierre-content {
    padding: 40px 20px;
  }
  .cierre-inner {
    min-height: 360px;
  }
  .cierre-blinds {
    display: none;
  }
  .cierre-content h2 {
    font-size: clamp(26px, 6.5vw, 36px);
  }
  .cierre-content p {
    font-size: 17px;
  }
  .cierre .btn-cta {
    font-size: 18px;
    padding: 16px 32px;
    min-height: 48px;
  }

  /* Footer */
  .site-footer {
    padding: 60px 20px 56px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-contact { text-align: left; }
  .footer-icons { justify-content: flex-start; }
  .footer-legal { text-align: left; }
  .footer-watermark {
    left: 20px;
    right: 20px;
    font-size: 30vw;
    color: rgba(26,26,26,0.1);
    z-index: 0;
  }

  /* WhatsApp float */
  .wa-float {
    bottom: 16px;
    right: 16px;
  }
}

.footer-legal {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 24px;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--green);
}

/* ── Fade-in on scroll ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── WhatsApp flotante ──────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
}
.wa-float.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
@media (hover: hover) {
  .wa-float:hover {
    transform: scale(1.1);
  }
}
