/* ==========================================================================
   ESPECIALISTA EN FUGAS - DESIGN SYSTEM & STYLESHEET
   Tecnología Estática de Alta Ingeniería • Ultra Rápido • Core Web Vitals 100
   ========================================================================== */

:root {
  --primary: #0F2027;
  --primary-dark: #070e12;
  --primary-light: #203A43;
  --accent: #D90429;
  --accent-hover: #EF233C;
  --accent-subtle: #FFF0F3;
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5D;
  --sec-blue: #0284C7;
  --sec-gold: #F59E0B;
  --success: #10B981;
  --warning: #F59E0B;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --surface-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-inverted: #FFFFFF;
  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(217, 4, 41, 0.25);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
}

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

html {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--surface-alt);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky action bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOP EMERGENCY ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #990000 0%, #D90429 100%);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.emergency-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-text-desktop {
  display: inline;
}

.top-bar-text-mobile {
  display: none;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulse-ring 1.6s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-bar-link:hover {
  color: #FFE5E5;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  max-width: 1280px;
  transition: height 0.25s ease;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #D90429;
  box-shadow: 0 2px 8px rgba(217, 4, 41, 0.2);
  image-rendering: -webkit-optimize-contrast;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-name span {
  color: var(--accent);
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--sec-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1.2;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 1;
  }
}

@media (min-width: 1240px) {
  .nav-desktop {
    gap: 26px;
  }
}

.nav-link {
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent);
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 270px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 110;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: background 0.15s ease, color 0.15s ease;
}

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

.dropdown-menu.dropdown-menu-comunas {
  min-width: 380px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 6px;
  padding: 10px 12px;
  max-height: 75vh;
  overflow-y: auto;
}

.dropdown-menu.dropdown-menu-comunas .dropdown-item {
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.mobile-submenu.mobile-submenu-comunas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-call {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-header-call:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background-color: var(--whatsapp);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  white-space: nowrap;
}

.btn-header-wa .icon-wa {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-header-wa:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .btn-header-call {
    display: inline-flex;
  }
}

/* Hamburger Trigger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   TABLET & MOBILE HEADER RESPONSIVE ENGINE
   ========================================================================== */

/* --- TABLET ENGINE (768px to 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
  .top-bar {
    padding: 6px 0;
    font-size: 0.80rem;
    min-height: 32px;
  }

  .top-bar-inner {
    padding: 0 16px;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .emergency-pulse {
    gap: 8px;
  }

  .top-bar-text-desktop {
    display: inline;
    font-size: 0.80rem;
    white-space: nowrap;
  }

  .top-bar-text-mobile {
    display: none !important;
  }

  .top-bar-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.80rem;
    white-space: nowrap;
  }

  .header-container {
    height: 68px;
    min-height: 68px;
    padding: 0 16px;
  }

  .brand-wrapper {
    gap: 12px;
    flex-shrink: 0;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    border: 2px solid #D90429;
    box-shadow: 0 2px 8px rgba(217, 4, 41, 0.2);
    image-rendering: -webkit-optimize-contrast;
  }

  .brand-name {
    font-size: 1.18rem;
    white-space: nowrap;
  }

  .brand-tagline {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .header-ctas {
    gap: 10px;
    flex-shrink: 0;
  }

  .btn-header-call {
    display: inline-flex !important;
    padding: 8px 14px;
    font-size: 0.85rem;
    gap: 6px;
    border-radius: var(--radius-full);
  }

  .btn-header-wa {
    display: inline-flex !important;
    padding: 8px 14px;
    font-size: 0.85rem;
    gap: 6px;
    border-radius: var(--radius-full);
  }

  .menu-toggle {
    display: flex !important;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

/* --- MOBILE ENGINE (max-width: 767px) --- */
@media (max-width: 767px) {
  .top-bar {
    padding: 6px 0;
    font-size: 0.76rem;
    line-height: 1.2;
    min-height: 30px;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    padding: 0 10px;
    gap: 0;
    flex-wrap: nowrap;
  }

  .emergency-pulse {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .top-bar-text-desktop {
    display: none !important;
  }

  .top-bar-text-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.76rem;
  }

  .top-bar-text-mobile strong {
    font-weight: 900;
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .top-bar-contact {
    display: none !important;
  }

  .main-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
  }

  .header-container {
    height: 60px;
    min-height: 60px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
  }

  .brand-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    border: 2px solid #D90429;
    box-shadow: 0 2px 6px rgba(217, 4, 41, 0.25);
    image-rendering: -webkit-optimize-contrast;
    flex-shrink: 0;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
  }

  .brand-name {
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--primary);
    white-space: nowrap;
  }

  .brand-name span {
    color: var(--accent);
  }

  .brand-tagline {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--sec-blue);
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .header-ctas {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .btn-header-call {
    display: none !important;
  }

  .btn-header-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
    white-space: nowrap;
    flex-shrink: 0;
    border: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0;
    flex-shrink: 0;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
  }
}

