/* ====== VARIABLES DE COLOR (PALETA GH GAS) ====== */
:root {
  --gh-yellow: #f6d96b;
  --gh-blue-900: #1c2e8a;
  --gh-blue-700: #2e4db5;
  --gh-white: #ffffff;
  --gh-gray-50: #f7f8fa;
  --gh-gray-300: #d7dbe3;
  --gh-gray-700: #3e4556;
  --gh-gray-900: #10193a;

  --radius-card: 18px;
  --shadow-soft: 0 14px 35px rgba(16, 25, 58, 0.2);
}

/* ====== RESET BÁSICO ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--gh-gray-900);
  background-color: var(--gh-gray-50);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ====== CONTENEDOR GENERAL ====== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* ====== HEADER / NAVBAR ====== */
.site-header {
  background-color: var(--gh-blue-900);
  color: var(--gh-white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-text {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
}
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.96rem;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.header-cta .btn {
  font-size: 0.9rem;
}

/* ====== BOTONES ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease;
}

.btn-primary {
  background-color: var(--gh-yellow);
  color: var(--gh-blue-900);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background-color: #f5cf4c;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gh-white);
  border-color: var(--gh-white);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

/* ====== HERO MODERNO ====== */
.hero {
  position: relative;
}

.modern-hero {
  position: relative;
  height: 80vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--gh-white);
  overflow: hidden;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 46, 138, 0.9),
    rgba(46, 77, 181, 0.8),
    rgba(246, 217, 107, 0.25)
  );
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.2);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 900;
}

.hero-content h1 span {
  color: var(--gh-yellow);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.hero-benefits li {
  margin-bottom: 0.3rem;
}

.hero-benefits li::before {
  content: "• ";
  color: var(--gh-yellow);
}

/* ====== TARJETA / FORMULARIO HERO ====== */
.card {
  background-color: var(--gh-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.6rem;
}

.hero-form {
  color: var(--gh-gray-900);
  max-width: 380px;
  margin-left: auto;
  backdrop-filter: blur(6px);
}

.hero-form h2 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
  color: var(--gh-blue-900);
}

.hero-form-subtitle {
  font-size: 0.9rem;
  color: var(--gh-gray-700);
  margin-top: 0;
  margin-bottom: 1.3rem;
}

/* ====== FORMULARIO ====== */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--gh-gray-700);
}

.form-group input,
.form-group select {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--gh-gray-300);
  padding: 0 0.8rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gh-blue-700);
  box-shadow: 0 0 0 2px rgba(46, 77, 181, 0.25);
}

.form-note {
  font-size: 0.85rem;
  margin-top: 0.8rem;
  color: var(--gh-gray-700);
}

.form-note a {
  color: var(--gh-blue-700);
  text-decoration: underline;
}

/* ====== SECCIONES GENERALES ====== */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--gh-blue-900);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--gh-gray-700);
}

/* ====== SERVICIOS ====== */
.servicios-section {
  padding: 4rem 0;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.servicio-card {
  background-color: var(--gh-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(16, 25, 58, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(16, 25, 58, 0.2);
}

.servicio-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.servicio-info {
  padding: 1.4rem 1rem 1.2rem;
}

.servicio-info h3 {
  color: var(--gh-blue-900);
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}

.servicio-info p {
  font-size: 0.95rem;
  color: var(--gh-gray-700);
}

.servicio-info ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--gh-gray-700);
}

/* ====== AJUSTES ESPECÍFICOS PARA SERVICIOS VEHICULARES ====== */
.servicios-vehiculos .servicios-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
  padding: 0 1rem;
}

.servicios-vehiculos .servicio-card {
  max-width: 260px;
  margin: 0;
}

.servicios-vehiculos .servicio-card img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0.75rem auto 0.25rem;
  object-fit: contain;
  padding: 8px;
}

/* ====== SEGURIDAD ====== */
.seguridad-section {
  padding: 4rem 0;
  background-color: var(--gh-white);
}

.seguridad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.seguridad-text h2 {
  color: var(--gh-blue-900);
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.seguridad-text p {
  color: var(--gh-gray-700);
}

.seguridad-text ul {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--gh-gray-700);
}

.seguridad-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

/* ====== COBERTURA Y ESTACIONES ====== */
.cobertura-section {
  padding: 4rem 0;
}

.cobertura-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.cobertura-text h2 {
  color: var(--gh-blue-900);
  font-size: 2rem;
  margin-top: 0;
}

.cobertura-text p {
  color: var(--gh-gray-700);
}

