﻿/* ==========================================
   RIVAS & ASOCIADOS â€” Estilos principales
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --primary:        #13317a;
  --primary-fg:     #ffffff;
  --accent:         #009ad0;
  --accent-fg:      #ffffff;
  --teal:           #00b4bc;
  --green:          #4db155;
  --background:     #ffffff;
  --foreground:     #1a2038;
  --secondary:      #eef1f8;
  --secondary-fg:   #13317a;
  --muted:          #6b7280;
  --border:         #e2e5f0;
  --card:           #ffffff;
  --radius:         0.625rem;
  --font-head:      'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font-body); color: var(--foreground); background: var(--background); scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.1; }

/* ---- Layout utils ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
@media(min-width:1024px){ .container { padding: 0 2rem; } }

/* ==========================================
   HEADER / NAV
   ========================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 5rem;
  display: flex; align-items: center;
  background: rgba(19,49,122,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1.5rem;
}
.header-right { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.header-logo { display: flex; align-items: center; gap: .75rem; }
.header-logo img { height: 3rem; width: auto; filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  position: relative; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.85);
  transition: color .2s; padding-bottom: .35rem;
}
.site-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .25s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.active { color: #fff; font-weight: 700; }
.site-nav a.active::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-social { display: flex; gap: .75rem; align-items: center; }
.header-social a {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.header-social a:hover { color: #fff; }
.header-social svg { width: 1.1rem; height: 1.1rem; }
.header-divider {
  width: 1px; height: 1.5rem; background: rgba(255,255,255,.3);
}
.btn-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.4rem; border-radius: 9999px;
  background: #fff; color: var(--primary);
  font-size: .875rem; font-weight: 700;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-cta:hover { background: rgba(255,255,255,.9); }
.nav-mobile-toggle {
  display: none; flex-direction: column; gap: 5px; padding: .5rem;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
@media(max-width:900px){
  .site-nav, .header-right { display: none; }
  .nav-mobile-toggle { display: flex; }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 5rem; left: 0; right: 0;
    background: var(--primary); padding: 1rem 1.25rem 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .site-nav.open a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
}

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero {
  position: relative; height: 100svh; min-height: 640px;
  overflow: hidden; background: #13317a;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out; z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(19,49,122,.45), rgba(19,49,122,.15) 50%, rgba(19,49,122,.5));
}
.hero-content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 5rem;
}
.hero-text-wrap { position: relative; min-height: 400px; max-width: 660px; margin-bottom: 1.5rem; }
@media(max-width:768px){ .hero-text-wrap { min-height: 460px; } }
@media(max-width:480px){ .hero-text-wrap { min-height: 520px; } }
.hero-text {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s ease-out, transform .8s ease-out;
  pointer-events: none; visibility: hidden;
}
.hero-text.active { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }
.hero-eyebrow {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  border-radius: 9999px; padding: .375rem 1rem;
  font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.hero-title {
  margin-top: 1.25rem;
  font-size: clamp(1.9rem, 3.8vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.08;
}
.hero-subtitle {
  margin-top: 1.125rem;
  font-size: clamp(.88rem, 1.2vw, 1rem); line-height: 1.65; color: rgba(255,255,255,.85); max-width: 520px;
}
.hero-buttons { margin-top: 2rem; }
.btn-white {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 9999px; background: #fff;
  padding: .75rem 1.75rem; font-size: .875rem; font-weight: 600; color: #13317a;
  transition: background .2s, color .2s;
}
.btn-white:hover { background: var(--secondary); }
.btn-white svg { width: 1rem; height: 1rem; }
.hero-dots {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: .625rem;
}
.hero-dot {
  height: 6px; border-radius: 9999px; border: none; padding: 0;
  background: rgba(255,255,255,.4);
  width: 16px; transition: width .4s ease, background .4s ease;
}
.hero-dot.active { width: 44px; background: #fff; }

/* ==========================================
   INTRO
   ========================================== */
