:root {
  --green-950: #082b0d;
  --green-900: #0c4b12;
  --green-800: #0e6010;
  --green-700: #17701a;
  --green-600: #249121;
  --green-500: #43ca1d;
  --green-400: #95ba4c;
  --surface: #f4f4f1;
  --surface-2: #ffffff;
  --text: #1f2522;
  --muted: #5f655f;
  --line: #1f6a22;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.18); 
  --radius-xl: 32px; 
  --radius-lg: 24px; 
  --radius-md: 18px; 
  --container: 1100px; 
  --container-narrow: 900px; 
  /* Total gutter (izquierda + derecha) usado por `.container` */
  --page-gutter: 40px; 
  --title-section: clamp(2rem, 3.1vw, 3.1rem); 
  --text-lg: clamp(0.98rem, 1.02vw, 1.08rem); 
} 

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--surface);
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }

  .section {
    overflow: hidden;
  }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

/* ——— Motion / Scroll reveal ——————————————————————————————— */

@keyframes sheenSweep {
  0% {
    transform: translateX(-140%);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(140%);
    opacity: 0;
  }
}

@keyframes iconPopIn {
  0% {
    transform: translateY(-50%) scale(0.82) rotate(-10deg);
    filter: blur(1px);
  }
  55% {
    transform: translateY(-50%) scale(1.1) rotate(3deg);
    filter: blur(0px);
  }
  100% {
    transform: translateY(-50%) scale(1) rotate(0deg);
    filter: blur(0px);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 4px rgba(255, 255, 255, 0.95),
      0 18px 42px rgba(0, 0, 0, 0.12);
  }
  50% {
    box-shadow:
      inset 0 0 0 4px rgba(255, 255, 255, 0.95),
      0 18px 42px rgba(0, 0, 0, 0.12),
      0 0 0 10px rgba(67, 202, 29, 0.12);
  }
}

@keyframes cardShadowPulse {
  0%,
  100% {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.14);
  }
}

@keyframes spin360 {
  0% {
    transform: rotateY(0deg) rotateZ(0deg) scale(1);
  }
  45% {
    transform: rotateY(180deg) rotateZ(2deg) scale(1.03);
  }
  100% {
    transform: rotateY(360deg) rotateZ(0deg) scale(1);
  }
}

.reveal {
  --reveal-x: 0px;
  --reveal-y: 18px;
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
  transition-delay: var(--reveal-delay);
}

.reveal--left {
  --reveal-x: -28px;
  --reveal-y: 0px;
}

.reveal--right {
  --reveal-x: 28px;
  --reveal-y: 0px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .feature-card,
  .feature-card__tilt,
  .feature-card__tilt::before,
  .feature-card__tilt::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Layout ─────────────────────────────────────────────────── */

.container { 
  width: min(calc(100% - var(--page-gutter)), var(--container)); 
  margin: 0 auto; 
} 
 
.container--narrow { 
  width: min(calc(100% - var(--page-gutter)), var(--container-narrow)); 
  margin: 0 auto; 
} 

.center-text {
  text-align: center;
}

.section {
  position: relative;
  overflow: hidden;
  overflow: clip;
}

.section--light {
  padding: 72px 0;
  background: var(--surface);
}

.section--dark {
  color: #fff;
}

/* ── Hero — Diseño Elegante Premium ────────────────────────── */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroBrandIn {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes lineExpand {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(67, 202, 29, 0); }
  50%       { box-shadow: 0 0 40px 6px rgba(67, 202, 29, 0.18); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes priorityFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050e06;
}

/* Imagen de fondo con parallax suave */
.hero__bg {
  position: absolute;
  inset: -8% 0 -8%;
  background:
    url("assets/Imagenes_de_fondo__irere.jpg") center / cover no-repeat;
  transform: scale(1.05);
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Capas de overlay compuestas para profundidad visual */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* Viñeta perimetral uniforme */
    radial-gradient(ellipse at 50% 50%, transparent 25%, rgba(3,10,4,0.65) 100%),
    /* Oscurecimiento parejo */
    linear-gradient(180deg,
      rgba(4, 18, 6, 0.70) 0%,
      rgba(5, 28, 8, 0.62) 50%,
      rgba(4, 18, 6, 0.85) 100%);
}

/* Fade inferior */
.hero__deco-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__deco-line::before {
  display: none;
}

.hero__deco-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 18, 6, 0.90) 100%);
}

/* Ornamentos geométricos de fondo — simétricos */
.hero__ornament {
  position: absolute;
  pointer-events: none;
}

.hero__ornament--circle {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(149, 186, 76, 0.07);
}

.hero__ornament--circle-2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(149, 186, 76, 0.05);
}

.hero__ornament--dot-grid {
  bottom: 18%;
  right: 8%;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(circle, rgba(149,186,76,0.22) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.45;
}

/* Contenido */
.hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 6vh, 56px) 0 clamp(56px, 8vh, 96px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Brand / Logo */
.brand {
  display: inline-flex;
  align-items: center;
  width: min(100%, 380px);
  margin-bottom: clamp(22px, 4vh, 48px);
  opacity: 0;
  animation: heroBrandIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.brand img {
  width: 100%;
  border-radius: 18px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

/* Etiqueta de categoría sobre el título */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: rgba(149, 186, 76, 0.12);
  border: 1px solid rgba(149, 186, 76, 0.28);
  opacity: 0;
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #95ba4c;
  box-shadow: 0 0 8px rgba(149, 186, 76, 0.7);
  animation: pulseGlow 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__eyebrow-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8de7a;
}

/* Bloque de texto hero */
.hero__text-block {
  max-width: 720px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Línea decorativa bajo el eyebrow */
.hero__rule {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #43ca1d, #95ba4c);
  margin: 0 auto clamp(14px, 2.6vh, 22px);
  transform-origin: center;
  opacity: 0;
  animation: lineExpand 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero h1 {
  margin: 0 0 clamp(12px, 2.6vh, 20px);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

/* Palabra destacada con gradiente shimmer */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg,
    #7ddf59 0%, #c8de7a 40%, #43ca1d 60%, #95ba4c 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear 1.5s infinite;
}

.hero__lead {
  margin: 0 0 clamp(18px, 3.8vh, 36px);
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

/* Bullets — tarjetas vidrio */
.hero__bullets {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 clamp(24px, 4.6vh, 44px);
  list-style: none;
  width: 100%;
  max-width: 480px;
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.hero__bullets li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px 13px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(149, 186, 76, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  transition: background 0.25s, border-color 0.25s;
}

.hero__bullets li:hover {
  background: rgba(149, 186, 76, 0.10);
  border-color: rgba(149, 186, 76, 0.35);
}

/* Icono check elegante */
.hero__bullets li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2d8c1a 0%, #43ca1d 100%);
  box-shadow: 0 4px 12px rgba(67, 202, 29, 0.35);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.hero__bullets li::after {
  content: none;
}

/* CTA Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

/* Badge flotante de confianza */
.hero__trust-badge {
  position: absolute;
  bottom: 12%;
  right: 5%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 26px;
  border-radius: 26px;
  background:
    radial-gradient(120% 150% at 50% 0%,
      rgba(149, 186, 76, 0.18) 0%,
      rgba(12, 40, 15, 0.55) 35%,
      rgba(6, 18, 7, 0.88) 72%,
      rgba(5, 14, 6, 0.92) 100%);
  border: 1px solid rgba(149, 186, 76, 0.50);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(67, 202, 29, 0.12) inset,
    0 0 42px rgba(67, 202, 29, 0.14);
  overflow: hidden;
  animation: floatBadge 5s ease-in-out 1.5s infinite, heroFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 1.2s both;
  text-align: center;
  max-width: 230px;
}

.hero__trust-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(140px 100px at 50% 0%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.00) 70%);
  opacity: 0.9;
}

.hero__trust-badge-icon {
  width: 30px;
  height: 30px;
  color: #d9ff7a;
  filter: drop-shadow(0 0 10px rgba(149, 186, 76, 0.45));
}

.hero__trust-badge-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfff75;
}

.hero__trust-badge-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  font-weight: 500;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeUp 0.6s ease 1.8s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(149,186,76,0.6), transparent);
  animation: lineExpand 1s ease 2s both;
  transform-origin: top;
}

.hero__scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  font-weight: 600;
}

/* ── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.pill-action:hover {
  transform: translateY(-2px);
}

.btn--solid {
  background: linear-gradient(135deg, #1aaa1a 0%, #0d7c10 50%, #0a6010 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(15, 120, 20, 0.45), 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.btn--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.btn--solid:hover {
  box-shadow: 0 12px 40px rgba(15, 120, 20, 0.6), 0 4px 12px rgba(0,0,0,0.3);
}

.btn--large {
  min-width: clamp(240px, 24vw, 282px);
  min-height: clamp(62px, 5vw, 72px);
  padding: clamp(14px, 1.6vw, 17px) clamp(24px, 2.8vw, 30px);
  border-radius: 999px;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  font-weight: 600;
}

.btn__caret {
  font-size: 1.05rem;
}

/* ── Trust / Feature Section ───────────────────────────────── */

