/* =========================================================
   TERRA – TEMA CORPORATIVO CLARO
   ========================================================= */

/* ---------- Variables base ---------- */
:root {
  --font-display: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --terra-green-50: #ecfdf3;
  --terra-green-100: #d1fae5;
  --terra-green-200: #a7f3d0;
  --terra-green-500: #00c15a;   /* Verde corporativo Terra */
  --terra-green-600: #009247;
  --terra-green-700: #047857;
  --terra-green-800: #065f46;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2933;
  --gray-900: #111827;

  --bg-soft: #f7f9fc;

  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 18px 45px rgba(15, 23, 42, 0.12);
  --transition-fast: 0.22s ease;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

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

a:hover {
  text-decoration: none;
}

/* ---------- Layout general ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 840px;
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.4rem;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--gray-600);
  margin: 0;
}

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

.mt-xl {
  margin-top: 2.75rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.terra-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #f3f4f6;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.header-logo img {
  height: 40px;
  width: auto;
}

/* Nav desktop */
.header-nav {
  display: flex;
}

.header-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--terra-green-600);
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.header-nav a:hover {
  color: var(--terra-green-700);
}

.header-nav a:hover::after {
  width: 100%;
}

/* Burger mobile */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gray-800);
}

/* Nav mobile (header) */
.mobile-nav {
  display: none;
  background: #f9fafb;
  border-top: 1px solid var(--gray-200);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.5rem 1rem;
}

.mobile-nav li + li {
  margin-top: 0.5rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--gray-800);
}

/* Estado abierto */
.mobile-nav.is-open {
  display: block;
}

/* =========================================================
   HERO
   ========================================================= */
.hero-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background:
  radial-gradient(circle at 0% 0%, rgba(0, 193, 90, 0.25) 0, transparent 55%),
  radial-gradient(circle at 100% 0%, rgba(0, 193, 90, 0.20) 0, transparent 55%),
  linear-gradient(130deg, #00c15a 0%, #00954f 40%, #00683b 100%);
  color: #f9fafb;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.hero-content {
  max-width: 560px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #e5f3ea;
  margin-bottom: 2rem;
}

.hero-subtitle strong {
  color: #ffffff;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Botón base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast), color var(--transition-fast);
}

/* Botones principales */
.btn-primary {
  background: var(--terra-green-500);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 193, 90, 0.4);
}

.btn-primary:hover {
  background: var(--terra-green-600);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 193, 90, 0.45);
}

.btn-secondary {
  background: #f9fafb;
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--terra-green-500);
  color: var(--terra-green-700);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.btn-whatsapp {
  background: var(--terra-green-500);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: var(--terra-green-600);
}

/* Tamaños */
.btn-lg {
  padding: 1rem 2.2rem;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
}

/* Badge del hero (estático) */
.hero-badge {
  position: relative;
}

.hero-badge img {
  width: 190px;
  height: auto;
}

/* Badge flotante (clonado por JS) */
.badge-floating {
  position: fixed;
  right: 2.25rem;
  top: 50%;
  transform: translateY(-50%) translateX(40px);
  width: 120px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  z-index: 998;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.badge-floating.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* =========================================================
   Nuestras Soluciones Profesionales
   ========================================================= */
.productos-section {
  background: #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

/* Hover animado premium */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(34, 197, 94, 0.35);
}

/* Card PREMIUM (TerraPower) - glow un poco más suave */
.card-premium {
  margin-top: -14px;
  z-index: 10;
  transform: translateY(-8px);
  border-radius: 18px;
  border: 2px solid rgba(0, 193, 90, 0.3);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.07),
    0 0 14px rgba(0, 255, 150, 0.2);
}

.card-premium:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.11),
    0 0 22px rgba(0, 255, 150, 0.28);
  border-color: rgba(0, 255, 150, 0.5);
}

/* Badge de categoría (Bestseller, Premium, etc.) */
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #022c22;
}

.badge-bestseller {
  background: #fef3c7;
}

.badge-premium {
  background: #e0e7ff;
}

