/* ══════════════════════════════════════
   NEO PHARMA — styles.css
   ══════════════════════════════════════ */

/* ── CSS VARIABLES ─────────────────────────────── */
:root {
  --beige:       #EFE9D9;
  --beige-dark:  #E4DCC8;
  --beige-light: #F7F3EA;
  --offwhite:    #FCF9F4;
  --red:         #CB1D11;
  --red-dark:    #A51509;
  --dark:        #1a1715;
  --charcoal:    #3a3330;
  --muted:       #7a6a65;
  --border:      #D4C9B8;
}

/* ── RESET & BASE ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Merriweather', Georgia, serif;
  background: #EFE9D9;   
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ── NAVBAR ────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--offwhite);                    /* ← siempre visible */
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: var(--offwhite);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* ← cambia space-between por flex-start */
  height: 80px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px;
  transition: height 0.3s ease;
  gap: 60px;
}

.nav-logo {
  flex-shrink: 0;   /* ← evita que el logo se achique */
}
#navbar.scrolled .nav-inner { height: 64px; }

.nav-logo img {
  
  height: 52px;
  width: auto;
 
  transition:opacity 0.3s ease;;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-left: auto;   /* ← empuja los links hacia la derecha */
}

.nav-links a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);           /* ← blanco siempre sobre el video */
  white-space: nowrap;      /* ← evita que se corten en dos líneas */
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

#navbar.scrolled .nav-links a { color: var(--charcoal); }
.nav-links a:hover { color: var(--red); }
#navbar.scrolled .nav-links a:hover { color: var(--red); }

.btn-translate {
  background: var(--red);
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-translate:hover { background: var(--red-dark); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);   
  transition: color 0.3s;
}

#navbar.scrolled .mobile-menu-btn { color: var(--charcoal); }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 28px;
}

@media (max-width: 768px) {
  .nav-links, .btn-translate { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-inner { padding: 0 16px; }
}

/* ── MOBILE DRAWER ─────────────────────────────── */
#mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--offwhite);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

#mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.drawer-logo img { height: 40px; }

.drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-links a {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}

.drawer-links a:hover {
  color: var(--red);
  padding-left: 8px;
}

.drawer-translate {
  margin-top: auto;
  width: 100%;
  background: var(--red);
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px;
  border: none;
  cursor: pointer;
}

/* ── HERO ──────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-bottom: none;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.25) 60%,
    rgba(0,0,0,0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 32px;
}

.hero-quote {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-wave {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
  
}
#hero, section#hero {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.hero-wave .wave-fill { fill: #EFE9D9; }

/* ── SECTION SHARED ────────────────────────────── */
section { padding: 80px 0; }

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: var(--red);
}

.section-title p {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ── ABOUT US OVERLAY ──────────────────────────── */
#about-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 140;
  background: #EFE9D9;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 140; 
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  font-family: 'Merriweather', Georgia, serif;
}

#about-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.about-overlay-inner {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  flex: 1;
}

@media (max-width: 768px) {
  .about-overlay-inner { padding: 80px 16px 48px; }
}

.about-close {
  position: fixed;
  top: 90px; right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  transition: color 0.2s;
  z-index: 91;
}

.about-close:hover { color: var(--red); }

.about-overlay-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-overlay-content { grid-template-columns: 1fr; gap: 40px; }
}

.about-eyebrow {
  font-family: 'Merriweather', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
  text-align: center;
}

.about-redline {
  width: 60%;
  height: 2px;
  background: var(--red);
  margin: 0 auto 40px;     /* ← centrada */
}

