/*
Theme Name:   Las Cartas de Marie
Theme URI:    https://www.lascartasdemaire.com
Description:  Tema hijo para Las Cartas de Marie. Parent theme: Kadence.
Author:       Las Cartas de Marie
Template:     kadence
Version:      1.0.0
Text Domain:  lascartasdemaire
*/

/* ============================================================
   DESIGN SYSTEM — extraído de eventos.lascartasdemaire.com
   Fuente de verdad: /landings/eventos.html
   ============================================================ */

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

/* ── TOKENS DE COLOR ── */
:root {
  --cream:       #F5F2F8;
  --bone:        #EAE4F0;
  --lila:        #C7B0D5;
  --lila-light:  #D9C8E8;
  --purple-dark: #4A2D7A;
  --mid:         #4A4558;
  --muted:       #8C8499;
  --white:       #FDFCFF;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Montserrat', system-ui, sans-serif;
}

/* ── RESET Y BASE ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  background: var(--white);
  color: var(--purple-dark);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TIPOGRAFÍA GLOBAL ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--purple-dark);
}
h1 { font-size: clamp(2.2rem, 3.2vw, 3rem); }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
h1 strong, h2 strong { font-weight: 600; color: var(--lila); }
p { font-size: 14px; line-height: 1.9; color: var(--mid); font-weight: 300; }
a { color: var(--mid); transition: color 0.2s; }
a:hover { color: var(--lila); }

/* ── NAV ── */
.site-header,
header.site-header {
  position: sticky !important;
  top: 0;
  z-index: 100;
  background: rgba(253,252,255,0.96) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid rgba(199,176,213,0.3);
  height: 64px;
}

/* Logo texto */
.site-title,
.site-branding .site-title a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--mid) !important;
  text-transform: uppercase;
  text-decoration: none;
}

/* Links de nav */
.main-navigation a,
.primary-menu a,
.nav-primary a {
  font-size: 12px;
  font-weight: 400;
  color: var(--mid) !important;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
}
.main-navigation a:hover,
.primary-menu a:hover { color: var(--lila) !important; }

/* Botón CTA en nav */
.nav-cta,
.header-cta-btn,
a.nav-cta {
  background: var(--purple-dark) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  transition: background 0.2s !important;
  white-space: nowrap;
  text-decoration: none !important;
}
.nav-cta:hover,
a.nav-cta:hover { background: var(--lila) !important; }

/* ── BOTONES ── */
.btn-primary,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  background: var(--lila);
  color: var(--purple-dark);
  padding: 15px 32px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover,
.wp-block-button__link:hover { background: var(--lila-light); transform: translateY(-1px); }

.btn-lila {
  background: var(--lila);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-lila:hover { background: var(--lila-light); color: var(--purple-dark); }

.btn-ghost {
  color: var(--mid);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--lila); }
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-outline {
  border: 0.5px solid var(--purple-dark);
  color: var(--purple-dark);
  padding: 12px 28px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--purple-dark); color: var(--white); }

/* ── PATRÓN EYEBROW ── */
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lila);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--lila);
  flex-shrink: 0;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 0.5px solid rgba(199,176,213,0.25);
  padding: 2.5rem;
  border-radius: 6px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--lila);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(74,45,122,0.07);
}

