/* ============================================================
   HIDRAXIS – Design System
   Industrial Modern | Mobile-First | CRO Optimizado
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --blue-dark: #0d1b3e;
  --blue-mid: #1a3a6b;
  --blue-light: #2a6fc9;
  --orange: #f47c20;
  --orange-dark: #d4640e;
  --gray-900: #1a1a2e;
  --gray-800: #2d3748;
  --gray-700: #4a5568;
  --gray-500: #718096;
  --gray-200: #e2e8f0;
  --gray-100: #f7f8fa;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: .25s ease;
  --font-body: 'Inter', sans-serif;
  --font-head: 'Oswald', sans-serif;
}

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

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

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

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

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



ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: .02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1rem;
}

/* ---------- In-content links ---------- */
.link-zona {
  color: var(--orange);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(244, 124, 32, .35);
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.link-zona:hover {
  color: var(--orange-dark);
  text-decoration-color: var(--orange-dark);
}

.bg-dark .link-zona {
  color: rgba(244, 124, 32, .9);
  text-decoration-color: rgba(244, 124, 32, .4);
}

.bg-dark .link-zona:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .5);
}

.lead {
  font-size: 1.2rem;
  color: var(--gray-700);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 124, 32, .4);
}

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

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

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: .55rem 1.2rem;
  font-size: .9rem;
}

/* ---------- Section Spacing ---------- */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

/* ---------- Section Headers ---------- */
.section-tag {
  display: inline-block;
  background: rgba(244, 124, 32, .12);
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray-500);
  max-width: 640px;
}

/* ---------- BG Variants ---------- */
.bg-dark {
  background: var(--blue-dark);
  color: var(--white);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: var(--white);
}

.bg-mid {
  background: var(--blue-mid);
  color: var(--white);
}

.bg-mid h1,
.bg-mid h2,
.bg-mid h3,
.bg-mid h4 {
  color: var(--white);
}

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

.bg-white {
  background: var(--white);
}

/* ================================================================
   HEADER
   ================================================================ */
#site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--blue-dark);
  transition: all 0.3s ease;
  width: 100%;
  /* Safari sticky fix */
}

#site-header.header-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}

.header-top {
  background: var(--blue-mid);
  padding: .4rem 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .8);
  text-align: center;
}

.header-top a {
  color: var(--orange);
  font-weight: 700;
}

.header-top img {
  filter: brightness(0) invert(1);
}

.header-main {
  display: flex;
  flex-wrap: nowrap;
  /* Safari flex fix */
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  transition: padding 0.3s ease;
  width: 100%;
  /* Safari fix */
}

.header-scrolled .header-main {
  padding: 0.5rem 0;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  text-decoration: none;
  margin-right: auto;
  min-width: 200px;
  max-width: 335px;
  width: auto;
  /* Replaced 100% to fix Firefox flex item expansion */
  /* Match SVG width */
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  fill: var(--white);
}

/* SVG logo image */
.logo img {
  height: 54px;
  width: auto;
  max-width: 100%;
  display: block;
  transition: height 0.3s ease;
}

.header-scrolled .logo img {
  height: 38px;
  /* ~30% reduction from 54px */
}

#site-footer .logo img {
  height: 64px;
}

@media (max-width: 768px) {
  .logo img {
    height: 45px;
  }

  .header-scrolled .logo img {
    height: 45px;
    /* No reduction on mobile as per request */
  }

  #site-footer .logo img {
    height: 42px;
  }
}


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

.logo-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: .04em;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  /* Safari fix */
  width: max-content;
  /* Safari fix */
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-wrap: nowrap;
  /* Safari wrap fix */
  justify-content: flex-end;
  flex: 1 1 auto;
  /* Firefox needed flex basis to avoid pushout */
}

.main-nav a {
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  font-size: .85rem;
  /* Slightly smaller for better fit */
  padding: .4rem .6rem;
  /* Reduced padding */
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  /* Prevent word wrap inside links */
  flex-shrink: 0;
  /* Safari fix to prevent squishing text */
  width: auto;
  /* Replaced max-content to fix Firefox calculation issues */
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.main-nav .btn {
  margin-left: .25rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}

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

/* Header phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.header-phone svg {
  flex-shrink: 0;
}

/* ================================================================
   FLOATING CTA BUTTON
   ================================================================ */
#float-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-end;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.float-phone {
  background: var(--orange);
  color: var(--white);
}

