/*
Theme Name:  Luneloria
Theme URI:   https://luneloria.com
Description: Tema propio de Luneloria: invitaciones web para eventos personales y de empresa. Marfil, ciruela y champán.
Version:     0.2.1
Requires at least: 6.5
Requires PHP: 8.1
Author:      Luneloria
Text Domain: luneloria
License:     Private
*/

/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
    --ivory: #F6F1E9;
    --ivory-2: #EFE7DA;
    --white: #FFFFFF;
    --ink: #242327;
    --plum: #554154;
    --plum-deep: #3E2F3D;
    --champ: #C8AE88;
    --champ-text: #7A5F33;
    --gray: #6B6569;
    --line: #E2D9CA;
    --line-strong: #D3C7B3;
    --ok: #2F5D3A;
    --err: #8A2B2B;

    --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(36, 35, 39, .05), 0 14px 34px -14px rgba(85, 65, 84, .26);
    --shadow-lift: 0 2px 4px rgba(36, 35, 39, .06), 0 26px 46px -18px rgba(85, 65, 84, .38);
    --container: 1120px;
    --gutter: clamp(18px, 4vw, 32px);
    --section-y: clamp(64px, 9vw, 112px);
    --header-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .34 0 0 0 0 .25 0 0 0 0 .33 0 0 0 .05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("assets/fonts/cormorant-garamond-var.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--ivory) var(--grain);
    color: var(--ink);
    font: 400 1rem/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection { background: var(--plum); color: var(--ivory); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; letter-spacing: -.012em; margin: 0 0 .4em; color: var(--ink); text-wrap: balance; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--ivory-2) var(--grain); }
.section--plum { background: var(--plum) var(--grain); color: var(--ivory); }
.section--plum h2, .section--plum h3 { color: var(--ivory); }
.section--plum a:not(.btn) { color: var(--champ); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--plum); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 300; }
.skip-link:focus { top: 12px; color: var(--ivory); }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--champ); transform: scaleX(0); transform-origin: 0 50%; z-index: 250; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .76rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--champ-text); margin-bottom: 20px; }
.eyebrow--num span { font: 500 1.05rem/1 var(--font-display); letter-spacing: 0; color: var(--champ); font-style: italic; }
.eyebrow--num::after { content: ""; width: 38px; height: 1px; background: var(--line-strong); }
.section--plum .eyebrow { color: var(--champ); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--gray); max-width: 60ch; }
.section--plum .lede { color: rgba(246, 241, 233, .82); }
.section-head { max-width: 700px; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--center .eyebrow--num::after { display: none; }

/* Fases de la luna: detalle recurrente */
.phases { display: inline-flex; gap: 9px; align-items: center; }
.phase { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--champ); flex: none; }
.phase--crescent { box-shadow: inset -4px 0 0 0 var(--champ); }
.phase--half { box-shadow: inset -7.5px 0 0 0 var(--champ); }
.phase--gibbous { box-shadow: inset -11px 0 0 0 var(--champ); }
.phase--full { background: var(--champ); }