.about-lead {
  font-family: 'Merriweather', serif;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-body {
  font-family: 'Merriweather', serif;
  font-size: 13px;
  line-height: 1.95;
  color: var(--charcoal);
  margin-bottom: 13px;
}

.values-grid-ov {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.value-card-ov--wide {
  grid-column: 1 / -1;
}

@media (max-width: 480px) {
  .values-grid-ov { grid-template-columns: 1fr; }
  .value-card-ov--wide { grid-column: auto; }
}

.value-card-ov {
  background: var(--offwhite);
  border: 1px solid var(--border);
  padding: 22px 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.value-card-ov:hover {
  border-color: var(--red);
  box-shadow: 0 6px 24px rgba(203,29,17,0.08);
}

.value-bar-ov {
  width: 32px;
  height: 3px;
  background: var(--red);
  margin-bottom: 14px;
}

.value-card-ov h4 {
  font-family: 'Merriweather', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.value-card-ov p {
  font-family: 'Merriweather', serif;
  font-size: 12px;
  line-height: 1.8;
  color: var(--charcoal);
}

.about-cta-ov {
  text-align: center;
  margin-top: 8px;
}

.btn-meet-ov {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 44px;
  transition: background 0.2s;
  cursor: pointer;
}

.btn-meet-ov:hover { background: var(--red-dark); }

#investment {
  background: #EFE9D9;
  border: none;
  outline: none;
}

.investment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .investment-grid { grid-template-columns: 1fr; }
}

.inv-card {
  background: transparent;
  border: 1px solid var(--border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 280px;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.inv-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(203,29,17,0.10);
}

.inv-card-logo {
  background: transparent;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.inv-card-logo img {
  max-height: 80px;
  max-width: 160px;
  object-fit: contain;
}

.inv-logo-placeholder {
  font-size: 22px;
  font-weight: 900;
  color: var(--charcoal);
  font-style: italic;
}

.inv-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.inv-card p {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── FLIP CARDS ────────────────────────────────── */
#how { background: var(--offwhite); }

.flip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .flip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .flip-grid { grid-template-columns: 1fr; }
}

.flip-wrap {
  perspective: 1000px;
  height: 300px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

.flip-wrap:hover .flip-inner { transform: rotateY(180deg); }

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border: 1px solid var(--red);
}

.flip-front {
  background: var(--beige-light);
  text-align: center;
}

.flip-back {
  background: var(--beige-light);
  color: var(--dark);
  transform: rotateY(180deg);
  text-align: center;
  align-items: center;
  justify-content: center;
}

.flip-front .card-icon {
  font-size: 48px;
  color: var(--red);
  margin-bottom: 16px;
}

.flip-front h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.4;
  margin-bottom: 20px;
}

.flip-front .learn-more {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.flip-back .what-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.flip-back ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flip-back ul li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--beige);
}

.flip-back ul li::before {
  content: '• ';
  color: var(--red);
}

/* ── PARTNERS ──────────────────────────────────── */
#partners {
  background: #EFE9D9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 80px;
  padding-bottom: 100px;
}

#partners.section-override {
  padding: 80px 0 100px;
}

.partners-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 240px;
  padding-bottom: 40px;
}

.partner-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--red);
  padding: 3px;
  margin-bottom: 24px;
  background: var(--offwhite);
}

.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.partner-card .role {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: 'Merriweather', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-learn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── FOOTER ────────────────────────────────────── */
footer { background: #4a4540;  color: var(--beige); }

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand img {
  height: 36px;
  filter: none;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(203,29,17,0.85);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  background: var(--red-dark);
  padding: 14px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ── REVEAL ANIMATIONS ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ── HERO ENTRANCE ANIMATION ───────────────────── */
.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}

.hero-eyebrow  { animation-delay: 0.3s; }
.hero-divider  { animation-delay: 0.55s; }
.hero-quote    { animation-delay: 0.75s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.flip-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--dark);
  text-align: center;
}
#hero {
  margin-bottom: 0;
}

#investment {
  background: #EFE9D9;
  border: none;
  outline: none;
  margin-top: 0;
  padding-top: 0;
}

section {
  padding: 80px 0;
  margin: 0;
}
/* ABOUT US — título grande */
.about-overlay-content > div:first-child h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;        /* ← más fino: de 900 a 700 */
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  text-align: center;      /* ← centrado */
}
/* ══════════════════════════════════════
   SHARED OVERLAY BASE
   ══════════════════════════════════════ */
#investment-overlay,
#partners-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #EFE9D9;
  z-index: 140;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#investment-overlay.open,
#partners-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.ov-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 48px 80px;
}

@media (max-width: 768px) {
  .ov-inner { padding: 40px 16px 60px; }
}

.ov-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.ov-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.ov-h2-italic { font-style: italic; }

.ov-redline {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 28px;
}

.ov-lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.ov-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.ov-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 8px;
}

/* ── INVESTMENT OVERLAY CARDS ──────────────────── */
.inv-ov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .inv-ov-grid { grid-template-columns: 1fr; }
}

.inv-ov-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 240px;
  justify-content: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.inv-ov-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(203,29,17,0.10);
}

.inv-ov-card--active { border-color: var(--red); }

