/* =========================================================================
   Eventos Manríquez — Hoja de estilos
   Paleta tomada del logotipo: navy, magenta y dorado.
   ========================================================================= */
:root {
  --navy: #16233f;
  --navy-700: #1f3358;
  --navy-900: #0e1830;
  --magenta: #d6336c;
  --magenta-600: #c02a5e;
  --pink-50: #fdeef3;
  --gold: #c9a24b;
  --gold-soft: #e3c98a;
  --cream: #faf7f2;
  --ink: #222633;
  --muted: #5d6473;
  --white: #ffffff;
  --shadow: 0 18px 45px -20px rgba(22, 35, 63, .35);
  --shadow-sm: 0 8px 24px -14px rgba(22, 35, 63, .30);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ff-display: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --ff-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--ff-display); line-height: 1.15; color: var(--navy); font-weight: 700; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .76rem;
  font-weight: 600; color: var(--magenta); margin: 0 0 .5rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--ff-body);
}
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 12px 28px -12px rgba(214, 51, 108, .7); }
.btn-primary:hover { background: var(--magenta-600); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(22,35,63,.22); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22,35,63,.07);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-logo { height: 54px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { font-weight: 500; color: var(--navy); font-size: .96rem; transition: color .2s; }
.nav-list a:hover { color: var(--magenta); }
.nav-cta { background: var(--navy); color: #fff !important; padding: .55rem 1.1rem; border-radius: 999px; }
.nav-cta:hover { background: var(--magenta); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(14,24,48,.86) 0%, rgba(14,24,48,.55) 55%, rgba(214,51,108,.40) 100%);
}
.hero-content { padding: 5rem 22px; max-width: 760px; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; font-weight: 600; color: var(--gold-soft); margin: 0 0 1rem; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; margin: 0 0 1.2rem; line-height: 1.08; }
.hero-title span { color: var(--gold-soft); font-style: italic; }
.hero-sub { font-size: clamp(1.02rem, 2.2vw, 1.22rem); max-width: 560px; color: rgba(255,255,255,.92); margin: 0 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 1.6rem; color: #fff; opacity: .8; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Trust band ---------- */
.trust { background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.2rem 22px; text-align: center; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--ff-display); font-size: 1.7rem; color: var(--gold-soft); }
.trust-item span { font-size: .9rem; color: rgba(255,255,255,.8); letter-spacing: .02em; }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 1rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Cards (servicios) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid rgba(22,35,63,.08); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem;
  background: var(--pink-50); border-radius: 14px; margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.2rem; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -18px; left: 24px; background: var(--magenta); color: #fff;
  padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-sm); font-size: .95rem;
}
.about-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 1rem; }
.about-text > p { color: var(--muted); }
.mv { display: grid; gap: 1.4rem; margin-top: 1.8rem; }
.mv-item { border-left: 3px solid var(--gold); padding-left: 1.2rem; }
.mv-item h3 { font-size: 1.2rem; margin: 0 0 .35rem; color: var(--magenta); }
.mv-item p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.value {
  background: #fff; border-radius: var(--radius-sm); padding: 1.5rem 1.3rem;
  border: 1px solid rgba(22,35,63,.08); box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s ease;
}
.value:hover { transform: translateY(-4px); }
.value-dot { display: block; width: 34px; height: 4px; border-radius: 4px; margin-bottom: .9rem;
  background: linear-gradient(90deg, var(--magenta), var(--gold)); }
.value h3 { font-size: 1.08rem; margin: 0 0 .35rem; }
.value p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ---------- Quote band ---------- */
.quote-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; text-align: center; padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.quote-band blockquote {
  margin: 0 auto; max-width: 880px; font-family: var(--ff-display); font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem); line-height: 1.4;
}
.quote-band blockquote::before { content: "“"; display: block; color: var(--gold-soft); font-size: 3rem; line-height: 0; margin-bottom: 1.4rem; }

/* ---------- Galería ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem;
}
.g-item {
  position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: default;
}
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-video { grid-column: span 2; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem .9rem .8rem;
  color: #fff; font-size: .88rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(14,24,48,.82)); opacity: 0; transition: opacity .3s;
}
.g-item:hover figcaption { opacity: 1; }
.g-play {
  position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%;
  border: 0; background: rgba(214,51,108,.92); color: #fff; font-size: 1.2rem; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s;
}
.g-play:hover { transform: scale(1.08); }
.g-video.playing .g-play { display: none; }
.g-video.playing figcaption { opacity: 0; }

/* ---------- Por qué ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-item { padding: 1.6rem 1.4rem; border-radius: var(--radius-sm); background: var(--cream); border-top: 4px solid var(--magenta); }
.why-item strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: .4rem; font-family: var(--ff-display); }
.why-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(180deg, #fff 0%, var(--pink-50) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 1rem; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; font-size: 1.05rem; }
.ci-ic { width: 42px; height: 42px; display: grid; place-items: center; background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); }
.contact-list a:hover { color: var(--magenta); }
.contact-social { display: flex; gap: 1.4rem; }
.contact-social a { font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.contact-social a:hover { color: var(--magenta); }

.quote-form { background: #fff; padding: 2.2rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(22,35,63,.06); }
.quote-form h3 { margin: 0 0 1.3rem; font-size: 1.4rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: .98rem; padding: .7rem .85rem; border: 1.5px solid rgba(22,35,63,.16);
  border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(214,51,108,.12);
}
.field textarea { resize: vertical; }
.form-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .6rem; }
.form-note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; padding: 3.4rem 22px 2.4rem; }
.footer-brand img { height: 80px; background: #fff; border-radius: 14px; padding: 8px; }
.footer-brand p { margin: 1rem 0 0; font-family: var(--ff-display); font-style: italic; color: var(--gold-soft); }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-social { display: flex; gap: 1rem; margin-top: .6rem; }
.footer-social a { border-bottom: 2px solid var(--magenta); padding-bottom: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 22px; font-size: .82rem; color: rgba(255,255,255,.6); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px;
  background: #25d366; color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values, .why { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16/10; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-wide, .g-video { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: .5rem 0; box-shadow: var(--shadow); transform: translateY(-130%);
    transition: transform .35s ease; visibility: hidden;
  }
  .nav-list.open { transform: translateY(0); visibility: visible; }
  .nav-list li { border-bottom: 1px solid rgba(22,35,63,.06); }
  .nav-list a { display: block; padding: .9rem 22px; }
  .nav-cta { border-radius: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .cards, .values, .why { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .hero { min-height: 88vh; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
  html { scroll-behavior: auto; }
}