/* Luna (CSS) usada como adorno */
.moon { display: inline-block; width: 1em; height: 1em; border-radius: 50%; box-shadow: inset -.3em .12em 0 0 var(--champ); flex: none; }

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--plum);
    background: var(--plum); color: var(--ivory); text-decoration: none; cursor: pointer;
    font: 600 .95rem/1 var(--font-body); letter-spacing: .02em;
    transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { background: var(--plum-deep); border-color: var(--plum-deep); color: var(--ivory); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(62, 47, 61, .7); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn--ghost { background: transparent; color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: var(--ivory); }
.btn--champ { background: var(--champ); border-color: var(--champ); color: var(--ink); }
.btn--champ:hover { background: #D6BF9C; border-color: #D6BF9C; color: var(--ink); }
.section--plum .btn--champ, .section--plum .btn--champ:hover { color: var(--ink); }
.btn--block { width: 100%; }

/* ==========================================================================
   AVISO Y CABECERA
   ========================================================================== */
.announce { background: var(--plum-deep); color: var(--ivory); font-size: .85rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 9px; text-align: center; }
.announce p { margin: 0; }
.announce a { color: var(--champ); font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
.announce a:hover { color: var(--ivory); }
@media (max-width: 520px) { .announce__inner { gap: 8px; font-size: .8rem; } .announce .phase { display: none; } }

.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--header-h);
    background: rgba(246, 241, 233, .9); backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 26px -20px rgba(36, 35, 39, .45); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__list a { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; padding: 6px 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--champ); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
.nav__list a:hover { color: var(--ink); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); content: ""; transition: transform .2s ease, top .2s ease, background-color .2s ease; }
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { left: 0; right: 0; top: -6px; }
.nav-toggle span::after { left: 0; right: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: inline-block; }
    .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px; flex-direction: column; align-items: stretch; gap: 8px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
    .nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
    .nav__list a::after { display: none; }
}

/* ==========================================================================
   PORTADA
   ========================================================================== */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 88px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--plum); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__visual { position: relative; min-height: 560px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 34px 0 0; }
.chips li { font-size: .84rem; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--plum); background: rgba(255, 255, 255, .5); }

.phone { position: absolute; background: var(--ink); border-radius: 42px; padding: 11px; box-shadow: 0 44px 70px -34px rgba(62, 47, 61, .6); }
.phone--main { width: min(58%, 286px); aspect-ratio: 9 / 18.2; right: 0; top: 0; transform: rotate(2.4deg); z-index: 2; }
.phone--side { width: min(40%, 196px); aspect-ratio: 9 / 18.2; left: 0; bottom: 4%; transform: rotate(-4.5deg); z-index: 1; border-radius: 32px; padding: 8px; }
.phone__screen { height: 100%; border-radius: 32px; overflow: hidden; background: linear-gradient(168deg, #FBF7F0 6%, #EFE3D0 74%, #E4D3BB); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px 18px; gap: 4px; color: var(--ink); position: relative; }
.phone__screen::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(122, 95, 51, .3); border-radius: 24px; pointer-events: none; }
.phone--side .phone__screen { border-radius: 24px; }
.phone--side .phone__screen::before { border-radius: 17px; inset: 8px; }
.phone__screen--dark { background: linear-gradient(168deg, #3A383D 6%, #242327); color: var(--ivory); }
.phone__screen--dark::before { border-color: rgba(200, 174, 136, .4); }
.phone__eyebrow { font: 600 .56rem/1.3 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--champ-text); }
.phone__screen--dark .phone__eyebrow { color: var(--champ); }
.phone__names { font: 600 clamp(2.1rem, 4.2vw, 2.9rem)/1.02 var(--font-display); color: var(--plum); margin: 8px 0 4px; }
.phone__names i { font-weight: 500; font-size: .6em; color: var(--champ-text); }
.phone__names--sm { font-size: 1.45rem; color: var(--ivory); }
.phone__rule { width: 34px; height: 1px; background: var(--champ); margin: 6px 0 8px; }
.phone__when { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.phone__time { font: 500 1.5rem/1 var(--font-display); color: var(--plum); margin-top: 2px; }
.phone__place { font-size: .7rem; color: var(--gray); margin: 6px 0 14px; }
.phone__btn { font: 600 .68rem/1 var(--font-body); background: var(--plum); color: var(--ivory); padding: 11px 18px; border-radius: 999px; margin-top: 10px; }
.phone__btn--champ { background: var(--champ); color: var(--ink); }

.seal { position: absolute; left: 2%; top: 2%; z-index: 3; color: var(--plum); background: var(--ivory); border-radius: 50%; animation: spin 48s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { min-height: 440px; max-width: 420px; margin-inline: auto; width: 100%; }
    .phone--main { width: 58%; right: 2%; }
    .phone--side { width: 40%; left: 2%; }
    .seal { width: 88px; height: 88px; left: 2%; top: 2%; }
}

/* Datos concretos */
.facts { border-block: 1px solid var(--line-strong); background: rgba(255, 255, 255, .45); }
.facts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__list li { padding: 26px clamp(14px, 2vw, 28px); display: grid; gap: 4px; }
.facts__list li + li { border-left: 1px solid var(--line-strong); }
.facts__list strong { font: 600 1.35rem/1.15 var(--font-display); color: var(--plum); }
.facts__list span { font-size: .9rem; color: var(--gray); line-height: 1.45; }
@media (max-width: 860px) { .facts__list { grid-template-columns: 1fr 1fr; } .facts__list li:nth-child(3) { border-left: 0; } .facts__list li:nth-child(n+3) { border-top: 1px solid var(--line-strong); } }
@media (max-width: 460px) { .facts__list { grid-template-columns: 1fr; } .facts__list li + li { border-left: 0; border-top: 1px solid var(--line-strong); } }

/* ==========================================================================
   EVENTOS
   ========================================================================== */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.track { border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 42px); position: relative; overflow: hidden; }
.track::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid currentColor; opacity: .12; box-shadow: 0 0 0 22px transparent, 0 0 0 23px currentColor; }
.track--personal { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--plum); }
.track--corporate { background: var(--plum-deep); color: var(--champ); }
.track h3 { color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.track--corporate h3 { color: var(--ivory); }
.track__lede { color: var(--gray); max-width: 38ch; }
.track--corporate .track__lede { color: rgba(246, 241, 233, .78); }
.track ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 0; }
.track li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; color: var(--ink); }
.track--corporate li { border-color: rgba(246, 241, 233, .14); color: var(--ivory); }
.track li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--champ); box-shadow: inset -3px 0 0 0 var(--champ); }
.track__note { margin: 6px 0 0; font-size: .92rem; color: var(--gray); font-style: italic; }
.track--corporate .track__note { color: rgba(246, 241, 233, .7); }
@media (max-width: 800px) { .tracks { grid-template-columns: 1fr; } }