/* Cards de testimonios */
.testi-card {
  background: var(--cream);
  border: 0.5px solid var(--bone);
  padding: 2rem;
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testi-card:hover {
  border-color: rgba(199,176,213,0.5);
  box-shadow: 0 6px 20px rgba(74,45,122,0.05);
}
.testi-stars {
  color: var(--lila);
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}
.testi-text {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--purple-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testi-author { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.testi-author strong { color: var(--mid); font-weight: 500; }

/* ── DIVISORES Y SEPARADORES ── */
hr,
.section-divider {
  border: none;
  border-top: 0.5px solid var(--bone);
  margin: 2rem 0;
}

/* ── SECCIONES ── */
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark  { background: var(--purple-dark); }

.site-main section,
.page-content section,
.entry-content section {
  padding: 6rem 5rem;
}

/* ── LOGOS BAR ── */
.logos-bar {
  background: var(--white);
  padding: 2.5rem 5rem;
  border-bottom: 0.5px solid var(--bone);
}
.logos-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.5rem;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.logo-text {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  opacity: 0.65;
  text-transform: uppercase;
}

/* ── SECCIÓN HERO ── */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 5rem;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lila);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 0.5px;
  background: var(--lila);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--purple-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title strong { font-weight: 600; color: var(--lila); }
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  max-width: 420px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-social-proof {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(199,176,213,0.3);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.proof-num {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--lila);
  display: block;
  letter-spacing: -0.02em;
}
.proof-label { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-top: 2px; }
.hero-image { position: relative; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 18%);
}

/* Badge testimonial en hero */
.hero-badge {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  background: rgba(253,252,255,0.96);
  border: 0.5px solid rgba(199,176,213,0.45);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  max-width: 250px;
}
.hero-badge-stars { color: var(--lila); font-size: 13px; letter-spacing: 2px; margin-bottom: 6px; }
.hero-badge-text {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.55;
  color: var(--mid);
  font-style: italic;
}
.hero-badge-source {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 5px;
  text-transform: uppercase;
}

/* ── GRIDS DE SERVICIOS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.condiciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── CTA FINAL OSCURO ── */
.cta-final {
  background: var(--purple-dark);
  padding: 8rem 5rem;
  text-align: center;
}
.cta-final .eyebrow { justify-content: center; color: var(--lila-light); }
.cta-final .eyebrow::before { background: var(--lila-light); }
.cta-final h2 { color: var(--white); text-align: center; }
.cta-final h2 strong { color: var(--lila-light); }
.cta-final > p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin: 1.5rem auto 2.5rem;
  max-width: 480px;
  line-height: 1.85;
  font-weight: 300;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--purple-dark) !important;
  padding: 5rem 5rem 4rem !important;
  text-align: center;
  border-top: 0.5px solid rgba(199,176,213,0.12);
}
.site-footer .footer-tagline {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}
.site-footer a {
  font-size: 12px;
  color: rgba(255,255,255,0.4) !important;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-footer a:hover { color: var(--lila-light) !important; }
.footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 2rem;
  letter-spacing: 0.04em;
}

/* ── CALLOUT / QUOTE ── */
.callout-quote {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.8;
  color: var(--mid);
  padding: 1.25rem 1.5rem;
  background: rgba(199,176,213,0.12);
  border-left: 2px solid var(--lila);
  border-radius: 0 4px 4px 0;
  max-width: 620px;
}

/* ── NÚMEROS DECORATIVOS ── */
.num-display {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 200;
  color: var(--lila);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ── SOCIAL PROOF / PRECIO ── */
.price-display {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
  color: var(--purple-dark);
  letter-spacing: -0.02em;
}
.price-display span { font-size: 11px; font-weight: 400; color: var(--muted); }

/* ── PRENSA ── */
.prensa-medios {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  color: var(--lila);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

/* ── FORMULARIOS (Amelia / WooCommerce) ── */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border: 0.5px solid var(--bone) !important;
  border-radius: 2px !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  color: var(--mid) !important;
  padding: 12px 16px !important;
  background: var(--white) !important;
  transition: border-color 0.2s !important;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: var(--lila) !important;
  box-shadow: 0 0 0 3px rgba(199,176,213,0.15) !important;
}

/* ── ANIMACIONES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fade-up { animation: fadeUp 0.9s ease both; }
.anim-fade-in { animation: fadeIn 1.2s ease both 0.3s; }

/* ── RESPONSIVE — MOBILE ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 65vw; min-height: 260px; order: -1; }
  .hero-image-overlay { background: linear-gradient(to bottom, transparent 55%, var(--cream) 100%); }
  .hero-content { padding: 2rem 1.5rem 3.5rem; }
  .hero-badge { display: none; }
  .hero-social-proof { gap: 1.5rem; }

  .logos-bar { padding: 2rem 1.5rem; }
  .logos-row { gap: 1.25rem; }

  .site-main section,
  .page-content section { padding: 4rem 1.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; gap: 1rem; }
  .condiciones-grid { grid-template-columns: 1fr; gap: 1rem; }

  .cta-final { padding: 5rem 1.5rem; }

  .site-footer { padding: 4rem 1.5rem 3rem !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── ACCESIBILIDAD ── */
:focus-visible {
  outline: 2px solid var(--lila);
  outline-offset: 3px;
}
