/* ============================================================
   GESCAM — Sistema de Diseño Global
   Versión: 1.0 | Mayo 2026
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --blue:       #3D5E8C;
  --blue-dark:  #284B8C;
  --navy:       #121A3E;
  --wine:       #5C2840;
  --gold:       #DCA200;
  --gold-light: #F0B800;
  --teal:       #12B4C8;
  --gray-light: #F0F4FC;
  --gray-mid:   #919EBE;
  --gray-text:  #4A5568;
  --white:      #FFFFFF;
  --black:      #0D0D0D;

  --radius:     12px;
  --radius-sm:  6px;
  --shadow:     0 4px 24px rgba(18,26,62,0.10);
  --shadow-md:  0 8px 40px rgba(18,26,62,0.15);
  --transition: 0.3s ease;

  --font:       'Montserrat', sans-serif;
  --max-w:      1200px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ── Tipografía ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; line-height: 1.75; }

.text-gold   { color: var(--gold); }
.text-blue   { color: var(--blue); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.text-sm     { font-size: 0.875rem; }
.text-lg     { font-size: 1.125rem; }
.font-bold   { font-weight: 700; }
.font-medium { font-weight: 600; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.section-sm {
  padding: 3rem 0;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ── Botones ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,162,0,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ── Etiquetas de sección ───────────────────────────────────── */
