@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

:root {
  --v: #6B5CE7;
  --v-light: #EAE8FC;
  --v-mid: #9B8FEF;
  --dark: #0F0F0F;
  --mid: #6A6A6A;
  --soft: #ADADAD;
  --line: #E8E8E8;
  --bg: #FFFFFF;
  --bg-off: #FAFAFA;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Jost', sans-serif; background: var(--bg); color: var(--dark); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-logo-wrap { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-wrap img { height: 38px; width: auto; }
.nav-wordmark { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 500; color: var(--dark); }
.nav-wordmark span { color: var(--v); font-style: italic; }
.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid); text-decoration: none;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--v); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.current::after { transform: scaleX(1); }
.nav-links a.current { color: var(--v); }
.lang-switch { display: flex; gap: 2px; background: var(--bg-off); border: 1px solid var(--line); border-radius: 24px; padding: 3px; }
.lang-btn { background: none; border: none; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; cursor: pointer; color: var(--soft); transition: all 0.2s; font-family: 'Jost', sans-serif; }
.lang-btn.on { background: var(--v); color: white; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--dark); }

/* ── UTIL ── */
.eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--v); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--v); }
.display-title { font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.08; color: var(--dark); }
.body-text { font-size: 15px; font-weight: 300; color: var(--mid); line-height: 1.85; }

/* ── HERO: full width, solo texto ── */
.hero {
  padding-top: 68px;
  padding: 130px 52px 72px;
  border-bottom: 1px solid var(--line);
}
.hero-title { font-size: clamp(3rem, 5.5vw, 5rem); margin-bottom: 24px; }
.hero-title em { color: var(--v); }
.hero-body { font-size: 16px; font-weight: 300; color: var(--mid); line-height: 1.85; max-width: 560px; margin-bottom: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.hero-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border: 0.5px solid var(--line); color: var(--soft); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--v); color: white; font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 28px; border: none; cursor: pointer; text-decoration: none; transition: all 0.3s;
}
.btn-primary:hover { background: #5649CC; }
.hero-stats {
  display: flex; gap: 0;
  border-top: 1px solid var(--line); margin-top: 52px; padding-top: 40px;
}
.hero-stat { padding: 0 48px 0 0; border-right: 1px solid var(--line); margin-right: 48px; }
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 500; color: var(--v); line-height: 1; }
.stat-label { font-size: 11px; color: var(--soft); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }

/* ── PHOTO BAND ── */
.photo-band {
  position: relative; height: 380px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.photo-band-bg {
  position: absolute; inset: 0;
  background-image: url('assets/foto-corporativa.jpg');
  background-size: cover;
  background-position: center;
}
/* swap this for a real photo: background-image: url('assets/foto-corporativa.jpg'); background-size: cover; background-position: center; */
.photo-band-overlay { position: absolute; inset: 0; background: rgba(10,8,28,0.62); }
.photo-band-grid {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255,255,255,1) 48px, rgba(255,255,255,1) 49px),
                    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255,255,255,1) 48px, rgba(255,255,255,1) 49px);
}
.photo-band-content { position: relative; z-index: 2; text-align: center; padding: 0 48px; max-width: 700px; }
.photo-quote {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; color: white;
  line-height: 1.5; margin-bottom: 20px;
}
.photo-attr { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── SERVICES ── */
.section { padding: 100px 52px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.services-title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.services-intro { font-size: 15px; font-weight: 300; color: var(--mid); line-height: 1.85; }
.services-list { display: flex; flex-direction: column; }
.svc-row {
  display: grid; grid-template-columns: 80px 1fr 1fr; gap: 40px;
  align-items: start; padding: 44px 0; border-top: 1px solid var(--line);
  transition: all 0.3s; position: relative;
}
.svc-row::before {
  content: ''; position: absolute; left: -52px; right: -52px; top: 0; bottom: 0;
  background: var(--v-light); opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.svc-row:hover::before { opacity: 1; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 400; color: var(--line); line-height: 1; transition: color 0.3s; position: relative; z-index: 1; }
.svc-row:hover .svc-num { color: var(--v-mid); }
.svc-info { position: relative; z-index: 1; }
.svc-name { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 500; color: var(--dark); margin-bottom: 10px; }
.svc-desc { font-size: 13.5px; color: var(--mid); line-height: 1.75; font-weight: 300; }
.svc-items { list-style: none; position: relative; z-index: 1; }
.svc-items li { font-size: 12.5px; color: var(--mid); padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 300; display: flex; align-items: center; gap: 10px; }
.svc-items li::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--v); flex-shrink: 0; }
.svc-items li:last-child { border-bottom: none; }

/* ── ABOUT DARK ── */
.about-bg { background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; }
.about-left { padding: 80px 52px; border-right: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; justify-content: space-between; }
.about-left .eyebrow { color: var(--v-mid); }
.about-left .eyebrow::before { background: var(--v-mid); }
.about-left .display-title { font-size: clamp(2rem, 3.5vw, 2.8rem); color: white; margin-bottom: 24px; }
.about-left .body-text { color: rgba(255,255,255,0.5); }
.about-mission { margin-top: 48px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.1); }
.mission-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--v-mid); margin-bottom: 12px; }
.mission-quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.15rem; font-weight: 400; color: rgba(255,255,255,0.8); line-height: 1.6; }
.about-right { padding: 80px 52px; }
.director-card { display: flex; flex-direction: column; gap: 28px; }
.director-top { display: flex; align-items: center; gap: 20px; }
.director-av { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--v), var(--v-mid)); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.3rem; color: white; font-weight: 500; flex-shrink: 0; }
.director-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: white; font-weight: 400; }
.director-role { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v-mid); margin-top: 3px; }
.director-bio { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.85; font-weight: 300; }
.career-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.cpill { font-size: 10px; padding: 4px 12px; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.35); }
.director-contacts { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.dci { font-size: 13px; color: rgba(255,255,255,0.45); display: flex; align-items: center; gap: 10px; }
.dci::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--v); flex-shrink: 0; }
.dci a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.dci a:hover { color: white; }

/* ── PARTNER ── */
.partner-section { padding: 100px 52px; background: var(--bg-off); }
.partner-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.partner-text .display-title { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 24px; }
.partner-text .body-text { margin-bottom: 16px; }
.partner-visual { background: white; border: 1px solid var(--line); padding: 52px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.partner-name { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 400; color: var(--dark); letter-spacing: -0.02em; }
.partner-divider { width: 36px; height: 1px; background: var(--v); }
.partner-tag { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }

/* ── CLIENTS ── */
.clients-section { padding: 100px 52px; }
.clients-inner { max-width: 1200px; margin: 0 auto; }
.clients-header { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.clients-title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.client-slot { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); height: 110px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.client-slot:nth-child(5n) { border-right: none; }
.client-slot:nth-last-child(-n+5) { border-bottom: none; }
.client-slot:hover { background: var(--v-light); }
.client-slot img { max-width: 80%; max-height: 50px; object-fit: contain; filter: grayscale(1); opacity: 0.5; transition: all 0.3s; }
.client-slot:hover img { filter: grayscale(0); opacity: 1; }
.slot-ph { width: 40px; height: 1px; background: var(--line); }

/* ── CONTACT ── */
.contact-section { padding: 100px 52px; border-top: 1px solid var(--line); }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-title { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 16px; }
.contact-subtitle { font-size: 15px; font-weight: 300; color: var(--mid); line-height: 1.8; margin-bottom: 48px; }
.contact-list { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; }
.ci-line { width: 1px; height: 36px; background: var(--v); flex-shrink: 0; margin-top: 3px; }
.ci-label { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--v); margin-bottom: 4px; }
.ci-val { font-size: 14px; color: var(--dark); }
.ci-val a { color: var(--dark); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color 0.2s; }
.ci-val a:hover { border-color: var(--v); }
.linkedin-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v); text-decoration: none; border-bottom: 1px solid var(--v-light); padding-bottom: 4px; transition: border-color 0.2s; }
.linkedin-link:hover { border-color: var(--v); }
.contact-address { background: var(--bg-off); padding: 44px; border-left: 3px solid var(--v); align-self: start; }
.addr-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--v); margin-bottom: 14px; }
.addr-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--dark); margin-bottom: 10px; }
.addr-street { font-size: 14px; color: var(--mid); line-height: 1.7; font-weight: 300; }

/* ── FOOTER ── */
footer { padding: 28px 52px; background: var(--dark); display: flex; align-items: center; justify-content: space-between; }
.footer-left { display: flex; align-items: center; gap: 20px; }
.footer-left img { height: 28px; opacity: 0.55; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-right { font-family: 'Playfair Display', serif; font-size: 11px; color: rgba(255,255,255,0.2); font-style: italic; }

/* ── PAGE HEADER ── */
.page-header { padding: 136px 52px 72px; border-bottom: 1px solid var(--line); }
.page-header-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.page-header-title { font-size: clamp(2.8rem, 5vw, 4.5rem); }

/* ── PHOTO BAND SLIM (páginas internas) ── */
.photo-band-slim { position: relative; height: 180px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.photo-band-slim .photo-band-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1035 0%, #2d1b69 50%, #1a1035 100%); }
.photo-band-slim .photo-band-overlay { position: absolute; inset: 0; background: rgba(10,8,28,0.65); }
.photo-band-slim .photo-band-grid { position: absolute; inset: 0; opacity: 0.05; background-image: repeating-linear-gradient(0deg,transparent,transparent 48px,rgba(255,255,255,1) 48px,rgba(255,255,255,1) 49px),repeating-linear-gradient(90deg,transparent,transparent 48px,rgba(255,255,255,1) 48px,rgba(255,255,255,1) 49px); }
.photo-band-slim-text { position: relative; z-index: 2; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .menu-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px; }
  .nav-links.open { display: flex; }
  .hero { padding: 100px 24px 56px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-stat { border-right: none; padding-right: 0; margin-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .photo-band { height: 280px; }
  .photo-band-content { padding: 0 24px; }
  .section { padding: 64px 24px; }
  .services-header, .clients-header, .partner-inner, .contact-inner, .page-header-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-row { grid-template-columns: 60px 1fr; }
  .svc-items { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-left, .about-right { padding: 48px 24px; }
  .partner-section, .clients-section, .contact-section { padding: 64px 24px; }
  .clients-grid { grid-template-columns: repeat(3,1fr); }
  .client-slot:nth-child(5n) { border-right: 1px solid var(--line); }
  .client-slot:nth-child(3n) { border-right: none; }
  .page-header { padding: 100px 24px 52px; }
  footer { flex-direction: column; gap: 12px; padding: 24px; text-align: center; }
}