.section-title {
  margin: 0;
  font-size: var(--title-section);
  line-height: 1.08;
  color: var(--green-900);
  font-weight: 800;
}

.section-title span {
  display: block;
}

/* Ajuste visual en PC para el título de "infraestructura de confianza" */
.trust .section-title {
  font-size: clamp(1.9rem, 2.9vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 32ch;
  margin-inline: auto;
  text-wrap: balance;
}

@media (min-width: 901px) {
  .trust .section-title span {
    display: inline;
  }
}

.section-intro,
.trust__footnote,
.problem__copy p,
.evidences__footer p,
.appointment__copy p {
  font-size: var(--text-lg);
  line-height: 1.8;
}

.section-intro {
  margin: 24px auto 0;
  max-width: 820px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.feature-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  background: var(--surface-2);
  isolation: isolate;
}

.feature-card.is-visible {
  animation: cardShadowPulse 5.6s ease-in-out calc(var(--reveal-delay) + 900ms)
    infinite;
}

.feature-card__tilt {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-lift: 0px;
  --tilt-scale: 1;
  --mx: 50%;
  --my: 50%;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
    translateY(var(--tilt-lift)) scale(var(--tilt-scale));
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.feature-card__spin {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
}

.feature-card.is-spinning .feature-card__spin {
  animation: spin360 920ms cubic-bezier(0.2, 0.8, 0.2, 1) 1 both;
}

.feature-card__tilt::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    circle at var(--mx) var(--my),
    rgba(67, 202, 29, 0.26) 0%,
    rgba(67, 202, 29, 0.12) 22%,
    transparent 56%
  );
  opacity: 0;
  filter: blur(2px);
  transition: opacity 260ms ease;
  z-index: 2;
  pointer-events: none;
}

.feature-card__tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 60%
  );
  transform: translateX(-140%);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.feature-card img {
  --feature-img-scale: 1;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  transform-origin: center;
  transform: translateZ(18px) scale(var(--feature-img-scale));
  will-change: transform;
}

.feature-grid .feature-card:nth-child(2) img {
  --feature-img-scale: 0.96;
}

.feature-grid .feature-card:nth-child(3) img {
  --feature-img-scale: 0.9;
}

@media (hover: hover) and (pointer: fine) {
  .feature-grid .feature-card {
    cursor: pointer;
  }

  .feature-card:hover .feature-card__tilt,
  .feature-card.is-tilting .feature-card__tilt {
    --tilt-lift: -10px;
    --tilt-scale: 1.02;
  }

  .feature-card:hover .feature-card__tilt::before,
  .feature-card.is-tilting .feature-card__tilt::before {
    opacity: 1;
  }

  .feature-card:hover .feature-card__tilt::after {
    opacity: 1;
    animation: sheenSweep 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 1 both;
  }
}

.feature-card.is-visible .feature-card__tilt::after {
  opacity: 1;
  animation: sheenSweep 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay)
    1 both;
}

.dual-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 32px;
  width: min(100%, 880px);
  margin-inline: auto;
}

.pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1 1 280px;
  max-width: 420px;
  min-width: min(100%, 280px);
  min-height: 58px;
  padding: 0 clamp(18px, 2.2vw, 26px);
  border-radius: 999px;
  background: var(--green-900);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 67, 10, 0.2);
  transition: transform 0.25s ease, background 0.25s ease;
}

.pill-action__icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.pill-action__icon svg,
.contact-band__bubble svg,
.social-dot svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.trust__footnote {
  max-width: 860px;
  margin: 32px auto 0;
  color: #4e564f;
}

@media (min-width: 1025px) {
  .trust .feature-grid {
    max-width: 900px;
    margin-inline: auto;
  }

  .trust .feature-card {
    width: 100%;
    max-width: 270px;
    margin-inline: auto;
  }

  .trust .dual-actions {
    width: min(100%, 760px);
    gap: 16px;
    margin-top: 26px;
  }

  .trust .pill-action {
    flex-basis: 240px;
    max-width: 350px;
    min-height: 54px;
    font-size: 0.95rem;
  }

  .trust .pill-action__icon {
    width: 23px;
    height: 23px;
  }
}

/* ── Section Heading ───────────────────────────────────────── */

.section-heading {
  margin-bottom: 48px;
}

.section-heading--compact {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-heading__line {
  width: min(100%, 620px);
  height: 3px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 10%, var(--line) 90%, transparent 100%);
}

.section-heading.section-heading--compact .section-heading__line {
  order: 2;
  width: min(100%, 880px);
  height: 3px;
  margin: 12px auto 10px;
  background: var(--green-900);
}

.section-heading.section-heading--compact h2 {
  order: 1;
  font-size: var(--title-section);
}

.section-heading.section-heading--compact p {
  order: 3;
  max-width: 880px;
  font-size: var(--text-lg);
}

.section-heading.section-heading--compact strong {
  color: var(--green-900);
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-size: var(--title-section);
  line-height: 1.05;
  font-weight: 800;
  color: var(--green-900);
}

.section-heading p,
.section-heading span {
  margin: 10px 0 0;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: #384138;
}

/* ── Problem Section ───────────────────────────────────────── */

.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
}

.problem__content {
  padding-left: 18px;
}

.problem-list {
  display: grid;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.problem-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 18px 34px 18px 104px;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  width: 100%;
  isolation: isolate;
  z-index: 0;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 46px;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d6510 0%, #0b5010 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 0 100%);
  box-shadow: 0 16px 34px rgba(9, 80, 15, 0.14);
}

.problem-list li::after {
  content: "";
  position: absolute;
  left: 46px;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 0 100%);
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 45%,
    transparent 60%
  );
  transform: translateX(-140%);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.problem-list__icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #0b5010;
  border: 6px solid #0b5010;
  z-index: 1;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.95),
    0 18px 42px rgba(0, 0, 0, 0.12);
}

.problem-list li .problem-list__icon {
  will-change: transform, box-shadow;
}

.problem-list li.is-visible::after {
  animation: sheenSweep 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay)
    1 both;
}

.problem-list li.is-visible .problem-list__icon {
  animation:
    iconPopIn 700ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay) 1,
    iconPulse 3.6s ease-in-out calc(var(--reveal-delay) + 900ms) infinite;
}

@media (hover: hover) and (pointer: fine) {
  .problem-list li::before {
    transition:
      transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
      filter 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .problem-list li .problem-list__icon {
    transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .problem-list li:hover::before {
    transform: translateY(-3px) scale(1.008);
    filter: brightness(1.06) saturate(1.12);
    box-shadow: 0 20px 52px rgba(9, 80, 15, 0.2);
  }

  .problem-list li:hover::after {
    opacity: 1;
    animation: sheenSweep 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 1 both;
  }

  .problem-list li:hover .problem-list__icon {
    transform: translateY(calc(-50% - 2px)) scale(1.04) rotate(-2deg);
  }
}

.problem-list__icon::before,
.problem-list__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 7px;
  background: #fff;
  border-radius: 999px;
  transform-origin: center;
}

.problem-list__icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.problem-list__icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.problem-list__text {
  display: block;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.problem__image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0;
  align-self: center;
  justify-self: end;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.problem__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

.problem__image--chat {
  aspect-ratio: 5 / 6;
  background: #07170d;
}

/* —— Chat Reel (demo en la sección Problema) ——————————————————————————— */

.chat-reel {
  --chat-reel-avatar: url("assets/SegCap.png");
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 15%, rgba(67, 202, 29, 0.25), transparent 48%),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.08), transparent 54%),
    linear-gradient(180deg, #07170d 0%, #050f09 100%);
  color: rgba(255, 255, 255, 0.92);
}

.chat-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--chat-reel-avatar, none) center / contain no-repeat;
  opacity: 0.08;
  filter: saturate(1.05) contrast(1.04);
  pointer-events: none;
  z-index: 0;
}