.badge-eco {
  background: #dcfce7;
}

.product-image {
  margin-top: 1.75rem;
  text-align: center;
  order: -1;
}

.product-image img {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
}

/* Textos card */
.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-600);
  margin-top: 1rem;
}

.product-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.35rem 0 0.8rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.product-price-current {
  font-weight: 800;
  color: var(--terra-green-700);
}

.product-price-label {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* Ideal para */
.product-ideal-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.3rem;
}

.product-ideal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.product-ideal-tag {
  font-size: 0.7rem;
  background: var(--bg-soft);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

/* Bullet list */
.product-features {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--gray-700);
  flex-grow: 1;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

/* =========================================================
   Componentes y Químicos Terra
   ========================================================= */
.componentes-section {
  background: var(--bg-soft);
}

.componentes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.componente-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.componente-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(34, 197, 94, 0.4);
}

.componente-img img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.componente-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.componente-desc {
  font-size: 0.78rem;
  color: var(--gray-600);
  min-height: 48px;
}

.componente-precio {
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--terra-green-700);
  font-size: 0.9rem;
}

.btn-componente {
  margin-top: 0.65rem;
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: #ffffff;
  transition: all var(--transition-fast);
}

.btn-componente:hover {
  border-color: var(--terra-green-500);
  color: var(--terra-green-700);
}

/* =========================================================
   Auditoría Técnica
   ========================================================= */
.audit-section {
  background: #ffffff;
}

.audit-stat {
  text-align: center;
  margin-bottom: 2.2rem;
}

.audit-stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--terra-green-600);
}

.audit-stat-text {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Cards de beneficios (iconos) */
.audit-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.audit-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 0.9rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.audit-benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--terra-green-100);
  color: var(--terra-green-700);
  font-size: 1rem;
}

.audit-benefit-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gray-800);
}

.audit-benefit-desc {
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* Cards: Duración – Inversión – Cobertura */
.audit-info-cards {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin: 0 auto 2.5rem;
  max-width: 900px;
}

.audit-info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  width: 260px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.audit-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.audit-info-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.audit-info-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.audit-info-text {
  font-size: 0.82rem;
  color: var(--gray-600);
}

.audit-info-text.highlight {
  color: var(--terra-green-700);
  font-weight: 800;
  font-size: 1rem;
}

/* Caja "Ideal para" */
.audit-ideal-box {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  background: var(--terra-green-800);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
}

.audit-ideal-title {
  text-align: center;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}

.audit-ideal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.83rem;
}

.audit-description {
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
}

.cta-buttons-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Caja "Señales de alerta" */
.audit-warning-box {
  max-width: 900px;
  margin: 0 auto 2.2rem;
  background: #fff7f7;
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-soft);
}

.audit-warning-title {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #b91c1c;
  margin-bottom: 1rem;
}

.audit-warning-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.83rem;
  color: #7f1d1d;
}

.audit-warning-list li {
  margin-bottom: 0.45rem;
  position: relative;
  padding-left: 1.2rem;
}

.audit-warning-list li::before {
  content: "✖";
  position: absolute;
  left: 0;
  top: 0;
  color: #dc2626;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  padding: 0.9rem 1.3rem;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  margin-left: 1rem;
  font-weight: 700;
  color: var(--gray-500);
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.3rem;
  font-size: 0.86rem;
  color: var(--gray-700);
  transition: max-height 0.25s ease;
}

