/*
 * ============================================================
 *  MUDANZAS CORDILLERA — CSS Personalizado para WordPress
 *  Pegar en: Apariencia > Personalizar > CSS adicional
 *  O en: functions.php del tema hijo via wp_enqueue_style
 * ============================================================
 */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── VARIABLES GLOBALES ── */
:root {
  --navy:    #0d1b2a;
  --navy2:   #152336;
  --blue:    #1a3a5c;
  --gold:    #c9a84c;
  --gold-lt: #e8c97a;
  --cream:   #f5f0e8;
  --white:   #ffffff;
  --gray:    #8a96a8;
  --light:   #eef2f7;
}

/* ── RESET GLOBAL ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── BODY / FONDO GLOBAL ── */
body {
  font-family: 'Jost', sans-serif !important;
  background: var(--navy) !important;
  color: var(--white) !important;
  overflow-x: hidden;
}

/* ── OCULTAR HEADER DE WORDPRESS (si usas header nativo) ── */
/* Comenta esta línea si quieres mantener el header del tema */
.site-header, header.entry-header { display: none !important; }

/* ── NAVBAR ── */
.mc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  background: rgba(13,27,42,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,.18);
  transition: padding .3s;
}
.mc-nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 600; letter-spacing: .06em;
  color: var(--white); text-decoration: none;
  transition: color .25s;
}
.mc-nav-logo span {
  color: var(--gold);
  transition: color .25s;
}
.mc-nav-logo:hover { color: var(--white); }
.mc-nav-logo:hover span { color: var(--gold); }
.mc-nav-links { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.mc-nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72); text-decoration: none;
  position: relative; padding-bottom: 3px;
  transition: color .25s;
}
.mc-nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .3s;
}
.mc-nav-links a:hover { color: var(--white); }
.mc-nav-links a:hover::after { width: 100%; }
.mc-nav-cta {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  padding: .62rem 1.5rem; border-radius: 2px; text-decoration: none;
  transition: background .25s, transform .2s;
}
.mc-nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ── HERO ── */
.mc-hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 7rem 5vw 4rem;
  position: relative;
  overflow: hidden;
}
.mc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(26,58,92,.55) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,168,76,.07) 0%, transparent 60%);
  pointer-events: none;
}
.mc-hero::after {
  content: '';
  position: absolute; top: 0; right: 38%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,.3) 30%, rgba(201,168,76,.15) 70%, transparent);
}
.mc-hero-content { position: relative; z-index: 1; padding-right: 6vw; }
.mc-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
}
.mc-hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.mc-hero h1 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem) !important;
  font-weight: 300 !important; line-height: 1.12 !important;
  color: var(--white) !important; margin-bottom: 1.6rem !important;
}
.mc-hero h1 em { font-style: italic; color: var(--gold-lt); }
.mc-hero-desc {
  font-size: .95rem; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,.65); max-width: 440px; margin-bottom: 2.4rem;
}
.mc-hero-badges { display: flex; gap: 1.2rem; margin-bottom: 2.8rem; flex-wrap: wrap; }
.mc-badge {
  display: flex; align-items: center; gap: .5rem;
  font-size: .75rem; letter-spacing: .08em; color: rgba(255,255,255,.72);
}
.mc-badge::before { content: '✦'; color: var(--gold); font-size: .6rem; }
.mc-hero-actions { display: flex; gap: 1.2rem; align-items: center; }
.mc-hero-image { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; }
.mc-hero-image img {
  max-width: 100%; max-height: 72vh;
  object-fit: contain; filter: drop-shadow(0 20px 60px rgba(0,0,0,.5));
  animation: mc-float 6s ease-in-out infinite;
}
@keyframes mc-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── BOTONES ── */
.mc-btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: linear-gradient(135deg, #c8c8c8, #e8e8e8, #a0a0a0);
  color: var(--navy) !important;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .9rem 2rem; border-radius: 2px; text-decoration: none !important;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 24px rgba(180,180,180,.25);
}
.mc-btn-primary:hover {
  background: linear-gradient(135deg, #dcdcdc, #f0f0f0, #b8b8b8);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,200,200,.35);
}
.mc-btn-ghost {
  font-size: .82rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6) !important; text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.mc-btn-ghost:hover { color: var(--white) !important; border-color: var(--white); }

/* ── DIVISOR ── */
.mc-divider {
  display: flex; align-items: center; gap: 1rem;
  padding: 0 5vw; margin: .5rem 0;
}
.mc-divider-line { flex: 1; height: 1px; background: rgba(201,168,76,.18); }
.mc-divider-icon { color: var(--gold); font-size: .9rem; }

/* ── SECCIONES COMUNES ── */
.mc-section { padding: 6rem 5vw; }
.mc-section-label {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.mc-section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.mc-section-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(2rem, 3.5vw, 3.2rem) !important;
  font-weight: 300 !important; line-height: 1.15 !important;
  color: var(--white) !important;
}
.mc-section-title em { font-style: italic; color: var(--gold-lt); }

/* ── ESTADÍSTICAS ── */
.mc-stats-band {
  background: var(--blue);
  border-top: 1px solid rgba(201,168,76,.18);
  border-bottom: 1px solid rgba(201,168,76,.18);
  padding: 3rem 5vw;
  display: flex; justify-content: space-around; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.mc-stat-item { text-align: center; }
.mc-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: var(--gold); line-height: 1;
}
.mc-stat-label {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: .4rem;
}

/* ── PLANES ── */
.mc-plans-section { background: var(--navy2); padding: 6rem 5vw; }
.mc-plans-header { text-align: center; margin-bottom: 3.5rem; }
.mc-plans-subtitle {
  font-size: .92rem; color: rgba(255,255,255,.55); margin-top: 1rem;
  max-width: 540px; margin-inline: auto; line-height: 1.7;
}
.mc-plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; }
.mc-plan-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.12);
  padding: 3rem 2.4rem;
  position: relative;
  transition: background .3s, border-color .3s, transform .3s;
  cursor: default;
}
.mc-plan-card:hover {
  background: rgba(201,168,76,.05);
  border-color: rgba(201,168,76,.35);
  transform: translateY(-4px);
  z-index: 2;
}
.mc-plan-card.featured {
  background: rgba(201,168,76,.08);
  border-color: rgba(201,168,76,.4);
}
/* Badge 'Más Popular' eliminado */
.mc-plan-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300;
  color: rgba(201,168,76,.2); line-height: 1; margin-bottom: 1.2rem;
}
.mc-plan-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem; font-weight: 600;
  color: var(--white); margin-bottom: .75rem;
}
.mc-plan-desc {
  font-size: .87rem; line-height: 1.75;
  color: rgba(255,255,255,.58); margin-bottom: 2rem;
}
.mc-plan-features { list-style: none; display: flex; flex-direction: column; gap: .6rem; padding: 0; margin: 0; }
.mc-plan-features li {
  font-size: .82rem; color: rgba(255,255,255,.7);
  display: flex; align-items: flex-start; gap: .65rem;
}
.mc-plan-features li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ── CORPORATIVO ── */
.mc-corporate-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5vw; align-items: center;
  background: var(--navy); padding: 6rem 5vw;
}
.mc-corporate-image img {
  width: 100%; height: 540px; object-fit: cover;
  filter: grayscale(20%) brightness(.9);
  border: 1px solid rgba(201,168,76,.15);
}
.mc-corp-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-top: 2rem; padding: 0; }
.mc-corp-list li {
  font-size: .88rem; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: .75rem; line-height: 1.6;
}
.mc-corp-list li::before { content: ''; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* ── GALERÍA ── */
.mc-gallery-section { background: var(--navy2); padding: 6rem 5vw; }
.mc-gallery-header { margin-bottom: 2.5rem; }
.mc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: auto auto;
  gap: 6px;
}
.mc-gallery-item {
  overflow: hidden; position: relative; background: var(--navy);
}
.mc-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.mc-gallery-item img {
  width: 100%; height: 100%; min-height: 200px;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  filter: grayscale(15%) brightness(.85);
  display: block;
}
.mc-gallery-item:hover img { transform: scale(1.05); filter: grayscale(0%) brightness(1); }
.mc-gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.5), transparent);
  pointer-events: none;
}
/* Ícono lupa al hacer hover */
.mc-gallery-item a::after {
  content: '⊕';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2.5rem; color: white;
  opacity: 0; z-index: 3;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.mc-gallery-item:hover a::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ── TESTIMONIOS ── */
.mc-testimonials-section { background: var(--navy); padding: 6rem 5vw; }
.mc-testimonials-header { text-align: center; margin-bottom: 3.5rem; }
.mc-testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.mc-testimonial-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  padding: 2.4rem 2rem;
  position: relative;
  transition: border-color .3s;
}
.mc-testimonial-card:hover { border-color: rgba(201,168,76,.3); }
.mc-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 300;
  color: rgba(201,168,76,.25); line-height: .8; margin-bottom: 1.2rem;
}
.mc-testimonial-text {
  font-size: .9rem; line-height: 1.8;
  color: rgba(255,255,255,.72); font-style: italic; margin-bottom: 1.8rem;
}
.mc-testimonial-footer { display: flex; align-items: center; gap: .85rem; }
.mc-testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(201,168,76,.4);
}
.mc-testimonial-name { font-weight: 600; font-size: .88rem; color: var(--white); }
.mc-testimonial-role { font-size: .77rem; color: var(--gray); }