.chat-reel__header {
  position: relative;
  z-index: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(6, 18, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
}

.chat-reel__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.chat-reel__avatar-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.chat-reel__avatar {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  background:
    var(--chat-reel-avatar, none) center / 70% no-repeat,
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(67, 202, 29, 0.28), rgba(255, 255, 255, 0.08));
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.chat-reel__presence {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #43ca1d;
  border: 2px solid rgba(6, 18, 10, 0.92);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.chat-reel__header-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.chat-reel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #43ca1d;
  box-shadow: 0 0 0 4px rgba(67, 202, 29, 0.18);
}

.chat-reel__title {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-reel__time {
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.chat-reel__subtitle {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-reel__viewport {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow: auto;
  padding: 14px 12px 18px;
  scroll-behavior: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.chat-reel__viewport::-webkit-scrollbar {
  width: 10px;
}

.chat-reel__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.chat-reel__viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

.chat-reel__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 10px;
}

.chat-reel__msg {
  display: flex;
}

.chat-reel__msg--left {
  justify-content: flex-start;
}

.chat-reel__msg--right {
  justify-content: flex-end;
}

.chat-reel__bubble {
  width: min(86%, 320px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  will-change: transform, opacity, filter;
}

.chat-reel__msg--right .chat-reel__bubble {
  background: rgba(67, 202, 29, 0.18);
  border-color: rgba(67, 202, 29, 0.22);
}

.chat-reel__bubble img {
  width: 100%;
  height: auto;
  display: block;
  background: rgba(255, 255, 255, 0.06);
}

.chat-reel__bubble img:not([width]) {
  aspect-ratio: 9 / 16;
}

.chat-reel__msg.is-new {
  animation: chatReelIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes chatReelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.chat-reel__fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 54px;
  pointer-events: none;
  z-index: 3;
}

.chat-reel__fade--top {
  top: 48px;
  background: linear-gradient(180deg, rgba(6, 18, 10, 0.96), rgba(6, 18, 10, 0));
}

.chat-reel__fade--bottom {
  bottom: 0;
  background: linear-gradient(0deg, rgba(6, 18, 10, 0.96), rgba(6, 18, 10, 0));
}

.chat-reel__hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.chat-reel.is-hint .chat-reel__hint {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .chat-reel__msg.is-new {
    animation: none;
  }

  .chat-reel__viewport {
    scroll-behavior: auto;
  }

  .chat-reel__hint {
    transition: none;
  }
}

.placeholder-card {
  border-radius: 0;
}

.placeholder-card__frame {
  min-height: 260px;
  border-radius: 12px;
  border: 3px dashed rgba(12, 75, 18, 0.28);
  background:
    linear-gradient(180deg, rgba(67, 202, 29, 0.08), rgba(12, 75, 18, 0.1)),
    radial-gradient(circle at top left, rgba(67, 202, 29, 0.1), transparent 40%);
  display: grid;
  place-items: center;
  color: var(--green-900);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.problem__copy { 
  margin-top: 32px; 
  max-width: 72ch; 
  margin-inline: auto; 
} 

.problem__copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.problem__copy p:last-child {
  margin-bottom: 0;
}

.problem__highlight,
.evidences__highlight {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.38;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 20px !important;
}

/* ── Evidences Section ─────────────────────────────────────── */

.evidence-list {
  display: grid;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.evidence-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 28px;
  align-items: center;
  padding: 0;
}

.evidence-item__image-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.evidence-item__image-wrap img {
  width: 100%;
  max-width: 220px;
  border-radius: 0;
}

.evidence-item__content {
  max-width: 100%;
}

.evidence-item__content h3 {
  margin: 0 0 10px;
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--green-900);
  font-weight: 700;
}

.evidence-item__content p {
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.06rem);
  line-height: 1.7;
  color: #505750;
}

.evidences__footer {
  margin-top: 32px;
}

.evidences__footer p {
  margin: 0 0 10px;
  color: var(--muted);
}

.evidences__footer p:last-child {
  margin-bottom: 0;
}


/* ── PQR Section ───────────────────────────────────────────── */

.pqr {
  background: var(--surface);
}

.pqr .section-heading {
  margin-bottom: 40px;
}

.pqr__intro {
  max-width: 920px;
  margin: 0 auto 28px;
}

.pqr__intro p {
  margin: 0 0 14px;
  color: var(--muted);
}

.pqr__intro p:last-child,
.pqr__footer p:last-child {
  margin-bottom: 0;
}

.pqr__highlight {
  font-size: clamp(1.22rem, 2vw, 1.75rem);
  line-height: 1.4;
  font-weight: 800;
  color: var(--green-900);
}

.pqr-carousel {
  margin: 0 auto 28px;
}

.pqr-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 14px;
}

.pqr-carousel__nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(13, 80, 16, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-900);
  box-shadow: 0 10px 22px rgba(10, 60, 15, 0.06);
}

.pqr-carousel__nav span {
  font-size: 1.6rem;
  line-height: 1;
  transform: translateY(-1px);
}

.pqr-carousel__nav[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.pqr-carousel__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pqr-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(13, 80, 16, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  padding: 0;
}

.pqr-carousel__dot[aria-current="true"] {
  width: 28px;
  background: linear-gradient(90deg, #0d6510 0%, #0b5010 100%);
}

.pqr-carousel__viewport {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px;
}

.pqr-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.pqr-carousel__track {
  display: flex;
}

.pqr-carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.pqr-carousel__slide:focus {
  outline: none;
}

.pqr-carousel .pqr-doc__actions {
  margin-top: 14px;
  padding-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pqr-carousel__viewport {
    scroll-behavior: auto;
  }
}

.pqr__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 28px;
}

.pqr-step {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(13, 80, 16, 0.1);
  box-shadow: 0 18px 48px rgba(10, 60, 15, 0.08);
}

.pqr-step--accent {
  background: linear-gradient(180deg, #0e6511 0%, #0a4c0f 100%);
  border-color: transparent;
}

.pqr-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: rgba(13, 80, 16, 0.08);
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pqr-step--accent .pqr-step__number {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.pqr-step h3,
.pqr-doc h3 {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.02rem, 1.4vw, 1.35rem);
  line-height: 1.25;
  color: var(--green-900);
}

.pqr-step p,
.pqr-doc p,
.pqr__footer p {
  margin: 0;
  color: #4f574f;
}

.pqr-step--accent h3,
.pqr-step--accent p {
  color: #fff;
}

.pqr-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pqr-doc {
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(13, 80, 16, 0.1);
  box-shadow: 0 22px 52px rgba(10, 60, 15, 0.08);
}

.pqr-doc--editable {
  background: linear-gradient(180deg, rgba(13, 101, 16, 0.06), rgba(255, 255, 255, 1));
  border-color: rgba(13, 101, 16, 0.2);
  align-items: center;
  text-align: center;
}

.pqr-docs .pqr-doc--editable {
  grid-column: 1 / -1;
}

.pqr-doc--editable p {
  max-width: 72ch;
  margin-inline: auto;
}

.pqr-doc--editable .pqr-doc__checklist {
  width: min(520px, 100%);
  margin: 16px auto 0;
  text-align: left;
}

.pqr-doc--editable .pqr-doc__actions {
  width: min(520px, 100%);
}

.pqr-doc__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: rgba(13, 80, 16, 0.08);
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pqr-doc--editable .pqr-doc__tag {
  align-self: center;
}

.pqr-doc__checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.pqr-doc__checklist li {
  position: relative;
  padding-left: 24px;
  color: #3f473f;
}

.pqr-doc__checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #16af19 0%, #0d7310 100%);
  transform: translateY(-50%);
}

.pqr-doc__actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.pqr-doc__actions--stack {
  flex-direction: column;
}

.pqr-doc__button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.pqr-doc__link {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
}

.pqr__footer {
  max-width: 760px;
  margin: 28px auto 0;
}

/* ── Appointment Section ───────────────────────────────────── */

.appointment {
  background:
    linear-gradient(90deg, rgba(3, 31, 7, 0.92), rgba(4, 53, 10, 0.74)),
    url("assets/Imagenes_de_fondo__Diseo_sin_ttulo_(8).jpg") center / cover no-repeat;
}

.appointment__overlay,
.contact-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.18));
}

.appointment__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding: 80px 0;
}

.appointment__copy h2 {
  margin: 0 0 18px;
  font-size: var(--title-section);
  line-height: 1.05;
  font-weight: 800;
}

.appointment__copy h2 span {
  display: block;
}

.appointment__copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* ── Calendar Card ─────────────────────────────────────────── */

.calendar-card {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  color: #202620;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.calendar-card__hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5e665f;
}

.calendar-card__avatar {
  width: 66px;
  height: 66px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background-color: #fff;
  background-image: url("assets/Marta.jpeg");
  background-size: 160%;
  background-position: 50% 18%;
  background-repeat: no-repeat;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.calendar-card__name,
.calendar-card h3,
.calendar-card__month {
  text-align: center;
}

.calendar-card__name {
  margin: 0;
  font-size: 0.85rem;
  color: #505750;
}

.calendar-card h3 {
  margin: 10px 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--green-900);
}

.calendar-card ul {
  margin: 0 0 4px;
  padding-left: 20px;
  color: #5e665f;
  line-height: 1.65;
  font-size: 0.9rem;
}

