/* ---- Tokens ---- */
:root {
  --navy: #0e2a4d;
  --navy-dark: #081a32;
  --blue: #1467c2;
  --orange: #ff8a1e;
  --orange-dark: #e57200;
  --gray-bg: #f4f6f9;
  --text: #1c2733;
  --text-light: #5b6b7b;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 42, 77, 0.10);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-cta {
  background: var(--orange);
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(255, 138, 30, 0.35);
}
.btn-cta:hover { background: var(--orange-dark); }
.btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-outline:hover { background: rgba(255,255,255,0.18); }
.btn-outline-light {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-light:hover { background: var(--navy); color: var(--white); }
.btn-ghost {
  color: var(--navy);
  border-color: rgba(14,42,77,0.15);
}
.btn-ghost:hover { background: var(--gray-bg); }
.btn-small { padding: 9px 16px; font-size: 0.88rem; }
.full-width { width: 100%; justify-content: center; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(14,42,77,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
}
.brand-logo { height: 44px; width: auto; }
.main-nav {
  display: none;
  gap: 22px;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--blue); }
.header-actions { display: none; align-items: center; gap: 10px; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px 20px;
  gap: 14px;
  box-shadow: var(--shadow);
  border-top: 1px solid rgba(14,42,77,0.08);
}
.header-actions.is-open {
  display: flex;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 0 20px 16px;
  gap: 10px;
  box-shadow: var(--shadow);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,26,50,0.88) 0%, rgba(8,26,50,0.80) 55%, rgba(14,42,77,0.92) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 90px 20px;
  max-width: 780px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions.center { justify-content: center; }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-bg); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--orange-dark);
  margin-bottom: 8px;
}
.section h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--navy-dark);
  margin-bottom: 28px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(14,42,77,0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.service-icon { font-size: 2rem; margin-bottom: 10px; }
.service-card h3 { font-size: 1.1rem; color: var(--navy-dark); }
.service-card p { color: var(--text-light); margin: 0; font-size: 0.95rem; }

.promo-banner {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 420px;
}

/* Quote / Presupuesto */
.quote-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
}
.quote-inner { max-width: 680px; margin: 0 auto; }
.quote-section h2 { color: var(--white); }
.quote-section p { color: rgba(255,255,255,0.85); }
.quote-note {
  margin-top: 22px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

/* Zonas */
.zonas-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  background: var(--gray-bg);
  border: 1px solid rgba(14,42,77,0.1);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}
.zonas-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
}
.zonas-card-title { font-weight: 700; color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 6px; }
.zonas-card-city { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.zonas-card-desc { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.92rem; }

/* Sobre nosotros */
.nosotros-lead { max-width: 760px; color: var(--text-light); font-size: 1.02rem; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0 34px;
}
.trust-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.trust-icon { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.trust-item p { margin: 0; font-weight: 600; font-size: 0.92rem; color: var(--navy-dark); }
.partners-label { font-weight: 600; color: var(--navy-dark); margin-bottom: 4px; }
.partners-list { color: var(--text-light); font-weight: 500; }

/* Contacto */
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list a:hover { color: var(--blue); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--gray-bg);
  padding: 26px;
  border-radius: var(--radius);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-dark);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(14,42,77,0.15);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.form-note { font-size: 0.88rem; color: var(--text-light); min-height: 1.2em; margin: 0; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-logo { height: 34px; filter: brightness(0) invert(1); }
.footer-inner p { margin: 0; font-size: 0.85rem; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  z-index: 90;
}

/* ---- Tablet / Desktop ---- */
@media (min-width: 760px) {
  .main-nav { display: flex; }
  .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .zonas-inner { grid-template-columns: 1.3fr 1fr; }
  .contacto-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
