/* ==========================================================================
   Fer Elizalde — Tu paz en medio del caos
   Diseño oscuro y cálido · mobile-first
   ========================================================================== */

:root {
    --bg:        #17130f;
    --bg-alt:    #1e1813;
    --surface:   #26201a;
    --surface-2: #2f2820;
    --line:      rgba(201, 168, 106, 0.18);
    --accent:    #c9a86a;   /* dorado arena */
    --accent-2:  #e6d4ad;   /* dorado claro */
    --text:      #f3ede2;   /* crema */
    --muted:     #b7ab99;
    --wa:        #25d366;
    --wa-dark:   #1da851;
    --radius:    16px;
    --maxw:      1080px;
    --shadow:    0 18px 50px -18px rgba(0, 0, 0, 0.7);
    --serif:     "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
    --sans:      system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-2); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ------------------------------------------------------------ Secciones */
.section { padding: 64px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__title {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.section__lead { color: var(--muted); max-width: 40ch; margin: 0 0 28px; }
.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

/* ------------------------------------------------------------ Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), #b8925a);
    color: #221a0f;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 15px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    box-shadow: 0 10px 26px -10px rgba(201, 168, 106, 0.7);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn--wa { background: linear-gradient(135deg, #2bd968, var(--wa-dark)); color: #04220f; box-shadow: 0 10px 26px -10px rgba(37, 211, 102, 0.6); }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn__icon { width: 20px; height: 20px; }

/* ------------------------------------------------------------ Hero */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 96px 0 72px;
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(120% 90% at 50% 0%, #2a2117 0%, #17130f 55%, #0f0c09 100%);
}
.hero__bg-img {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.28;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(15,12,9,0.2) 0%, rgba(15,12,9,0.75) 100%);
}
.hero__inner { max-width: 720px; margin: 0 auto; }
.hero__title {
    font-size: clamp(2.5rem, 11vw, 4.6rem);
    letter-spacing: -0.02em;
    margin: 6px 0 14px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__subtitle {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent-2);
    font-size: clamp(1.15rem, 4.5vw, 1.6rem);
    margin-bottom: 22px;
}
.hero__intro { color: #e8e0d2; font-size: 1.08rem; max-width: 34ch; margin: 0 auto 30px; }
.hero__facilitator {
    margin-top: 26px;
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--muted);
}
.hero__facilitator strong { color: var(--text); }
.scroll-cue {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    color: var(--muted); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ------------------------------------------------------------ El evento */
.evento__grid { display: grid; gap: 30px; align-items: center; }
.evento__body p { margin: 0 0 16px; color: #e6ddcf; }
.evento__img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.evento__img img { width: 100%; }

/* ------------------------------------------------------------ Listas */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px;
    color: #eae1d3;
}
.checklist li::before {
    content: "";
    flex: 0 0 22px; height: 22px; margin-top: 2px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.blocks { display: grid; gap: 16px; }
.block {
    background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 22px;
}
.block__title {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--accent-2);
    margin: 0 0 6px;
}
.block__body { color: #e0d7c9; margin: 0; }

/* ------------------------------------------------------------ Video */
.video-wrap {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    background: #000;
}
.video-wrap video, .video-wrap iframe { width: 100%; display: block; aspect-ratio: 9 / 16; border: 0; }
.video-embed { aspect-ratio: 16 / 9; }
.video-embed iframe { aspect-ratio: 16 / 9; }
.video__intro { text-align: center; color: var(--muted); max-width: 34ch; margin: 0 auto 26px; }

/* ------------------------------------------------------------ Sobre Fer */
.bio__grid { display: grid; gap: 28px; align-items: center; }
.bio__photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    max-width: 340px;
    margin: 0 auto;
}
.bio__body p { color: #e6ddcf; margin: 0 0 16px; }

/* ------------------------------------------------------------ Detalles */
.details-card {
    background: linear-gradient(160deg, var(--surface) 0%, #201a13 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    text-align: center;
}
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
    margin: 24px 0 28px;
    text-align: left;
}
.detail__label {
    display: block;
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--accent); margin-bottom: 3px; font-weight: 600;
}
.detail__value { color: var(--text); font-size: 1.05rem; }
.price {
    margin: 4px 0 22px;
}
.price__amount {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 12vw, 3.6rem);
    color: var(--accent-2);
    line-height: 1;
}
.price__label { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; margin-bottom: 4px; }

/* ------------------------------------------------------------ Cierre */
.cta-band { text-align: center; }
.cta-band__title { font-size: clamp(1.8rem, 7vw, 2.8rem); font-style: italic; margin-bottom: 14px; color: var(--accent-2); }
.cta-band__body { color: var(--muted); max-width: 40ch; margin: 0 auto 26px; }

/* ------------------------------------------------------------ Footer */
.site-footer {
    background: #100d0a;
    border-top: 1px solid var(--line);
    padding: 44px 0 90px;
    text-align: center;
    color: var(--muted);
}
.site-footer__brand { font-family: var(--serif); color: var(--text); font-size: 1.2rem; margin-bottom: 8px; }
.site-footer a { color: var(--accent-2); text-decoration: none; }
.site-footer__row { margin: 6px 0; }
.site-footer__legal { margin-top: 18px; font-size: 0.8rem; color: #7d7469; }

/* ------------------------------------------------------------ WhatsApp flotante */
.wa-float {
    position: fixed;
    right: 16px; bottom: 16px;
    z-index: 50;
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #2bd968, var(--wa-dark));
    color: #04220f;
    font-weight: 700;
    text-decoration: none;
    padding: 13px 18px;
    border-radius: 999px;
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6);
    transition: transform .18s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float__label { display: none; }
.wa-float svg { width: 26px; height: 26px; }

/* ------------------------------------------------------------ Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .scroll-cue { animation: none; }
}

/* ------------------------------------------------------------ Desktop */
@media (min-width: 720px) {
    body { font-size: 18px; }
    .section { padding: 88px 0; }
    .checklist { grid-template-columns: 1fr 1fr; }
    .blocks { grid-template-columns: 1fr 1fr; }
    .evento__grid { grid-template-columns: 1.1fr 0.9fr; gap: 44px; }
    .evento--reverse .evento__img { order: -1; }
    .bio__grid { grid-template-columns: 320px 1fr; }
    .details-card { padding: 44px 40px; }
    .details-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; margin-inline: auto; }
    .wa-float__label { display: inline; }
}

@media (min-width: 980px) {
    .blocks { grid-template-columns: repeat(3, 1fr); }
    .blocks .block:nth-child(4) { grid-column: 1 / 2; }
}