.calendar-card__month {
  margin: 18px 0 12px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--green-900);
}

.calendar-card__month-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.calendar-card__month-row .calendar-card__month {
  margin: 18px 0 12px;
}

.calendar-card__nav {
  width: 34px;
  height: 34px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1px solid rgba(12, 75, 18, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.calendar-card__nav:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 75, 18, 0.28);
  background: #fff;
}

.calendar-card__nav:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 2px;
}

.calendar-card__weekdays,
.calendar-card__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-card__weekdays {
  margin-bottom: 8px;
  color: #7b827c;
  font-size: 0.72rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.calendar-card__days span,
.calendar-card__days button {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.84rem;
  font-family: inherit;
  line-height: 1;
}

.calendar-card__days button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.calendar-card__days button:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 2px;
}

.calendar-card__days .is-active {
  background: rgba(149, 186, 76, 0.26);
  color: var(--green-900);
  font-weight: 700;
}

.calendar-card__days .is-selected {
  background: rgba(67, 202, 29, 0.22);
  box-shadow: inset 0 0 0 2px rgba(67, 202, 29, 0.55);
}

.calendar-card__days .is-disabled {
  color: #b9beb9;
}

.calendar-card__slots {
  position: absolute;
  inset: 14px;
  z-index: 5;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  padding: 14px 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(12, 75, 18, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%,
      rgba(67, 202, 29, 0.16) 0%,
      rgba(67, 202, 29, 0.06) 32%,
      rgba(67, 202, 29, 0.00) 62%),
    radial-gradient(circle at 0% 110%,
      rgba(149, 186, 76, 0.14) 0%,
      rgba(149, 186, 76, 0.05) 30%,
      rgba(149, 186, 76, 0.00) 64%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(245, 249, 244, 0.98) 44%,
      rgba(255, 255, 255, 0.98) 100%);
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.calendar-card.is-slots-open .calendar-card__slots {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.calendar-card__slots-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-card__slots-header .calendar-card__slots-title {
  line-height: 1.15;
}

.calendar-card__slots-back {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 122, 32, 0.22);
  background: rgba(242, 244, 239, 0.92);
  color: var(--green-900);
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.calendar-card__slots-back:hover {
  transform: translateY(-1px);
  background: rgba(149, 186, 76, 0.12);
  border-color: rgba(47, 122, 32, 0.32);
}

.calendar-card__slots-back:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 2px;
}

.calendar-card__slots-title {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: #2a312b;
  font-weight: 800;
  text-align: center;
}

.calendar-card__timepicker {
  display: grid;
  align-content: center;
  gap: 12px;
  justify-items: center;
  position: relative;
  isolation: isolate;
  padding: 6px 0 2px;
}

.calendar-card__timepicker::before {
  content: "";
  position: absolute;
  inset: -16px -18px;
  border-radius: 18px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 30%,
      rgba(67, 202, 29, 0.16) 0%,
      rgba(67, 202, 29, 0.06) 36%,
      rgba(67, 202, 29, 0.00) 68%),
    radial-gradient(circle at 12% 20%,
      rgba(149, 186, 76, 0.14) 0%,
      rgba(149, 186, 76, 0.00) 62%),
    radial-gradient(circle at 90% 86%,
      rgba(12, 75, 18, 0.10) 0%,
      rgba(12, 75, 18, 0.00) 58%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.00) 0%,
      rgba(255, 255, 255, 0.78) 48%,
      rgba(255, 255, 255, 0.00) 100%);
  opacity: 0.80;
}

.calendar-card__timepicker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(320px, 92%);
  height: 140px;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: url("assets/SegCap.png") center / contain no-repeat;
  opacity: 0.07;
  filter: grayscale(1) contrast(1.05) blur(0.2px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: soft-light;
}

.calendar-card__timepicker > * {
  position: relative;
  z-index: 1;
}

.calendar-card__slots .calendar-card__confirm {
  margin-top: 6px;
  position: static;
}

.calendar-card.is-slots-open .calendar-card__clock {
  width: min(262px, 100%);
}

@media (max-width: 420px) {
  .calendar-card__slots {
    padding: 12px 12px 14px;
  }

  .calendar-card.is-slots-open .calendar-card__clock {
    width: min(242px, 100%);
  }
}

@media (max-height: 680px) {
  .calendar-card__slots {
    inset: 10px;
    padding: 12px 12px 12px;
  }

  .calendar-card__timepicker::after {
    height: 120px;
  }

  .calendar-card.is-slots-open .calendar-card__clock {
    width: min(238px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .calendar-card__slots {
    transition: none;
    transform: none;
  }

  .floating-message {
    transition: none;
  }

  .floating-chat {
    transition: none;
    transform: none;
  }
}

.calendar-card__clock {
  width: min(270px, 100%);
  aspect-ratio: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 24%,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(255, 255, 255, 0.14) 26%,
      rgba(255, 255, 255, 0.00) 56%),
    conic-gradient(from 210deg,
      #f3f3f3 0deg,
      #a8a8a8 44deg,
      #ffffff 86deg,
      #737373 138deg,
      #e9e9e9 190deg,
      #565656 246deg,
      #d7d7d7 296deg,
      #3a3a3a 336deg,
      #f3f3f3 360deg),
    conic-gradient(from -90deg,
      rgba(67, 202, 29, 0.00) 0deg 292deg,
      rgba(67, 202, 29, 0.22) 292deg 312deg,
      rgba(67, 202, 29, 0.00) 312deg 360deg),
    repeating-conic-gradient(from 0deg,
      rgba(255, 255, 255, 0.05) 0 0.8deg,
      rgba(0, 0, 0, 0.04) 0.8deg 1.6deg),
    radial-gradient(circle at 50% 50%,
      #f2f2f2 0%,
      #cfcfcf 30%,
      #8b8b8b 50%,
      #4b4b4b 72%,
      #1b1b1b 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 26px 78px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.22),
    inset 0 2px 4px rgba(255, 255, 255, 0.40),
    inset 0 -18px 28px rgba(0, 0, 0, 0.38);
}

.calendar-card__clock-face {
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 72% 78%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle at 50% 55%, #171717 0%, #070707 64%, #000 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    inset 0 -18px 30px rgba(0, 0, 0, 0.65);
}

.calendar-card__clock-face::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("assets/SegCap.png");
  background-repeat: no-repeat;
  background-position: 50% 54%;
  background-size: 118% 118%;
  opacity: 0.13;
  mix-blend-mode: screen;
  filter: saturate(1.12) contrast(1.06) brightness(1.06) blur(0.35px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 68%, rgba(0, 0, 0, 0) 92%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 68%, rgba(0, 0, 0, 0) 92%);
}

.calendar-card__clock-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 34% 46%,
      rgba(67, 202, 29, 0.16) 0%,
      rgba(67, 202, 29, 0.07) 26%,
      rgba(67, 202, 29, 0.00) 56%),
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.06) 44%,
      rgba(0, 0, 0, 0.00) 64%);
  opacity: 0.62;
  mix-blend-mode: multiply;
}

.calendar-card__clock::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background:
    repeating-conic-gradient(
      from -90deg,
      rgba(255, 255, 255, 0.92) 0 0.9deg,
      rgba(255, 255, 255, 0) 0.9deg 6deg
    ),
    repeating-conic-gradient(
      from -90deg,
      rgba(255, 255, 255, 0.95) 0 2deg,
      rgba(255, 255, 255, 0) 2deg 30deg
    );
  opacity: 0.62;
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 18px),
    #000 calc(100% - 18px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 18px),
    #000 calc(100% - 18px)
  );
  pointer-events: none;
  z-index: 1;
}

.calendar-card__clock::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.18) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 10px rgba(0, 0, 0, 0.06),
    inset 0 0 0 12px rgba(67, 202, 29, 0.04);
  pointer-events: none;
  z-index: 1;
}

.calendar-card__clock-hand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 38%;
  background: linear-gradient(to top, rgba(245, 245, 245, 0.95), rgba(190, 190, 190, 0.65));
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(var(--hand-angle, 0deg));
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform;
}

.calendar-card__clock-hand::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(210, 210, 210, 0.7) 55%, rgba(120, 120, 120, 0.45) 100%);
}

.calendar-card__clock-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.00) 52%),
    radial-gradient(circle at 50% 60%, rgba(0, 0, 0, 0.00) 42%, rgba(0, 0, 0, 0.65) 100%),
    linear-gradient(180deg, rgba(40, 40, 40, 0.96), rgba(6, 6, 6, 0.96));
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 14px 22px rgba(0, 0, 0, 0.45),
    0 0 0 3px rgba(255, 255, 255, 0.08),
    0 0 0 7px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 3;
}

.calendar-card__clock-center::before {
  content: none;
}