.faq-item.active .faq-answer {
  padding-bottom: 0.9rem;
  max-height: 240px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #022c22;
  color: #e2e8f0;
  padding: 2.5rem 0 2rem;
  font-size: 0.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 1.6rem;
  max-width: 1120px;
  margin: 0 auto 1.7rem;
  padding: 0 1.5rem;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.logo-icon {
  font-size: 1.5rem;
}

.footer-brand p {
  margin-top: 0.6rem;
  color: #cbd5f5;
  font-size: 0.8rem;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.3rem;
}

.footer-links a {
  color: #cbd5f5;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-certifications {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.footer-cert {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.1rem 0.6rem;
  font-size: 0.7rem;
}

/* =========================================================
   BOTTOM NAVIGATION MOBILE + SIDEBAR
   ========================================================= */
.bottom-nav {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -6px 22px rgba(0,0,0,0.08);
  display: none; /* se activa solo en mobile */
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  z-index: 9999;
  transition: bottom .35s ease;
}

.bottom-nav.show {
  bottom: 0;
}

.bottom-nav .nav-item {
  text-align: center;
  color: #5a5a5a;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-nav .nav-item i {
  display: block;
  font-size: 22px;
  margin-bottom: 2px;
  transition: color .25s ease;
}

.bottom-nav .nav-item:hover i {
  color: #00C15A;
}

/* Floating center button */
.menu-fab {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #00C15A;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #00C15A;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.menu-fab:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}

/* Sidebar Menu */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 14px rgba(0,0,0,0.15);
  padding: 20px;
  transition: right .35s ease;
  z-index: 99999;
  display: flex;
  flex-direction: column;
}

.sidebar-menu.show {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-header h3 {
  margin: 0;
  color: var(--gray-900);
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-700);
}

.sidebar-links {
  list-style: none;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

.sidebar-links li {
  margin-bottom: 15px;
}

.sidebar-links a {
  text-decoration: none;
  color: var(--gray-800);
  font-size: 16px;
  transition: color .2s ease;
  display: block;
  padding: 8px 0;
}

.sidebar-links a:hover {
  color: #00C15A;
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 9999;
}

.sidebar-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .componentes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .audit-ideal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 3.2rem 1.5rem 3.5rem;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  /* En mobile: ocultar badge del hero, solo se ve el flotante al hacer scroll */
  .hero-badge {
    display: none;
  }

  /* Productos como carousel con peek */
  .products-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1.2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .products-grid::-webkit-scrollbar {
    display: none;
  }
  
  .products-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .product-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    margin-top: 0;
    transform: translateY(0);
  }

  .card-premium {
    transform: translateY(0);
    margin-top: 0;
  }

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

  .audit-benefits {
    grid-template-columns: 1fr;
  }

  .audit-info-card {
    width: 100%;
  }

  .audit-ideal-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer no se muestra en mobile */
  .footer {
    display: none;
  }

  /* Activar bottom nav y reservar espacio, respetando safe area */
  .bottom-nav {
    display: flex;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 520px) {
  .componentes-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.2rem 0;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons-container {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons-container .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   HEADER - HIDE/SHOW ON SCROLL
   ========================================================= */
.terra-header.is-hidden {
  transform: translateY(-100%);
}

/* =========================================================
   IMÁGENES DE PRODUCTOS Y COMPONENTES
   ========================================================= */
/* Imágenes productos principales (TerraMax / TerraPower) */
.product-card .product-image {
  width: 100%;
  aspect-ratio: 4 / 3;      /* 800x600 ≈ 4:3 */
  overflow: hidden;
  border-radius: 14px;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Imágenes componentes químicos */
.componente-card .componente-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
}

.componente-card .componente-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =========================================================
   TABLA COMPARATIVA PREMIUM – Tecnología TerraMax
   ========================================================= */
.comparativa-section {
  margin: 4rem auto;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #f8fafc, #eef2f6);
  border-radius: 28px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.comparativa-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2.6rem;
  color: #1a202c;
  letter-spacing: -0.5px;
}

/* Contenedor tabla */
.comparativa-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;       /* filas separadas estilo premium */
  font-size: 1.05rem;
}

/* Encabezados */
.comparativa-table th {
  background: #1a202c;
  color: #ffffff;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Celdas */
.comparativa-table td {
  background: #ffffff;
  padding: 1.2rem;
  color: #2d3748;
  border-left: 1px solid #edf2f7;
  border-right: 1px solid #edf2f7;
  border-bottom: 1px solid #e2e8f0;
  line-height: 1.5;
}

/* Primera columna (aspectos) */
.comparativa-table td:first-child {
  font-weight: 600;
  color: #1a202c;
  width: 32%;
}

/* Filas premium (elevación al hover) */
.comparativa-table tr:hover td {
  background: #f1f5f9;
  transition: 0.25s ease;
}

/* Redondeado en la última fila */
.comparativa-table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.comparativa-table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Mobile optimizado */
@media (max-width: 768px) {
  .comparativa-title {
    font-size: 1.7rem;
  }

  .comparativa-table {
    border-spacing: 0 8px;
  }

  .comparativa-table th,
  .comparativa-table td {
    font-size: 0.95rem;
    padding: 0.9rem;
  }

  /* Hacer scroll horizontal suave */
  .comparativa-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}



/* =========================================================
   PROTECTA - PÁGINA DE PARARRAYOS
   Brand identity: Azul Protecta sobre base Terra
   ========================================================= */

/* ---------- Variables Protecta ---------- */
.brand-protecta {
  --protecta-blue-50: #e6f3fb;
  --protecta-blue-100: #cce7f7;
  --protecta-blue-200: #99cfef;
  --protecta-blue-500: #005b9f;
  --protecta-blue-600: #004d87;
  --protecta-blue-700: #003f6f;
  --protecta-blue-800: #003157;
  
  /* Override Terra green para acentos */
  --color-primary: var(--protecta-blue-500);
  --color-primary-soft: var(--protecta-blue-50);
  --color-accent: var(--terra-green-500);
}

/* =========================================================
   HERO PROTECTA
   ========================================================= */
.brand-protecta .hero-section {
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 91, 159, 0.3) 0, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(0, 91, 159, 0.25) 0, transparent 55%),
    linear-gradient(130deg, #005b9f 0%, #004d87 40%, #003157 100%);
}

.brand-protecta .hero-subtitle {
  color: #cce7f7;
}

/* Hero bullets */
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #e6f3fb;
}

.hero-bullets li i {
  color: var(--terra-green-500);
  font-size: 1.2rem;
}

/* Protecta Badge */
.protecta-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.protecta-badge-content {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  text-align: center;
  color: #ffffff;
}

.protecta-badge-content i {
  font-size: 3rem;
  color: #ffcc00;
  display: block;
  margin-bottom: 0.5rem;
}

.protecta-badge-content span {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

/* =========================================================
   BOTONES PROTECTA
   ========================================================= */
.brand-protecta .btn-primary {
  background: var(--protecta-blue-500);
  box-shadow: 0 12px 30px rgba(0, 91, 159, 0.4);
}

.brand-protecta .btn-primary:hover {
  background: var(--protecta-blue-600);
  box-shadow: 0 16px 40px rgba(0, 91, 159, 0.45);
}

.brand-protecta .btn-secondary:hover {
  border-color: var(--protecta-blue-500);
  color: var(--protecta-blue-700);
}

.btn-block {
  width: 100%;
}

/* =========================================================
   SECTORES GRID
   ========================================================= */
.sectores-section {
  background: var(--bg-soft);
}

/* TerraGrid para Sectores - DS página 14-15 */
.sectores-grid,
.sectores-grid-ds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.sector-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.sector-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--protecta-blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.sector-icon i {
  font-size: 1.75rem;
  color: var(--protecta-blue-500);
}

.sector-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--gray-900);
}

