/* ============================================
   MGS HOME PRO — Global Stylesheet
   Mobile-first, clean, fast-loading
   ============================================ */

/* --- CSS Variables --- */
:root {
  --blue: #1a4fa0;
  --blue-dark: #0f3272;
  --blue-light: #2d6ecf;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-500: #6c757d;
  --gray-700: #495057;
  --gray-900: #212529;
  --text: #2d2d2d;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.13);
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--blue-dark);
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin-bottom: 1rem;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--gray-100);
}

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

.text-white {
  color: var(--white);
}

.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;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* --- Section Headings --- */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

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

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

.section-header.center .section-subtitle {
  margin: 0.5rem auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--gray-900);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--gray-900);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-text {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.logo-sub {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: block;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--blue-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--gray-900);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.header-phone:hover {
  background: var(--accent-dark);
  color: var(--gray-900);
}

/* Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--white);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  display: block;
}

.site-nav {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 0.2rem;
}

.nav-inner a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  display: block;
}

.nav-inner a:hover,
.nav-inner a.active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(26, 79, 160, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--blue-dark);
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.service-card a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-card a:hover {
  color: var(--blue-dark);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--blue-dark);
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--gray-700);
  margin: 0;
}

.feature-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ============================================
   EMERGENCY SECTION — Premium Redesign
   ============================================ */
.emergency {
  position: relative;
  background: linear-gradient(135deg, #7b0000 0%, #c0392b 50%, #922b21 100%);
  color: var(--white);
  padding: 5rem 0;
  overflow: hidden;
}

/* SVG dot-grid pattern */
.emergency-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Two-column layout */
.emergency-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* ─── Animated phone icon ─── */
.emergency-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: pulseRing 2.4s ease-out infinite;
}

.pulse-ring-1 {
  width: 85px;
  height: 85px;
  animation-delay: 0s;
}

.pulse-ring-2 {
  width: 130px;
  height: 130px;
  animation-delay: 0.7s;
}

.pulse-ring-3 {
  width: 175px;
  height: 175px;
  animation-delay: 1.4s;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.88);
    opacity: 0.9;
  }

  80% {
    transform: scale(1.12);
    opacity: 0;
  }

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

.emergency-phone-circle {
  width: 82px;
  height: 82px;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(6px);
}

.emergency-phone-circle svg {
  width: 38px;
  height: 38px;
  fill: var(--white);
}

/* ─── Content block ─── */
.emergency-content {
  position: relative;
  z-index: 1;
}

.emergency-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.emergency-content h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.emergency-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.emergency-desc strong {
  color: var(--white);
}

/* Trust mini-stats bar */
.emergency-stats {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  gap: 0;
}

.emergency-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.estat-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.estat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}

.emergency-stat-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  margin: 0 0.5rem;
}

/* Emergency types list */
.emergency-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.25rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}

.emergency-types li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.emergency-types li svg {
  width: 15px;
  height: 15px;
  fill: #ffd47e;
  flex-shrink: 0;
}

/* ─── CTA Buttons ─── */
.emergency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

/* Phone call — large white card button */
.btn-emergency-call {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--white);
  color: #8b0000;
  border-radius: 12px;
  padding: 0.9rem 1.4rem;
  min-height: 78px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-emergency-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  color: #6b0000;
}

.btn-call-icon {
  width: 46px;
  height: 46px;
  background: #c0392b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-call-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

/* WhatsApp icon circle — mirrors btn-call-icon */
.wa-btn-icon {
  width: 46px;
  height: 46px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-btn-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.btn-call-text {
  display: flex;
  flex-direction: column;
}

.btn-call-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.45);
  line-height: 1;
}

.btn-call-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: #8b0000;
  line-height: 1.4;
}

/* WhatsApp button */
.btn-emergency-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white);
  border-radius: 12px;
  padding: 0.9rem 1.4rem;
  min-height: 78px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-emergency-wa:hover {
  background: #1dba5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.btn-emergency-wa svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  flex-shrink: 0;
}

/* ── Enhanced Emergency CTA elements ── */

/* Phone-ring shake animation on icon */
@keyframes phoneRing {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(-15deg);
  }

  20% {
    transform: rotate(15deg);
  }

  30% {
    transform: rotate(-10deg);
  }

  40% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-5deg);
  }

  60% {
    transform: rotate(5deg);
  }

  70% {
    transform: rotate(0deg);
  }
}

.emg-ring-anim {
  animation: phoneRing 2.5s ease-in-out 1.5s infinite;
  transform-origin: center bottom;
}

/* Live green pulsing dot */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: middle;
  animation: livePulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {

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

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

/* Tap-to-call micro label */
.btn-call-sub {
  font-size: 0.7rem;
  opacity: 0.55;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  margin-top: 0.15rem;
}

/* "ou" divider between the two buttons */
.emg-or {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  width: 100%;
}

.emg-or::before,
.emg-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

/* WhatsApp button two-line text */
.wa-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wa-btn-main {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.wa-btn-sub {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.75;
  line-height: 1;
}

/* Make the wa button taller to match the two-line text */
.btn-emergency-wa {
  padding: 0.9rem 1.4rem;
  align-items: center;
}

/* Glow shimmer on call button when idle */
.btn-emergency-call {
  position: relative;
  overflow: hidden;
}

.btn-emergency-call::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: shimmer 3.5s ease-in-out 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -75%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  50% {
    left: 125%;
    opacity: 1;
  }

  51% {
    opacity: 0;
  }

  100% {
    left: 125%;
    opacity: 0;
  }
}

/* ============================================
   TESTIMONIALS / BADGES
   ============================================ */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}