.calendar-card__clock-center::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(190, 190, 190, 0.65) 55%, rgba(90, 90, 90, 0.55) 100%);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.calendar-card__clock-hour {
  position: absolute;
  width: clamp(38px, 8.5vw, 44px);
  height: clamp(38px, 8.5vw, 44px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.86));
  color: rgba(245, 245, 245, 0.95);
  font-weight: 900;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 10px 18px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, text-shadow 0.18s ease;
  z-index: 4;
  box-shadow:
    0 14px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.calendar-card__clock-hour:hover {
  transform: translate(-50%, -50%) scale(1.06);
  color: rgba(255, 255, 255, 0.98);
  text-shadow:
    0 14px 26px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.calendar-card__clock-hour:active {
  transform: translate(-50%, -50%) scale(0.98);
}

.calendar-card__clock-hour.is-selected {
  color: rgba(157, 255, 106, 0.98);
  text-shadow:
    0 14px 26px rgba(0, 0, 0, 0.65),
    0 0 22px rgba(67, 202, 29, 0.45);
  border-color: rgba(67, 202, 29, 0.55);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(67, 202, 29, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.calendar-card__clock-hour:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 2px;
}

.calendar-card__minutes {
  width: min(270px, 100%);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 122, 32, 0.14);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
}

.calendar-card__minute-step {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(47, 122, 32, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 240, 233, 0.9));
  color: var(--green-900);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.calendar-card__minute-step:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(149, 186, 76, 0.16), rgba(255, 255, 255, 0.94));
  border-color: rgba(47, 122, 32, 0.32);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.calendar-card__minute-step:active {
  transform: translateY(0px) scale(0.98);
}

.calendar-card__minute-step:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 2px;
}

.calendar-card__minute-input {
  width: 92px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(47, 122, 32, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 240, 233, 0.9));
  color: var(--green-900);
  font-weight: 900;
  font-size: 1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  outline: none;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  appearance: textfield;
  cursor: text;
  caret-color: var(--green-900);
}

.calendar-card__minute-input::-webkit-outer-spin-button,
.calendar-card__minute-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calendar-card__minute-input::placeholder {
  color: rgba(12, 75, 18, 0.35);
  font-weight: 800;
}

.calendar-card__minute-input:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 2px;
}

.calendar-card__minute-input:focus {
  outline: 2px solid rgba(67, 202, 29, 0.6);
  outline-offset: 2px;
}

.calendar-card__minute-input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .calendar-card__clock-hand {
    transition: none;
  }
}

.calendar-card__minute {
  min-width: 84px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(47, 122, 32, 0.22);
  background: rgba(242, 244, 239, 0.92);
  color: var(--green-900);
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.calendar-card__minute:hover {
  transform: translateY(-1px);
  background: rgba(149, 186, 76, 0.12);
  border-color: rgba(47, 122, 32, 0.32);
}

.calendar-card__minute.is-selected {
  background: rgba(125, 223, 89, 0.22);
  border-color: rgba(67, 202, 29, 0.75);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10), inset 0 0 0 1px rgba(67, 202, 29, 0.25);
}

.calendar-card__minute:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 2px;
}

.calendar-card__slot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 12px;
}

.calendar-card__slot {
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(47, 122, 32, 0.22);
  background: rgba(242, 244, 239, 0.92);
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.calendar-card__slot:hover {
  transform: translateY(-1px);
  background: rgba(149, 186, 76, 0.12);
  border-color: rgba(47, 122, 32, 0.32);
}

.calendar-card__slot.is-selected {
  background: rgba(125, 223, 89, 0.22);
  border-color: rgba(67, 202, 29, 0.75);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10), inset 0 0 0 1px rgba(67, 202, 29, 0.25);
}

.calendar-card__slot:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 2px;
}

.calendar-card__slots-empty {
  margin: 0;
  font-size: 0.9rem;
  color: #5f655f;
}

.calendar-card__confirm {
  width: 100%;
  margin-top: 12px;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #18b118 0%, #0d7c10 55%, #0a6010 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 12px 28px rgba(15, 120, 20, 0.28);
}

.calendar-card__confirm:disabled {
  cursor: not-allowed;
  filter: grayscale(0.15) saturate(0.65);
  opacity: 0.65;
  box-shadow: none;
}

.calendar-card__confirm:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 120, 20, 0.36);
}

.calendar-card__confirm:focus-visible {
  outline: 2px solid rgba(67, 202, 29, 0.7);
  outline-offset: 3px;
}

/* ── Contact Band ──────────────────────────────────────────── */

.contact-band {
  isolation: isolate;
  background-color: #07310c;
  background-image: url("assets/Imagenes_de_fondo__Diseo_sin_ttulo_(9).jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 42%;
}

.contact-band__overlay {
  background: linear-gradient(
    180deg,
    rgba(3, 22, 6, 0.22) 0%,
    rgba(2, 18, 5, 0.52) 100%
  );
}

.contact-band__content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: clamp(230px, 30vw, 320px);
  padding: clamp(34px, 5vw, 56px) 0;
  padding-inline: 12px;
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  line-height: 1.02;
  color: #fff;
  font-weight: 800;
  text-wrap: balance;
}

.btn--outline {
  border: 4px solid rgba(255, 255, 255, 0.92);
  color: #fff;
  background: transparent;
}

.btn--xl {
  min-width: 200px;
  min-height: 64px;
  padding: 12px 26px;
  border-radius: 18px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
}

.contact-band__bubble {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #4fe334 0%, #35c620 100%);
  color: #fff;
}

.contact-band__bubble svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Floating Message Button ────────────────────────────── */

.floating-message {
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px) + 22px);
  bottom: max(22px, env(safe-area-inset-bottom, 0px) + 22px);
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  z-index: 120;
  background: linear-gradient(180deg, #4fe334 0%, #28b315 100%);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateZ(0);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.floating-message::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(67, 202, 29, 0.20) 0%,
      rgba(67, 202, 29, 0.12) 24%,
      rgba(67, 202, 29, 0.00) 60%);
  opacity: 0.85;
  pointer-events: none;
}

.floating-message::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.16),
    inset 0 -10px 22px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.floating-message:hover {
  transform: translateY(-2px);
  filter: saturate(1.05) brightness(1.02);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.floating-message:active {
  transform: translateY(0px) scale(0.98);
}

.floating-message:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.floating-message__icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.floating-message svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ——— Floating Priority Button —————————————————————————————— */

.floating-priority {
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px) + 22px);
  bottom: calc(max(22px, env(safe-area-inset-bottom, 0px) + 22px) + 78px + 14px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 12px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  color: #fff;
  z-index: 121;
  max-width: min(360px, calc(100vw - 44px));
  background: linear-gradient(135deg, rgba(16, 143, 16, 0.96), rgba(10, 96, 16, 0.96));
  box-shadow:
    0 26px 74px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateZ(0);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  animation: priorityFloat 4.6s ease-in-out infinite;
}

.floating-priority::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.26) 45%,
    transparent 60%
  );
  background-size: 240% 100%;
  opacity: 0.55;
  mix-blend-mode: overlay;
  animation: shimmer 5.4s ease-in-out infinite;
  pointer-events: none;
}

.floating-priority::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.14),
    inset 0 -12px 26px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.floating-priority__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 1;
}

.floating-priority__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  opacity: 0.95;
}

.floating-priority__label { 
  font-weight: 900; 
  letter-spacing: 0.01em; 
  font-size: 0.95rem; 
  line-height: 1.1; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  position: relative; 
  z-index: 1; 
} 

.floating-priority__label--short { 
  display: none; 
} 
 
.floating-priority__tag { 
  margin-left: auto; 
  padding: 6px 10px; 
  border-radius: 999px; 
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(31, 37, 34, 0.94);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.floating-priority:hover {
  transform: translateY(-2px);
  filter: saturate(1.05) brightness(1.02);
  box-shadow:
    0 32px 88px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.floating-priority:active {
  transform: translateY(0px) scale(0.99);
}

.floating-priority:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.floating-priority.is-open {
  transform: translateY(-2px);
  filter: saturate(1.05) brightness(1.02);
}

.is-chat-open .floating-priority,
.is-chat-open .floating-priority-panel {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
}

.is-chat-open .floating-message {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
}

.is-priority-open .floating-message,
.is-priority-open .floating-chat {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
}

.floating-priority-panel {
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px) + 22px);
  bottom: calc(
    max(22px, env(safe-area-inset-bottom, 0px) + 22px) + 78px + 14px + 58px + 14px
  );
  z-index: 122;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: 100% 100%;
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-priority-panel.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.floating-priority-panel__content {
  width: min(380px, calc(100vw - 44px));
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 25% 18%, rgba(67, 202, 29, 0.14) 0%, rgba(67, 202, 29, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 248, 0.96));
  border: 1px solid rgba(10, 79, 15, 0.12);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.floating-priority-panel__content::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-right: 1px solid rgba(10, 79, 15, 0.10);
  border-bottom: 1px solid rgba(10, 79, 15, 0.10);
  transform: rotate(45deg);
  border-bottom-right-radius: 4px;
}

