/* ════════════════════════════════════════════════
   SABA PERÚ — Corporate Premium Stylesheet
   Paleta: Navy profundo / Blanco / Dorado premium
   Tipografía: Cormorant Garamond + Jost
   ════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────── */
:root {
  /* ── Nueva paleta: Oliva Corporativo + Crema + Tierra ── */
  --navy:        #1C1F0A;   /* casi negro oliva, reemplaza navy */
  --navy-mid:    #252910;
  --navy-light:  #363D14;

  --gold:        #8A8F2E;   /* oliva medio — acento principal   */
  --gold-light:  #A8AE42;   /* oliva claro — hover              */
  --gold-dark:   #696C25;   /* oliva corporativo — énfasis      */

  --white:       #FFFFFF;
  --off-white:   #F5F4EE;   /* crema cálido con tinte oliva     */
  --gray-light:  #E4E3D8;
  --gray-mid:    #8C8C78;
  --gray-dark:   #48483A;
  --text-body:   #26261A;

  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Jost', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-sm:   0 2px 12px rgba(28,31,10,.08);
  --shadow-md:   0 8px 32px rgba(28,31,10,.12);
  --shadow-lg:   0 20px 60px rgba(28,31,10,.18);
  --shadow-gold: 0 4px 20px rgba(105,108,37,.30);

  --transition:  .35s cubic-bezier(.4,0,.2,1);
  --section-pad: 120px;
}

/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Utility ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: var(--section-pad) 0; }

.mt-btn { margin-top: 32px; display: inline-flex; }

/* ── Buttons ────────────────────────────────────── */

.logo-img{
  height: 100px;
  width: auto;
  display: block;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }


/* ════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(28,31,10,.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(138,143,46,.2);
  padding: 12px 0;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .15em;
}
.logo-sub {
  font-family: var(--ff-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .35em;
  color: var(--gold);
  margin-top: -2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

/* Capa oscura superpuesta MODIFICADA (Fotos más claras) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(28, 31, 10, 0.45) 40%, rgba(28, 31, 10, 0.1) 100%),
    linear-gradient(to bottom, rgba(28, 31, 10, 0.0), rgba(28, 31, 10, 0.3));
  z-index: 1; 
}

/* Decorative geometry */
.hero-geometry { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.geo-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(138,143,46,.15), transparent);
  width: 1px;
}
.geo-line-1 { height: 60%; top: 20%; right: 25%; }
.geo-line-2 { height: 40%; top: 30%; right: 35%; }

.geo-circle {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(138,143,46,.06);
  right: -80px; top: 50%;
  transform: translateY(-50%);
}
.geo-circle::before {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(138,143,46,.08);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
  margin-left: 8vw;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-line {
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-desc {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: .65rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
}
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: .4; }
}


/* ── Slider de Fondo para el Hero ──────────────── */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0; /* Por detrás de la geometría y el texto */
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out; /* Transición suave de desvanecimiento */
}

/* La imagen activa se muestra */
.hero-slide.active {
  opacity: 1;
}

/* Capa oscura superpuesta para garantizar la legibilidad del texto */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(28, 31, 10, 0.85) 40%, rgba(28, 31, 10, 0.4) 100%),
    linear-gradient(to bottom, rgba(28, 31, 10, 0.2), rgba(28, 31, 10, 0.7));
  z-index: 1; /* Por encima de las fotos, por debajo del texto */
}

/* Ajustamos la geometría y el contenido para que se mantengan arriba */
.hero-geometry { z-index: 2; }
.hero-content { z-index: 3; }
.hero-scroll-indicator { z-index: 3; }


/* ════════════════════════════════════════════════
   SECTION HEADERS
   ════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-tag.light { color: rgba(138,143,46,.8); }
.section-tag.light::before,
.section-tag.light::after { background: rgba(138,143,46,.5); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--gold-dark); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold); }

.section-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-mid);
  max-width: 580px;
  margin: 0 auto;
}
.section-desc.light { color: rgba(255,255,255,.6); }


/* ════════════════════════════════════════════════
   QUIÉNES SOMOS
   ════════════════════════════════════════════════ */
