/* ============================================================
   C.P.L — Control de Plagas Limitada
   Design System & Global Styles
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:        #E8391A;
  --primary-dark:   #C42E13;
  --primary-light:  rgba(232, 57, 26, 0.08);
  --primary-rgb:    232, 57, 26;
  --dark:           #0F0F1A;
  --dark-2:         #1C1C2E;
  --dark-3:         #2A2A3E;
  --text:           #374151;
  --text-muted:     #6B7280;
  --border:         #E5E7EB;
  --bg-light:       #F9FAFB;
  --white:          #FFFFFF;
  --success:        #10B981;
  --warning:        #F59E0B;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl:      0 24px 60px rgba(0,0,0,0.18);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-full:    9999px;
  --transition:     all 0.3s ease;
  --font-body:      'Inter', system-ui, sans-serif;
  --font-display:   'Montserrat', system-ui, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
p  { line-height: 1.75; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.4);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}
.btn-lg { padding: 1.1rem 2.75rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* ── Section Utilities ─────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--dark-2); }
.section-primary { background: var(--primary); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--primary);
  display: inline-block;
}

/* Dark section overrides */
.section-dark .section-header h2,
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-dark .section-header p,
.section-dark p   { color: rgba(255,255,255,0.65); }
.section-dark .section-label { color: var(--warning); }
.section-dark .section-label::before,
.section-dark .section-label::after { background: var(--warning); }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

/* ── Grid layouts ──────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

/* ── Badge / Tag ───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.1); color: var(--warning); }
.badge-dark    { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── Icon box ──────────────────────────────────────────────── */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.card:hover .icon-box {
  background: var(--primary);
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.65rem 0;
}
.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.navbar.scrolled .nav-logo-sub { color: var(--text-muted); }
.navbar.scrolled .hamburger span { background: var(--dark); }
.navbar.transparent { background: transparent; }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
}
.navbar.transparent .nav-logo-sub { color: rgba(255,255,255,0.6); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
}
.navbar.transparent .nav-links a { color: var(--white); }
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar.transparent .nav-links a:hover,
.navbar.transparent .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* CTA */
.nav-cta { margin-left: 0.5rem; }
.navbar.transparent .nav-cta { border: 2px solid rgba(255,255,255,0.7); background: transparent; color: var(--white); }
.navbar.transparent .nav-cta:hover { background: var(--white); color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  margin-left: auto;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.transparent .hamburger span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9rem;
}
.footer-contact-item i { color: var(--primary); margin-top: 0.15rem; }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   WHATSAPP FAB
══════════════════════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: pulse-green 2.5s infinite;
  text-decoration: none;
  transition: transform 0.3s;
}
.whatsapp-fab:hover { transform: scale(1.1); }
@keyframes pulse-green {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 40px rgba(37,211,102,0.8), 0 0 0 12px rgba(37,211,102,0.08); }
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,26,0.82) 0%, rgba(28,28,46,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--warning); }
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.hero-content h1 span { color: var(--primary); }
.hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.25rem;
  max-width: 580px;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-trust {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.trust-item span:last-child {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ══════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 9rem 0 5rem;
  text-align: center;
  overflow: hidden;
  background: var(--dark-2);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=60') center/cover;
  opacity: 0.15;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }

/* Servicios page — custom hero background */
html[data-page="servicios"] .page-hero::before {
  background-image: url('https://images.unsplash.com/photo-1630527910939-275499aa3650?w=1920&q=60');
  background-size: cover;
  background-position: center;
}
/* Nosotros page — Costa Rica background */
html[data-page="nosotros"] .page-hero::before {
  background-image: url('https://images.unsplash.com/photo-1536709017021-ce8f99c17e38?w=1920&q=60');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.2;
}
/* Galería page — técnico fumigando */
html[data-page="galeria"] .page-hero::before {
  background-image: url('https://images.unsplash.com/photo-1628352081506-83c43123ed6d?w=1920&q=60');
  background-size: cover;
  background-position: center;
}
/* Blog page — Costa Rica tropical */
html[data-page="blog"] .page-hero::before {
  background-image: url('https://images.unsplash.com/photo-1593642632559-0c6d3fc62b89?w=1920&q=60');
  background-size: cover;
  background-position: center;
}
/* Contacto page — Valle Central Costa Rica */
html[data-page="contacto"] .page-hero::before {
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=60');
  background-size: cover;
  background-position: center;
}
.page-hero p   { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 0.6rem; }

/* ══════════════════════════════════════════════════════════════
   PROCESS / STEP BY STEP
══════════════════════════════════════════════════════════════ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}
.step:hover .step-number {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.1);
}
.step-icon {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   STATS COUNTER
══════════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════════════════════════════ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body {
  padding: 1.75rem;
}
.service-card-body h3 { margin-bottom: 0.5rem; }
.service-card-body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1.25rem; }
.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.65rem; }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.testimonial-stars { color: var(--warning); margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}
.author-name  { font-weight: 600; font-size: 0.95rem; }
.author-info  { font-size: 0.8rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.pricing-card {
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 2px solid var(--border);
  background: var(--white);
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.15);
  transform: scale(1.04);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.3rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.pricing-feature i { color: var(--success); font-size: 0.8rem; }
.pricing-feature.disabled { color: var(--text-muted); }
.pricing-feature.disabled i { color: var(--border); }

/* ══════════════════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb), 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-overlay i { color: var(--white); font-size: 2rem; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ══════════════════════════════════════════════════════════════
   BLOG
══════════════════════════════════════════════════════════════ */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.35s, box-shadow 0.35s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 210px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.blog-meta i { color: var(--primary); }
.blog-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ══════════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }

.form-success {
  display: none;
  background: rgba(16,185,129,0.08);
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #065f46;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ══════════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════
   WHY US
══════════════════════════════════════════════════════════════ */
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.why-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}
.why-text h4 { margin-bottom: 0.35rem; }
.why-text p  { font-size: 0.88rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════════ */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--primary-light);
}
.team-card h3 { margin-bottom: 0.25rem; }
.team-card .team-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.team-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   ACCORDION / FAQ
══════════════════════════════════════════════════════════════ */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background 0.2s;
}
.accordion-header:hover { background: var(--bg-light); }
.accordion-header.open { color: var(--primary); background: var(--primary-light); }
.accordion-header i { font-size: 0.8rem; transition: transform 0.3s; }
.accordion-header.open i { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ══════════════════════════════════════════════════════════════
   SWIPER OVERRIDES
══════════════════════════════════════════════════════════════ */
.swiper-pagination-bullet-active { background: var(--primary) !important; }
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
  background: var(--white);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
/* Forzar flechas con Unicode por si el CSS del CDN no carga */
.swiper-button-next::after { content: '›' !important; font-size: 1.6rem !important; font-family: Arial, sans-serif !important; line-height: 1; }
.swiper-button-prev::after { content: '‹' !important; font-size: 1.6rem !important; font-family: Arial, sans-serif !important; line-height: 1; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: scale(1); }
}

