:root {
  --navy: #205490;
  --teal: #4f9c92;
  --blue: #205490;
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  --bg: #ffffff;
  --bg-soft: #f4f8f8;
  --text: #1c2b33;
  --text-soft: #5a6b73;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 34, 54, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--navy); margin: 0 0 16px; font-weight: 700; }
p { color: var(--text-soft); margin: 0 0 16px; }
a { color: var(--teal); text-decoration: none; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eaeef0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo img { height: 36px; }
.logo-fallback {
  display: none;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 1px;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
}
.main-nav a:hover { color: var(--teal); }
.nav-cta { white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

/* Hero */
.hero { padding: 100px 0 70px; background: var(--bg-soft); overflow: hidden; }
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #dfe7e8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 16px;
}
.hero-text h1 { font-size: 46px; line-height: 1.15; }
.hero-text h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }

.hero-image-placeholder {
  background: var(--gradient);
  opacity: .15;
  border: 2px dashed var(--teal);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--navy);
  font-weight: 600;
  padding: 24px;
}
.hero-image-placeholder.small { min-height: 200px; }
.hero-image-placeholder small { font-weight: 400; opacity: .8; }

/* Diferenciales */
.diferenciales { padding: 50px 0; }
.diferenciales-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dif-item {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.dif-item h3 { font-size: 18px; margin-bottom: 8px; }
.dif-item p { margin: 0; font-size: 14px; }

/* Section head */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 32px; }

/* Servicios */
.servicios { padding: 80px 0; background: var(--bg-soft); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.servicio-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.servicio-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--teal);
}
.servicio-icon svg { width: 26px; height: 26px; }
.servicio-card h3 { font-size: 19px; }
.servicio-card ul { padding-left: 18px; margin: 0; color: var(--text-soft); font-size: 14px; }
.servicio-card li { margin-bottom: 6px; }

/* Proyectos */
.proyectos { padding: 80px 0; background: var(--bg-soft); }
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.proyecto-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.proyecto-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.proyecto-card p {
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* Proceso */
.proceso { padding: 80px 0; }
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.proceso-step { text-align: center; padding: 12px; }
.proceso-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

/* Cobertura */
.cobertura { padding: 80px 0; background: var(--bg-soft); }
.cobertura-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.cobertura-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.cobertura-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* Contacto */
.contacto { padding: 80px 0; }
.contacto-center { display: flex; flex-direction: column; align-items: center; }
.contacto-center .section-head { margin-bottom: 32px; }

.contacto-form {
  width: 100%;
  max-width: 520px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contacto-form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  gap: 6px;
}
.contacto-form input,
.contacto-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d6dee0;
  outline: none;
}
.contacto-form input:focus,
.contacto-form textarea:focus { border-color: var(--teal); }
.form-status { font-size: 14px; min-height: 18px; margin: 0; }

/* Footer */
.site-footer { background: #ffffff; padding: 32px 0; border-top: 1px solid #eaeef0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo img { height: 36px; }
.footer-logo .logo-fallback { color: var(--navy); }
.site-footer p { color: var(--text-soft); font-size: 13px; margin: 0; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 920px) {
  .hero-inner, .cobertura-inner { grid-template-columns: 1fr; }
  .diferenciales-grid, .servicios-grid, .proceso-grid, .proyectos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid #eaeef0;
    display: none;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .diferenciales-grid, .servicios-grid, .proceso-grid, .proyectos-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 32px; }
}