.quienes-somos { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

/* Image column */
.about-img-wrapper {
  position: relative;
  height: 480px;
}
.about-img-placeholder {
  width: 100%; height: 100%;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.img-inner-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(138,143,46,.15), transparent 60%),
    linear-gradient(135deg, rgba(138,143,46,.06) 0%, transparent 50%);
}
.about-icon {
  font-size: 8rem;
  color: rgba(138,143,46,.2);
  position: relative;
  z-index: 1;
}

/* Gold badge */
.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.badge-num {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.4;
  opacity: .85;
}

/* Content column */
.about-lead {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-body {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--gray-dark);
  margin-bottom: 36px;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.pillar i {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(138,143,46,.12);
  color: var(--gold-dark);
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.pillar strong {
  display: block;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.pillar p { font-size: .85rem; color: var(--gray-mid); line-height: 1.5; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  padding: 48px 32px;
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(138,143,46,.15);
}

.stat-num {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-block;
}
.stat-suffix {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--gold);
}
.stat-label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  margin-top: 8px;
}
.stat-divider { display: none; }


/* ════════════════════════════════════════════════
   SERVICIOS
   ════════════════════════════════════════════════ */
.servicios { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

/* Gold left border accent */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height .4s ease;
  border-radius: 0 0 2px 2px;
}
.service-card:hover::before { height: 100%; }

/* Hover lift + shadow */
.service-card:hover {
  border-color: var(--gray-light);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(138,143,46,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.card-icon-wrap i {
  font-size: 1.5rem;
  color: var(--gold-dark);
  transition: var(--transition);
}
.service-card:hover .card-icon-wrap {
  background: var(--gold);
}
.service-card:hover .card-icon-wrap i { color: var(--navy); }

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.service-card p {
  font-size: .875rem;
  line-height: 1.75;
  color: var(--gray-mid);
  margin-bottom: 28px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 14px; color: var(--gold); }


/* ════════════════════════════════════════════════
   ARBITRAJE — dark section
   ════════════════════════════════════════════════ */
.arb-intro-text{
  max-width: 950px;
  margin: 2rem auto 0;
  text-align: justify;
}

.arb-intro-text p{
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
  font-weight: 300;
}

@media (max-width:768px){
  .arb-intro-text p{
    font-size: .95rem;
    line-height: 1.8;
  }
}

.arbitraje {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.arbitraje-bg-deco {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,143,46,.05) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

/* Arb feature cards */
.arb-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.arb-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(138,143,46,.15);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
}
.arb-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(138,143,46,.4);
  transform: translateY(-4px);
}

.arb-card-icon {
  width: 52px; height: 52px;
  background: rgba(138,143,46,.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.arb-card-icon i { font-size: 1.3rem; color: var(--gold); }

.arb-card h4 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.arb-card p { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.5); }

/* Timeline */
.arb-timeline { }

.timeline-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line */
.timeline::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
  z-index: 0;
}

.timeline-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.tl-marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
}
.tl-marker span {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.tl-content h5 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.tl-content p { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.5); }


/* ════════════════════════════════════════════════
   STAFF
   ════════════════════════════════════════════════ */
.staff { background: var(--off-white); }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.staff-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.staff-photo-wrap {
  position: relative;
  height: 260px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.staff-photo { display: flex; align-items: center; justify-content: center; }
.staff-avatar { font-size: 5rem; color: rgba(138,143,46,.3); }

/* Social overlay */
.staff-social {
  position: absolute;
  inset: 0;
  background: rgba(28,31,10,.8);
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: var(--transition);
}
.staff-card:hover .staff-social { opacity: 1; }

.staff-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(138,143,46,.5);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}
.staff-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.staff-info {
  padding: 28px 24px;
  border-top: 2px solid var(--gold);
}
.staff-info h4 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.staff-role {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.staff-specialty { font-size: .82rem; color: var(--gray-mid); line-height: 1.5; }


/* ════════════════════════════════════════════════
   ALIANZA — partners slider
   ════════════════════════════════════════════════ */
.alianza { background: var(--white); }

.partners-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
  display: flex;
  gap: 40px;
  animation: slidePartners 30s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }

@keyframes slidePartners {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-logo {
  flex-shrink: 0;
  min-width: 180px;
  height: 100px;
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  transition: var(--transition);
}
.partner-logo:hover {
  border-color: var(--gold);
  background: rgba(138,143,46,.06);
}
.partner-logo i { font-size: 1.6rem; color: var(--navy-light); }
.partner-logo span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--gray-dark);
  text-align: center;
}