/* ── Hamburger breakpoint: se activa antes de que los botones se corten ── */
@media (max-width: 1200px) {
  .nav-links, .nav-cta { display: none; }
  /* !important necesario: el botón de admin tiene display:flex como estilo inline */
  .nav-inner > a[href*="admin"],
  .lang-switcher { display: none !important; }
  /* Dark toggle se oculta del navbar — vive en el menú móvil */
  .dark-toggle { display: none !important; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-trust { gap: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 1.5rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-inner { gap: 0.75rem; }
  .nav-logo-sub { display: none; }
  .nav-logo-text { font-size: 1.1rem; }
  .nav-logo-icon { width: 34px; height: 34px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 1rem; }
}

/* ══════════════════════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: var(--white); }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ══════════════════════════════════════════════════════════════
   DARK MODE
   Activated via [data-theme="dark"] on <html>
══════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --dark:        #f1f5f9;
  --dark-2:      #1e293b;
  --dark-3:      #334155;
  --text:        #cbd5e1;
  --text-muted:  #94a3b8;
  --border:      #334155;
  --bg-light:    #1e293b;
  --white:       #0f172a;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.55);
}

[data-theme="dark"] body { background: #0f172a; }

/* Navbar */
[data-theme="dark"] .navbar { background: rgba(15,23,42,0.96); border-bottom-color: #334155; }
[data-theme="dark"] .nav-links a { color: #cbd5e1; }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: var(--primary); }
[data-theme="dark"] .mobile-menu { background: #1e293b; }
[data-theme="dark"] .mobile-menu a { color: #cbd5e1; border-color: #334155; }

/* Dark mode: transparent navbar — fix invisible text (--white flips dark) */
[data-theme="dark"] .navbar.transparent .nav-links a { color: #f1f5f9; }
[data-theme="dark"] .navbar.transparent .nav-links a:hover,
[data-theme="dark"] .navbar.transparent .nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); }
[data-theme="dark"] .navbar.transparent .nav-logo-name { color: #fff; }
[data-theme="dark"] .navbar.transparent .nav-logo-sub { color: rgba(255,255,255,0.65); }
[data-theme="dark"] .navbar.transparent .hamburger span { background: #f1f5f9; }
[data-theme="dark"] .navbar.transparent .nav-cta { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
[data-theme="dark"] .navbar.transparent .nav-cta:hover { background: rgba(255,255,255,0.15); color: #fff; }
[data-theme="dark"] .navbar.transparent .lang-switcher { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }
[data-theme="dark"] .navbar.transparent .lang-btn { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .navbar.transparent .lang-btn.active { background: var(--primary); color: #fff; }
/* Scrolled state in dark mode */
[data-theme="dark"] .navbar.scrolled { background: #0f172a; border-bottom-color: #334155; }
[data-theme="dark"] .navbar.scrolled .nav-links a { color: #cbd5e1; }
[data-theme="dark"] .navbar.scrolled .hamburger span { background: #cbd5e1; }

/* Cards */
[data-theme="dark"] .card { background: #1e293b; border-color: #334155; }

/* Sections */
[data-theme="dark"] .section-light { background: #1e293b; }
[data-theme="dark"] .section-header p { color: #94a3b8; }

/* Forms */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: #64748b; }
[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus { border-color: var(--primary); background: #1e293b; }
[data-theme="dark"] label { color: #cbd5e1; }

/* Footer */
[data-theme="dark"] footer { background: #020617 !important; }

/* Service cards / feature lists */
[data-theme="dark"] .service-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .blog-card { background: #1e293b; border-color: #334155; }

/* Cotizador steps */
[data-theme="dark"] .step-content { background: #1e293b; }
[data-theme="dark"] .pest-card { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pest-card:hover,
[data-theme="dark"] .pest-card.selected { border-color: var(--primary); background: rgba(232,57,26,0.08); }
[data-theme="dark"] .cotizador-wrap { background: #0f172a; }
[data-theme="dark"] .step-header { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .progress-bar-inner { background: var(--primary); }

/* Quick calculator */
[data-theme="dark"] .quick-calc-wrapper .qc-type-btn { background: #1e293b; border-color: #334155; color: #94a3b8; }
[data-theme="dark"] .qc-number-input { background: #1e293b; border-color: #334155; color: #f1f5f9; }
[data-theme="dark"] .qc-plaga-chip { background: #1e293b; border-color: #334155; color: #94a3b8; }
[data-theme="dark"] .qc-result-box { background: #1e293b; }
[data-theme="dark"] .qc-includes { background: #1e293b; }
[data-theme="dark"] .qc-breakdown { background: #0f172a; }

/* Chatbot */
[data-theme="dark"] #cpl-chat-panel { background: #1e293b; }
[data-theme="dark"] .cpl-messages { background: #1e293b; }
[data-theme="dark"] .cpl-bubble.bot { background: #334155; color: #f1f5f9; }
[data-theme="dark"] .cpl-opt-btn { background: #334155; border-color: #475569; color: #e2e8f0; }
[data-theme="dark"] .cpl-opt-btn.wa { background: rgba(22,163,74,0.15); border-color: #16a34a; color: #86efac; }
[data-theme="dark"] .cpl-footer { background: #1e293b; border-color: #334155; }
[data-theme="dark"] #cpl-teaser { background: #1e293b; color: #f1f5f9; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

/* Gallery */
[data-theme="dark"] .gallery-item { background: #1e293b; }

/* Blog */
[data-theme="dark"] .blog-meta { color: #64748b; }

/* Dark mode toggle button */
.dark-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.dark-toggle:hover { background: var(--primary); border-color: var(--primary); color: #fff; }


/* ══════════════════════════════════════════════════════════════
   MOBILE — extra breakpoints for newer components
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Cotizador */
  .cotizador-wrap { padding: 1rem; }
  .step-content { padding: 1.25rem 1rem; }
  .pest-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .pest-card { padding: 0.75rem 0.5rem; font-size: 0.82rem; }
  .step-nav { flex-direction: column; gap: 0.75rem; }
  .step-nav .btn { width: 100%; justify-content: center; }
  .summary-box { padding: 1.25rem; }

  /* Quick calculator */
  .quick-calc-wrapper { grid-template-columns: 1fr; gap: 1.5rem; }
  .quick-calc-result { position: static; }
  .qc-type-btns { flex-direction: column; gap: 0.5rem; }
  .qc-result-price { font-size: 2.4rem; }

  /* General sections */
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  /* Blog article */
  .article-content { padding: 0 0.5rem; }
}

@media (max-width: 480px) {
  .pest-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
  .qc-result-price { font-size: 2rem; }
  h1 { font-size: 2rem; }
}

/* ══════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
══════════════════════════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-light, rgba(255,255,255,0.08));
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s;
  line-height: 1;
}
.lang-btn.active {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
}
.lang-btn:hover:not(.active) { color: var(--primary); }

[data-theme="dark"] .lang-switcher { background: rgba(255,255,255,0.06); border-color: #334155; }

/* ── Dark mode: fix elements that use var(--white) as text on dark backgrounds ── */
/* --white flips to #0f172a in dark mode, making these invisible. Force true white. */
[data-theme="dark"] .hero-badge,
[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .trust-number,
[data-theme="dark"] .page-hero h1,
[data-theme="dark"] .page-hero p,
[data-theme="dark"] .footer h4,
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer p,
[data-theme="dark"] .footer-contact-item,
[data-theme="dark"] .footer .stat-label,
[data-theme="dark"] .breadcrumb a { color: #f1f5f9; }

[data-theme="dark"] .footer h4 { color: #ffffff; }

[data-theme="dark"] .btn-outline-white {
  color: #ffffff;
  border-color: rgba(255,255,255,0.7);
}
[data-theme="dark"] .btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border-color: rgba(255,255,255,0.9);
}

[data-theme="dark"] #cpl-teaser::after { border-top-color: #1e293b; }

/* ── Quick Calculator (Cotizador Rápido) ─────────────────────── */
.quick-calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .quick-calc-wrapper { grid-template-columns: 1fr; gap: 1.5rem; }
}
.qc-field { margin-bottom: 1.5rem; }
.qc-label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.qc-type-btns { display: flex; gap: 0.75rem; }
.qc-type-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.qc-type-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.qc-slider {
  width: 100%;
  accent-color: var(--primary);
  height: 6px;
  cursor: pointer;
}
.qc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.qc-number-input {
  width: 90px;
  padding: 0.45rem 0.65rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  transition: border-color 0.2s;
}
.qc-number-input:focus { outline: none; border-color: var(--primary); }
.qc-plaga-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.qc-plaga-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
}
.qc-plaga-chip.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.qc-plaga-chip input { display: none; }
.quick-calc-result { position: sticky; top: 100px; }
.qc-result-box {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.qc-result-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}
.qc-result-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}
.qc-result-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.qc-breakdown {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  text-align: left;
  font-size: 0.83rem;
  color: var(--text-muted);
  display: none;
}
.qc-breakdown-line {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--border);
}
.qc-breakdown-line:last-child { border-bottom: none; }
.qc-breakdown-line.total {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  padding-top: 0.4rem;
  margin-top: 0.2rem;
  border-top: 1px solid var(--primary);
}
.qc-disclaimer {
  background: rgba(234,179,8,0.08);
  border: 1px solid rgba(234,179,8,0.25);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  text-align: left;
  line-height: 1.4;
}
.qc-disclaimer i { color: #eab308; margin-right: 0.3rem; }
.qc-cta-btn { width: 100%; justify-content: center; display: flex; gap: 0.5rem; }
.qc-includes {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}
.qc-includes-title { font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.qc-includes ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.qc-includes li { color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.qc-includes li i { color: var(--primary); font-size: 0.75rem; }

/* Dark mode overrides for calculator */
[data-theme="dark"] .qc-type-btn { background: var(--dark-3); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
[data-theme="dark"] .qc-type-btn.active { background: rgba(232,57,26,0.15); border-color: var(--primary); color: var(--primary); }
[data-theme="dark"] .qc-number-input { background: var(--dark-3); border-color: rgba(255,255,255,0.1); color: #fff; }
[data-theme="dark"] .qc-plaga-chip { background: var(--dark-3); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
[data-theme="dark"] .qc-plaga-chip.selected { background: rgba(232,57,26,0.15); border-color: var(--primary); color: var(--primary); }
[data-theme="dark"] .qc-result-box { background: var(--dark-2); }
[data-theme="dark"] .qc-breakdown { background: var(--dark-3); color: rgba(255,255,255,0.7); }
[data-theme="dark"] .qc-breakdown-line { border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .qc-includes { background: var(--dark-3); }