.sector-card > p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.sector-needs {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--gray-700);
}

.sector-needs li {
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.sector-needs li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--protecta-blue-500);
}

/* =========================================================
   TIPOS DE SISTEMAS
   ========================================================= */
.tipos-section {
  background: #ffffff;
}

/* TerraGrid para Tipos de Sistema - DS página 14-15 */
.tipos-grid,
.tipos-grid-ds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.tipo-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tipo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.tipo-destacado {
  border: 2px solid var(--protecta-blue-500);
  background: linear-gradient(135deg, #ffffff 0%, var(--protecta-blue-50) 100%);
}

.tipo-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--protecta-blue-500);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.tipo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--protecta-blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.tipo-icon i {
  font-size: 1.5rem;
  color: var(--protecta-blue-600);
}

.tipo-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--gray-900);
}

.tipo-subtitle {
  font-size: 0.8rem;
  color: var(--protecta-blue-600);
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.tipo-card > p:not(.tipo-subtitle) {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.tipo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.8rem;
}

.tipo-features li {
  padding: 0.3rem 0;
  color: var(--gray-700);
  border-bottom: 1px dashed var(--gray-200);
}

.tipo-features li:last-child {
  border-bottom: none;
}

.tipo-features strong {
  color: var(--gray-900);
}

.tipo-brands {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-style: italic;
}

/* =========================================================
   INTEGRACIÓN CON TERRA
   ========================================================= */
.tierra-section {
  background: linear-gradient(135deg, var(--terra-green-800) 0%, #022c22 100%);
  color: #ffffff;
}

.tierra-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tierra-badge {
  display: inline-block;
  background: rgba(0, 193, 90, 0.2);
  color: var(--terra-green-200);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.tierra-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.tierra-lead {
  font-size: 1rem;
  color: #d1fae5;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.tierra-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.tierra-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tierra-benefit i {
  font-size: 1.5rem;
  color: var(--terra-green-500);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.tierra-benefit strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.tierra-benefit p {
  font-size: 0.85rem;
  color: #a7f3d0;
  margin: 0;
  line-height: 1.5;
}

.tierra-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Diagrama visual */
.tierra-visual {
  display: flex;
  justify-content: center;
}

.tierra-diagram {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.diagram-item {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.diagram-item i {
  font-size: 1.8rem;
}

.diagram-item span {
  font-size: 0.85rem;
  font-weight: 600;
}

.diagram-pararrayos {
  background: var(--protecta-blue-500);
}

.diagram-bajante {
  background: var(--gray-600);
}

.diagram-terra {
  background: var(--terra-green-600);
}

.diagram-arrow {
  font-size: 1.5rem;
  color: #a7f3d0;
  margin: 0.25rem 0;
}

.diagram-ground {
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: #3d2314;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #d4a574;
  font-weight: 600;
}

/* =========================================================
   CALCULADORA DE RIESGO
   ========================================================= */
.calculadora-section {
  background: var(--bg-soft);
}

.calculadora-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.calculadora-form {
  display: grid;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: var(--protecta-blue-500);
  font-size: 1.1rem;
}

.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: #ffffff;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group select:focus {
  outline: none;
  border-color: var(--protecta-blue-500);
  box-shadow: 0 0 0 3px rgba(0, 91, 159, 0.15);
}

/* Resultado calculadora */
.calculadora-resultado {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--gray-200);
}

.resultado-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.resultado-nivel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nivel-label {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.nivel-value {
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.nivel-value.nivel-bajo {
  background: #dcfce7;
  color: #166534;
}

.nivel-value.nivel-medio {
  background: #fef9c3;
  color: #854d0e;
}

.nivel-value.nivel-alto {
  background: #fed7aa;
  color: #c2410c;
}

.nivel-value.nivel-muy-alto {
  background: #fecaca;
  color: #b91c1c;
}

.resultado-score {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.resultado-score span:last-child {
  font-weight: 700;
  color: var(--gray-900);
}

.resultado-recomendacion {
  background: var(--protecta-blue-50);
  border-left: 4px solid var(--protecta-blue-500);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.5rem;
}

.resultado-recomendacion h4 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--protecta-blue-700);
}

.resultado-recomendacion p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--gray-700);
  line-height: 1.6;
}

.resultado-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================================
   PROCESO / TIMELINE
   ========================================================= */
.proceso-section {
  background: #ffffff;
}

.proceso-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.proceso-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--protecta-blue-100);
  border-radius: 999px;
}

.proceso-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.proceso-step:last-child {
  margin-bottom: 0;
}

.paso-numero {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--protecta-blue-500);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 91, 159, 0.3);
}