.badge-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
}

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

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--gray-700);
  font-size: 0.97rem;
}

.faq-answer.open {
  display: block;
}

/* ============================================
   CTA SECTION — Premium Designer Redesign
   ============================================ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0a2550 0%, var(--blue-dark) 55%, #0d2d5e 100%);
  color: var(--white);
  padding: 5.5rem 0;
  overflow: hidden;
}

/* Diagonal mesh pattern */
.cta-bg-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Amber accent bar — left vertical stripe */
.cta-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}

/* Two-column inner layout */
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

/* ── Left: copy column ── */
.cta-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.cta-copy h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.cta-highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

/* Underline accent */
.cta-highlight::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.5;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.cta-copy p strong {
  color: var(--white);
}

/* Trust strip */
.cta-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.cta-trust-item svg {
  width: 17px;
  height: 17px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* ── Right: action card ── */
.cta-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.cta-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Phone call button */
.cta-btn-call {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--accent);
  color: var(--gray-900);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  width: 100%;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  margin-bottom: 0;
}

.cta-btn-call:hover {
  background: var(--accent-dark);
  color: var(--gray-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

.cta-btn-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-btn-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gray-900);
}

.cta-btn-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cta-btn-label {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.65;
  line-height: 1;
}

.cta-btn-number {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
}

/* Divider */
.cta-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.82rem;
}

.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.cta-divider span {
  white-space: nowrap;
}

/* WhatsApp button */
.cta-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #25D366;
  color: var(--white);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  margin-bottom: 0.75rem;
}

.cta-btn-wa:hover {
  background: #1dba5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.cta-btn-wa svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  flex-shrink: 0;
}

/* Outline contact link */
.cta-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  margin-bottom: 1.25rem;
}

.cta-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.cta-btn-outline svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Reassurance micro-copy */
.cta-card-note {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ============================================
   SERVICE PAGE HEADER
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SERVICE DETAILS (inner pages)
   ============================================ */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
  color: var(--gray-700);
}

.service-list li svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box {
  background: rgba(26, 79, 160, 0.06);
  border: 1px solid rgba(26, 79, 160, 0.15);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}

.info-box h3 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.info-box p {
  color: var(--gray-700);
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(26, 79, 160, 0.1);
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.contact-method-icon.wa {
  background: rgba(37, 211, 102, 0.1);
}

.contact-method-icon.wa svg {
  color: #25D366;
}

.contact-method-body h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--gray-900);
}

.contact-method-body a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
}

.contact-method-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 1.5rem;
  color: var(--blue-dark);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
}

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

.form-group select.form-control {
  cursor: pointer;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-col .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.footer-col .footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-col .footer-contact-item a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-col .footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.wa-float-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  border: 3px solid var(--white);
}

.wa-float-btn svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.wa-float-label {
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
}

.wa-float:hover .wa-float-label {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RELATED SERVICES
   ============================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  color: var(--text);
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.related-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 79, 160, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.related-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.related-card h4 {
  font-size: 0.97rem;
  margin-bottom: 0.15rem;
  color: var(--blue-dark);
}

.related-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
  }

  /* ── Slide-in drawer from left ── */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    max-width: 85vw;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.35);
    padding-top: 0;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  /* Backdrop overlay */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
    backdrop-filter: blur(2px);
  }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Drawer header (Close button row) */
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--blue-dark);
    position: sticky;
    top: 0;
  }

  .nav-drawer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
  }

  .nav-drawer-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 0;
    transition: color var(--transition);
  }

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

  .nav-drawer-close svg {
    width: 24px;
    height: 24px;
    display: block;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0;
    gap: 0;
  }

  .nav-inner a {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 4px solid transparent;
    font-size: 1.05rem;
    display: block;
  }

  .nav-inner a:hover,
  .nav-inner a.active {
    border-left-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
  }

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

  .badge-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

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

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

  .hero {
    padding: 3rem 0 2.5rem;
  }

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

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .header-phone span.phone-text {
    display: none;
  }

  .header-phone {
    padding: 0.5rem 0.75rem;
  }

  .emergency-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .emergency {
    padding: 3.5rem 0;
  }

  .emergency-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .emergency-visual {
    margin: 0 auto 0.5rem;
  }

  .emergency-badge-top {
    display: table;
    margin: 0 auto 0.75rem;
  }

  .emergency-stats {
    justify-content: center;
  }

  .emergency-types {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .emergency-actions {
    justify-content: center;
  }

  .btn-emergency-call {
    flex: 1 1 100%;
    justify-content: center;
  }

  .btn-emergency-wa {
    flex: 1 1 100%;
    justify-content: center;
  }

  .section {
    padding: 2.75rem 0;
  }

  /* CTA section mobile */
  .cta-section {
    padding: 3.5rem 0;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cta-copy p {
    max-width: 100%;
  }

  .cta-copy h2 {
    font-size: 1.7rem;
  }

  .cta-trust-strip {
    justify-content: center;
  }

  .cta-highlight::after {
    display: none;
  }

  .cta-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .container {
    padding: 0 1rem;
  }
}