.inv-ov-logo {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.inv-ov-logo img {
  max-height: 75px;
  max-width: 150px;
  object-fit: contain;
}

.inv-ov-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.inv-ov-card p {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── PARTNERS OVERLAY & GRID AJUSTADO ──────────────────────────── */
.partners-ov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 40px; /* Espacio superior para que las fotos no se corten */
}

@media (max-width: 768px) {
  .partners-ov-grid { 
    grid-template-columns: 1fr; 
    gap: 80px; 
  }
}

.partner-ov-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Contenedor de la foto circular */
.partner-ov-photo {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--red);
  padding: 4px;
  background: var(--offwhite);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-bottom: -120px;
}

.partner-ov-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-ov-info {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 140px 32px 40px;
  text-align: center;
  width: 100%;
}

/* Efecto hover interactivo opcional (mantiene la estética corporativa) */
.partner-ov-card:hover .partner-ov-info {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(203, 29, 17, 0.06);
  border-color: var(--red);
}

.partner-ov-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: 'Merriweather', serif;
}

.partner-ov-role {
  font-weight: 400;
  font-style: normal;
  color: var(--charcoal);
  font-size: 14px;
}


.partner-ov-info p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--charcoal);
  font-family: 'Merriweather', serif;
}

/* ── SERVICES OVERLAY ──────────────────────────── */
#services-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #EFE9D9;
  z-index: 140;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#services-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
/* ── CONTACT OVERLAY ───────────────────────────── */
#contact-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #EFE9D9;
  z-index: 140;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#contact-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.contact-ov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 100vh;
  padding: 120px 48px 60px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-ov-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 16px; }
}

.contact-ov-title {
  font-family: 'Merriweather', serif;
  font-size: 40px;
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  margin-bottom: 16px;
}

.contact-ov-desc {
  font-family: 'Merriweather', serif;
  font-size: 14px;
  line-height: 1.9;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.contact-ov-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Merriweather', serif;
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.contact-ov-item .material-symbols-outlined {
  color: var(--red);
  font-size: 22px;
}

.contact-ov-item a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-ov-item a:hover { color: var(--red); }

.contact-ov-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  background: var(--red);
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-ov-btn:hover { background: var(--red-dark); }

.contact-form-card {
  background: var(--offwhite);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.contact-input {
  font-family: 'Merriweather', serif;
  font-size: 14px;
  color: var(--dark);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 4px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.contact-input:focus { border-bottom-color: var(--red); }

.contact-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-family: 'Merriweather', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.contact-submit:hover { background: var(--red-dark); }

/* Proteger iconos de Google Translate */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 28px;
}

.notranslate {
  -webkit-transform: translateZ(0);
}

@media (max-width: 768px) {
  .about-overlay-inner,
  .ov-inner {
    padding-top: 100px;
  }
  
  .about-overlay-inner h2,
  .ov-header h2 {
    font-size: 28px;
  }
}
/* ── LANGUAGE DROPDOWN ─────────────────────────── */
.lang-dropdown {
  position: relative;
  font-family: 'Merriweather', Georgia, serif;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 9px 16px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.lang-trigger:hover { background: #a01510; }

.lang-arrow {
  font-size: 18px !important;
  transition: transform 0.25s;
}
.lang-dropdown.is-open .lang-arrow { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #e0d9cc;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 160px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lang-menu--up {
  top: auto;
  bottom: calc(100% + 6px);
  transform: translateY(8px);
}
.lang-dropdown.is-open .lang-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 0.82rem;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.15s;
}
.lang-item:hover { background: #f5f0e8; }
.lang-item--active { font-weight: 700; color: var(--red); }

.lang-flag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.lang-flag img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  display: block;
}

/* Drawer variant */
.lang-dropdown--drawer {
  margin: 12px 24px 0;
}
.lang-dropdown--drawer .lang-trigger {
  width: 100%;
  justify-content: space-between;
}
.lang-dropdown--drawer .lang-menu {
  left: 0; right: 0;
  min-width: unset;
}

/* Footer variant */
.lang-dropdown--footer .lang-trigger {
  background: transparent;
  color: #ccc;
  padding: 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.lang-dropdown--footer .lang-trigger:hover { background: transparent; color: #fff; }
.lang-dropdown--footer .lang-menu {
  bottom: calc(100% + 6px);
  top: auto;
  transform: translateY(8px);
}
.lang-dropdown--footer.is-open .lang-menu {
  transform: translateY(0);
}

/* ── FIX GOOGLE TRANSLATE RTL INVERSION ─────────── */
.lang-trigger,
.lang-menu,
.lang-item,
.lang-flag,
.lang-label,
.lang-arrow {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* ── OCULTAR BARRA GOOGLE TRANSLATE ─────────────── */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0 !important;
  position: static !important;
}
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}