/* --- MOBILE WIDE (480px to 767px) --- */
@media (min-width: 480px) and (max-width: 767px) {
  .btn-header-wa {
    padding: 7px 12px;
    font-size: 0.82rem;
    gap: 6px;
    border-radius: var(--radius-full);
  }

  .btn-header-wa .btn-wa-text {
    display: inline !important;
  }

  .btn-header-wa .icon-wa {
    width: 16px;
    height: 16px;
  }
}

/* --- MOBILE COMPACT (< 480px) - iPhone / Android Smartphones --- */
@media (max-width: 479px) {
  .header-container {
    height: 58px;
    min-height: 58px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }

  .btn-header-wa {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
  }

  .btn-header-wa .btn-wa-text {
    display: none !important;
  }

  .btn-header-wa .icon-wa {
    width: 20px;
    height: 20px;
  }
}

/* --- MOBILE ULTRA-COMPACT (< 360px) --- */
@media (max-width: 359px) {
  .header-container {
    height: 54px;
    min-height: 54px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .brand-tagline {
    font-size: 0.52rem;
  }

  .btn-header-wa {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .btn-header-wa .icon-wa {
    width: 18px;
    height: 18px;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .menu-toggle span {
    width: 16px;
  }
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 200;
  padding: 24px 20px;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.mobile-drawer-header .brand-wrapper {
  gap: 10px;
}

.mobile-drawer-header .brand-logo {
  width: 40px;
  height: 40px;
}

.mobile-drawer-header .brand-name {
  font-size: 1.05rem;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface-alt);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.mobile-menu-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

.mobile-submenu {
  padding-left: 12px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-sub-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
}

.mobile-sub-link:hover {
  color: var(--accent);
}

.mobile-drawer-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
  color: #FFFFFF;
  padding: 56px 0 64px 0;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(217, 4, 41, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFE5E5;
  width: fit-content;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

.hero-title .highlight-red {
  color: #FF5A5F;
}

.hero-title .highlight-yellow {
  color: #FFD166;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #E2E8F0;
  line-height: 1.6;
  max-width: 620px;
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #F8FAFC;
}

.checklist-title {
  font-weight: 700;
  color: #FFFFFF;
}

.check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background-color: var(--success);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.btn-hero-emergency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #D90429 0%, #EF233C 100%);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  transition: all 0.25s ease;
}

.btn-hero-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 4, 41, 0.4);
}

.btn-hero-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-wa:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* Quick Quote Card inside Hero */
.hero-card {
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-header {
  margin-bottom: 20px;
  text-align: center;
}

.hero-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.hero-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-form-submit {
  background: linear-gradient(135deg, #0F2027 0%, #203A43 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-form-submit:hover {
  background: #D90429;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
}

/* Trust Bar under Hero */
.trust-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 22px 0;
  box-shadow: var(--shadow-sm);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: center;
}

@media (min-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.trust-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES & CARDS
   ========================================================================== */
.section {
  padding: 64px 0;
}

.section-alt {
  background-color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px auto;
}

.section-badge {
  display: inline-block;
  background-color: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.35rem;
  }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border-light);
  transition: background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-subtle);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--accent) 0%, var(--sec-blue) 100%);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  gap: 10px;
}