.floating-priority-panel__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: rgba(10, 79, 15, 0.88);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(10, 79, 15, 0.12);
  transition: transform 160ms ease, background 160ms ease;
}

.floating-priority-panel__close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.floating-priority-panel__close:active {
  transform: translateY(0px) scale(0.98);
}

.floating-priority-panel__close:focus-visible {
  outline: 3px solid rgba(10, 79, 15, 0.25);
  outline-offset: 3px;
}

.floating-priority-panel__title {
  margin: 0 40px 8px 0;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--green-900);
}

.floating-priority-panel__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(31, 37, 34, 0.92);
}

.floating-priority-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-weight: 900;
  color: var(--green-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floating-priority-panel__link:hover {
  filter: brightness(0.95);
}

.floating-priority-panel__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.floating-priority-panel__btn {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(10, 79, 15, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(10, 79, 15, 0.92);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, filter 160ms ease;
}

.floating-priority-panel__btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.02);
}

.floating-priority-panel__btn:active {
  transform: translateY(0px) scale(0.99);
}

.floating-priority-panel__btn:focus-visible {
  outline: 3px solid rgba(10, 79, 15, 0.25);
  outline-offset: 3px;
}

.floating-priority-panel__btn--primary {
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, rgba(35, 160, 45, 0.98) 0%, rgba(14, 115, 24, 0.98) 100%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 480px) {
  .floating-priority {
    padding: 11px 12px 11px 11px;
    gap: 9px;
  }

  .floating-priority__label {
    font-size: 0.92rem;
  }

  .floating-priority__tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-priority,
  .floating-priority::before {
    animation: none !important;
  }

  .floating-priority-panel {
    transition: none;
    transform: none;
  }
}

/* ── Floating Chat ───────────────────────────────────────── */

.floating-chat {
  position: fixed;
  right: calc(max(22px, env(safe-area-inset-right, 0px) + 22px) + 78px + 16px);
  bottom: calc(max(22px, env(safe-area-inset-bottom, 0px) + 22px) + 78px + 14px);
  z-index: 119;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: 100% 100%;
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-chat.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.is-chat-open .floating-chat {
  right: max(22px, env(safe-area-inset-right, 0px) + 22px);
  bottom: max(22px, env(safe-area-inset-bottom, 0px) + 22px);
}

.floating-chat__panel {
  width: min(420px, calc(100vw - 44px));
  position: relative;
  padding: 34px 18px 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 28% 18%, rgba(67, 202, 29, 0.12) 0%, rgba(67, 202, 29, 0.00) 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 249, 0.98));
  border: 1px solid rgba(10, 79, 15, 0.10);
  box-shadow:
    0 26px 74px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.floating-chat__panel::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -10px;
  width: 20px;
  height: 20px;
  background: inherit;
  border-right: 1px solid rgba(10, 79, 15, 0.08);
  border-bottom: 1px solid rgba(10, 79, 15, 0.08);
  transform: rotate(45deg);
  border-bottom-right-radius: 6px;
  z-index: -1;
}

.floating-chat__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(10, 79, 15, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(31, 37, 34, 0.86);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.floating-chat__close:hover {
  transform: translateY(-1px);
  background: rgba(245, 249, 244, 0.98);
  border-color: rgba(10, 79, 15, 0.20);
}

.floating-chat__close:active {
  transform: translateY(0px) scale(0.98);
}

.floating-chat__close:focus-visible {
  outline: 3px solid rgba(67, 202, 29, 0.55);
  outline-offset: 3px;
}

.floating-chat__avatar {
  --floating-avatar: url("assets/Marta.jpeg");
  position: absolute;
  left: 50%;
  top: -26px;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: #fff;
  background-image: var(--floating-avatar, none);
  background-size: 165%;
  background-position: 50% 18%;
  background-repeat: no-repeat;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.floating-chat__text {
  margin: 0;
  padding: 0 10px 10px;
  color: #1f2522;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.floating-chat__chat {
  padding: 0 6px 0;
}

.floating-chat__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 10px 6px;
  max-height: min(280px, calc(100svh - 340px));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.floating-chat__messages::-webkit-scrollbar {
  width: 10px;
}

.floating-chat__messages::-webkit-scrollbar-thumb {
  background: rgba(10, 79, 15, 0.20);
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.55);
}

.floating-chat__bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 0.98rem;
  line-height: 1.35;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.floating-chat__bubble--bot {
  align-self: flex-start;
  color: rgba(31, 37, 34, 0.92);
  background:
    radial-gradient(circle at 20% 15%, rgba(67, 202, 29, 0.10) 0%, rgba(67, 202, 29, 0.00) 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 248, 0.96));
  border: 1px solid rgba(10, 79, 15, 0.10);
  border-left: 4px solid rgba(67, 202, 29, 0.45);
}