.float-phone:hover {
  background: var(--orange-dark);
  transform: scale(1.05);
}

.float-whatsapp {
  background: #25d366;
  color: var(--white);
}

.float-whatsapp:hover {
  background: #128c7e;
  transform: scale(1.05);
}

/* ================================================================
   HERO SECTIONS
   ================================================================ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-color: var(--blue-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 5rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 62, 0.95) 0%, rgba(13, 27, 62, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--orange);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

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

.hero h1 span {
  color: var(--orange);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.hero-stat {
  text-align: center;
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.hero-stat span {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ================================================================
   PROBLEM / SOLUTION
   ================================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.problem-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.problem-icon {
  width: 48px;
  height: 48px;
  background: rgba(244, 124, 32, .1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ================================================================
   BENEFITS LIST
   ================================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.benefit-icon {
  width: 56px;
  height: 56px;
  background: rgba(244, 124, 32, .08);
  border: 1.5px solid rgba(244, 124, 32, .25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.benefit-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.steps-list {
  display: grid;
  gap: 1.5rem;
  counter-reset: steps;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  min-width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  color: var(--blue-dark) !important;
  margin-bottom: .35rem;
  font-size: 1.15rem;
}

.step p {
  color: var(--gray-700) !important;
  font-size: .95rem;
  margin: 0;
}

/* Dark variations */
.bg-dark .step,
.bg-mid .step,
.hero .step {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .15);
}

.bg-dark .step h3,
.bg-mid .step h3,
.hero .step h3 {
  color: var(--white) !important;
}

.bg-dark .step p,
.bg-mid .step p,
.hero .step p {
  color: rgba(255, 255, 255, .8) !important;
}

/* ================================================================
   TRUST BLOCK
   ================================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background var(--transition);
}

.trust-item:hover {
  background: rgba(255, 255, 255, .08);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
}

.trust-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.trust-item h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: .35rem;
}

.trust-item p {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  margin: 0;
}

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

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--blue-dark);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--blue-light);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  font-size: .8rem;
  color: var(--blue-dark);
  transition: background var(--transition), transform var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--gray-700);
  font-size: .97rem;
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   CTA BLOCK
   ================================================================ */
.cta-block {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(244, 124, 32, .15), transparent 60%);
}

.cta-block * {
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: .75rem;
}

.cta-block p {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  margin-bottom: .5rem;
  font-size: 1.15rem;
}

.service-card-body p {
  color: var(--gray-700);
  flex: 1;
  font-size: .95rem;
}

.service-card-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--gray-200);
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
  background: var(--gray-100);
  padding: .75rem 0;
  font-size: .85rem;
  color: var(--gray-500);
}

/* Breadcrumb inside dark hero */
.breadcrumb-hero {
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.breadcrumb-hero ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-hero li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  line-height: 1;
}

.breadcrumb-hero a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition);
}

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

.breadcrumb-hero li:last-child {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: var(--blue-light);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ================================================================
   HIGHLIGHT BOXES
   ================================================================ */
.highlight-box {
  background: linear-gradient(135deg, rgba(244, 124, 32, .08), rgba(244, 124, 32, .03));
  border: 1.5px solid rgba(244, 124, 32, .3);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.info-box {
  background: rgba(42, 111, 201, .06);
  border: 1.5px solid rgba(42, 111, 201, .2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

/* ================================================================
   CHECK LIST
   ================================================================ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .97rem;
}

.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Dark variant */
.bg-dark .check-list li {
  color: rgba(255, 255, 255, .85);
}

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-dark);
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(42, 111, 201, .15);
  background: var(--white);
}

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

.form-note {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: .35rem;
}

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

/* ================================================================
   CONTACT INFO
   ================================================================ */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: .85rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0;
}

/* ================================================================
   MAP PLACEHOLDER
   ================================================================ */
.map-placeholder {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: 1.1rem;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMDAnIGhlaWdodD0nMTAwJyB2aWV3Qm94PScwIDAgMTAwIDEwMCc+PHBhdGggZD0nTTUwIDAgTDEwMCA1MCBMNTAgMTAwIEwwIDUwIFonIGZpbGw9J25vbmUnIHN0cm9rZT0ncmdiYSgyNTUsMjU1LDI1NSwwLjA1KScgc3Ryb2tlLXdpZHRoPScxJy8+PC9zdmc+");
  background-size: 80px;
}

.map-pin {
  font-size: 3rem;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ================================================================
   COVERAGE SECTION
   ================================================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
}

.coverage-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.coverage-item::before {
  content: '📍';
  font-size: .8rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: .9rem;
  margin-top: .75rem;
  line-height: 1.7;
}

.footer-brand .logo img {
  filter: none;
  /* Keep logo readable as is or adjust if necessary */
}

.footer-col h3,
.footer-col h4,
.footer-title,
#site-footer h3,
#site-footer h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: #ffffff !important;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  transition: color var(--transition);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
}

.footer-contact-item span:first-child {
  font-size: 1rem;
}

.footer-contact-item img {
  filter: brightness(0) invert(1);
}

.footer-contact-item a {
  color: var(--orange);
  font-weight: 600;
}

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

.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

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

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

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

.related-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.related-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.related-card h3 {
  font-size: 1.02rem;
  margin-bottom: .25rem;
}

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

/* ================================================================
   SERVICE PAGE HERO - image variant
   ================================================================ */
.hero-service {
  min-height: 520px;
}

.hero-service .hero-image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
}

.hero-service .hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--orange);
  padding: 1.5rem 0;
}

.stats-bar-inner {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}

.stats-bar .stat {
  text-align: center;
  color: var(--white);
}

.stats-bar .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
}

.stats-bar .stat span {
  font-size: .8rem;
  opacity: .9;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ================================================================
   NOTICE / ALERT
   ================================================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.alert-warn {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  color: #92400e;
}

.alert-info {
  background: #e0f2fe;
  border-left: 4px solid #0ea5e9;
  color: #0c4a6e;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-service .hero-image-wrap {
    width: 40%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

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

  .section {
    padding: 3.5rem 0;
  }

  .section-lg {
    padding: 4rem 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    padding: 1rem;
    gap: .25rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
  }

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

  .main-nav a {
    padding: .75rem 1rem;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero {
    min-height: auto;
    padding: 3.5rem 0;
  }

  .hero-stats {
    gap: 1.25rem;
  }

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

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-service .hero-image-wrap {
    display: none;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: 2.5rem 1.5rem;
  }

  .contact-form {
    padding: 1.75rem 1.25rem;
  }

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

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

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

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

  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar-inner {
    gap: 1.5rem;
  }

  .float-btn span {
    display: none;
  }

  .float-btn {
    padding: .85rem;
  }
}

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

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

/* ================================================================
   LAZY LOADED IMAGES
   ================================================================ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity .4s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* ================================================================
   UTILITY
   ================================================================ */
.text-center {
  text-align: center;
}

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

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

.mt-1 {
  margin-top: .5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: .5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.gap-2 {
  gap: 1rem;
}

.flex {
  display: flex;
}

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

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

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

.w-full {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 768px) {

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

/* ================================================================
   FALLBACK FOR OLDER IOS (Flex Gap Support)
   ================================================================ */
@supports not (aspect-ratio: 1) {
  .header-main>*:not(:last-child) {
    margin-right: 1rem;
  }

  .main-nav>*:not(:last-child) {
    margin-right: 0.25rem;
  }

  .logo>*:not(:last-child) {
    margin-right: 0.75rem;
  }

  .header-phone>*:not(:last-child) {
    margin-right: 0.4rem;
  }

  .btn>*:not(:last-child) {
    margin-right: 0.5rem;
  }

  .hero-ctas>*:not(:last-child) {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  .hero-stats>*:not(:last-child) {
    margin-right: 2rem;
    margin-bottom: 2rem;
  }

  .breadcrumb ol>*:not(:last-child) {
    margin-right: 0.4rem;
  }

  .step>*:not(:last-child) {
    margin-right: 1.5rem;
  }

  .coverage-item>*:not(:last-child) {
    margin-right: 0.5rem;
  }

  .check-list li>*:first-child {
    margin-right: 0.75rem;
  }

  .contact-info-item>*:not(:last-child) {
    margin-right: 1rem;
  }

  .footer-contact-item>*:not(:last-child) {
    margin-right: 0.5rem;
  }

  .footer-legal>*:not(:last-child) {
    margin-right: 1.25rem;
  }

  .stats-bar-inner>*:not(:last-child) {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }
}