.section-intro { padding: 5rem 0; }
@media(min-width:1024px){ .section-intro { padding: 7rem 0; } }
.intro-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media(min-width:1024px){ .intro-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.intro-img-wrap { position: relative; }
.intro-img { border-radius: calc(var(--radius)*2.2); overflow: hidden; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-badge {
  display: none;
  position: absolute; bottom: -1.5rem; right: -0.5rem;
  background: var(--green); color: #fff;
  border-radius: 1rem; padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
@media(min-width:640px){ .intro-badge { display: block; } }
@media(min-width:1024px){ .intro-badge { right: -1.5rem; } }
.intro-badge-num { font-family: var(--font-head); font-size: 1.875rem; font-weight: 800; line-height: 1; }
.intro-badge-label { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }
.intro-checks { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; list-style: none; }
.intro-check { display: flex; gap: .75rem; align-items: flex-start; }
.intro-check svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--green); margin-top: .125rem; }
.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.section-title {
  margin-top: 1rem;
  font-family: var(--font-head); font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; color: var(--primary); line-height: 1.15;
}
.section-desc { margin-top: 1.25rem; line-height: 1.75; color: var(--muted); }
.intro-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.intro-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; border-radius: calc(var(--radius)*1.4);
  border: 1px solid var(--border); background: var(--secondary);
}
.intro-feature-icon {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem;
  border-radius: calc(var(--radius)*.8); background: var(--primary);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.intro-feature-icon svg { width: 1.125rem; height: 1.125rem; }
.intro-feature h3 { font-size: .9375rem; font-weight: 600; color: var(--primary); }
.intro-feature p { margin-top: .25rem; font-size: .8125rem; color: var(--muted); line-height: 1.6; }

/* ==========================================
   STATS
   ========================================== */
.section-stats { background: var(--primary); padding: 5rem 0; }
@media(min-width:1024px){ .section-stats { padding: 6rem 0; } }
.stats-header { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.stats-header h2 { font-family: var(--font-head); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: #fff; line-height: 1.15; }
.stats-header p { margin-top: 1rem; color: rgba(255,255,255,.7); line-height: 1.75; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2rem; text-align: center;
}
@media(max-width:640px){ .stats-grid { grid-template-columns: 1fr; } }
.stat-value {
  font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.stat-unit { color: var(--accent); }
.stat-label { margin-top: .5rem; font-size: .8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }

/* ==========================================
   SERVICES PREVIEW
   ========================================== */
.section-services { background: var(--secondary); padding: 5rem 0; }
@media(min-width:1024px){ .section-services { padding: 7rem 0; } }
.services-header {
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; justify-content: space-between;
}
@media(min-width:768px){ .services-header { flex-direction: row; align-items: flex-end; } }
.services-header-text { max-width: 42rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 600; color: var(--primary); white-space: nowrap;
  transition: color .2s;
}
.link-arrow:hover { color: var(--accent); }
.link-arrow svg { width: 1rem; height: 1rem; }
.services-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media(min-width:640px){ .services-grid { grid-template-columns: 1fr 1fr; } }
.service-card {
  display: flex; flex-direction: column; border-radius: calc(var(--radius)*1.8);
  border: 1px solid var(--border); background: var(--card); padding: 1.75rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(19,49,122,.1); border-color: rgba(0,154,208,.4); }
.service-card-icon {
  width: 3.25rem; height: 3.25rem; border-radius: calc(var(--radius)*1.1);
  background: rgba(19,49,122,.05); display: flex; align-items: center; justify-content: center;
  color: var(--primary); transition: background .2s, color .2s;
}
.service-card:hover .service-card-icon { background: var(--accent); color: #fff; }
.service-card-icon svg { width: 1.5rem; height: 1.5rem; }
.service-card h3 { margin-top: 1.25rem; font-size: 1.0625rem; font-weight: 600; color: var(--primary); font-family: var(--font-head); }
.service-card p { margin-top: .75rem; flex: 1; font-size: .875rem; line-height: 1.75; color: var(--muted); }
.service-card-link {
  margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .25rem;
  font-size: .875rem; font-weight: 600; color: var(--accent);
}
.service-card-link svg { width: 1rem; height: 1rem; transition: transform .2s; }
.service-card:hover .service-card-link svg { transform: translate(2px,-2px); }

/* ==========================================
   SECTORS
   ========================================== */
.section-sectors { background: var(--background); padding: 5rem 0; }
@media(min-width:1024px){ .section-sectors { padding: 7rem 0; } }
.sectors-header { text-align: center; max-width: 42rem; margin: 0 auto; }
.sectors-grid { margin-top: 3rem; display: grid; gap: 1rem; grid-template-columns: repeat(2,1fr); }
@media(min-width:640px){ .sectors-grid { grid-template-columns: repeat(4,1fr); } }
.sector-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .75rem; padding: 1.5rem 1rem; border-radius: calc(var(--radius)*1.8);
  border: 1px solid var(--border); background: var(--card);
  transition: border-color .2s, box-shadow .2s;
}
.sector-card:hover { border-color: rgba(0,154,208,.3); box-shadow: 0 4px 16px rgba(19,49,122,.07); }
.sector-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(90,191,192,.1); display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}
.sector-icon svg { width: 1.375rem; height: 1.375rem; }
.sector-card span { font-size: .8125rem; font-weight: 500; color: var(--primary); }

/* ==========================================
   CLIENTS CAROUSEL
   ========================================== */
.section-clients { background: var(--secondary); padding: 4rem 0 5rem; overflow: hidden; }
@media(min-width:1024px){ .section-clients { padding: 5rem 0 6rem; } }
.clients-header { text-align: center; margin-bottom: 2.5rem; }
.clients-header p { margin-top: 1rem; color: var(--muted); max-width: 42rem; margin-left: auto; margin-right: auto; }
.carousel-wrap { position: relative; }
.carousel-fade-left, .carousel-fade-right {
  position: absolute; top: 0; bottom: 0; width: 5rem; z-index: 2; pointer-events: none;
}
@media(min-width:1024px){ .carousel-fade-left, .carousel-fade-right { width: 8rem; } }
.carousel-fade-left { left: 0; background: linear-gradient(to right, var(--secondary), transparent); }
.carousel-fade-right { right: 0; background: linear-gradient(to left, var(--secondary), transparent); }
.carousel-track {
  display: flex; gap: 2rem; width: max-content;
  animation: logoScroll 60s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-item {
  flex-shrink: 0; width: 11rem; height: 5rem;
  background: #fff; border-radius: calc(var(--radius)*1.4);
  box-shadow: 0 1px 4px rgba(19,49,122,.06);
  display: flex; align-items: center; justify-content: center; padding: 1rem 1.25rem;
}
.carousel-item img {
  max-height: 3rem; width: auto; max-width: 100%;
  object-fit: contain; filter: grayscale(1); opacity: .75;
  transition: filter .3s, opacity .3s;
}
.carousel-item:hover img { filter: grayscale(0); opacity: 1; }

/* ==========================================
   CTA SECTION
   ========================================== */
.section-cta {
  position: relative; overflow: hidden; padding: 5rem 0;
  background: var(--primary);
}
.section-cta::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/cta-leaves.png') center/cover no-repeat;
  z-index: 0;
}
.section-cta::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(19,49,122,.85);
  z-index: 1;
}
.section-cta .container { position: relative; z-index: 2; }
@media(min-width:1024px){ .section-cta { padding: 7rem 0; } }
.cta-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
}
.cta-title { font-family: var(--font-head); font-size: clamp(1.75rem,3.5vw,2.75rem); font-weight: 800; color: #fff; max-width: 44rem; }
.cta-title span { color: var(--accent); }
.cta-desc { color: rgba(255,255,255,.8); font-size: clamp(.9rem,1.2vw,1.05rem); max-width: 38rem; line-height: 1.7; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: .5rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 2rem; border-radius: 9999px;
  background: #fff; color: var(--primary); font-size: .875rem; font-weight: 700;
  transition: background .2s, color .2s;
}
.btn-primary:hover { background: rgba(255,255,255,.9); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 2rem; border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,.5); color: #fff; font-size: .875rem; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-primary svg, .btn-outline svg { width: 1rem; height: 1rem; }

/* ==========================================
   PAGE HERO (interior pages)
   ========================================== */
.page-hero {
  position: relative; min-height: 72vh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--primary); padding-bottom: 3.5rem; padding-top: 8rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(19,49,122,.55), rgba(19,49,122,.8));
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-breadcrumb {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.6); margin-bottom: 1rem;
}
.page-hero-eyebrow { font-size: .8125rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.page-hero h1 { margin-top: .75rem; font-size: clamp(1.75rem,3.5vw,3rem); font-weight: 800; color: #fff; max-width: 44rem; }
.page-hero p { margin-top: 1rem; font-size: 1rem; color: rgba(255,255,255,.75); max-width: 36rem; line-height: 1.7; }

/* ==========================================
   NOSOTROS PAGE
   ========================================== */
.section-about { background: var(--background); padding: 5rem 0; }
@media(min-width:1024px){ .section-about { padding: 7rem 0; } }
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media(min-width:1024px){ .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-img { border-radius: calc(var(--radius)*2.2); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { margin-top: 1rem; line-height: 1.8; color: var(--muted); }
.mission-vision { background: var(--secondary); padding: 5rem 0; }
@media(min-width:1024px){ .mission-vision { padding: 6rem 0; } }
.mv-grid { display: grid; gap: 1.5rem; }
@media(min-width:768px){ .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { border-radius: calc(var(--radius)*2.2); padding: 2rem; }
@media(min-width:1024px){ .mv-card { padding: 2.5rem; } }
.mv-card.mission { background: var(--primary); color: #fff; }
.mv-card.vision { background: var(--teal); color: #fff; }
.mv-card svg { width: 2.5rem; height: 2.5rem; }
.mv-card h3 { margin-top: 1.25rem; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.mv-card p { margin-top: .75rem; line-height: 1.75; opacity: .85; }
.section-values { background: var(--background); padding: 5rem 0; }
@media(min-width:1024px){ .section-values { padding: 7rem 0; } }
.values-header { text-align: center; max-width: 42rem; margin: 0 auto; }
.values-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
@media(min-width:640px){ .values-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .values-grid { grid-template-columns: repeat(3,1fr); } }
.value-card {
  border-radius: calc(var(--radius)*1.8); border: 1px solid var(--border);
  background: var(--card); padding: 1.75rem; text-align: center;
}
.value-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%; margin: 0 auto;
  background: rgba(71,184,119,.1); display: flex; align-items: center; justify-content: center; color: var(--green);
}
.value-icon svg { width: 1.75rem; height: 1.75rem; }
.value-card h3 { margin-top: 1.25rem; font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--primary); }
.value-card p { margin-top: .5rem; font-size: .875rem; line-height: 1.7; color: var(--muted); }

/* ==========================================
   SERVICIOS PAGE
   ========================================== */
.section-services-full { background: var(--background); padding: 5rem 0; }
@media(min-width:1024px){ .section-services-full { padding: 7rem 0; } }
.services-full-grid { display: grid; gap: 2rem; }
@media(min-width:640px){ .services-full-grid { grid-template-columns: 1fr 1fr; } }
.service-full-card {
  border-radius: calc(var(--radius)*2.2); border: 1px solid var(--border);
  background: var(--card); padding: 2rem; transition: box-shadow .2s;
}
@media(min-width:1024px){ .service-full-card { padding: 2.5rem; } }
.service-full-card:hover { box-shadow: 0 8px 32px rgba(19,49,122,.1); }
.service-full-icon {
  width: 3.5rem; height: 3.5rem; border-radius: calc(var(--radius)*1.8);
  background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff;
}
.service-full-icon svg { width: 1.75rem; height: 1.75rem; }
.service-full-card h2 { margin-top: 1.5rem; font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; color: var(--primary); }
.service-full-card > p { margin-top: .75rem; line-height: 1.75; color: var(--muted); }
.service-points { margin-top: 1.5rem; display: grid; gap: .75rem; }
@media(min-width:640px){ .service-points { grid-template-columns: 1fr 1fr; } }
.service-point {
  display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: rgba(26,32,56,.8);
}
.service-point svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: .125rem; color: var(--green); }
.section-process { background: var(--secondary); padding: 5rem 0; }
@media(min-width:1024px){ .section-process { padding: 7rem 0; } }
.process-header { text-align: center; max-width: 42rem; margin: 0 auto; }
.process-grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; }
@media(min-width:640px){ .process-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .process-grid { grid-template-columns: repeat(4,1fr); } }
.process-card {
  border-radius: calc(var(--radius)*1.8); border: 1px solid var(--border);
  background: var(--card); padding: 1.75rem; position: relative;
}
.process-step {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  color: rgba(90,191,192,.3); line-height: 1;
}
.process-card h3 { margin-top: .75rem; font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--primary); }
.process-card p { margin-top: .5rem; font-size: .875rem; line-height: 1.7; color: var(--muted); }

/* ==========================================
   EQUIPO PAGE
   ========================================== */
.section-team { background: var(--background); padding: 5rem 0; }
@media(min-width:1024px){ .section-team { padding: 7rem 0; } }
.team-header { text-align: center; margin-bottom: 3rem; }
.team-grid { display: grid; gap: 2rem; }
@media(min-width:640px){ .team-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .team-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:1280px){ .team-grid { grid-template-columns: repeat(4,1fr); } }
.team-card {
  border-radius: calc(var(--radius)*2.2); border: 1px solid var(--border);
  background: var(--card); overflow: hidden; position: relative;
}
.team-card-img { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,49,122,.9) 0%, rgba(19,49,122,.5) 50%, transparent 100%);
  opacity: 0; transition: opacity .4s;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
}
.team-card:hover .team-card-overlay { opacity: 1; }
.team-card-bio { font-size: .8125rem; line-height: 1.6; color: rgba(255,255,255,.9); }
.team-card-career { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .25rem; }
.team-card-specialty { font-size: .6875rem; color: rgba(255,255,255,.75); margin-bottom: .75rem; }
.team-card-actions { margin-top: 1rem; display: flex; gap: .5rem; }
.team-card-action {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .2s;
}
.team-card-action:hover { background: rgba(255,255,255,.4); }
.team-card-action svg { width: 1rem; height: 1rem; }
.team-card-info { padding: 1.25rem; }
.team-card-info h2 { font-family: var(--font-head); font-size: .9375rem; font-weight: 600; color: var(--primary); }
.team-card-info p { margin-top: .125rem; font-size: .875rem; font-weight: 500; color: var(--accent); }
.section-join {
  background: #f0f4fa; padding: 5rem 0;
}
.join-box {
  border-radius: 1.5rem; background: #e8eef7;
  padding: 2.5rem; text-align: center; max-width: 72rem; margin: 0 auto;
}
@media(min-width:1024px){ .join-box { padding: 4rem 5rem; } }
.join-box h2 { font-family: var(--font-head); font-size: clamp(1.4rem,2.8vw,2rem); font-weight: 800; color: var(--primary); }
.join-box p { margin-top: .75rem; max-width: 36rem; margin-left: auto; margin-right: auto; color: #4a5568; line-height: 1.7; }
.join-box .btn-primary { margin-top: 1.5rem; background: var(--primary); color: #fff; }
.join-box .btn-primary:hover { background: #0d2560; }

/* ==========================================
   CONTACTO PAGE
   ========================================== */
.section-contact { background: var(--background); padding: 5rem 0; }
@media(min-width:1024px){ .section-contact { padding: 7rem 0; } }
.contact-grid { display: grid; gap: 3rem; }
@media(min-width:1024px){ .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }
.contact-info h2 { font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; color: var(--primary); }
.contact-info p { margin-top: .75rem; line-height: 1.75; color: var(--muted); }
.contact-items { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item-icon {
  width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 50%;
  background: rgba(0,154,208,.1); display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.contact-item-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-item-text { font-size: .9375rem; }
.contact-item-text a { color: var(--foreground); transition: color .2s; }
.contact-item-text a:hover { color: var(--accent); }
.contact-form-wrap {
  background: var(--secondary); border-radius: calc(var(--radius)*2.2);
  border: 1px solid var(--border); padding: 2rem;
}
@media(min-width:1024px){ .contact-form-wrap { padding: 2.5rem; } }
.contact-form-wrap h3 { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; }
.form-row { display: grid; gap: 1rem; }
@media(min-width:640px){ .form-row.two-col { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-group label { font-size: .8125rem; font-weight: 500; color: var(--foreground); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem 1rem; border-radius: calc(var(--radius)*1.4);
  border: 1px solid var(--border); background: #fff; font-family: var(--font-body);
  font-size: .9375rem; color: var(--foreground); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,154,208,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { margin-top: .5rem; width: 100%; justify-content: center; }
.form-success { display: none; margin-top: 1rem; padding: 1rem; border-radius: calc(var(--radius)*1.4); background: rgba(71,184,119,.1); color: var(--green); font-size: .875rem; text-align: center; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer { background: var(--primary); color: rgba(255,255,255,.8); }
.footer-main { padding: 2.5rem 0; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media(min-width:768px){ .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; } }
.footer-logo-wrap { display: inline-flex; border-radius: calc(var(--radius)*1.8); background: #fff; padding: .625rem; }
.footer-logo-wrap img { height: 2.25rem; width: auto; }
.footer-desc { margin-top: 1rem; font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.6); max-width: 18rem; }
.footer-social { margin-top: 1rem; display: flex; gap: .5rem; }
.footer-social a {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.footer-social svg { width: 1rem; height: 1rem; }
.footer-col h3 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-bottom: .75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.75); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li { display: flex; align-items: center; gap: .75rem; font-size: .875rem; color: rgba(255,255,255,.75); }
.footer-col ul li svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; color: var(--accent); }
.footer-col ul li a { color: rgba(255,255,255,.75); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 0;
  display: flex; flex-direction: column; gap: .75rem; align-items: center; text-align: center;
  font-size: .8125rem; color: rgba(255,255,255,.5);
}
@media(min-width:640px){ .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ==========================================
   SERVICIOS FULL PAGE
   ========================================== */
.section-services-full { padding: 5rem 0; }
.services-full-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media(min-width:768px){ .services-full-grid { grid-template-columns: 1fr 1fr; } }
.service-full-card {
  background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius)*2);
  padding: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem;
  transition: box-shadow .2s, border-color .2s;
}
.service-full-card:hover { box-shadow: 0 8px 30px rgba(19,49,122,.1); border-color: var(--accent); }
.service-full-icon {
  width: 3.5rem; height: 3.5rem; border-radius: calc(var(--radius)*1.5);
  background: var(--secondary); display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.service-full-icon svg { width: 1.75rem; height: 1.75rem; }
.service-full-card h2 { font-size: 1.5rem; color: var(--primary); }
.service-full-card > p { color: var(--muted); line-height: 1.75; }
.service-points { display: flex; flex-direction: column; gap: .875rem; margin-top: .5rem; }
.service-point {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9375rem; color: var(--foreground); line-height: 1.6;
}
.service-point svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; color: var(--green); margin-top: .15rem; }

/* ---- Process section ---- */
.section-process { padding: 5rem 0; background: var(--secondary); }
.process-header { text-align: center; margin-bottom: 3rem; }
.process-header .eyebrow { margin-bottom: .5rem; }
.process-header .section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.process-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media(min-width:640px){ .process-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-card {
  background: var(--card); border-radius: calc(var(--radius)*2); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: .75rem; position: relative;
  border: 1px solid var(--border);
}
.process-step {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 800;
  color: var(--accent); opacity: .2; line-height: 1;
}
.process-card h3 { font-size: 1.125rem; color: var(--primary); }
.process-card p { font-size: .9375rem; color: var(--muted); line-height: 1.7; }

/* ==========================================
   EQUIPO PAGE
   ========================================== */
.section-team { padding: 5rem 0; }
.team-grid {
  display: grid; gap: 1.75rem; grid-template-columns: 1fr;
}
@media(min-width:640px){ .team-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card.featured {
  grid-column: 1 / -1;
}
@media(min-width:1024px){
  .team-card.featured {
    grid-column: span 1;
  }
}
.team-card {
  background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius)*2);
  overflow: hidden; transition: box-shadow .25s, border-color .25s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(19,49,122,.12); border-color: var(--accent); }
.team-img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--secondary); }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-overlay {
  position: absolute; inset: 0; background: rgba(19,49,122,.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem; gap: 1rem; opacity: 0; transition: opacity .3s;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay p { color: rgba(255,255,255,.9); font-size: .9375rem; text-align: center; line-height: 1.6; }
.team-linkedin {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: #fff; padding: .5rem 1.25rem;
  border-radius: 2rem; font-size: .875rem; font-weight: 600;
  transition: background .2s;
}
.team-linkedin:hover { background: #2f7ab0; }
.team-linkedin svg { width: 1rem; height: 1rem; }
.team-info { padding: 1.25rem 1.5rem; }
.team-info h3 { font-size: 1.0625rem; color: var(--primary); margin-bottom: .25rem; }
.team-role { font-size: .9rem; color: var(--accent); font-weight: 500; }
.team-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .75rem; }
.team-tags span {
  font-size: .75rem; background: var(--secondary); color: var(--primary);
  border-radius: 2rem; padding: .25rem .75rem; font-weight: 500;
}

/* ==========================================
   CONTACTO PAGE
   ========================================== */
.section-contact { padding: 5rem 0; }
.contact-grid {
  display: grid; gap: 3rem; grid-template-columns: 1fr;
}
@media(min-width:1024px){ .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; } }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info .eyebrow { margin-bottom: -.5rem; }
.contact-info .section-title { font-size: clamp(1.375rem, 3vw, 1.875rem); margin-bottom: 0; }
.contact-info > p { color: var(--muted); line-height: 1.75; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon {
  width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: calc(var(--radius)*1.5);
  background: var(--secondary); display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.contact-item-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-item-label { font-size: .8125rem; color: var(--muted); margin-bottom: .125rem; }
.contact-item-value { font-size: .9375rem; color: var(--foreground); font-weight: 500; }
.contact-item-value a { color: var(--foreground); transition: color .2s; }
.contact-item-value a:hover { color: var(--accent); }
.contact-social { margin-top: .5rem; }
.contact-social p { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.contact-social-links { display: flex; gap: .75rem; }
.contact-social-links a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; font-weight: 500; color: var(--primary); padding: .5rem 1rem;
  border: 1px solid var(--border); border-radius: 2rem; transition: border-color .2s, color .2s;
}
.contact-social-links a:hover { border-color: var(--accent); color: var(--accent); }
.contact-social-links svg { width: 1rem; height: 1rem; }

.contact-form-wrap {
  background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius)*2);
  padding: 2.5rem;
}
.contact-form-wrap h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.125rem; }
.form-row { display: grid; gap: 1.125rem; grid-template-columns: 1fr; }
@media(min-width:640px){ .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group label { font-size: .875rem; font-weight: 500; color: var(--foreground); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .9375rem; color: var(--foreground);
  background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,154,208,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9ca3af; }
.form-group textarea { resize: vertical; min-height: 6.5rem; }
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  background: var(--primary); color: #fff; padding: .875rem 2rem;
  border-radius: 2rem; font-size: 1rem; font-weight: 600;
  font-family: var(--font-head); transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-submit:hover { background: #0e3260; transform: translateY(-1px); }
.btn-submit svg { width: 1.125rem; height: 1.125rem; }
.form-success {
  margin-top: 1.25rem; padding: 1.25rem; border-radius: calc(var(--radius)*1.4);
  background: rgba(71,184,119,.1); color: var(--green); display: flex;
  align-items: center; gap: .75rem;
}
.form-success svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.form-success p { font-size: .9375rem; font-weight: 500; }

/* ---- Page hero small variant ---- */
.page-hero-sm .page-hero-content { padding-top: 4rem; padding-bottom: 4rem; }

/* ==========================================
   UTILITIES
   ========================================== */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }



