/* =========================================
   TENTUP — SISTEMA DE DISEÑO
   ========================================= */

:root {
  /* Colores */
  --bg: #FCFBF8;
  --surface: #FFFFFF;

  --primary: #22D3A6;
  --primary-hover: #19C293;
  --primary-soft: rgba(34, 211, 166, 0.12);

  --text: #1A1A1A;
  --text-secondary: #666666;

  --border: #E8E8E8;

  /* Radios */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Sombras */
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
  --shadow-button: 0 10px 24px rgba(34, 211, 166, 0.28);

  /* Layout */
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-primary {
  color: var(--primary);
}

/* =========================================
   BOTONES
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--text);
  color: #FFFFFF;
  padding: 12px 24px;
  font-size: 14px;
}

.btn-dark:hover {
  background: #000000;
}

.btn-primary {
  background: linear-gradient(180deg, #2FE0B3 0%, var(--primary) 55%, var(--primary-hover) 100%);
  color: #FFFFFF;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -6px 0 rgba(0, 0, 0, 0.16),
    0 12px 24px rgba(34, 211, 166, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #2FE0B3 0%, var(--primary-hover) 55%, #149C7C 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -6px 0 rgba(0, 0, 0, 0.2),
    0 14px 28px rgba(34, 211, 166, 0.42);
}

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

/* =========================================
   HEADER
   ========================================= */

.top-wrap {
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 700px;
  z-index: 0;
  background-image: url('Imagenes/carpa_fondo.webp');
  background-size: cover;
  background-position: center;
}

.hero-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 700px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(252, 251, 248, 0.5) 0%,
    rgba(252, 251, 248, 0.85) 50%,
    var(--bg) 85%
  );
}

.site-header {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
}

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a[data-nav] {
  position: relative;
  z-index: 1;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.25s ease;
}

.main-nav a[data-nav]:hover {
  color: var(--primary-hover);
}

.main-nav a[data-nav].is-active {
  color: #FFFFFF;
}

.main-nav a[data-nav].is-active:hover {
  color: #FFFFFF;
}

.nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: var(--radius-full);
  background: var(--primary);
  box-shadow: 0 8px 16px rgba(34, 211, 166, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.4s cubic-bezier(0.65, 0, 0.35, 1),
    height 0.4s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.2s ease;
}

.nav-pill.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .nav-pill {
    transition: opacity 0.2s ease;
  }
}

.main-nav-cta {
  display: none;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone,
.main-nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--text);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.header-phone:hover,
.main-nav-phone:hover {
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.main-nav-phone {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  z-index: 3;
  padding-top: 36px;
  padding-bottom: 40px;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 700px;
  background: radial-gradient(
    circle at center,
    rgba(34, 211, 166, 0.22),
    rgba(34, 211, 166, 0.08) 45%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  margin-bottom: 28px;
}

.badge::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  background: radial-gradient(
    circle at 78% 50%,
    rgba(34, 211, 166, 0.18),
    transparent 65%
  );
  filter: blur(6px);
}

.badge.badge-static::before {
  content: none;
}

.badge-highlight {
  color: var(--primary-hover);
  font-weight: 800;
  text-shadow: 0 0 14px rgba(34, 211, 166, 0.55);
}

.hero h1 {
  font-size: 68px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 24px;
}

.subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 28px;
}

.checklist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 800;
}

.urgency-box {
  max-width: 640px;
  background: linear-gradient(180deg, #FFE9A0 0%, #FFC53D 100%);
  border: 1px solid #F0A800;
  border-radius: var(--radius-lg);
  padding: 14px 24px;
  font-size: 13.5px;
  color: #4A2E00;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 12px 26px rgba(240, 168, 0, 0.32);
  margin-bottom: 28px;
}

.urgency-box strong {
  font-weight: 800;
  color: #2E1C00;
}

.micro-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
  padding-bottom: 12px;
}

/* Galería del hero */

.hero-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 20px auto 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.gallery-item--large {
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

/* =========================================
   RESPONSIVE
   ========================================= */


/* =========================================
   POPUP — Presupuesto en 24h
   ========================================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  max-width: 420px;
  width: 100%;
  padding: 40px 36px 36px;
  text-align: center;

  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
}

.popup-overlay.is-visible .popup-card {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.popup-close:hover {
  background: var(--border);
  color: var(--text);
}

.popup-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.popup-card h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.popup-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.popup-cta {
  width: 100%;
}

/* Modal de confirmacion antes de enviar un formulario */
.popup-actions {
  display: flex;
  gap: 12px;
}

.popup-actions .btn {
  flex: 1;
  padding: 14px 20px;
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: var(--bg);
}

.popup-summary {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.popup-summary strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 420px) {
  .popup-actions {
    flex-direction: column-reverse;
  }
}

/* Widget de hCaptcha dentro de los formularios */
.form-captcha {
  margin-bottom: 22px;
  min-height: 78px;
}

.form-captcha iframe {
  max-width: 100%;
}

/* ===========================================================
   TRAMO INTERMEDIO: tablet horizontal y portatiles pequenos.

   Entre 861px y 1100px el menu completo (6 secciones) mas el
   telefono y el boton de presupuesto no caben, y el boton se
   salia del viewport (33px de desbordamiento a 1024px, que es
   la resolucion del iPad en horizontal).

   Aqui se compacta todo en vez de esconder nada: el usuario
   sigue viendo el telefono y el boton, solo mas juntos.
   =========================================================== */
@media (min-width: 861px) and (max-width: 1100px) {
  .main-nav {
    gap: 0;
  }

  .main-nav a[data-nav] {
    padding: 9px 11px;
    font-size: 14px;
  }

  .header-cta-group {
    gap: 10px;
  }

  .header-phone {
    padding: 9px 13px;
    font-size: 13px;
    gap: 6px;
  }

  .header-cta {
    padding: 11px 16px;
    font-size: 13px;
  }
}

@media (max-width: 860px) {

  .nav-toggle {
    display: flex;
  }

  .header-cta-group {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a[data-nav] {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .main-nav-cta {
    display: inline-flex;
    margin-top: 16px;
  }

  .main-nav-phone {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    font-size: 15px;
  }

  .nav-pill {
    border-radius: var(--radius-sm);
  }

  .hero h1 {
    font-size: 40px;
  }

  .subtitle {
    font-size: 17px;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item--large {
    grid-row: auto;
  }

  .gallery-item {
    height: 240px;
  }
}

/* =========================================
   ¿POR QUÉ TENTUP?
   ========================================= */

.why-section {
  padding-top: 40px;
  padding-bottom: 100px;
}

.why-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-inner h1,
.why-inner h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin-top: 20px;
  margin-bottom: 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 20px;
  width: 100%;
}

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px 22px;
  text-align: left;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(34, 211, 166, 0.16);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  box-shadow: 0 8px 16px rgba(34, 211, 166, 0.28);
  margin-bottom: 18px;
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-summary {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.why-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #128F6E;
  cursor: pointer;
}

.why-toggle svg {
  flex-shrink: 0;
}

.why-toggle .icon-minus {
  display: none;
}

.why-toggle.is-open .icon-info {
  display: none;
}

.why-toggle.is-open .icon-minus {
  display: block;
}

.why-toggle:hover {
  color: var(--text);
}

.why-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.why-details.is-open {
  max-height: 220px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.why-details p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .why-inner h1,
  .why-inner h2 {
    font-size: 32px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   REVEAL ON SCROLL
   ========================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.why-grid .reveal:nth-child(1) { transition-delay: 0s; }
.why-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.products-grid .reveal:nth-child(1) { transition-delay: 0s; }
.products-grid .reveal:nth-child(2) { transition-delay: 0.12s; }

.stats-grid .reveal:nth-child(1) { transition-delay: 0s; }
.stats-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.stats-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

.trust-grid .reveal:nth-child(1) { transition-delay: 0s; }
.trust-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.trust-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.trust-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================
   PRODUCTOS — Tipos de carpa
   ========================================= */

.products-section {
  padding: 100px 0;
}

.products-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.products-inner h1,
.products-inner h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.products-inner .subtitle {
  margin-bottom: 48px;
}

/* Variante compacta: cuando "products-section" es el contenido principal
   de su propia página (productos.html) en vez de una sección intermedia
   dentro de la home, no necesita tanto aire arriba/abajo. */
.products-page {
  padding: 40px 0 80px;
}

.products-inner--compact {
  align-items: center;
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 40px;
  box-sizing: border-box;
}

.products-inner--compact .badge {
  margin-bottom: 16px;
}

.products-inner--compact h1,
.products-inner--compact h2 {
  margin-top: 12px;
  margin-bottom: 10px;
}

.products-inner--compact .subtitle {
  margin-bottom: 32px;
}

.products-group-header--first {
  margin-top: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 40px;
  box-sizing: border-box;
}

.products-group-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 40px 16px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.products-group-header::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 0;
  height: 1px;
  background: var(--border);
}

.products-group-header--second {
  margin-top: 56px;
}

/* h2 en productos.html (donde el titulo de la pagina es un h1) y h3 en la
   home (donde ya hay un h2 encima). Mismo aspecto, jerarquia correcta en
   ambos casos. */
.products-group-header h2,
.products-group-header h3 {
  font-size: 26px;
  font-weight: 800;
}

.group-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--primary-hover);
}

/* Zona de toque para el enlace "Todas las carpas" y el desplegable
   "Mas informacion" de las tarjetas, que se quedaban en 16-20px. */
@media (hover: none) and (pointer: coarse) {
  .group-link,
  .why-toggle {
    padding: 8px 0;
  }
}

.group-link:hover {
  color: var(--text);
}

.product-card {
  text-align: left;
}

.product-image {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

.product-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
}

.product-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-overlay h3 {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
}

@media (max-width: 860px) {
  .products-inner h1,
  .products-inner h2 {
    font-size: 32px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   BANNER — Servicio integral
   ========================================= */

.promo-banner {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.promo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('Imagenes/carpa_banner.webp');
  background-size: cover;
  background-position: center;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(15, 20, 18, 0.88) 0%,
    rgba(15, 20, 18, 0.72) 45%,
    rgba(15, 20, 18, 0.4) 100%
  );
}

.promo-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.promo-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.promo-inner h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.promo-inner p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.promo-inner .btn-primary {
  background: #128F6E;
  box-shadow: none;
}

.promo-inner .btn-primary:hover {
  background: #0D7259;
  box-shadow: none;
}

@media (max-width: 860px) {
  .promo-banner {
    padding: 80px 0;
  }

  .promo-inner h2 {
    font-size: 30px;
  }
}

/* =========================================
   BARRA DE DATOS TÉCNICOS
   ========================================= */

.stats-bar {
  background: #10151A;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 24px;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:first-child {
  border-left: none;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .stat-item:nth-child(3) {
    border-left: none;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
  }

  .stat-item:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* =========================================
   TODO DESDE UN SOLO PROVEEDOR
   ========================================= */

.provider-section {
  padding: 100px 0;
}

.provider-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.provider-text {
  position: sticky;
  top: 100px;
}

.promo-kicker--dark {
  color: var(--primary-hover);
}

.provider-text h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-top: 14px;
  margin-bottom: 18px;
}

.provider-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 420px;
}

.provider-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: providerScroll 16s linear infinite;
  --scroll-distance: -50%;
}

.provider-carousel {
  position: relative;
  max-height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.provider-carousel:hover .provider-list {
  animation-play-state: paused;
}

@keyframes providerScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(var(--scroll-distance));
  }
}

@media (prefers-reduced-motion: reduce) {
  .provider-list {
    animation: none;
  }
}

.provider-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.provider-list li:hover {
  transform: translateX(4px);
  border-color: var(--primary);
}

.provider-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  margin-top: 2px;
}

.provider-list h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.provider-list p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .provider-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .provider-text {
    position: static;
  }

  .provider-text h2 {
    font-size: 30px;
  }
}

/* =========================================
   ¿POR QUÉ CONFIAR EN NOSOTROS?
   ========================================= */

.trust-section {
  padding: 100px 0;
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-inner h2 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 640px;
  margin-top: 20px;
  margin-bottom: 56px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  width: 100%;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.trust-item {
  background: var(--surface);
  padding: 40px;
  text-align: left;
  transition: background-color 0.2s ease;
}

.trust-item:hover {
  background: #FAFDFC;
}

.trust-number {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-hover);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.trust-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 400px;
}

@media (max-width: 860px) {
  .trust-inner h2 {
    font-size: 32px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 32px 24px;
  }
}

/* =========================================
   PRESUPUESTO — Formulario
   ========================================= */

.budget-intro {
  padding: 64px 0 24px;
}

.budget-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.budget-intro-inner h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin-top: 20px;
  margin-bottom: 16px;
}

.budget-intro-inner .subtitle {
  max-width: 560px;
}

.budget-section {
  padding: 40px 0 120px;
}

.budget-section-inner {
  max-width: 720px;
}

.budget-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.form-dimension-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-dimension-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-dimension-input {
  position: relative;
}

.form-dimension-input input[type="number"] {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 32px 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -moz-appearance: textfield;
  appearance: textfield;
}

.form-dimension-input input[type="number"]::-webkit-outer-spin-button,
.form-dimension-input input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-dimension-input input[type="number"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-dimension-unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  pointer-events: none;
}

@media (max-width: 480px) {
  .form-dimensions {
    grid-template-columns: 1fr;
  }
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* En pantallas tactiles el checkbox de privacidad es obligatorio para
   enviar, asi que conviene que sea facil de acertar con el dedo.
   Se agranda la casilla y su etiqueta hace de zona de toque. */
@media (hover: none) and (pointer: coarse) {
  .form-checkbox input {
    width: 22px;
    height: 22px;
    margin-top: 0;
  }

  .form-checkbox {
    align-items: center;
    padding: 6px 0;
  }

  .form-checkbox label {
    padding: 6px 0;
  }
}

.form-checkbox label {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-secondary);
}

.form-checkbox label a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: underline;
}

/* =========================================
   PÁGINAS LEGALES (Política / Términos)
   ========================================= */

.legal-section {
  padding: 56px 0 100px;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-inner .badge {
  margin-bottom: 20px;
}

.legal-inner h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-inner h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 14px;
  scroll-margin-top: 100px;
}

.legal-inner h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-inner p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.legal-inner ul {
  margin: 0 0 14px 4px;
  padding-left: 18px;
}

.legal-inner ul li {
  list-style: disc;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.legal-inner strong {
  color: var(--text);
  font-weight: 700;
}

.legal-inner a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: underline;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 8px 0 24px;
}

.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.legal-table th {
  background: var(--bg);
  color: var(--text);
  font-weight: 700;
}

.legal-note {
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 20px 0 28px;
}

@media (max-width: 640px) {
  .legal-inner h1 {
    font-size: 30px;
  }
}

/* =========================================
   BANNER DE COOKIES
   ========================================= */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.1);
  padding: 20px 24px;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-banner-text {
  flex: 1 1 420px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.cookie-banner-text a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.cookie-btn:hover {
  border-color: var(--primary);
}

.cookie-btn-accept {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.cookie-btn-accept:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

@media (max-width: 640px) {
  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

.form-submit {
  width: 100%;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  padding-bottom: 0;
}

/* Estado "enviando" del boton */
.form-submit[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* Trampa antispam: invisible para personas, los bots la rellenan */
.form-botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Aviso de error si el envio falla */
.form-error {
  display: none;
  align-items: flex-start;
  gap: 10px;
  background: #FFF1F1;
  border: 1px solid #F5B5B5;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #8A1F1F;
}

.form-error.is-visible {
  display: flex;
}

.form-error a {
  color: #8A1F1F;
  font-weight: 700;
  text-decoration: underline;
}

.form-error svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 56px 40px;
}

.form-success.is-visible {
  display: flex;
}

.form-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
}

.form-success h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 420px;
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .budget-intro-inner h1 {
    font-size: 32px;
  }

  .budget-form {
    padding: 28px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   CONTACTO
   ========================================= */

.contact-section {
  padding: 80px 0 120px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.contact-info .subtitle {
  margin-bottom: 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

a.contact-value:hover {
  color: var(--primary-hover);
}

.contact-form-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info h1 {
    font-size: 32px;
  }
}

/* =========================================
   NOSOTROS
   ========================================= */

.about-section {
  padding: 56px 0 100px;
}

.about-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.about-intro h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.about-intro .subtitle {
  max-width: 580px;
  margin-bottom: 0;
}

.about-story {
  max-width: 700px;
  margin: 0 auto 64px;
}

.about-story p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-values {
  max-width: 700px;
  margin: 0 auto 72px;
  text-align: center;
}

.about-values h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 28px;
}

.about-values .checklist {
  flex-direction: column;
  align-items: flex-start;
  max-width: 440px;
  margin: 0 auto;
  gap: 16px;
}

.about-cta {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.about-cta h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.about-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  .about-intro h1 {
    font-size: 32px;
  }

  .about-values h2,
  .about-cta h2 {
    font-size: 24px;
  }
}

/* =========================================
   PREGUNTAS FRECUENTES
   ========================================= */

.faq-section {
  padding: 56px 0 100px;
}

.faq-inner {
  max-width: 780px;
  margin: 0 auto;
}

.faq-intro {
  text-align: center;
  margin-bottom: 48px;
}

.faq-intro h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 16px;
  margin-bottom: 14px;
}

.faq-intro .subtitle {
  margin: 0 auto;
}

.faq-group {
  margin-bottom: 44px;
}

.faq-group-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-hover);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  text-align: left;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: var(--primary-hover);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-hover);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.is-open {
  max-height: 700px;
}

.faq-answer-inner {
  padding: 0 0 22px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--text);
  font-weight: 700;
}

.faq-answer a {
  color: var(--primary-hover);
  font-weight: 600;
}

.faq-answer ul {
  margin: 0 0 12px 4px;
  padding-left: 18px;
}

.faq-answer ul li {
  list-style: disc;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer,
  .faq-icon::before,
  .faq-icon::after {
    transition: none;
  }
}

@media (max-width: 640px) {
  .faq-intro h1 {
    font-size: 30px;
  }

  .faq-question {
    font-size: 15.5px;
  }
}

/* =========================================
   FICHA DE PRODUCTO (carpa-*.html)
   ========================================= */

.pp-section {
  padding: 40px 0 100px;
}

.pp-breadcrumb {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pp-breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

/* Las migas de pan son enlaces de 16px de alto: en tactil se les da
   algo mas de zona de toque. */
@media (hover: none) and (pointer: coarse) {
  .pp-breadcrumb {
    line-height: 2.2;
  }

  .pp-breadcrumb a {
    display: inline-block;
    padding: 5px 2px;
  }
}

.pp-breadcrumb a:hover {
  color: var(--primary-hover);
}

.pp-breadcrumb span {
  color: var(--text);
  font-weight: 600;
}

.pp-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}

.pp-hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 16px;
  margin-bottom: 16px;
}

.pp-hero .subtitle {
  margin-bottom: 26px;
}

.pp-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pp-hero-media {
  display: grid;
  gap: 16px;
}

.pp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.pp-hero-media--duo {
  grid-template-columns: 1fr 1fr;
}

.pp-block {
  margin-bottom: 80px;
}

.pp-block h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.pp-block > .subtitle {
  margin-bottom: 36px;
  max-width: 640px;
}

.pp-uses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pp-use {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pp-use:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.pp-use h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pp-use p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pp-use-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  box-shadow: 0 8px 16px rgba(34, 211, 166, 0.28);
  margin-bottom: 16px;
}

.pp-included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pp-included .checklist {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 0;
}

.pp-included .checklist li {
  align-items: flex-start;
  line-height: 1.55;
}

.pp-included .check-icon {
  margin-top: 2px;
  flex-shrink: 0;
}

.pp-specs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 30px;
}

.pp-specs h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 18px;
}

.pp-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.pp-spec-row:last-of-type {
  border-bottom: none;
}

.pp-spec-row dt {
  color: var(--text-secondary);
}

.pp-spec-row dd {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.pp-specs-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pp-cta {
  text-align: center;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.pp-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pp-cta > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pp-related {
  margin-top: 88px;
}

.pp-related h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 22px;
}

.pp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pp-related-card {
  display: block;
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pp-related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.pp-related-card:hover img {
  transform: scale(1.06);
}

/* Degradado mas marcado que el de las tarjetas grandes: estas son mas
   bajas y el titulo puede caer sobre cielo o arena claros. */
.pp-related-card .product-scrim {
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(0, 0, 0, 0.35) 62%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.pp-related-card span {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.pp-related-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .pp-hero,
  .pp-included {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pp-uses,
  .pp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pp-hero h1 {
    font-size: 30px;
  }

  .pp-block h2,
  .pp-cta h2 {
    font-size: 24px;
  }

  .pp-uses,
  .pp-related-grid {
    grid-template-columns: 1fr;
  }

  .pp-spec-row {
    flex-direction: column;
    gap: 2px;
  }

  .pp-spec-row dd {
    text-align: left;
  }
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  background: #0C1210;
  padding-top: 100px;
}

.footer-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 1400px 900px at 50% 0%,
    rgba(34, 211, 166, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 56px;
}

.footer-cta h2 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  max-width: 720px;
  margin-bottom: 16px;
}

.footer-cta > p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.footer-btn {
  background: #FFFFFF;
  color: var(--text);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.footer-btn:hover {
  background: #F0F0F0;
}

.footer-micro {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 18px;
}

.footer-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  padding-top: 8px;
}

.footer-logo {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 260px;
}

/* h3 y no h4: el encabezado anterior de la pagina es un h2, y saltar de
   2 a 4 deja un hueco que los lectores de pantalla anuncian como error
   de estructura. Visualmente es identico. */
.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

/* En movil y tablet los enlaces del footer quedaban en 21px de alto,
   demasiado justo para el dedo. Se les da altura de toque sin cambiar
   el aspecto (el margen se reduce para compensar el padding). */
@media (hover: none) and (pointer: coarse) {
  .footer-col a {
    padding: 7px 0;
    margin-bottom: 2px;
  }

  .footer-bottom-links a {
    display: inline-block;
    padding: 6px 2px;
  }
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 24px 32px;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.35);
  max-width: 900px;
  margin-bottom: 16px;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

@media (max-width: 860px) {
  .footer-cta h2 {
    font-size: 34px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
