/* =========================================================
   INPA PARAGUAY — SISTEMA DE DISEÑO MODERNO & ESTILOS GLOBALES
   ========================================================= */

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

:root {
  /* Color Palette - Warm Natural Wood Luxury */
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-alt: #f3efe9;
  --surface-dark: #1a1613;
  --text: #191613;
  --text-muted: #6e675f;
  --line: #e8e2d8;
  --line-light: #f0ebd3;

  /* Brand Accents */
  --accent: #d62828;
  /* Rojo INPA */
  --accent-dark: #ab1a1a;
  --accent-light: rgba(214, 40, 40, 0.08);
  --wood-gold: #c68a4c;
  /* Tono Ámbar/Madera */
  --wood-dark: #2d221a;

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Utilities */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --nav-h: 76px;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(250, 248, 245, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HEADER & NAVBAR ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-h);
  transition: var(--transition);
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

/* Logo brand mark */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: var(--surface-dark);
  color: var(--wood-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(198, 138, 76, 0.3);
}

.logo-details {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.logo-sub {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a,
.dropbtn {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
  cursor: pointer;
}

.nav-links a:hover,
.dropbtn:hover {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.dropdown-content a {
  color: var(--text);
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

.dropdown-content a:hover {
  background: var(--surface-alt);
  color: var(--accent);
}

.dropdown-content a::after {
  display: none;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(214, 40, 40, 0.25);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(214, 40, 40, 0.4);
}

.nav-cta::after {
  display: none !important;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 25s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(26, 22, 19, 0.4) 0%, rgba(26, 22, 19, 0.85) 70%, rgba(15, 12, 10, 0.95) 100%);
  z-index: 1;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
  color: #fff;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 31, 31, 0.15);
  border: 1px solid rgba(224, 31, 31, 0.35);
  color: #ff5252;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 850px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--wood-gold);
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(214, 40, 40, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(214, 40, 40, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 780px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--wood-gold);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* ===== TITULOS DE SECCIÓN ===== */
.section-header {
  margin-bottom: 48px;
}

.section-tag {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
}

.section-header.centered {
  text-align: center;
}

/* ===== SECCIÓN PRODUCTOS / MADERAS ===== */
.products-section {
  padding: 100px 0;
}

.products-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

/* Filtros por Categoría (Pills) */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--text);
  color: var(--text);
}

.filter-btn.active {
  background: var(--surface-dark);
  color: var(--surface);
  border-color: var(--surface-dark);
  box-shadow: var(--shadow-md);
}

/* Scroller container */
.cards-scroller-wrap {
  position: relative;
  overflow: hidden;
}

.cards-scroller {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* Tarjeta de Producto (rf-card) */
.rf-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rf-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rf-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(198, 138, 76, 0.4);
}

.rf-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-alt);
}

.rf-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rf-card:hover .rf-card-img {
  transform: scale(1.08);
}

.rf-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.3);
}

.rf-card-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.rf-card:hover .rf-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

.rf-card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rf-card-category {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--wood-gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.rf-card-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 8px;
}

.rf-card-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

/* ===== CALCULADORA INTERACTIVA DE METROS CUADRADOS / COTIZADOR RÁPIDO ===== */
.calculator-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--surface-dark) 0%, #292019 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .calculator-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
}

.calculator-info h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.calculator-info p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 16px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--wood-gold);
  background: #fff;
}

.calc-result-box {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  border: 1.5px dashed var(--wood-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.calc-result-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.calc-result-val {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--wood-dark);
  margin: 2px 0;
}

.calc-result-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-calc-wa {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-calc-wa:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* ===== PROMOCIONES Y DESTACADOS ===== */
.promos-section {
  padding: 100px 0;
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  display: block;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-card:hover img {
  transform: scale(1.06);
}

/* ===== PREGUNTAS FRECUENTES (FAQ) ===== */
.faq-section {
  padding: 100px 0;
  background: var(--surface-alt);
}

.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--wood-gold);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-light);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.faq-item.active .faq-answer {
  padding: 0 28px 24px 28px;
  max-height: 300px;
}

/* ===== SECCIÓN CONTACTO ===== */
.contact-section {
  background: var(--surface-dark);
  color: #fff;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact-inner .section-tag {
  color: var(--wood-gold);
}

.contact-inner h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 500;
  margin: 12px 0 20px;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 18px 42px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-whatsapp-large:hover {
  transform: translateY(-3px);
  background: #1ebe57;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

/* ===== WIDGET FLOTANTE WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  position: relative;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: floatPulse 2s infinite;
  opacity: 0;
}

@keyframes floatPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.whatsapp-float-tooltip {
  background: var(--surface-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float:hover .whatsapp-float-btn {
  transform: scale(1.08);
  background: #1ebe57;
}

/* ===== FOOTER ===== */
footer {
  background: #13100e;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 340px;
  line-height: 1.7;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  text-align: center;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 12, 10, 0.92);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .calculator-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-banner {
    min-height: 80vh;
  }

  .hero-content {
    padding: 60px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  .cards-scroller {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}