/* ==========================================================================
   COMPARISON TABLE (PRODORAL VS TRADICIONAL)
   ========================================================================== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.compare-table th {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 800;
}

.compare-table th.col-feature {
  background: var(--surface-alt);
  color: var(--text-main);
  width: 40%;
}

.compare-table th.col-traditional {
  background: #FFE5E5;
  color: #B91C1C;
  width: 30%;
}

.compare-table th.col-prodoral {
  background: #DEF7EC;
  color: #03543F;
  width: 30%;
}

.compare-table td {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.compare-table tr:hover td {
  background: var(--surface-alt);
}

.badge-tag-bad {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #B91C1C;
  font-weight: 700;
}

.badge-tag-good {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #046C4E;
  font-weight: 700;
}

/* ==========================================================================
   STEP-BY-STEP PROCESS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step-counter;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   ACCORDION FAQ (SEO RICH SNIPPETS)
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-subtle);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

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

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   SEC CERTIFICATION & AUTHORITY SECTION
   ========================================================================== */
.authority-card {
  background: linear-gradient(135deg, #070e12 0%, #15222E 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .authority-card {
    grid-template-columns: 1fr auto;
  }
}

.authority-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.authority-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.authority-text {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.authority-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.qr-box {
  background: #FFFFFF;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  width: 170px;
}

.qr-box img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.qr-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 6px;
  text-transform: uppercase;
}

/* ==========================================================================
   COVERAGE COMMUNE CLUSTER PILLS
   ========================================================================== */
.commune-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.commune-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.commune-pill:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #080D1A;
  color: #94A3B8;
  padding: 60px 0 30px 0;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-brand-title span {
  color: var(--accent);
}

.footer-column-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #94A3B8;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM BAR (HIGH CONVERSION)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
  padding: 8px 14px;
  display: flex;
  gap: 10px;
  z-index: 99;
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.btn-sticky-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 2px 8px rgba(217, 4, 41, 0.3);
}

.btn-sticky-wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

/* Breadcrumbs */
.breadcrumbs {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .current {
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================================
   SEO UTILITIES & BOLD TAG BALANCING
   ========================================================================== */
.top-bar-badge {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phone-highlight {
  font-weight: 700;
  color: #FFFFFF;
}

.footer-label {
  font-weight: 700;
  color: #FFFFFF;
  display: block;
}

.table-row-title {
  font-weight: 700;
  color: var(--text-main);
}

.brand-inline {
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   SOCIAL MEDIA SHARE & ENGAGEMENT BAR (SEO & Open Graph)
   ========================================================================== */
.social-share-section {
  padding: 24px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.social-share-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.social-share-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-share-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-btn-wa {
  background-color: #25D366;
  color: #FFFFFF !important;
}
.social-btn-wa:hover {
  background-color: #1EBE5D;
}

.social-btn-fb {
  background-color: #1877F2;
  color: #FFFFFF !important;
}
.social-btn-fb:hover {
  background-color: #0E65D9;
}

.social-btn-tw {
  background-color: #0F1419;
  color: #FFFFFF !important;
}
.social-btn-tw:hover {
  background-color: #272C30;
}

.social-btn-li {
  background-color: #0A66C2;
  color: #FFFFFF !important;
}
.social-btn-li:hover {
  background-color: #084E96;
}

.social-btn-call {
  background-color: var(--primary);
  color: #FFFFFF !important;
}
.social-btn-call:hover {
  background-color: var(--primary-hover);
}