.section-label {
  display: inline-block;
  background: rgba(61,94,140,0.1);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-label-gold {
  background: rgba(220,162,0,0.15);
  color: var(--gold);
}

.section-header {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-header.centered {
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-header p {
  color: var(--gray-text);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.divider {
  width: 56px;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin: 1rem 0;
}
.divider.centered { margin: 1rem auto; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(18,26,62,0.10);
  padding: 0.9rem 0;
}
.navbar.scrolled .nav-logo img { filter: none; }
.navbar.scrolled .nav-link { color: var(--navy); }
.navbar.scrolled .nav-link:hover { color: var(--blue); }
.navbar.scrolled .btn-nav { background: var(--gold); color: var(--navy); }

.nav-inner,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 64px;
  width: auto;
  transition: opacity var(--transition);
}

/* Logo para fondo oscuro (hero) */
.nav-logo .logo-dark  { display: block; }
.nav-logo .logo-light { display: none; }

/* Al hacer scroll: fondo blanco → cambiar al logo oscuro */
.navbar.scrolled .nav-logo .logo-dark  { display: none; }
.navbar.scrolled .nav-logo .logo-light { display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.navbar.scrolled .nav-link:hover { background: rgba(61,94,140,0.08); }

.btn-nav {
  background: var(--gold);
  color: var(--navy);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  margin-left: 0.75rem;
  transition: all var(--transition);
}
.btn-nav:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--navy); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 50%, var(--wine) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 10rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220,162,0,0.18);
  border: 1px solid rgba(220,162,0,0.4);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-image {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(to right, transparent, rgba(18,26,62,0.2));
  overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '↓';
  font-size: 1.2rem;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── Barra de confianza ─────────────────────────────────────── */
.trust-bar {
  background: var(--navy);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item .icon {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ── Cards de servicio ──────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  transition: height 0.4s ease;
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::after { height: 100%; }
.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: var(--white);
  position: relative;
  z-index: 1;
}
.service-card:hover .service-icon {
  background: rgba(255,255,255,0.15);
  color: var(--gold);
}
.service-card:hover .service-link { color: var(--gold); }
.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(61,94,140,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
  color: var(--blue);
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  transition: color var(--transition);
  margin-bottom: 1.25rem;
}
.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
}
.service-link:hover { gap: 0.7rem; }

/* ── Sección Por qué GESCAM / Nuestra diferencia ────────────── */
.why-bg { background: var(--gray-light); }

.why-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
}

/* Textos "light" para secciones sobre fondo oscuro */
.section-header-light {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-header-light.centered {
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-eyebrow-light {
  display: inline-block;
  background: rgba(220,162,0,0.18);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title-light {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
}
.section-subtitle-light {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 1rem;
}

/* Grid de tarjetas */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Ícono SVG dentro de cada tarjeta */
.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(220,162,0,0.14);
  border: 1px solid rgba(220,162,0,0.28);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--gold);
  transition: background var(--transition);
  flex-shrink: 0;
}
.why-icon svg { width: 24px; height: 24px; }

/* Tarjeta sobre fondo oscuro */
.why-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding: 1.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  box-shadow: none;
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-3px);
}
.why-card:hover .why-icon { background: rgba(220,162,0,0.25); }
.why-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card h4 { color: var(--white); margin-bottom: 0.4rem; }
.why-card p  { font-size: 0.88rem; color: rgba(255,255,255,0.72); }

.why-num {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ── Sección Abogado / About ────────────────────────────────── */
.about-img-frame {
  max-width: 50%;
  margin: 0 auto;
}
.about-img-frame img {
  width: 100%;
  border-radius: var(--radius);
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-badge {
  position: absolute;
  bottom: 2rem; right: -1rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge .num  { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge .lbl  { font-size: 0.75rem; font-weight: 600; }

.about-content { display: flex; flex-direction: column; justify-content: center; }
.about-content h2 { margin-bottom: 0.75rem; }
.about-content p  { margin-bottom: 1rem; }

/* Sección Nosotros — jerarquía de textos */
.about-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.about-name {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.about-subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding: 0.6rem 1rem;
  background: rgba(61,94,140,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-subtitle svg { color: var(--gold); flex-shrink: 0; }
.credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.75rem 0;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.credential-item::before {
  content: '✓';
  width: 24px; height: 24px;
  min-width: 24px;
  background: rgba(61,94,140,0.12);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ── Números / Stats ────────────────────────────────────────── */
.stats-bg {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}
.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  height: auto;
}

/* ── Blog cards ─────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-meta {
  font-size: 0.78rem;
  color: var(--gray-mid);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.blog-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.blog-card:hover h3 { color: var(--blue); }
.blog-card-body p  { font-size: 0.875rem; color: var(--gray-text); }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.blog-read-more:hover { gap: 0.7rem; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--wine) 0%, var(--navy) 60%, var(--blue-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(220,162,0,0.08) 0%, transparent 60%);
}
.cta-section h2 { color: var(--white); position: relative; z-index: 1; }
.cta-section p  { color: rgba(255,255,255,0.8); max-width: 540px; margin: 1rem auto 2rem; position: relative; z-index: 1; font-size: 1.05rem; }
.cta-section .btn { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; margin-top: 2.5rem; }

/* ── Formulario de contacto ─────────────────────────────────── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--navy);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61,94,140,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; padding: 1rem; font-size: 1rem; }

.contact-info-card {
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-info-card h3 { color: var(--white); font-size: 1.4rem; }
.contact-info-card p  { color: rgba(255,255,255,0.75); }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* Métodos de contacto en sección principal */
.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  color: var(--navy);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(18,26,62,0.07);
  transition: color var(--transition);
  text-decoration: none;
}
.contact-method:hover { color: var(--blue); }
.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  width: 22px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-item-text .label { font-size: 0.75rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item-text .value { color: var(--white); font-weight: 600; margin-top: 0.15rem; }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ── WhatsApp Flotante ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: all var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 4px 40px rgba(37,211,102,0.7); }
}
.wa-tooltip {
  position: absolute;
  right: 72px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-brand p  { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-title {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.footer-contact-item .icon { color: var(--gold); font-size: 1rem; margin-top: 0.1rem; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--gold); }

/* ── Notificación formulario ────────────────────────────────── */
.form-success {
  display: none;
  background: #E8F8EF;
  border: 1.5px solid #27AE60;
  color: #1A7A40;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  align-items: center;
  gap: 0.5rem;
}
.form-success.show { display: flex; }

/* ── Animaciones de entrada ─────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 7rem 0 4rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-image { display: none; }
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-link { font-size: 1.2rem; color: var(--white) !important; }
  .btn-nav { font-size: 1rem; padding: 0.75rem 2rem; }
  .trust-bar-inner { gap: 1.25rem; justify-content: flex-start; overflow-x: auto; padding: 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 54px; height: 54px; }
}

/* ============================================================
   PÁGINAS INTERNAS — Estilos adicionales
   ============================================================ */

/* ── Page Hero (páginas internas) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 9rem 0 5rem;
  text-align: center;
}
.page-hero-content { max-width: 720px; margin: 0 auto; }
.page-hero-title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.page-hero-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1.125rem;
  line-height: 1.75;
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb-nav {
  background: var(--gray-light);
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--gray-mid);
}
.breadcrumb-nav a { color: var(--blue); }
.breadcrumb-nav a:hover { text-decoration: underline; }

/* ── Service Detail ────────────────────────────────────────── */
.service-detail-section { padding: 5rem 0; }
.service-detail-alt { background: var(--gray-light); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 3rem;
  align-items: start;
}
.service-detail-grid-reverse { direction: rtl; }
.service-detail-grid-reverse > * { direction: ltr; }
.service-detail-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.service-detail-icon-wrap {
  width: 80px;
  height: 80px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: var(--shadow-md);
}
.service-detail-color-bar {
  width: 4px;
  height: 80px;
  border-radius: 2px;
  opacity: 0.35;
}
.service-detail-lead {
  font-size: 1.125rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.service-detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.925rem;
}
.feature-check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── About Full (sobre-nosotros) ───────────────────────────── */
.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.about-full-img { position: sticky; top: 6rem; }
.about-img-frame-lg {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-light);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}
.about-img-frame-lg img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder-lg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
}
.about-quote {
  background: var(--gray-light);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-quote p {
  font-style: italic;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.about-quote footer { font-size: 0.875rem; color: var(--gray-mid); font-weight: 600; }
.about-credentials-lg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.about-full-section h2 { margin: 0.5rem 0 1rem; }
.about-full-section p { margin-bottom: 1rem; }

/* ── MVV (misión/visión/valores) ───────────────────────────── */
.mvv-section { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%); }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.mvv-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.mvv-card h3 { color: var(--gold); margin-bottom: 1rem; }
.mvv-card p { color: rgba(255,255,255,0.82); font-size: 0.95rem; line-height: 1.75; }
.mvv-card strong { color: var(--gold-light); }
.mvv-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* ── Enfoque ───────────────────────────────────────────────── */
.section-light { background: var(--gray-light); }
.enfoque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}
.enfoque-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.enfoque-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.18;
  line-height: 1;
  flex-shrink: 0;
  min-width: 3.5rem;
}
.enfoque-item h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.15rem; }
.enfoque-item p { font-size: 0.95rem; }

/* ── Blog Full Page ────────────────────────────────────────── */
.blog-full-section { background: var(--white); }
.blog-full-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.blog-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.blog-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.blog-card-title a { color: var(--navy); transition: color var(--transition); }
.blog-card-title a:hover { color: var(--blue); }
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.blog-filter-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  transition: all var(--transition);
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--blue);
  color: var(--white);
}

/* ── Blog Sidebar ──────────────────────────────────────────── */
.blog-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-widget {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sidebar-widget-dark {
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.sidebar-widget-title {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.sidebar-widget-title-light {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.sidebar-widget p { font-size: 0.9rem; margin-bottom: 1rem; }
.sidebar-categories { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-categories a {
  font-size: 0.9rem;
  color: var(--gray-text);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: color var(--transition);
}
.sidebar-categories a:hover { color: var(--blue); }
.sidebar-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 600;
}
.sidebar-social svg { flex-shrink: 0; }

/* ── Buttons adicionales ───────────────────────────────────── */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220,162,0,0.35);
}
.btn-gold-sm {
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
}
.btn-gold-sm:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Responsive páginas internas ──────────────────────────── */
@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-icon-col { flex-direction: row; }
  .service-detail-color-bar { width: 80px; height: 4px; }
  .service-detail-grid-reverse { direction: ltr; }
  .about-full-grid { grid-template-columns: 1fr; }
  .about-full-img { position: static; }
  .mvv-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-full-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 768px) {
  .service-detail-features { grid-template-columns: 1fr; }
  .enfoque-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 7rem 0 3.5rem; }
  .blog-filters { gap: 0.4rem; }
  .blog-filter-btn { font-size: 0.8rem; padding: 0.35rem 0.9rem; }
}
