/* ============================================================
   HFC Quality Services USA — Responsive Definitivo
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Raleway:wght@400;600;700;800;900&display=swap');

:root {
  --blue:      #1E3A5F;
  --blue-mid:  #254875;
  --red:       #C0392B;
  --red-dk:    #922B21;
  --gray-lt:   #F5F7FA;
  --gray:      #E8ECF0;
  --text:      #333C4A;
  --text-lt:   #60717D;
  --font-h:    'Raleway', sans-serif;
  --font-b:    'Open Sans', sans-serif;
  --shadow:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius:    4px;
  --tr:        0.25s ease;
}

/* ============================================================
   RESET GLOBAL — anti-overflow
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Corta cualquier scroll horizontal */
  overflow-x: hidden;
}

body {
  font-family: var(--font-b);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  background: #fff;
  /* Doble protección anti scroll-x */
  overflow-x: hidden;
  width: 100%;
}

/* Todo elemento respeta el ancho de su contenedor */
img, video, iframe, table, input, select, textarea, button {
  max-width: 100%;
}

/* Grids: los hijos siempre pueden achicarse */
* { min-width: 0; }

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Textos largos no rompen layouts */
p, h1, h2, h3, h4, h5, li, td, th, label, span {
  overflow-wrap: break-word;
  word-break: break-word;
}

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