/* ==========================================================================
   PASOS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); list-style: none; padding: 0; margin: 0; position: relative; }
.step { position: relative; padding-top: 74px; }
.step::before { content: ""; position: absolute; top: 27px; left: 58px; right: -44px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:last-child::before { display: none; }
.step__num { position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--champ); display: grid; place-items: center; font: 500 1.7rem/1 var(--font-display); font-style: italic; color: var(--plum); background: var(--ivory); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--gray); margin: 0; max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 34px; } .step::before { display: none; } }

/* ==========================================================================
   DISEÑOS
   ========================================================================== */
.designs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.design { text-align: left; }
.design__card { aspect-ratio: 3 / 4; border-radius: 18px; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; position: relative; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); overflow: hidden; }
.design__card::before { content: ""; position: absolute; inset: 9px; border: 1px solid currentColor; opacity: .22; border-radius: 12px; }
.design:hover .design__card { transform: translateY(-8px) rotate(-.8deg); box-shadow: var(--shadow-lift); }
.design__moon { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset -6px 2px 0 0 currentColor; margin-bottom: 10px; opacity: .85; }
.design__kicker { font: 600 .56rem/1.3 var(--font-body); letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.design__title { font: 600 clamp(1.7rem, 2.6vw, 2.2rem)/1.04 var(--font-display); margin: 6px 0 2px; }
.design__rule { width: 28px; height: 1px; background: currentColor; opacity: .5; margin: 6px 0; }
.design__when { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.design__place { font-size: .66rem; opacity: .7; }
.design--romance .design__card { background: linear-gradient(165deg, #FBF7F0, #E9DAC5); color: #5C4057; }
.design--royal .design__card { background: radial-gradient(120% 90% at 50% 0%, #6A4C64, #3E2F3D 70%); color: #E7D6B8; }
.design--color .design__card { background: linear-gradient(165deg, #F6DDC9, #BFCDB5); color: #4B4540; }
.design--corp .design__card { background: linear-gradient(165deg, #3C3A3F, #1E1D20); color: #E9E2D3; }
.design__name { margin: 18px 0 2px; font-size: 1.35rem; }
.design__meta { margin: 0; font-size: .9rem; color: var(--gray); }
@media (max-width: 980px) { .designs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .design__card { padding: 18px 10px; } .design__title { font-size: 1.45rem; } .design__name { font-size: 1.2rem; } }

/* ==========================================================================
   INVITADOS (panel de ejemplo)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F1E9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; margin-top: 3px; }
.board { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); max-width: 480px; width: 100%; margin-inline: auto; overflow: hidden; }
.board__top { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ivory-2); border-bottom: 1px solid var(--line); }
.board__top div { padding: 18px 12px; text-align: center; display: grid; gap: 2px; }
.board__top div + div { border-left: 1px solid var(--line); }
.board__top b { font: 600 2.2rem/1 var(--font-display); color: var(--plum); }
.board__top span { font-size: .78rem; color: var(--gray); letter-spacing: .04em; }
.board__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.board__row span { display: grid; }
.board__row b { font-weight: 600; }
.board__row i { font-style: normal; font-size: .82rem; color: var(--gray); }
.tag { font-style: normal; font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--gray); white-space: nowrap; }
.tag--ok { color: var(--ok); border-color: rgba(47, 93, 58, .4); background: rgba(47, 93, 58, .07); }
.tag--no { color: var(--err); border-color: rgba(138, 43, 43, .35); background: rgba(138, 43, 43, .06); }
.board__cap { margin: 0; padding: 10px 20px; font-size: .74rem; color: var(--gray); text-align: right; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ==========================================================================
   PLANES
   ========================================================================== */
.currency { display: flex; width: fit-content; margin: 0 auto 38px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .6); gap: 2px; }
.currency button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 600 .86rem/1 var(--font-body); color: var(--plum); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.currency button[aria-pressed="true"] { background: var(--plum); color: var(--ivory); }
.currency button:not([aria-pressed="true"]):hover { background: var(--ivory-2); }
@media (max-width: 460px) { .currency button { padding: 10px 12px; font-size: .78rem; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--feat { border-color: var(--plum); box-shadow: var(--shadow); }
.plan--feat::before { content: attr(data-flag); position: absolute; top: -13px; left: 28px; background: var(--champ); color: var(--ink); font: 700 .68rem/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.plan h3 { margin: 0; }
.plan__sum { color: var(--gray); font-size: .95rem; margin: 6px 0 20px; min-height: 2.9em; }
.plan__price { font: 600 3.1rem/1 var(--font-display); color: var(--plum); font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.plan__price--soon { font-size: 1.9rem; }
.plan__unit { margin: 8px 0 0; font-size: .84rem; color: var(--gray); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 11px; font-size: .95rem; line-height: 1.45; }
.plan li::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--champ); box-shadow: inset -3px 0 0 0 var(--champ); margin-top: .35em; }
.common { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; padding: 0; margin: 34px 0 0; font-size: .92rem; color: var(--plum); }
.common li { position: relative; }
.common li + li::before { content: ""; position: absolute; left: -15px; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--champ); }
.note-soft { margin-top: 18px; font-size: .9rem; color: var(--gray); text-align: center; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan__sum { min-height: 0; } .common li + li::before { display: none; } .common { gap: 6px 20px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; font: 600 1.4rem/1.25 var(--font-display); padding: 20px 44px 20px 0; position: relative; transition: color .2s ease; }
.faq summary:hover { color: var(--plum); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 1.5px solid var(--champ-text); border-bottom: 1.5px solid var(--champ-text); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details > div { padding: 0 0 22px; color: var(--gray); max-width: 62ch; }
.faq details > div p { margin: 0; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-band { text-align: center; }
.cta-band .phases { margin-bottom: 26px; gap: 12px; }
.cta-band .phase { width: 20px; height: 20px; }
.cta-band .phase--crescent { box-shadow: inset -5px 0 0 0 var(--champ); }
.cta-band .phase--half { box-shadow: inset -10px 0 0 0 var(--champ); }
.cta-band .phase--gibbous { box-shadow: inset -15px 0 0 0 var(--champ); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; }

/* ==========================================================================
   PÁGINAS DE CONTENIDO
   ========================================================================== */
.page-hero { padding-block: clamp(40px, 7vw, 80px) 24px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); max-width: 18ch; }
.prose { max-width: 70ch; padding-bottom: var(--section-y); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--champ); color: var(--gray); }
.notice { border-left: 4px solid var(--champ); background: var(--white); padding: 14px 18px; border-radius: 8px; margin: 0 0 24px; font-size: .95rem; }
.notice--draft { border-color: var(--err); }
.provider { margin: 0 0 2em; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.provider h2 { font-size: 1.5rem; margin: 0 0 10px; }
.provider dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.provider dt { font-weight: 600; }
.provider dd { margin: 0; }
@media (max-width: 520px) { .provider dl { grid-template-columns: 1fr; gap: 0; } .provider dd { margin-bottom: 10px; } }

/* ==========================================================================
   PIE
   ========================================================================== */
.site-footer { background: var(--plum-deep) var(--grain); color: rgba(246, 241, 233, .82); padding-block: clamp(52px, 7vw, 84px) 28px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--champ); text-decoration: underline; text-underline-offset: 4px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.footer__brand .phases { margin-bottom: 22px; }
.footer__brand img { height: 34px; width: auto; margin-bottom: 16px; }
.footer__tag { font: 500 1.4rem/1.3 var(--font-display); color: var(--ivory); max-width: 22ch; margin: 0 0 16px; font-style: italic; }
.footer__title { font: 700 .72rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--champ); margin: 0 0 18px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: .95rem; }
.footer__legal { margin: clamp(26px, 4vw, 42px) 0 0; font-size: .85rem; color: rgba(246, 241, 233, .7); max-width: 80ch; }
.footer__withdrawal { font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }
.footer__bottom { margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(246, 241, 233, .16); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; color: rgba(246, 241, 233, .62); }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__pay span { border: 1px solid rgba(246, 241, 233, .28); border-radius: 6px; padding: 4px 9px; font-size: .75rem; color: rgba(246, 241, 233, .82); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FORMULARIOS, ARREPENTIMIENTO Y WOOCOMMERCE (base)
   ========================================================================== */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--white); color: var(--ink); font: inherit;
}
label { font-weight: 600; font-size: .92rem; }
.withdrawal { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line-strong); }
.withdrawal__form p { margin: 0 0 16px; }
.withdrawal__form label { display: block; margin-bottom: 6px; }
.withdrawal__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.woocommerce { padding-block: 40px var(--section-y); }
.woocommerce-notices-wrapper .woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-left: 4px solid var(--champ); background: var(--white); border-radius: 8px; }
.woocommerce-error { border-color: var(--err); }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce #place_order, .woocommerce .button, .woocommerce button.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--plum); color: var(--ivory); border: 0; font: 600 .95rem var(--font-body); cursor: pointer; text-decoration: none; }
.woocommerce #place_order:hover, .woocommerce .button:hover { background: var(--plum-deep); }
.woocommerce form .form-row { margin-bottom: 16px; }

/* ==========================================================================
   MOVIMIENTO
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .reveal { opacity: 1; transform: none; }
    .phone--main, .phone--side { transform: none; }
    .seal { animation: none; }
}
