/* ==============================
   Variables
============================== */
:root {
  --primary-dark: #0d2e4c;
  --primary-light: #1a4b7a;
  --accent-orange: #ff6f00;
  --accent-light: #ff8f00;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
  --text-light: #6c757d;
  --white: #ffffff;
  --dark-blue: #0a1f33;
}

/* ==============================
   Base
============================== */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}
.brand-logo { height: 40px; }  /* usar junto con .me-2 de Bootstrap */

/* ==============================
   Top bar / Social
============================== */
.top-info-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.4rem 0;
}
.social-icons a {
  color: var(--white);
  margin-left: 1rem;
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s;
}
.social-icons a:hover {
  color: var(--accent-orange);
  background: var(--accent-orange);
  transform: translateY(-3px);
}

/* ==============================
   Navbar
============================== */
.main-navbar {
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.navbar-brand-custom {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
}
.nav-link-custom {
  font-weight: 600;
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  position: relative;
  border-radius: 4px;
  transition: all 0.3s;
}
.nav-link-custom:hover {
  color: var(--accent-orange);
  background-color: rgba(255, 111, 0, 0.1);
}
.nav-link-custom.active {
  color: var(--accent-orange) !important;
  background-color: rgba(255, 111, 0, 0.08);
  border-radius: 4px;
}
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* ==============================
   Botones / Utilidades
============================== */
.contact-btn {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-light));
  color: var(--white);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 8px rgba(255, 111, 0, 0.2);
}
.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 111, 0, 0.3);
}
.text-orange { color: var(--accent-orange) !important; }
.bg-orange-light { background-color: rgba(255, 111, 0, 0.1); }
.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-light));
  margin: 1rem auto;
  border-radius: 2px;
}
.max-w-700 { max-width: 700px; }
.min-vh-60 { min-height: 60vh; }
.z-index-2 { z-index: 2; }

/* ==============================
   Hero
============================== */
.modern-hero { position: relative; color: var(--white); }
.hero-background {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.5);
  position: absolute; top: 0; left: 0; z-index: 1;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(13, 46, 76, 0.85), rgba(26, 75, 122, 0.85));
  z-index: 0;
}
.hero-content-wrapper { position: relative; z-index: 3; }
.hero-title-main {
  font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.3rem; margin-bottom: 2.5rem; opacity: 0.9; max-width: 700px;
}
.hero-highlight { color: var(--accent-orange); font-weight: 700; }
.hero-cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary-hero {
  background-color: var(--accent-orange); color: var(--white);
  font-weight: 600; padding: 0.8rem 2rem; border-radius: 50px;
  transition: all 0.3s; box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-primary-hero:hover {
  background-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.btn-outline-hero {
  border: 2px solid var(--white); color: var(--white); background: transparent;
  font-weight: 600; padding: 0.8rem 2rem; border-radius: 50px; transition: all 0.3s;
}
.btn-outline-hero:hover { background-color: rgba(255,255,255,0.1); transform: translateY(-3px); }
.hero-trust-badges span { font-size: 0.95rem; }

/* ==============================
   Títulos secciones
============================== */
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* ==============================
   Tarjetas / Servicios
============================== */
.service-card-modern {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.service-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.service-icon-modern {
  width: 60px; height: 60px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.5rem;
  background-color: rgba(255, 111, 0, 0.1);
}
.service-title-modern { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: var(--primary-dark); }
.service-text-modern { color: var(--text-light); margin-bottom: 1.5rem; }
.service-link-modern {
  color: var(--accent-orange); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem; transition: all .3s;
}
.service-link-modern:hover { color: var(--accent-light); gap: .7rem; }

/* Features / Marcas */
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item { display: flex; gap: 1rem; }
.feature-icon {
  width: 50px; height: 50px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.brand-img-lg {
  max-height: 120px; width: auto; transition: all .3s; padding: 15px;
}
.brand-img-lg:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* ==============================
   Formularios / Componentes
============================== */
.contact-form .form-control,
.contact-form .form-select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.75rem 1rem;
}
.contact-form .form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 0.25rem rgba(255, 111, 0, 0.25);
}
.contact-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn-orange {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-light));
  color: var(--white); font-weight: 600; border: none;
  padding: 0.8rem; border-radius: 8px; transition: all 0.3s;
}
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255,111,0,0.3); }
.testimonial-card { background: #fff; border: 1px solid rgba(0,0,0,.05); transition: all .3s; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,.1); }
.rating { font-size: 1rem; }
.accordion-button:not(.collapsed) { color: var(--accent-orange); background-color: rgba(255,111,0,.05); }
.accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(255,111,0,.25); }

/* ==============================
   Footer / Fondos
============================== */
footer a { text-decoration: none; transition: all .3s; }
footer a:hover { color: var(--accent-orange) !important; }
.bg-dark-blue { background-color: var(--dark-blue); }
.bg-dark { background-color: var(--primary-dark) !important; } /* override intencional */

/* ==============================
   Media Queries
============================== */
@media (max-width: 992px) {
  .hero-title-main { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .section-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .info-content { flex-direction: column; text-align: center; }
  .social-icons { margin-top: .5rem; justify-content: center; }
  .hero-title-main { font-size: 2.2rem; }
  .hero-cta-buttons { flex-direction: column; }
  .btn-primary-hero, .btn-outline-hero { width: 100%; text-align: center; }
  .contact-info-card { text-align: center; }
  .contact-icon { margin-left: auto; margin-right: auto; }
  .brand-img-lg { max-height: 90px; }
}
@media (max-width: 576px) {
  .hero-title-main { font-size: 1.8rem; }
  .section-title { font-size: 1.6rem; }
  .contact-info-card-alt {
    text-align: left; display: flex; gap: 1rem; align-items: flex-start;
  }
  .contact-icon-alt { margin-bottom: 0; flex-shrink: 0; }
  .contact-info-card-alt h4 { margin-top: 0 !important; }
  .brand-img-lg { max-height: 70px; }
}
  @media (max-width: 767.98px) {
    .navbar-brand-custom {
      font-size: 0.7rem !important;
      white-space: nowrap;
    }
    .brand-logo {
      height: 24px !important;
    }
  }
  
  @media (max-width: 399.98px) {
    .navbar-brand-custom {
      font-size: 0.6rem !important;
    }
    .brand-logo {
      height: 20px !important;
    }
  }
