:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #fef3c7;
  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --danger-light: #fee2e2;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --card-bg: #1e293b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --border: #e2e8f0;
  --border-dark: #334155;
  --success: #16a34a;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.15), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 20px rgba(220, 38, 38, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--surface-alt);
}

body {
  line-height: 1.6;
  padding-bottom: 70px;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== EMERGENCY TOP BANNER ==================== */
.top-bar {
  background: var(--dark);
  color: #fff;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-dark);
}

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

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
}

.top-bar-pulse {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 1.8s infinite;
}

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

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

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  transition: color 0.2s;
}

.top-bar-contact a:hover {
  color: var(--primary);
}

/* ==================== HEADER & NAVBAR ==================== */
.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-icon {
  background: linear-gradient(135deg, var(--danger) 0%, #991b1b 100%);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.logo span {
  color: var(--danger);
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  letter-spacing: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--danger);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
  text-align: center;
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger) 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.btn-danger-pulse {
  animation: pulse-danger 2s infinite;
}

@keyframes pulse-danger {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.15rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: linear-gradient(135deg, #0b1329 0%, #1e293b 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-badge-tag {
  background: var(--danger);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fca5a5;
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

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

.hero h1 .highlight {
  color: var(--primary);
  display: block;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 35px;
}

@media (min-width: 576px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
  }
}

.hero-trust-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
}

.trust-item-icon {
  color: #22c55e;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ==================== HERO EMERGENCY CARD ==================== */
.hero-card {
  background: var(--dark-light);
  border: 2px solid #334155;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

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

.hero-card-header h2 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
}

.hero-card-header p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.hero-phone-big {
  background: linear-gradient(135deg, rgba(220,38,38,0.2) 0%, rgba(220,38,38,0.05) 100%);
  border: 2px dashed var(--danger);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.hero-phone-big .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fca5a5;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-phone-big .number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  display: block;
  letter-spacing: 0.5px;
}

.hero-card-features {
  list-style: none;
  margin-bottom: 24px;
}

.hero-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #e2e8f0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

/* ==================== 3-STEP PROCESS BAR ==================== */
.steps-section {
  padding: 40px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface-alt);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.step-number {
  background: var(--dark);
  color: var(--primary);
  font-weight: 900;
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==================== SERVICES SECTION ==================== */
.section {
  padding: 70px 0;
}

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

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

.section-subtitle {
  color: var(--danger);
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

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

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

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

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

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: #b45309;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 700;
}

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

.service-meta {
  border-top: 1px solid var(--border);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.service-price {
  font-weight: 800;
  color: var(--dark);
}

.service-price span {
  color: var(--danger);
}

/* ==================== 150KM COVERAGE / CITIES ==================== */
.coverage-box {
  background: var(--dark);
  color: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  margin-top: 30px;
}

.coverage-header {
  text-align: center;
  margin-bottom: 30px;
}

.coverage-header h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.coverage-header p {
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

.search-city-container {
  max-width: 500px;
  margin: 0 auto 30px;
  position: relative;
}

.search-city-input {
  width: 100%;
  padding: 14px 20px 14px 45px;
  border-radius: 30px;
  border: 2px solid #334155;
  background: #1e293b;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-city-input:focus {
  border-color: var(--primary);
}

.search-city-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
}

.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.region-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 20px;
}

.region-card h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.region-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.city-tag {
  background: rgba(255,255,255,0.08);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.city-tag:hover, .city-tag.active {
  background: var(--danger);
  color: #fff;
}

/* ==================== PRICE TRANSPARENCY MATRIX ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.2s;
}

.pricing-card.featured {
  border-color: var(--danger);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--danger);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}

.pricing-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

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

/* ==================== FAQ ACCORDION ==================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary-hover);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-dark);
}

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

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

.footer-brand h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid var(--border-dark);
  text-align: center;
  font-size: 0.85rem;
}

/* ==================== STICKY MOBILE CALL BAR ==================== */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  padding: 10px 16px;
  z-index: 999;
  gap: 10px;
}

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

.mobile-sticky-bar a {
  flex: 1;
  font-size: 0.95rem;
  padding: 12px 10px;
}

/* Legal text formatting */
.legal-page {
  padding: 60px 0 80px;
  background: #fff;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--dark);
  margin: 30px 0 12px;
}

.legal-content p, .legal-content ul {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 20px;
}
