/* =================================================================
   Identitas Global Mobility & Audit - Design System (identiportal.online)
   Adaptación directa de la arquitectura y diseño de gestoresexpress.com
   ================================================================= */

:root {
  --bg-main: #f8f9fa;
  --bg-surface: #ffffff;
  --primary-color: #022b3a;
  --secondary-color: #1f7a8c;
  --accent-gold: #e1b12c;
  --accent-red: #bf0603;
  --text-dark: #2b2d42;
  --text-muted: #8d99ae;
  --border-light: #e9ecef;
  --font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-family);
  line-height: 1.6;
}

/* --- AVISO LEGAL SUPERIOR GOOGLE ADS --- */
.disclaimer-top-bar {
  background-color: #111;
  color: #ffcc00;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--accent-gold);
}

/* --- BARRA DE CONTACTO SUPERIOR ESTILO GESTORESPRESS --- */
.top-contact-bar {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.5rem 2rem;
}

.top-contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact-left, .top-contact-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.top-contact-bar span, .top-contact-bar a {
  color: #ffffff;
  text-decoration: none;
}

.top-contact-bar a:hover {
  color: var(--accent-gold);
}

/* --- HEADER PRINCIPAL DE NAVEGACIÓN --- */
.site-header {
  background-color: var(--bg-surface);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-container {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-logo-container .logo-main {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.03em;
}

.brand-logo-container .logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
  letter-spacing: 0.15em;
}

.main-nav {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--secondary-color);
}

.btn-header-cta {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  letter-spacing: 0.05em;
}

.btn-header-cta:hover {
  background-color: var(--primary-color) !important;
}

/* --- HERO SECTION ESTILO GESTORESPRESS (Fondo azul intenso, titulares limpios) --- */
.hero-gestores {
  background: linear-gradient(135deg, var(--primary-color) 0%, #033f52 100%);
  color: #ffffff;
  padding: 5rem 2rem;
}

.hero-gestores-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-gestores-content h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-gestores-content h1 span {
  color: var(--accent-gold);
}

.hero-gestores-content p {
  font-size: 1.1rem;
  color: #e9ecef;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-badges-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-badges-list li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-badges-list li::before {
  content: "✔";
  color: var(--accent-gold);
  font-weight: bold;
}

.btn-hero-action {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--primary-color);
  font-weight: 800;
  padding: 0.9rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.btn-hero-action:hover {
  background-color: #f3c63b;
  transform: translateY(-2px);
}

.hero-gestores-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.1);
}

/* --- SECCIÓN DE TARJETAS DE SERVICIOS (GRID ESTILO GESTORESPRESS) --- */
.services-grid-section {
  max-width: 1200px;
  margin: -3rem auto 4rem auto;
  position: relative;
  z-index: 10;
  padding: 0 2rem;
}

.services-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card-box {
  background-color: var(--bg-surface);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-top: 4px solid var(--secondary-color);
  transition: var(--transition);
}

.service-card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-top-color: var(--accent-gold);
}

.service-card-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-card-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card-link:hover {
  color: var(--primary-color);
}

/* --- BLOQUE DE CONTENIDO EDITORIAL PRINCIPAL --- */
.main-content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem 2rem;
}

.content-block-white {
  background-color: var(--bg-surface);
  padding: 3.5rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  margin-bottom: 3rem;
}

.content-block-white h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.content-block-white p {
  font-size: 1.02rem;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* --- FOOTER ESTILO GESTORESPRESS --- */
.site-footer {
  background-color: var(--primary-color);
  color: #adb5bd;
  padding: 4rem 2rem 2rem 2rem;
  border-top: 4px solid var(--accent-gold);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-col p, .footer-col ul {
  font-size: 0.88rem;
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.78rem;
  color: #6c757d;
}

@media (max-width: 1024px) {
  .top-contact-bar, .main-nav {
    display: none;
  }
  .hero-gestores-grid, .services-grid-cards, .footer-container {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .content-block-white {
    padding: 2rem;
  }
}