.floating-chat__bubble--user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(135deg, rgba(16, 143, 16, 0.95), rgba(10, 96, 16, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-chat__bubble--bot a {
  color: var(--green-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}

.floating-chat__bubble--bot ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.floating-chat__bubble--bot li {
  margin-top: 6px;
}

.floating-chat__answer-title {
  font-weight: 900;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
}

.floating-chat__answer-body {
  color: rgba(31, 37, 34, 0.92);
}

.floating-chat__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(10, 79, 15, 0.08);
  border-bottom: 1px solid rgba(10, 79, 15, 0.08);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.floating-chat__suggestions-title {
  width: 100%;
  margin: 0 0 2px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 79, 15, 0.55);
}

.floating-chat__chip {
  border: 1px solid rgba(10, 79, 15, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(31, 37, 34, 0.9);
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.floating-chat__chip::before {
  content: "?";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(67, 202, 29, 0.14);
  color: rgba(10, 79, 15, 0.82);
  font-weight: 900;
  font-size: 0.78rem;
}

.floating-chat__chip:hover {
  transform: translateY(-1px);
  border-color: rgba(67, 202, 29, 0.35);
  background: rgba(236, 246, 234, 0.92);
}

.floating-chat__chip:active {
  transform: translateY(0px) scale(0.99);
}

.floating-chat__chip:focus-visible {
  outline: 3px solid rgba(67, 202, 29, 0.55);
  outline-offset: 3px;
}

.floating-chat__composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px 10px 2px;
}

.floating-chat__input {
  min-height: 46px;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(10, 79, 15, 0.14);
  background: rgba(255, 255, 255, 0.92);
  padding: 0 16px;
  color: rgba(31, 37, 34, 0.94);
  font-weight: 700;
  outline: none;
}

.floating-chat__input:focus-visible {
  outline: 3px solid rgba(67, 202, 29, 0.55);
  outline-offset: 3px;
}

.floating-chat__send {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, #18b118 0%, #0d7c10 55%, #0a6010 100%);
  box-shadow: 0 16px 34px rgba(15, 120, 20, 0.22);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.floating-chat__send:hover {
  transform: translateY(-1px);
  filter: brightness(1.03) saturate(1.05);
  box-shadow: 0 22px 44px rgba(15, 120, 20, 0.26);
}

.floating-chat__send:active {
  transform: translateY(0px) scale(0.99);
}

.floating-chat__send:focus-visible {
  outline: 3px solid rgba(67, 202, 29, 0.55);
  outline-offset: 3px;
}

.floating-chat__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 6px 10px 0;
}

.floating-chat__action {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(10, 79, 15, 0.12);
  background: linear-gradient(180deg, rgba(250, 252, 249, 0.96), rgba(239, 244, 238, 0.96));
  color: rgba(31, 37, 34, 0.9);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  display: grid;
  place-items: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.floating-chat__action:hover {
  transform: translateY(-1px);
  border-color: rgba(10, 79, 15, 0.20);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.10);
}

.floating-chat__action:active {
  transform: translateY(0px) scale(0.99);
}

.floating-chat__action:focus-visible {
  outline: 3px solid rgba(67, 202, 29, 0.55);
  outline-offset: 3px;
}

.floating-chat__action--primary {
  border-color: rgba(67, 202, 29, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 246, 234, 0.98));
  box-shadow:
    0 16px 34px rgba(31, 255, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (max-width: 520px) {  
  :root { 
    --page-gutter: 32px; 
  } 
 
  body {  
    padding-bottom: 0;  
  }  
 
  .contact { 
    padding-bottom: calc(96px + 160px + env(safe-area-inset-bottom, 0px)); 
  } 

  .section--light { 
    padding: 44px 0; 
  } 

  .trust .section-title { 
    font-size: clamp(1.7rem, 7.4vw, 2.35rem); 
    max-width: 20ch; 
  } 

  .section-intro { 
    margin-top: 16px; 
  } 

  .pqr .section-heading { 
    margin-bottom: 24px; 
  } 

  .pqr__intro { 
    margin-bottom: 18px; 
  } 

  .pqr-carousel { 
    margin-bottom: 20px; 
  } 

  .pqr-carousel__viewport { 
    padding: 0; 
  } 

  .pqr-carousel__slide { 
    gap: 14px; 
  } 

  .pqr-step, 
  .pqr-doc { 
    padding: 20px 18px 18px; 
    border-radius: 22px; 
  } 

  .pqr-step__number, 
  .pqr-doc__tag { 
    margin-bottom: 10px; 
  } 

  .pqr-step h3, 
  .pqr-doc h3 { 
    margin-bottom: 8px; 
  } 

  .floating-message {  
    right: max(16px, env(safe-area-inset-right, 0px) + 16px);  
    bottom: max(16px, env(safe-area-inset-bottom, 0px) + 16px);  
    width: 68px;  
    height: 68px; 
  } 

  .floating-message svg {
    width: 34px;
    height: 34px;
  }

  .floating-chat {  
    right: max(16px, env(safe-area-inset-right, 0px) + 16px);  
    bottom: calc(max(16px, env(safe-area-inset-bottom, 0px) + 16px) + 68px + 12px);  
  }  

  .floating-chat__panel { 
    width: min(360px, calc(100vw - 32px)); 
    max-height: calc(100svh - 32px); 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    padding: 30px 16px 14px; 
    border-radius: 18px; 
  } 

  .floating-chat__avatar { 
    position: static; 
    left: auto; 
    top: auto; 
    transform: none; 
    width: 52px; 
    height: 52px; 
    margin: 0 auto 10px; 
  } 

  .floating-chat__close { 
    top: 8px; 
    right: 8px; 
    width: 34px; 
    height: 34px; 
    font-size: 22px; 
  } 

  .floating-chat__text { 
    padding: 0 6px 10px; 
    font-size: 0.98rem; 
    text-align: center; 
  } 

  .floating-chat__actions { 
    grid-template-columns: 1fr; 
    gap: 10px; 
    padding: 4px 6px 0; 
  } 

  .floating-chat__action { 
    min-height: 44px; 
  } 

  .floating-chat__chat { 
    display: flex; 
    flex-direction: column; 
    min-height: 0; 
  } 

  .floating-chat__messages { 
    flex: 1 1 auto; 
    min-height: 0; 
    max-height: none; 
    padding: 12px 12px 10px; 
  } 

  .floating-chat__suggestions { 
    display: grid; 
    grid-template-columns: 1fr; 
    flex-wrap: nowrap; 
    overflow: auto; 
    max-height: 180px; 
    padding: 10px 12px 10px; 
    gap: 10px; 
  } 

  .floating-chat__suggestions-title { 
    display: block; 
    text-align: left; 
    margin: 0 0 2px; 
  } 
 
  .floating-chat__chip { 
    width: 100%; 
    display: inline-flex; 
    align-items: center; 
    justify-content: flex-start; 
    text-align: left; 
    flex: 0 0 auto; 
    white-space: normal; 
    padding: 10px 12px; 
    font-size: 0.86rem; 
  } 

  .floating-chat__chip::before { 
    width: 16px; 
    height: 16px; 
    margin-right: 7px; 
    font-size: 0.74rem; 
  } 

  .floating-chat__composer { 
    gap: 8px; 
    padding: 10px 12px 12px; 
  } 

  .floating-chat__input { 
    min-height: 44px; 
    padding: 0 14px; 
    font-weight: 700; 
  } 

  .floating-chat__send { 
    min-height: 44px; 
    padding: 0 10px; 
    white-space: nowrap; 
    font-size: 0.93rem; 
  } 

  .is-chat-open .floating-chat { 
    right: max(16px, env(safe-area-inset-right, 0px) + 16px); 
    bottom: max(16px, env(safe-area-inset-bottom, 0px) + 16px); 
  } 

  .floating-chat__bubble { 
    max-width: 100%; 
    padding: 9px 11px; 
    border-radius: 14px; 
    font-size: 0.95rem; 
  } 

  .floating-chat__bubble--bot { 
    border-left-width: 0; 
  } 
 
  .floating-priority {  
    right: max(16px, env(safe-area-inset-right, 0px) + 16px);  
    bottom: calc(max(16px, env(safe-area-inset-bottom, 0px) + 16px) + 68px + 12px);  
    width: 56px; 
    height: 56px; 
    padding: 0;  
    gap: 0;  
    max-width: none;  
    justify-content: center; 
  }  

  .floating-priority__icon { 
    width: 30px; 
    height: 30px; 
  } 
 
  .floating-priority__label--full { 
    display: none; 
  } 

  .floating-priority__label--short { 
    display: none; 
  } 
 
  .floating-priority-panel {  
    right: max(16px, env(safe-area-inset-right, 0px) + 16px);  
    bottom: calc(max(16px, env(safe-area-inset-bottom, 0px) + 16px) + 68px + 12px + 58px + 14px);  
  }  
}  

@media (max-width: 360px) { 
  .floating-chat__composer { 
    grid-template-columns: 1fr; 
  } 

  .floating-chat__send { 
    width: 100%; 
  } 
} 

/* ── Contact Section ───────────────────────────────────────── */

.contact {
  position: relative;
  isolation: isolate;
  background-color: #07310c;
  background-image:
    linear-gradient(180deg, rgba(2, 18, 5, 0.78) 0%, rgba(2, 18, 5, 0.86) 100%),
    url("assets/Imagenes_de_fondo__Diseo_sin_ttulo_(9).jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 56%;
  padding: 24px 0 28px;
}

.contact .section-heading {
  margin-bottom: 18px;
}

.contact .section-heading__line {
  height: 2px;
  margin-bottom: 10px;
}

.section-heading--light .section-heading__line {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.72) 10%, rgba(255, 255, 255, 0.72) 90%, transparent 100%);
}

.section-heading__question {
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 700;
  margin: 10px 0 4px !important;
}

.section-heading--light span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  max-width: 920px;
  margin-inline: auto;
  margin-top: 16px;
  overflow: visible;
}

.contact-form label {
  display: block;
}

.contact-form input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  padding: 0 20px;
  background: #f3f3ef;
  color: #2a312b;
  border-radius: 4px;
  font-size: 0.95rem;
}

.contact-form input::placeholder {
  color: #8d918d;
}

/* ——— Phone country code picker ———————————————————————————— */

.phone-field {
  position: relative;
}

.phone-field__control {
  position: relative;
  width: 100%;
  display: flex;
  align-items: stretch;
}

.phone-field__code {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 14px;
  border: 0;
  background: #f3f3ef;
  color: #2a312b;
  border-radius: 4px 0 0 4px;
  cursor: pointer;
  box-shadow: inset -1px 0 0 rgba(10, 79, 15, 0.12);
  min-height: 48px;
  flex: 0 0 auto;
  min-width: 88px;
}

.phone-field__code-value {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}

.phone-field__code-caret {
  width: 18px;
  height: 18px;
  opacity: 0.75;
}

.phone-field__control > input[type="tel"] {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 0 4px 4px 0;
}

.phone-field__code:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.country-picker {
  position: fixed;
  left: 0;
  top: 0;
  width: min(380px, calc(100vw - 44px));
  z-index: 130;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transform-origin: 100% 0%;
  transition: opacity 160ms ease, transform 180ms ease;
}

.country-picker.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.country-picker.is-up {
  transform-origin: 100% 100%;
}

.country-picker [hidden] {
  display: none !important;
}

.country-picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(10, 79, 15, 0.10);
}

.country-picker__title {
  font-weight: 900;
  color: var(--green-900);
  letter-spacing: 0.01em;
}

.country-picker__close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: rgba(10, 79, 15, 0.88);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px rgba(10, 79, 15, 0.12);
}

.country-picker__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 12px;
}

.country-picker__search svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  color: rgba(10, 79, 15, 0.8);
}

.country-picker__input {
  width: 100%;
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(10, 79, 15, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 0 12px;
  outline: 0;
}

.country-picker__list {
  max-height: 280px;
  overflow: auto;
  padding: 0 8px 10px;
}

.country-picker__group {
  padding: 10px 8px 6px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 79, 15, 0.55);
}

.country-picker__empty {
  padding: 14px 10px 6px;
  font-weight: 800;
  color: rgba(31, 37, 34, 0.62);
}

.country-picker__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: rgba(31, 37, 34, 0.92);
  transition: background 160ms ease, transform 160ms ease;
}