/* ── FOOTER ── */
.mc-footer {
  background: #070f18;
  border-top: 1px solid rgba(201,168,76,.15);
  padding: 4rem 5vw 2rem;
}
.mc-footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4vw; margin-bottom: 3rem;
}
.mc-footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; color: var(--white); margin-bottom: .75rem;
}
.mc-footer-brand-name span { color: var(--gold); }
.mc-footer-desc { font-size: .85rem; line-height: 1.75; color: rgba(255,255,255,.45); max-width: 300px; }
.mc-footer-contact { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.4rem; }
.mc-footer-contact a {
  font-size: .83rem; color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .2s;
}
.mc-footer-contact a:hover { color: var(--gold); }
.mc-footer-col-title {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.mc-footer-links { list-style: none; display: flex; flex-direction: column; gap: .65rem; padding: 0; margin: 0; }
.mc-footer-links a {
  font-size: .84rem; color: rgba(255,255,255,.5); text-decoration: none;
  transition: color .2s;
}
.mc-footer-links a:hover { color: var(--white); }
.mc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.6rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.mc-footer-copy { font-size: .76rem; color: rgba(255,255,255,.3); }
.mc-footer-social { display: flex; gap: 1rem; }
.mc-footer-social a {
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s;
}
.mc-footer-social a:hover { color: var(--gold); }

/* Botón WhatsApp flotante eliminado — se usa Joinchat */

/* ── GLIGHTBOX z-index override ── */
.glightbox-open { overflow: hidden; }
.glightbox-container { z-index: 9999 !important; }
.goverlay { z-index: 9998 !important; background: rgba(0,0,0,.92) !important; }

/* ── ANIMACIONES ── */
@keyframes mc-fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mc-fade-up { animation: mc-fadeUp .8s ease both; }
.mc-delay-1 { animation-delay: .15s; }
.mc-delay-2 { animation-delay: .3s; }
.mc-delay-3 { animation-delay: .45s; }
.mc-delay-4 { animation-delay: .6s; }

/* ── HAMBURGUESA ── */
.mc-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  cursor: pointer; background: none; border: none; padding: 4px;
  z-index: 1002;
}
.mc-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform .35s ease, opacity .25s ease, width .25s ease;
  transform-origin: center;
}
.mc-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mc-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.mc-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menú móvil desplegable */
.mc-nav-mobile {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1001;
  background: rgba(13,27,42,.97);
  backdrop-filter: blur(20px);
  flex-direction: column; justify-content: center; align-items: center;
  gap: 2.5rem;
  opacity: 0; pointer-events: none;
  display: flex;
  transition: opacity .35s ease;
}
.mc-nav-mobile.open {
  opacity: 1; pointer-events: all;
}
.mc-nav-mobile a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300;
  color: rgba(255,255,255,.7); text-decoration: none;
  letter-spacing: .06em;
  transform: translateY(20px);
  opacity: 0;
  transition: color .25s, transform .4s ease, opacity .4s ease;
}
.mc-nav-mobile.open a { transform: translateY(0); opacity: 1; }
.mc-nav-mobile.open a:nth-child(1) { transition-delay: .05s; }
.mc-nav-mobile.open a:nth-child(2) { transition-delay: .10s; }
.mc-nav-mobile.open a:nth-child(3) { transition-delay: .15s; }
.mc-nav-mobile.open a:nth-child(4) { transition-delay: .20s; }
.mc-nav-mobile.open a:nth-child(5) { transition-delay: .25s; }
.mc-nav-mobile a:hover { color: var(--gold); }
.mc-nav-mobile a.mc-mobile-cta {
  font-family: 'Jost', sans-serif;
  font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy) !important; background: var(--gold);
  padding: .75rem 2.2rem; border-radius: 2px; margin-top: 1rem;
  transition: background .25s !important; transform: translateY(20px);
}
.mc-nav-mobile.open a.mc-mobile-cta { transition-delay: .30s; }
.mc-nav-mobile a.mc-mobile-cta:hover { background: var(--gold-lt); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .mc-hero { grid-template-columns: 1fr; text-align: center; }
  .mc-hero h1 { font-size: 2.8rem !important; }
  .mc-hero-desc { max-width: 100%; }
  .mc-hero-badges { justify-content: center; }
  .mc-hero-actions { justify-content: center; }
  .mc-hero-image { display: none; }
  .mc-plans-grid { grid-template-columns: 1fr; }
  .mc-corporate-section { grid-template-columns: 1fr; }
  .mc-corporate-image { display: none; }
  .mc-testimonials-grid { grid-template-columns: 1fr; }
  .mc-gallery-grid { grid-template-columns: 1fr 1fr; }
  .mc-gallery-item:first-child { grid-column: span 2; }
  .mc-footer-top { grid-template-columns: 1fr 1fr; }
  .mc-nav-links { display: none; }
  .mc-nav-cta { display: none; }
  .mc-hamburger { display: flex; }
}
