:root {
  --primary-color: #1a3a52;
  --accent-color: #d4af37;
  --accent-hover: #c9a62e;
  --accent-dark: #b89a1f;
  --bg-light: #f8f9fa;
  --text-dark: #1a1a1a;
  --text-muted: #444444;
  --transition: all 0.3s ease;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: "Playfair Display", serif;
}

/* Highlight box for call to action */

.highlight-box {
  background-color: var(--primary-color);
  border: 2px solid var(--accent-color);
}

.btn-primary-custom {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #fff !important;
  font-weight: 600;
}

.btn-primary-custom:hover {
  background-color: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
}

/* Navbar */

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff !important;
}

.navbar-brand {
  padding: 0;
}

.brand-name {
  font-family: "Playfair Display", serif;
}

.brand-subtext {
  font-family: "Inter", sans-serif;
  display: block;
}

.logo-container svg {
  transition: var(--transition);
}

.navbar-brand:hover .logo-container svg {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@media (max-width: 991.98px) {
  .brand-name {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 991.98px) {
  .brand-subtext {
    font-size: 0.65rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 45px !important;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--primary-color) !important;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-color) !important;
}

/* Buttons */

.btn-primary, .btn-primary-custom {
  background: linear-gradient(135deg, #d4af37 0%, #c9a62e 100%) !important;
  border-color: #b89a1f !important;
  color: #1a3a52 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.btn-primary:hover, .btn-primary-custom:hover {
  background: linear-gradient(135deg, #c9a62e 0%, #b89a1f 100%) !important;
  border-color: #9a7c15 !important;
  box-shadow: 0 6px 12px rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-outline-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

/* Hero Section */

.hero-section {
  position: relative;
  background: url("https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&q=80&w=1920") center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 46, 74, 0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Service Cards */

.service-card {
  border: none;
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
  background: #fff;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i, .service-card svg {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  fill: currentColor;
}

/* Why Choose Us */

.feature-box {
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  background: #fff;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-box i, .feature-box svg {
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  fill: currentColor;
}

/* Language Switcher */

.lang-switcher .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  background: #fff;
  margin-left: 5px;
}

.lang-switcher .btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Section Styling */

section {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.bg-light-grey {
  background-color: var(--bg-light);
}

/* Footer */

footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-logo span {
  color: var(--accent-color);
}

.social-links a {
  color: #fff;
  font-size: 1.2rem;
  margin-right: 15px;
  transition: var(--transition);
}

.social-links a i, .social-links a svg {
  fill: currentColor;
}

.social-links a:hover {
  color: var(--accent-color);
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem rgba(240, 165, 0, 0.25);
}

.lead {
  font-weight: normal;
}

form label, form .form-label, form .form-label strong {
  font-weight: 700 !important;
  text-decoration: none !important;
  color: var(--primary-color);
}

/* =========================================================
   ACL LOGO INLINE SVG - V2 ROBUSTO
   ========================================================= */

.navbar-brand.acl-brand-inline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}

.navbar-brand.acl-brand-inline .acl-logo-wrap {
  flex: 0 0 auto;
  line-height: 0;
  --acl-logo-globe-dark: #6f685f;
  --acl-logo-globe-light: #ceb892;
  --acl-logo-book-dark: #1f2a30;
  --acl-logo-book-mid: #2f4468;
  --acl-logo-book-light: #4a5f87;
  --acl-logo-text: #243552;
}

.navbar-brand.acl-brand-inline .acl-logo-svg {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.navbar-brand.acl-brand-inline .book-dark {
  stroke: var(--acl-logo-book-dark);
}

.navbar-brand.acl-brand-inline .book-mid {
  stroke: var(--acl-logo-book-mid);
}

.navbar-brand.acl-brand-inline .book-light {
  stroke: var(--acl-logo-book-light);
}

.navbar-brand.acl-brand-inline .text-fill {
  fill: var(--acl-logo-text);
}

.navbar-brand.acl-brand-inline .acl-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.navbar-brand.acl-brand-inline .brand-subtext {
  font-size: 0.75rem;
  line-height: 1.15;
  color: #4d5b7c;
  margin-top: 0.15rem;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .navbar-brand.acl-brand-inline {
    gap: 0.55rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand.acl-brand-inline .acl-logo-svg {
    width: 260px;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand.acl-brand-inline .brand-subtext {
    font-size: 0.66rem;
    line-height: 1.1;
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand.acl-brand-inline .acl-logo-svg {
    width: 220px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand.acl-brand-inline .brand-subtext {
    font-size: 0.6rem;
  }
}

/* =========================================================
   PATCH MÍNIMO PARA EL LOGO DE NAVBAR
   ========================================================= */

/* .acl-navbar-logo {
  display: block;
  height: 90px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .acl-navbar-logo {
    height: 64px;
    max-width: 250px;
  }
} */

/* .acl-navbar-logo {
  display: block;
  height: 115px;
  width: auto;
  max-width: 460px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .acl-navbar-logo {
    height: 78px;
    max-width: 300px;
  }
} */

.acl-navbar-logo {
  display: block;
  height: 125px;
  width: auto;
  max-width: 500px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .acl-navbar-logo {
    height: 84px;
    max-width: 320px;
  }
}

/* Ajustes de contraste para accesibilidad */

.text-muted {
  color: #404040 !important;
}

.text-white-50 {
  color: #ffffff !important;
  opacity: 0.9;
}

.opacity-75 {
  opacity: 1 !important;
}

.opacity-50 {
  opacity: 1 !important;
}

/* Contraste mejorado en footer */

footer {
  background-color: var(--primary-color);
  color: #ffffff;
}

footer .text-white {
  color: #ffffff !important;
}

footer .opacity-75 {
  color: #e6e6e6 !important;
}

footer .text-muted {
  color: #cccccc !important;
}

/* Metrics / counters section (About page) */

.metrics-section .metric-number {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
  .metrics-section .metric-number {
    font-size: 2.25rem;
  }
}