.country-picker__item:hover {
  background: rgba(67, 202, 29, 0.10);
  transform: translateY(-1px);
}

.country-picker__item:active {
  transform: translateY(0px) scale(0.99);
}

.country-picker__country {
  font-weight: 800;
}

.country-picker__code {
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(10, 79, 15, 0.92);
}

.country-picker__shell {
  border-radius: 16px;
  background:
    radial-gradient(circle at 26% 14%, rgba(67, 202, 29, 0.16) 0%, rgba(67, 202, 29, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 248, 0.96));
  border: 1px solid rgba(10, 79, 15, 0.12);
  box-shadow:
    0 26px 74px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.country-picker__input:focus-visible,
.country-picker__item:focus-visible {
  outline: 3px solid rgba(67, 202, 29, 0.28);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .country-picker {
    transition: none;
    transform: none;
  }
}

@media (max-width: 480px) {
  .phone-field__code {
    padding: 0 10px 0 12px;
  }

  .country-picker {
    width: 100%;
    max-width: calc(100vw - 44px);
  }
}

.btn--accent {
  min-height: 48px;
  padding: 0 28px;
  background: linear-gradient(180deg, rgba(154, 180, 86, 0.96) 0%, rgba(110, 135, 58, 0.98) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.btn--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.btn--accent:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn--accent:active {
  transform: translateY(0px) scale(0.99);
}

.btn--accent:focus-visible {
  outline: 3px solid rgba(154, 180, 86, 0.28);
  outline-offset: 3px;
}


.btn--ghost {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(13, 80, 16, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-900);
  font-weight: 700;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(13, 101, 16, 0.06);
}

.btn--ghost:focus-visible {
  outline: 3px solid rgba(13, 101, 16, 0.18);
  outline-offset: 3px;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.contact-links { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 12px 14px; 
  margin-top: 14px; 
  max-width: 820px; 
  margin-inline: auto; 
} 
 
.contact-links a { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  padding: 10px 14px; 
  border-radius: 999px; 
  background: rgba(255, 255, 255, 0.06); 
  border: 1px solid rgba(255, 255, 255, 0.14); 
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); 
  color: rgba(255, 255, 255, 0.92); 
  font-size: 0.9rem; 
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease; 
} 
 
.contact-links a:hover { 
  opacity: 1; 
  transform: translateY(-1px); 
  background: rgba(255, 255, 255, 0.09); 
} 

/* ── Social Dots ───────────────────────────────────────────── */

.social-dot {   
  width: 30px;   
  height: 30px;   
  display: inline-grid;   
  place-items: center;   
  border-radius: 50%;   
  overflow: hidden;   
  background: rgba(255, 255, 255, 0.12);  
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.18), 
    0 10px 22px rgba(0, 0, 0, 0.22);  
  color: #fff;   
  font-size: 0.82rem;   
  font-weight: 800;   
  flex-shrink: 0;   
}   
    
.social-dot img {    
  width: 100%;    
  height: 100%;    
  display: block;    
  object-fit: contain;   
  filter: invert(1) brightness(2.2) contrast(1.1);  
}    

.social-dot svg { 
  width: 14px; 
  height: 14px; 
} 
 
.social-dot--call {  
  background: #40c351;  
}  
  
.social-dot--facebook {   
  background: #1877f2;  
}   
   
.social-dot--instagram {   
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);  
}   
 
.social-dot--tiktok { 
  background: #111; 
} 

.social-dot--telegram {   
  background: #229ed9;  
}   
  
.social-dot--whatsapp {   
  background: #25d366;  
}   
 
.social-dot--mail { 
  background: #4cc25a; 
} 

/* ── Accessibility ─────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive: <= 1024px ──────────────────────────────────── */

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero__trust-badge {
    display: none;
  }

  .hero__ornament--circle,
  .hero__ornament--circle-2,
  .hero__ornament--dot-grid {
    display: none;
  }

  .feature-grid,
  .problem__grid,
  .appointment__grid,
  .contact-form,
  .pqr__steps,
  .pqr-docs {
    grid-template-columns: 1fr;
  }

  .pqr-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    max-width: 520px;
    margin-inline: auto;
    margin-top: 42px;
  }

  .problem__image {
    order: -1;
  }

  .problem__content {
    padding-left: 0;
  }

  .contact-form {
    max-width: 720px;
    margin: 16px auto 0;
  }

  .appointment__copy,
  .appointment__card {
    max-width: 640px;
    margin: 0 auto;
  }

  .contact-band__content {
    min-height: clamp(200px, 42vw, 280px);
    padding: clamp(26px, 6vw, 42px) 0;
  }

}

/* ── Responsive: <= 900px ───────────────────────────────────── */

@media (max-width: 900px) {
  .pqr-carousel__slide {
    grid-template-columns: 1fr;
  }

  .pqr-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pqr-docs .pqr-doc--editable {
    grid-column: 1 / -1;
  }

  .evidence-item {
    grid-template-columns: 190px minmax(0, 1fr);
    column-gap: 20px;
  }

  .evidence-item__image-wrap img {
    max-width: 190px;
  }

  .evidence-item__content h3 {
    font-size: 1.15rem;
  }

  .evidence-item__content p {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

/* ── Responsive: <= 768px ───────────────────────────────────── */

@media (max-width: 768px) {  
  .section--light {  
    padding: 52px 0;  
  }  

  .hero__content {
    padding: 36px 0 80px;
  }

  .problem-list li {
    min-height: 82px;
    padding: 16px 18px 16px 98px;
  }

  .problem-list__icon {
    left: 12px;
    width: 66px;
    height: 66px;
    border-width: 5px;
    box-shadow:
      inset 0 0 0 3px rgba(255, 255, 255, 0.95),
      0 14px 34px rgba(0, 0, 0, 0.12);
  }

  .problem-list li::before {
    clip-path: none;
    left: 0;
    border-radius: 24px;
  }

  .problem__image {
    max-width: 520px;
    justify-self: center;
  }

  .hero__scroll { display: none; }

  .brand {
    width: 260px;
    margin-bottom: 28px;
  }

  .hero__bullets li,
  .problem-list li {
    font-size: 1rem;
  }

  .section-intro,
  .trust__footnote,
  .problem__copy p,
  .evidence-item__content p,
  .appointment__copy p,
  .pqr-step p,
  .pqr-doc p,
  .pqr__footer p {
    font-size: 0.98rem;
  }

  .btn--large {
    min-width: 100%;
    min-height: 68px;
    font-size: 1.15rem;
  }

  .pill-action {
    width: 100%;
    justify-content: center;
  }

  .placeholder-card__frame {
    min-height: 220px;
  }

  .contact-band h2 {
    font-size: clamp(1.6rem, 7.2vw, 2.4rem);
    line-height: 1.05;
  }

  .btn--xl {
    min-width: 190px;
    min-height: 58px;
    font-size: 1.2rem;
  }

  .contact-band__bubble {
    width: 92px;
    height: 92px;
  }

  .contact-band__bubble svg {
    width: 40px;
    height: 40px;
  }

  .contact-links { 
    display: grid; 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    align-items: stretch; 
    gap: 12px; 
    max-width: 520px; 
  } 

  .contact-links a { 
    width: 100%; 
    justify-content: flex-start; 
  } 
 
} 

/* ── Responsive: <= 640px ───────────────────────────────────── */

@media (max-width: 640px) {
  .pqr-carousel__controls {
    gap: 12px;
  }

  .pqr-carousel__nav {
    width: 40px;
    height: 40px;
  }

  .pqr-carousel__nav span {
    font-size: 1.4rem;
  }

  .pqr-step,
  .pqr-doc {
    padding: 24px 18px 20px;
    border-radius: 22px;
  }

  .pqr-docs {
    grid-template-columns: 1fr;
  }

  .pqr-docs .pqr-doc--editable {
    grid-column: auto;
  }

  .evidence-list {
    gap: 30px;
  }

  .evidence-item {
    grid-template-columns: 1fr;
    row-gap: 12px;
    justify-items: center;
    text-align: center;
  }

  .evidence-item__image-wrap img {
    max-width: 240px;
  }

  .evidence-item__content {
    max-width: 100%;
  }

  .evidence-item__content p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .dual-actions {
    gap: 14px;
    margin-top: 22px;
  }

  .pill-action {
    min-height: 56px;
    font-size: 0.98rem;
  }

  .problem-list {
    gap: 16px;
  }

  .problem-list li {
    min-height: 76px;
    padding: 14px 16px 14px 84px;
    border-radius: 20px;
  }

  .problem-list__icon {
    left: 12px;
    width: 54px;
    height: 54px;
    border-width: 4px;
  }

  .problem-list__icon::before,
  .problem-list__icon::after {
    width: 28px;
    height: 6px;
  }
}