.cobertura-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cobertura-list h4 {
  margin: 0 0 0.4rem;
  color: var(--gh-blue-900);
}

.cobertura-list ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--gh-gray-700);
}

.cobertura-note {
  font-size: 0.9rem;
  margin-top: 1.2rem;
  color: var(--gh-gray-700);
}

.cobertura-map img {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

/* ====== PASOS Y FILOSOFÍA (COMPARTEN ESTILO) ====== */
.pasos-section {
  padding: 4rem 0;
  background: linear-gradient(
    135deg,
    #ffffff,
    #fdf7de,
    #ffffff
  );
}

.filosofia-section {
  padding: 4rem 0;
  background-color: var(--gh-white);
}

.pasos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.paso-card {
  background-color: var(--gh-white);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 12px 28px rgba(16, 25, 58, 0.15);
  text-align: center;
}

.paso-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background-color: var(--gh-blue-900);
  color: var(--gh-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.paso-card h3 {
  margin: 0 0 0.4rem;
  color: var(--gh-blue-900);
}

/* ====== TESTIMONIOS ====== */
.testimonios-section {
  padding: 4rem 0 3.5rem;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonio-card {
  background-color: var(--gh-white);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 12px 28px rgba(16, 25, 58, 0.12);
}

.testimonio-text {
  font-style: italic;
  color: var(--gh-gray-700);
}

.testimonio-author {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--gh-blue-900);
  font-size: 0.9rem;
}

/* ====== POLÍTICA ====== */
.politica-section {
  padding: 4rem 0;
}

.politica-content ul {
  padding-left: 1.2rem;
  color: var(--gh-gray-700);
}

.politica-content li {
  margin-bottom: 0.4rem;
}

/* ====== FOOTER ====== */
.site-footer {
  background-color: var(--gh-blue-900);
  color: var(--gh-white);
  margin-top: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-block h3,
.footer-block h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.footer-block a {
  color: var(--gh-yellow);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding: 0.8rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    height: auto;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .modern-hero {
    height: auto;
    padding: 3.5rem 0 3rem;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .hero-form {
    max-width: 100%;
    margin-top: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .cobertura-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== UBICACIONES (MEJORA: MAPA + TARJETAS) ====== */
.ubicaciones-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.ubicaciones-card {
  padding: 1.6rem 1.4rem;
}

.ubicaciones-title {
  margin: 0 0 1rem;
  font-weight: 800;
  color: var(--gh-blue-900);
}

.ubicaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.ubicacion-btn {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--gh-gray-300);
  background: var(--gh-white);
  color: var(--gh-gray-900);
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ubicacion-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(16, 25, 58, 0.10);
  border-color: rgba(46, 77, 181, 0.35);
}

.ubicacion-btn.active {
  background: var(--gh-yellow);
  border-color: var(--gh-yellow);
  color: var(--gh-blue-900);
  box-shadow: 0 12px 26px rgba(16, 25, 58, 0.12);
}

.ubicaciones-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--gh-gray-700);
}

.ubicaciones-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(16, 25, 58, 0.10);
}

@media (max-width: 900px) {
  .ubicaciones-layout {
    grid-template-columns: 1fr;
  }

  .ubicaciones-map iframe {
    height: 260px;
  }
}
/* ====== UBICACIONES (SELECT + MAPA GRANDE) ====== */
.ubicaciones-section {
  padding: 4rem 0;
  background-color: var(--gh-gray-50);
}

.ubicaciones-wrap {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(16, 25, 58, 0.12);
  overflow: hidden;
}

.ubicaciones-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--gh-gray-300);
  background: var(--gh-white);
}

.ubicaciones-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ubicaciones-left label {
  font-size: 0.95rem;
  color: var(--gh-gray-700);
}

.ubicaciones-left select {
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--gh-gray-300);
  padding: 0 0.8rem;
  font-size: 0.95rem;
  outline: none;
  min-width: 260px;
  background: #fff;
}

.ubicaciones-left select:focus {
  border-color: var(--gh-blue-700);
  box-shadow: 0 0 0 2px rgba(46, 77, 181, 0.25);
}

.ubicaciones-all {
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
}

.ubicaciones-mapframe {
  width: 100%;
  height: 520px; /* parecido a la foto */
  background: #e9eaee;
}

.ubicaciones-mapframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .ubicaciones-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .ubicaciones-left {
    width: 100%;
    flex-wrap: wrap;
  }

  .ubicaciones-left select {
    width: 100%;
    min-width: 0;
  }

  .ubicaciones-mapframe {
    height: 420px;
  }
}