.section       { padding: 64px 0; }
.section-gray  { background: var(--gray-lt); }

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title      { text-align: center; margin-bottom: 40px; }
.section-title h2   { font-family: var(--font-h); font-size: clamp(20px,4vw,30px); font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.section-title h2 span { color: var(--red); }
.section-title .divider { width: 48px; height: 3px; background: var(--red); margin: 10px auto 14px; }
.section-title p    { max-width: 560px; margin: 0 auto; color: var(--text-lt); font-size: 14px; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px;
  font-family: var(--font-h); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border: none; cursor: pointer; border-radius: var(--radius);
  transition: var(--tr); white-space: nowrap;
}
.btn-blue          { background: var(--blue); color: #fff; }
.btn-blue:hover    { background: var(--blue-mid); }
.btn-red           { background: var(--red);  color: #fff; }
.btn-red:hover     { background: var(--red-dk); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-blue  { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline-blue:hover  { background: var(--blue); color: #fff; }

/* ============================================================
   HEADER — 3 filas
   ============================================================ */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; width: 100%;
}

/* --- Fila 1: Top bar (azul) --- */
.header-topbar {
  background: var(--blue);
  padding: 7px 0;
  font-size: 12px;
}
.header-topbar .container {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.topbar-left a {
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 5px;
  transition: var(--tr); white-space: nowrap;
}
.topbar-left a i { color: var(--red); }
.topbar-left a:hover { color: #fff; }
.topbar-right { display: flex; gap: 6px; align-items: center; }
.topbar-right a {
  width: 24px; height: 24px;
  background: rgba(255,255,255,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75); font-size: 11px;
  transition: var(--tr); flex-shrink: 0;
}
.topbar-right a:hover { background: var(--red); color: #fff; }

/* --- Fila 2: Logo + contactos (blanco) --- */
.header-middle {
  background: #fff;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray);
}
.header-middle .container {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.header-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-logo .logo-box {
  background: var(--blue); padding: 6px 11px;
  display: flex; flex-direction: column; line-height: 1;
}
.logo-hfc  { font-family: var(--font-h); font-size: 22px; font-weight: 900; color: #fff; letter-spacing: .08em; }
.logo-sub  { font-size: 7.5px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .18em; text-transform: uppercase; }
.logo-name    { font-family: var(--font-h); font-size: 15px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.logo-tagline { font-size: 11px; color: var(--text-lt); }

.header-contact-items { display: flex; gap: 18px; flex-wrap: wrap; }
.hci      { display: flex; align-items: center; gap: 9px; }
.hci-icon { font-size: 20px; color: var(--blue); width: 36px; height: 36px; background: var(--gray-lt); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hci-text .label { font-size: 10px; color: var(--text-lt); text-transform: uppercase; letter-spacing: .08em; }
.hci-text .value { font-family: var(--font-h); font-size: 12px; font-weight: 700; color: var(--blue); }

/* --- Fila 3: Navegación (azul) --- */
.header-nav { background: var(--blue); border-top: 3px solid var(--red); }
#header.scrolled .header-middle { display: none; }

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 50px;
}
.nav-links { display: flex; align-items: stretch; height: 100%; }
.nav-links a {
  display: flex; align-items: center;
  font-family: var(--font-h); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 0 15px;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: var(--tr); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; border-bottom-color: var(--red);
  background: rgba(255,255,255,.06);
}
.nav-cta-btn {
  background: var(--red); color: #fff;
  font-family: var(--font-h); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 15px; border: none; cursor: pointer;
  transition: var(--tr); display: flex; align-items: center;
  gap: 6px; white-space: nowrap; flex-shrink: 0;
}
.nav-cta-btn:hover { background: var(--red-dk); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 7px;
  background: none; border: none; flex-shrink: 0;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 1px; }

/* Menú móvil drawer */
.mobile-nav {
  position: fixed; top: 0; right: -100%;
  width: min(300px, 85vw); height: 100vh;
  background: var(--blue); z-index: 2000;
  transition: right .3s ease;
  padding: 56px 22px 22px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close { position: absolute; top: 12px; right: 14px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav ul a { display: block; font-family: var(--font-h); font-size: 17px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.85); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); transition: var(--tr); }
.mobile-nav ul a:hover { color: var(--red); padding-left: 6px; }
.mobile-nav .btn { margin-top: 20px; justify-content: center; }

.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   HERO
   Alturas del header:
   Desktop: topbar(34) + middle(66) + nav(53) = 153px
   Móvil:   topbar(34) + middle(55) + nav(53) = 142px  → ocultamos topbar → 108px
   ============================================================ */
#hero { margin-top: 153px; position: relative; overflow: hidden; min-height: 460px; }
.hero-img { position: absolute; inset: 0; background-color: var(--blue); background-image: url('images/hero-bg.jpg'); background-size: cover; background-position: center; }
.hero-bg  { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(30,58,95,.9) 0%,rgba(30,58,95,.7) 60%,rgba(192,57,43,.18) 100%); }

.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 36px; align-items: center;
  min-height: 460px; padding: 56px 0;
}
.hero-eyebrow {
  font-family: var(--font-h); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content:''; width: 26px; height: 2px; background: var(--red); flex-shrink: 0; }
.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 900; color: #fff;
  line-height: 1.1; text-transform: uppercase; margin-bottom: 12px;
}
.hero-h1 span { color: var(--red); display: block; }
.hero-sub { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 22px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-info-cards { display: flex; flex-direction: column; gap: 12px; }
.hero-info-card {
  background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.hic-icon { font-size: 24px; color: var(--red); width: 38px; text-align: center; flex-shrink: 0; }
.hic-text h4 { font-family: var(--font-h); font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 1px; }
.hic-text p  { font-size: 11px; color: rgba(255,255,255,.72); line-height: 1.5; }

/* Stats bar */
.hero-stats-bar {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.96);
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 3px solid var(--red);
}
.hstat { padding: 16px 8px; text-align: center; border-right: 1px solid var(--gray); transition: var(--tr); }
.hstat:last-child { border-right: none; }
.hstat:hover { background: var(--gray-lt); }
.hstat .number { font-family: var(--font-h); font-size: clamp(20px,3vw,34px); font-weight: 900; color: var(--blue); line-height: 1; }
.hstat .number sup { font-size: 14px; color: var(--red); }
.hstat .label  { font-size: 10px; color: var(--text-lt); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card  { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--tr); background: #fff; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.sc-image { position: relative; height: 185px; overflow: hidden; }
.sc-image img { width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.service-card:hover .sc-image img { transform: scale(1.05); }
.sc-placeholder-1 { background: linear-gradient(135deg,#2E6DA4,#1E3A5F); }
.sc-placeholder-2 { background: linear-gradient(135deg,#1E3A5F,#2E6DA4); }
.sc-placeholder-3 { background: linear-gradient(135deg,#C0392B,#1E3A5F); }
.sc-icon-big { display:flex; align-items:center; justify-content:center; height:100%; font-size:56px; color:rgba(255,255,255,.2); }
.sc-overlay {
  position: absolute; bottom:0; left:0; right:0;
  background: linear-gradient(to top,rgba(30,58,95,.95),transparent);
  padding: 32px 16px 12px;
}
.sc-overlay h3 { font-family:var(--font-h); font-size:17px; font-weight:800; text-transform:uppercase; color:#fff; display:flex; align-items:center; justify-content:space-between; }
.sc-body   { padding: 16px; }
.sc-body p { font-size: 13px; color: var(--text-lt); line-height: 1.65; margin-bottom: 10px; }
.sc-more   { font-family:var(--font-h); font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--red); display:inline-flex; align-items:center; gap:4px; transition:var(--tr); }
.sc-more:hover { color:var(--blue); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-section { background: var(--blue); position: relative; overflow: hidden; padding: 64px 0; }
.testimonial-section::before { content:''; position:absolute; inset:0; background:url('images/bg-overlay.jpg') center/cover; opacity:.1; }
.testimonial-inner  { position: relative; z-index: 1; }
.testimonial-slider { max-width: 720px; margin: 0 auto; text-align: center; }
.t-avatar { width:68px; height:68px; border-radius:50%; border:3px solid rgba(255,255,255,.2); background:rgba(255,255,255,.1); margin:0 auto 14px; display:flex; align-items:center; justify-content:center; }
.t-avatar i { font-size:26px; color:rgba(255,255,255,.5); }
.t-text   { font-size:14px; color:rgba(255,255,255,.9); line-height:1.75; font-style:italic; margin-bottom:16px; padding: 0 8px; }
.t-author { font-family:var(--font-h); font-size:14px; font-weight:700; color:#fff; }
.t-role   { font-size:12px; color:rgba(255,255,255,.5); margin-top:2px; }
.t-dots   { display:flex; justify-content:center; gap:7px; margin-top:18px; }
.t-dot    { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.25); cursor:pointer; transition:var(--tr); }
.t-dot.active { background:var(--red); }

/* ============================================================
   WHY HFC
   ============================================================ */
.why-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.features-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-item { display:flex; gap:12px; align-items:flex-start; padding:18px; background:#fff; border:1px solid var(--gray); border-radius:var(--radius); border-left:4px solid var(--blue); transition:var(--tr); }
.feature-item:hover { border-left-color:var(--red); box-shadow:var(--shadow); }
.fi-icon { font-size:22px; color:var(--blue); flex-shrink:0; margin-top:2px; }
.feature-item:hover .fi-icon { color:var(--red); }
.fi-text h4 { font-family:var(--font-h); font-size:14px; font-weight:700; color:var(--blue); margin-bottom:4px; }
.fi-text p  { font-size:13px; color:var(--text-lt); line-height:1.6; }

.quality-policy-card { background:var(--blue); border-radius:var(--radius); padding:28px; position:relative; overflow:hidden; }
.quality-policy-card::before { content:''; position:absolute; top:-20px; right:-20px; width:90px; height:90px; background:var(--red); border-radius:50%; opacity:.14; }
.quality-policy-card h3    { font-family:var(--font-h); font-size:18px; font-weight:800; text-transform:uppercase; color:#fff; margin-bottom:4px; }
.quality-policy-card .qp-sub { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--red); margin-bottom:16px; }
.quality-policy-card p     { font-size:13px; color:rgba(255,255,255,.85); line-height:1.8; font-style:italic; border-left:3px solid var(--red); padding-left:14px; }
.iso-row { display:flex; align-items:center; gap:12px; margin-top:20px; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); }
.iso-badge-big { font-family:var(--font-h); font-size:24px; font-weight:900; color:var(--red); line-height:1.2; flex-shrink:0; }
.iso-desc { font-size:12px; color:rgba(255,255,255,.6); line-height:1.5; }

/* ============================================================
   COVERAGE
   ============================================================ */
.coverage-states-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--gray); margin-bottom:24px; }
.cs-item { background:#fff; padding:20px 16px; transition:var(--tr); border-top:3px solid transparent; }
.cs-item:hover { border-top-color:var(--blue); background:var(--gray-lt); }
.cs-item h4     { font-family:var(--font-h); font-size:14px; font-weight:700; color:var(--blue); margin-bottom:6px; }
.cs-item .cities{ font-size:12px; color:var(--text-lt); line-height:1.7; }

.us-strip { background:var(--blue); border-radius:var(--radius); padding:20px 24px; display:flex; align-items:center; gap:14px; flex-wrap:wrap; border-left:6px solid var(--red); }
.us-flag  { font-size:30px; flex-shrink:0; }
.us-strip-text { flex:1; min-width:180px; }
.us-strip-text h4 { font-family:var(--font-h); font-size:16px; font-weight:800; color:#fff; margin-bottom:3px; }
.us-strip-text p  { font-size:13px; color:rgba(255,255,255,.72); }
.us-strip .btn { flex-shrink:0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background:var(--blue); position:relative; overflow:hidden; padding:60px 0; text-align:center; }
.cta-banner::before { content:''; position:absolute; inset:0; background:url('images/bg-overlay.jpg') center/cover; opacity:.07; }
.cta-banner-inner  { position:relative; z-index:1; padding:0 20px; }
.cta-logo-circle { width:76px; height:76px; border-radius:50%; border:2px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; font-family:var(--font-h); font-size:22px; font-weight:900; color:#fff; }
.cta-banner h2 { font-family:var(--font-h); font-size:clamp(20px,4vw,42px); font-weight:900; text-transform:uppercase; color:#fff; margin-bottom:10px; }
.cta-banner p  { font-size:14px; color:rgba(255,255,255,.8); margin-bottom:24px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:36px; align-items:start; }
.contact-info-list { display:flex; flex-direction:column; gap:16px; margin-top:16px; }
.cil-item  { display:flex; gap:12px; align-items:flex-start; }
.cil-icon  { width:38px; height:38px; background:var(--blue); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:14px; flex-shrink:0; }
.cil-text h5  { font-family:var(--font-h); font-size:12px; font-weight:700; color:var(--blue); margin-bottom:2px; }
.cil-text p   { font-size:13px; color:var(--text-lt); }
.cil-text a   { color:var(--text-lt); transition:var(--tr); }
.cil-text a:hover { color:var(--red); }

.contact-form-card { background:#fff; border:1px solid var(--gray); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.contact-form-card h3     { font-family:var(--font-h); font-size:18px; font-weight:800; color:var(--blue); text-transform:uppercase; margin-bottom:4px; }
.contact-form-card .form-sub { font-size:12px; color:var(--text-lt); margin-bottom:18px; }
.form-group { margin-bottom:14px; }
.form-group label { display:block; font-family:var(--font-h); font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--blue); margin-bottom:5px; }
.form-group input,
.form-group select,
.form-group textarea { width:100%; border:1px solid var(--gray); border-radius:var(--radius); padding:9px 12px; font-family:var(--font-b); font-size:14px; color:var(--text); outline:none; transition:var(--tr); background:#fff; -webkit-appearance:none; appearance:none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(30,58,95,.1); }
.form-group textarea { resize:vertical; min-height:100px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form-msg { padding:10px 14px; border-radius:var(--radius); font-size:13px; font-weight:600; margin-bottom:14px; display:none; }
.form-msg.success { background:#EAF7EE; border:1px solid #A8D5B5; color:#1E6B38; }
.form-msg.error   { background:#FDECEA; border:1px solid #F4A8A2; color:#9B2219; }

/* ============================================================
   PAGE HEADER (páginas internas)
   ============================================================ */
.page-header { background:var(--blue); padding:160px 0 44px; position:relative; overflow:hidden; }
.page-header::after { content:''; position:absolute; bottom:0; left:0; right:0; height:4px; background:var(--red); }
.page-header h1 { font-family:var(--font-h); font-size:clamp(26px,5vw,52px); font-weight:900; text-transform:uppercase; color:#fff; margin-bottom:8px; }
.page-header h1 span { color:var(--red); }
.page-header p { font-size:15px; color:rgba(255,255,255,.75); max-width:480px; }
.breadcrumb { display:flex; align-items:center; gap:7px; font-size:12px; color:rgba(255,255,255,.5); margin-bottom:8px; flex-wrap:wrap; }
.breadcrumb a { color:rgba(255,255,255,.65); transition:var(--tr); }
.breadcrumb a:hover { color:#fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main { background:var(--blue); padding:44px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:28px; }
.footer-brand .footer-logo { display:flex; align-items:center; gap:9px; margin-bottom:12px; }
.logo-box-sm { background:var(--red); padding:4px 8px; font-family:var(--font-h); font-size:16px; font-weight:900; color:#fff; letter-spacing:.08em; }
.brand-name  { font-family:var(--font-h); font-size:13px; font-weight:700; color:#fff; text-transform:uppercase; }
.footer-brand p { font-size:12px; color:rgba(255,255,255,.5); line-height:1.7; margin-bottom:14px; }
.footer-social { display:flex; gap:6px; flex-wrap:wrap; }
.footer-social a { width:28px; height:28px; border-radius:50%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.6); font-size:11px; transition:var(--tr); }
.footer-social a:hover { background:var(--red); border-color:var(--red); color:#fff; }
.footer-col h5 { font-family:var(--font-h); font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.9); margin-bottom:14px; padding-bottom:7px; border-bottom:2px solid var(--red); display:inline-block; }
.footer-col ul { display:flex; flex-direction:column; gap:7px; }
.footer-col ul li a { font-size:12px; color:rgba(255,255,255,.5); transition:var(--tr); display:flex; align-items:center; gap:5px; }
.footer-col ul li a i { font-size:10px; color:var(--red); flex-shrink:0; }
.footer-col ul li a:hover { color:#fff; padding-left:3px; }

.footer-bottom { background:#0D1E33; padding:14px 0; }
.footer-bottom .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.footer-bottom p { font-size:11px; color:rgba(255,255,255,.3); }
.footer-bottom-links { display:flex; gap:12px; font-size:11px; flex-wrap:wrap; }
.footer-bottom-links a { color:rgba(255,255,255,.35); transition:var(--tr); }
.footer-bottom-links a:hover { color:rgba(255,255,255,.7); }
.footer-cert-badges { display:flex; gap:6px; flex-wrap:wrap; }
.fcb { font-family:var(--font-h); font-size:9px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:3px 8px; border:1px solid rgba(255,255,255,.18); color:rgba(255,255,255,.35); border-radius:2px; }

/* Scroll reveal */
.reveal { opacity:0; transform:translateY(18px); transition:opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-d1 { transition-delay:.1s; }
.reveal-d2 { transition-delay:.2s; }
.reveal-d3 { transition-delay:.3s; }

/* Scroll-top button */
.scroll-top { position:fixed; bottom:18px; right:18px; width:36px; height:36px; background:var(--red); color:#fff; border-radius:50%; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:15px; opacity:0; pointer-events:none; transition:var(--tr); z-index:999; }
.scroll-top.visible { opacity:1; pointer-events:all; }
.scroll-top:hover { background:var(--red-dk); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ≤1100px — quita uno de los items de contacto del header */
@media (max-width: 1100px) {
  .header-contact-items .hci:last-child { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px; }
}

/* ≤900px — tablet */
@media (max-width: 900px) {
  /* Header: oculta los 3 items de contacto, queda solo el logo */
  .header-contact-items { display:none; }

  /* Hero margin: topbar(34) + middle(55) + nav(53) = 142 */
  #hero { margin-top: 142px; min-height: 380px; }
  .hero-content { grid-template-columns:1fr; min-height:380px; padding:40px 0; }
  .hero-info-cards { display:none; }
  .hero-stats-bar  { grid-template-columns:repeat(2,1fr); }

  .services-grid  { grid-template-columns:repeat(2,1fr); gap:16px; }
  .why-grid       { grid-template-columns:1fr; }
  .features-grid  { grid-template-columns:1fr 1fr; }
  .contact-grid   { grid-template-columns:1fr; }
  .coverage-states-grid { grid-template-columns:repeat(2,1fr); }

  .page-header { padding:148px 0 36px; }
}

/* ≤768px — móvil */
@media (max-width: 768px) {
  /* Topbar: se hace más compacto */
  .header-topbar { padding:5px 0; }
  .topbar-left a:not(:first-child) { display:none; } /* Solo teléfono */
  .topbar-left { gap:8px; }

  /* Nav: hamburger */
  .nav-links   { display:none; }
  .nav-cta-btn { display:none; }
  .hamburger   { display:flex; }

  /* Hero: topbar(28) + middle(50) + nav(53) ≈ 131px */
  #hero { margin-top:131px; min-height:320px; }
  .hero-content { padding:32px 0; min-height:320px; }
  .hero-h1  { font-size:clamp(24px,7vw,38px); }
  .hero-sub { font-size:13px; max-width:100%; }
  .hero-btns .btn { font-size:12px; padding:10px 16px; }

  .section { padding:44px 0; }
  .container { padding:0 14px; }

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

  .coverage-states-grid { grid-template-columns:1fr 1fr; }
  .us-strip { flex-direction:column; text-align:center; }
  .us-strip .btn { width:100%; justify-content:center; }

  .form-row { grid-template-columns:1fr; gap:0; }
  .contact-form-card { padding:18px; }

  .footer-grid { grid-template-columns:1fr; gap:22px; }
  .footer-bottom .container { flex-direction:column; text-align:center; }

  .page-header { padding:120px 0 30px; }
  .cta-banner  { padding:44px 0; }
  .testimonial-section { padding:44px 0; }
  .t-text { font-size:13px; }

  .section-title h2 { font-size:clamp(18px,5vw,26px); }
}

/* ≤480px — móvil pequeño */
@media (max-width: 480px) {
  /* Topbar muy compacto — solo teléfono y redes */
  .header-topbar { padding:4px 0; font-size:11px; }
  .topbar-right  { display:none; } /* quita íconos sociales */

  /* Hero margin: topbar(26) + middle(46) + nav(53) ≈ 125px */
  #hero { margin-top:125px; }
  .hero-content { padding:24px 0; }
  .hero-h1 { font-size:clamp(22px,7.5vw,34px); }
  .hero-btns { flex-direction:column; }
  .hero-btns .btn { width:100%; justify-content:center; }
  .hero-stats-bar { grid-template-columns:1fr 1fr; }
  .hstat { padding:12px 6px; }
  .hstat .number { font-size:20px; }
  .hstat .label  { font-size:9px; }

  .coverage-states-grid { grid-template-columns:1fr; }
  .contact-form-card { padding:14px; }
  .scroll-top { bottom:12px; right:12px; width:32px; height:32px; font-size:13px; }

  .section { padding:36px 0; }
  .container { padding:0 12px; }

  .page-header { padding:112px 0 28px; }
}
