/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: #FFFFFF;
  color: #1C2B36;
  font-family: "Source Sans 3", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #0A3454; }
a:hover { color: #14507E; }
:focus-visible { outline: 3px solid #7BA8C7; outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: "Archivo", sans-serif; margin: 0; }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-lg { font-size: 17px; padding: 14px 22px; }
.btn-whatsapp { background: #1A7F5A; color: #FFFFFF; }
.btn-whatsapp:hover { background: #16694B; color: #FFFFFF; }
.btn-outline {
  background: rgba(255,255,255,.08);
  color: #FFFFFF;
  border: 1.5px solid #7BA8C7;
}
.btn-outline:hover { background: rgba(255,255,255,.18); color: #FFFFFF; }
.btn-primary { background: #0A3454; color: #FFFFFF; }
.btn-primary:hover { background: #14507E; color: #FFFFFF; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #D8E3ED;
}
.header-inner {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img { width: 44px; height: 44px; object-fit: contain; object-position: center top; }
.brand span {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
  color: #0A3454;
  line-height: 1.1;
}
.main-nav {
  display: none;
  gap: 28px;
  margin-left: auto;
  font-size: 16px;
}
.main-nav a { color: #1C2B36; text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: #0A3454; }
.header-cta { flex: 0 0 auto; }

@media (min-width: 760px) {
  .main-nav { display: flex; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 759px) {
  .header-cta { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0A3454;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(10,52,84,.92) 0%, rgba(10,52,84,.82) 34%, rgba(10,52,84,.34) 58%, rgba(10,52,84,.14) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 88px 20px 96px;
  min-height: 62vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}
.hero-content {
  position: relative;
  flex: 1 1 420px;
  max-width: 560px;
  min-width: 0;
  animation: heroIn .5s ease-out both;
}
.hero-content h1 {
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #FFFFFF;
}
.hero-subtitle {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 2.2vw, 21px);
  color: #AFCADF;
  margin: 12px 0 0;
  line-height: 1.3;
}
.hero-tagline {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.25;
  color: #FFFFFF;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-address {
  font-size: 15px;
  line-height: 1.5;
  color: #C5D8E6;
  margin: 22px 0 0;
}

/* ---------- Decorative lines ---------- */
.deco-lines { display: flex; flex-direction: column; gap: 5px; margin: 24px 0 22px; }
.deco-lines span { display: block; height: 3px; }
.deco-lines .l1 { width: 104px; background: #7BA8C7; }
.deco-lines .l2 { width: 62px; background: #7BA8C7; }
.deco-lines .l3 { width: 28px; background: #4F7893; }
.deco-lines .l2b { width: 44px; background: #A9C6DC; }
.deco-lines .l2c { width: 44px; background: #4F7893; }
.deco-lines .l1 { }
#atencion .deco-lines, #ubicacion .deco-lines { margin: 18px 0 26px; }
.deco-lines-lg { margin: 18px 0 40px !important; }
#coberturas .deco-lines { margin: 18px 0 22px; }

/* ---------- Sections ---------- */
.section { }
.section .wrap { padding: 72px 20px; }
.section-tinted { background: #F2F5F8; border-top: 1px solid #E1E9F0; }
.section-dark { background: #0A3454; color: #FFFFFF; }
.section-dark .wrap { padding: 76px 20px; }

.section h2 {
  font-weight: 700;
  font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: #0A3454;
}
.section-dark h2 { color: #FFFFFF; }

.two-col { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.two-col p { flex: 1 1 320px; min-width: 0; font-size: 18px; line-height: 1.65; text-wrap: pretty; }

/* ---------- Cards grid (que atiendo) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 56px;
}
.card h3 { font-weight: 600; font-size: 21px; color: #0A3454; margin: 0 0 10px; }
.card p { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.bar { height: 4px; margin-bottom: 16px; }
.bar-1 { width: 100%; background: #0A3454; }
.bar-2 { width: 72%; background: #7BA8C7; }
.bar-3 { width: 52%; background: #7BA8C7; }
.bar-4 { width: 34%; background: #A9C6DC; }

/* ---------- Coberturas ---------- */
.coberturas-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.coberturas-info { flex: 1 1 340px; min-width: 0; }
.coberturas-info .lead { font-size: 18px; line-height: 1.6; color: #DCE8F1; margin: 0 0 26px; max-width: 44ch; }
.coberturas-info .phone { font-size: 16px; color: #AFCADF; margin: 16px 0 0; }

.coberturas-list { flex: 1 1 300px; min-width: 0; }
.coberturas-list h3 { font-weight: 600; font-size: 20px; color: #FFFFFF; margin: 0 0 18px; }
.cobertura-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cobertura-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  padding: 0 18px;
  border: 1.5px solid #4F7893;
  border-radius: 4px;
}
.cobertura-box img { max-width: 100%; max-height: 30px; width: auto; height: auto; }
.cobertura-box-text {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #FFFFFF;
}
.coberturas-list .note { font-size: 16px; line-height: 1.55; color: #DCE8F1; margin: 20px 0 0; max-width: 40ch; }

/* ---------- Ubicacion ---------- */
.ubicacion-grid { display: flex; flex-wrap: wrap; gap: 36px 56px; align-items: flex-start; }
.ubicacion-info { flex: 1 1 300px; min-width: 0; }
.address-title { font-family: "Archivo", sans-serif; font-weight: 600; font-size: 22px; line-height: 1.35; color: #0A3454; }
.ubicacion-info p { font-size: 17px; line-height: 1.6; margin: 18px 0 0; }
.ubicacion-info .btn-primary { margin-top: 24px; }

.ubicacion-map {
  flex: 1 1 340px;
  min-width: 0;
  border: 1px solid #C9D9E5;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}
.ubicacion-map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0A3454; color: #DCE8F1; }
.site-footer .wrap { padding: 56px 20px 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.footer-logo { flex: 0 0 auto; }
.footer-logo img { width: 88px; height: 88px; object-fit: contain; border-radius: 6px; }
.footer-col { flex: 1 1 220px; min-width: 0; }
.footer-col p { font-size: 16px; line-height: 1.55; margin: 8px 0 0; }
.footer-col p:first-child { margin-top: 0; }
.footer-name { font-family: "Archivo", sans-serif; font-weight: 600; font-size: 19px; color: #FFFFFF; margin: 0; }
.footer-addr { margin-top: 12px !important; }
.footer-link-strong { color: #FFFFFF; font-weight: 600; }
.footer-link-strong:hover { color: #AFCADF; }
.footer-email a { color: #FFFFFF; }
.footer-email a:hover { color: #AFCADF; }

.footer-deco { flex-direction: row; gap: 6px; margin: 36px 0 20px; }
.footer-deco .l1d { display: block; height: 3px; width: 120px; background: #4F7893; }
.footer-deco .l2d { display: block; height: 3px; width: 56px; background: #3A6280; }

.disclaimer { font-size: 14px; line-height: 1.6; color: #AFCADF; max-width: 70ch; }
.copyright { font-size: 14px; color: #7E9DB4; margin: 14px 0 0 !important; }

/* ---------- Floating WhatsApp button ---------- */
.fab-whatsapp {
  display: flex;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1A7F5A;
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(10,52,84,.3);
  text-decoration: none;
}
@media (min-width: 760px) {
  .fab-whatsapp { display: none; }
}