.paso-content {
  flex: 1;
  padding-top: 0.5rem;
}

.paso-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--gray-900);
}

.paso-content p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0 0 0.75rem;
  line-height: 1.6;
}

.paso-entregable {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--protecta-blue-600);
  background: var(--protecta-blue-50);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

/* =========================================================
   FAQ PROTECTA (reutiliza estilos base)
   ========================================================= */
.brand-protecta .faq-question:hover {
  color: var(--protecta-blue-600);
}

.brand-protecta .faq-item.active .faq-icon {
  color: var(--protecta-blue-500);
}

/* =========================================================
   CONTACTO DIFERENCIADO
   ========================================================= */
.contacto-section {
  background: linear-gradient(135deg, var(--protecta-blue-50) 0%, #ffffff 100%);
}

/* Grid Contacto - 2 columnas balanceadas según DS */
.contacto-grid,
.contacto-grid-ds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contacto-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contacto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.contacto-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-icon i {
  font-size: 2rem;
}

.contacto-empresas .contacto-icon {
  background: var(--protecta-blue-100);
}

.contacto-empresas .contacto-icon i {
  color: var(--protecta-blue-600);
}

.contacto-contratistas .contacto-icon {
  background: var(--terra-green-100);
}

.contacto-contratistas .contacto-icon i {
  color: var(--terra-green-600);
}

.contacto-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--gray-900);
}