/* ════════════════════════════════════════════════
   CONTACTO
   ════════════════════════════════════════════════ */
.contacto { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-mid); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(138,143,46,.12);
}

.form-notice {
  font-size: .85rem;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-notice.success { background: rgba(0,180,100,.1); color: #00844A; display: block; }
.form-notice.error   { background: rgba(220,53,69,.08); color: #C82333; display: block; }

/* Contact info card */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.info-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(138,143,46,.1);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.info-item strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.info-item p, .info-item a {
  font-size: .9rem;
  color: var(--gray-dark);
}
.info-item a:hover { color: var(--gold-dark); }

/* Map */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-light);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* Social links */
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-light);
  color: var(--navy-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}


/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer { background: var(--navy); }

.footer-top { padding: 80px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.8;
  color: rgba(255,255,255,.45);
  margin: 20px 0 28px;
  max-width: 280px;
}
.footer-logo { margin-bottom: 4px; }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h5 {
  font-family: var(--ff-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact { gap: 18px !important; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
}
.footer-contact li i { color: var(--gold); font-size: .9rem; margin-top: 2px; }
.footer-contact li a { color: rgba(255,255,255,.45); }
.footer-contact li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }

.footer-legal { display: flex; align-items: center; gap: 12px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }
.footer-legal span { color: rgba(255,255,255,.15); }


/* ════════════════════════════════════════════════
   BACK TO TOP
   ════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }


/* ════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ════════════════════════════════════════════════ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-hero {
  opacity: 0;
  transition: opacity .8s ease, transform .8s cubic-bezier(.25,.46,.45,.94);
}

.reveal         { transform: translateY(48px); }
.reveal-left    { transform: translateX(-60px); }
.reveal-right   { transform: translateX(60px); }
.reveal-hero    { transform: translateY(32px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-hero.visible {
  opacity: 1;
  transform: translate(0);
}

/* Staggered delay for service cards & staff */
[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }


/* ════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .arb-cards { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid { gap: 48px; }

  /* Nav collapse */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 90vw);
    height: 100vh;
    background: rgba(28,31,10,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right .4s cubic-bezier(.4,0,.2,1);
    border-left: 1px solid rgba(138,143,46,.15);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: .9rem; }
  .hamburger { display: flex; }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 640px)
   ════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --section-pad: 60px; }

  .container { padding: 0 20px; }

  .hero-content { margin-left: 0; padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-wrapper { height: 320px; }
  .about-badge { bottom: -16px; right: -8px; }

  .stats-row { grid-template-columns: 1fr 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .arb-cards { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }

  .back-to-top { bottom: 20px; right: 20px; }

  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2.6rem; }
}
/* ═══════════════════════════ ESTILOS MODAL ═══════════════════════════ */
/* Fondo oscuro translúcido */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px); /* Suave desenfoque de fondo */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Por encima de todo, incluyendo el navbar */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Modal Activo */
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Caja contenedora blanca */
.modal-content {
  background-color: #fff;
  padding: 40px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-30px);
  transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

/* Botón cerrar (X) */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #333;
}

/* Contenido interno */
.modal-body {
  text-align: left;
  font-family: 'Jost', sans-serif;
}

.modal-main-icon {
  font-size: 40px;
  color: #606c38; /* Cambia este color por el verde oliva de tu web */
  margin-bottom: 15px;
  display: block;
}

.modal-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
}

.modal-body p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.modal-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.modal-body ul li {
  margin-bottom: 10px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body ul li i {
  color: #606c38; /* Icono de check */
  font-size: 14px;
}
.staff-photo {
    width: 100%;       /* Ocupa el ancho de la tarjeta */
    height: 350px;     /* Define aquí el alto fijo que quieras para todas las fotos */
    overflow: hidden;  /* Corta lo que sobresalga */
    position: relative;
}

.staff-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Truco mágico: evita que la imagen se estire o se aplaste */
    object-position: top center; /* Centra la imagen enfocando la cabeza/rostro */
}