.contacto-card > p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.contacto-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}

.contacto-includes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 0.35rem 0;
}

.contacto-includes li i {
  color: var(--terra-green-500);
  font-size: 1rem;
}

.contacto-info-extra {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contacto-info-extra a {
  color: var(--protecta-blue-600);
  font-weight: 500;
}

.contacto-info-extra a:hover {
  color: var(--protecta-blue-700);
}

.contacto-info-extra .separator {
  margin: 0 0.75rem;
  color: var(--gray-300);
}

/* =========================================================
   HEADER/NAV PROTECTA OVERRIDES
   ========================================================= */
.brand-protecta .header-nav a:hover {
  color: var(--protecta-blue-600);
}

.brand-protecta .header-nav a::after {
  background: var(--protecta-blue-500);
}

/* Bottom nav active state for Protecta */
.brand-protecta .bottom-nav .nav-item:hover i {
  color: var(--protecta-blue-500);
}

.brand-protecta .menu-fab {
  border-color: var(--protecta-blue-500);
}

.brand-protecta .menu-fab i {
  color: var(--protecta-blue-500);
}

/* =========================================================
   RESPONSIVE PROTECTA
   ========================================================= */
@media (max-width: 992px) {
  .tierra-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tierra-text {
    order: 1;
  }

  .tierra-visual {
    order: 2;
  }

  .tierra-ctas {
    justify-content: center;
  }

  .tierra-benefits {
    align-items: center;
  }

  .tierra-benefit {
    max-width: 400px;
  }
}

/* Tablet: TerraGrid para Protecta */
@media (max-width: 1024px) {
  .sectores-grid,
  .sectores-grid-ds,
  .tipos-grid,
  .tipos-grid-ds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-bullets {
    margin-bottom: 1.5rem;
  }

  .hero-bullets li {
    font-size: 0.88rem;
  }

  .protecta-badge {
    display: none;
  }

  .proceso-timeline::before {
    left: 20px;
  }

  .paso-numero {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .proceso-step {
    gap: 1rem;
  }

  /* TerraGrid Mobile: 1 columna */
  .sectores-grid,
  .sectores-grid-ds {
    grid-template-columns: 1fr;
  }

  .tipos-grid,
  .tipos-grid-ds {
    grid-template-columns: 1fr;
  }

  .contacto-grid,
  .contacto-grid-ds {
    grid-template-columns: 1fr;
  }

  .resultado-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .resultado-ctas {
    flex-direction: column;
  }

  .resultado-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .calculadora-card {
    padding: 1.25rem;
  }

  .contacto-card {
    padding: 1.5rem;
  }

  .contacto-info-extra .separator {
    display: none;
  }

  .contacto-info-extra p {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}
