/* OKmoment — estilos compartidos (index.html, crear.html, evento.html) */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/outfit-variable-latin.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: swap; src: url('../fonts/playfair-display-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/great-vibes-latin.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/playfair-display-normal-latin.woff2') format('woff2'); }

:root {
    --ink: #1A1814;
    --ink-2: #2b2723;
    --cream: #FFFFFF;
    --sand: #ECECEF;
    --card: #F5F5F7;
    --muted: #6E6660;
    --line: rgba(26, 24, 20, .1);
    --pink: #D9480F;
    --pink-2: #F7871F;
    --navy: #1E2140;
    --amber: #f59e0b;
    --grad: linear-gradient(120deg, var(--pink), var(--pink-2));
    --radius: 28px;
    --shadow: 0 1px 2px rgba(26,24,20,.04), 0 12px 40px -12px rgba(26,24,20,.14);
    --ok: #16a34a;
    --err: #b91c1c;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
/* Toques sin retardo de doble toque */
a, button, label, summary, input, select, textarea { touch-action: manipulation; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; margin: 0; font-weight: 600; }
p { margin: 0; }
[hidden] { display: none !important; }
.serif { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.muted { color: var(--muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer; border: 0; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s; white-space: nowrap; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -10px rgba(26,24,20,.6); }
.btn-primary:hover { background: #000; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(217,72,15,.6); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-wa { background: #25D366; color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.arrow { transition: transform .2s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

/* Cabecera */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.hdr nav { display: flex; gap: 6px; }
.hdr nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s; }
.hdr nav a:hover { background: rgba(26,24,20,.06); }
.hdr-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(26,24,20,.06); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; padding: 8px 20px 20px; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { width: 100%; margin-top: 16px; border-bottom: 0; }
.menu-open .mobile-nav { display: block; }

/* Pie */
footer.site { background: var(--ink); color: rgba(255,255,255,.7); margin-top: 96px; padding: 72px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a:hover { color: #fff; }
.foot-brand p { margin-top: 18px; max-width: 320px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Formularios */
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field small { font-size: 13px; color: var(--muted); }
.input, .textarea, .select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(26,24,20,.06); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.alert { padding: 12px 16px; border-radius: 14px; font-size: 15px; }
.alert-err { background: #fdecec; color: var(--err); }
.alert-ok { background: #e9f8ef; color: #166534; }
.demo-banner { background: #FFF6DB; color: #7a5300; text-align: center; font-size: 14px; padding: 8px 16px; }

/* Selector segmentado */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--sand); padding: 5px; border-radius: 16px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 8px; border-radius: 12px; font-weight: 600; font-size: 15px; text-align: center; transition: background .2s, box-shadow .2s; }
.seg span small { font-weight: 400; font-size: 12px; color: var(--muted); }
.seg input:checked + span { background: #fff; box-shadow: 0 2px 10px -4px rgba(26,24,20,.3); }
.seg input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Interruptor */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.switch:first-child { border-top: 0; }
.switch b { display: block; font-weight: 600; }
.switch small { color: var(--muted); font-size: 14px; }
.switch input { appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; border-radius: 999px; background: #d9d3cc; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(20px); }

/* Tarjeta-invitación */
.okm-card { --acc: #D9480F; --acc-soft: rgba(217,72,15,.14); --acc-line: rgba(217,72,15,.45); --acc-deep: #6b2346; --rule: rgba(42,36,31,.16); width: 100%; max-width: 440px; aspect-ratio: 4 / 5.4; border-radius: 26px; overflow: hidden; position: relative; box-shadow: 0 30px 70px -28px rgba(26,24,20,.5); container-type: inline-size; }
.okm-card-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8cqw 9cqw 6cqw; gap: 2.4cqw; }
.okm-ic { width: 12cqw; height: 12cqw; border-radius: 50%; display: grid; place-items: center; }
.okm-ic svg { width: 6.2cqw; height: 6.2cqw; }
.okm-eyebrow { font-size: 3.2cqw; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }
.okm-photo { width: 30cqw; height: 30cqw; border-radius: 50%; overflow: hidden; flex: none; margin: 1cqw 0; }
.okm-photo img { width: 100%; height: 100%; object-fit: cover; }
.okm-title { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; font-size: 10cqw; line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere; }
.okm-hosts { font-size: 3.6cqw; opacity: .8; }
.okm-date { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3cqw; width: 100%; margin-top: 1.5cqw; padding: 2.4cqw 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.okm-d-side { font-size: 3.2cqw; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.okm-d-side:first-child { text-align: right; } .okm-d-side:last-child { text-align: left; }
.okm-d-mid { display: flex; flex-direction: column; align-items: center; }
.okm-d-mid b { display: block; font-size: 11cqw; line-height: 1.2; font-weight: 600; letter-spacing: -.03em; }
.okm-d-mid small { display: block; font-size: 3cqw; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; }
.okm-place { font-size: 3.8cqw; font-weight: 600; }
.okm-msg { font-size: 3.5cqw; line-height: 1.45; opacity: .85; max-width: 92%; }
.okm-foot { margin-top: auto; padding-top: 2cqw; font-size: 2.6cqw; letter-spacing: .24em; text-transform: uppercase; opacity: .5; }
.okm-card-in > .okm-ic { margin-top: auto; }

/* Reunión de primos y familia: fiesta familiar (banderines, polaroid, pegatinas y globitos) */
.okm-card.okm-reunion { background: radial-gradient(circle at 12% 30%, rgba(247,135,31,.16) 0 1.2cqw, transparent 1.3cqw), radial-gradient(circle at 88% 44%, rgba(47,133,90,.16) 0 1cqw, transparent 1.1cqw), radial-gradient(circle at 8% 78%, rgba(59,130,196,.14) 0 .9cqw, transparent 1cqw), radial-gradient(circle at 92% 86%, rgba(226,91,122,.16) 0 1.1cqw, transparent 1.2cqw), radial-gradient(120% 90% at 50% 0%, #FFF8EE 0%, #FFEBD2 58%, #FFD9B0 100%); color: #3B2A1E; }
.okm-reunion .rn-band { position: absolute; left: -2%; top: 0; width: 104%; height: 13cqw; }
.okm-reunion .rn-in { padding: 13cqw 8cqw 5cqw; gap: 2.4cqw; justify-content: flex-start; }
.okm-reunion .rn-fotow { position: relative; width: 66cqw; margin-top: 1cqw; }
.okm-reunion .rn-pol { position: relative; background: #fff; padding: 2.4cqw 2.4cqw 0; border-radius: 1.2cqw; transform: rotate(-3deg); box-shadow: 0 2.4cqw 5cqw -2cqw rgba(59,42,30,.45); }
.okm-reunion .rn-pol img { display: block; width: 100%; height: 40cqw; object-fit: cover; border-radius: .6cqw; }
.okm-reunion .rn-pie { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 5.2cqw; line-height: 1.1; padding: 2.2cqw 1cqw 2.6cqw; color: #4a3424; overflow-wrap: anywhere; }
.okm-reunion .rn-cinta { position: absolute; top: -2.2cqw; width: 15cqw; height: 4.6cqw; background: rgba(247,197,120,.75); box-shadow: 0 .3cqw .8cqw rgba(0,0,0,.08); }
.okm-reunion .rn-c1 { left: -3cqw; transform: rotate(-28deg); }
.okm-reunion .rn-c2 { right: -3cqw; transform: rotate(24deg); }
.okm-reunion .rn-peg { position: absolute; display: grid; place-items: center; width: 10cqw; height: 10cqw; border-radius: 50%; background: #fff; font-size: 5.4cqw; line-height: 1; box-shadow: 0 1cqw 2.4cqw -1cqw rgba(59,42,30,.5); }
.okm-reunion .rn-p1 { left: -6cqw; bottom: 6cqw; transform: rotate(-12deg); }
.okm-reunion .rn-p2 { right: -6cqw; top: 10cqw; transform: rotate(10deg); }
.okm-reunion .rn-p3 { right: -3cqw; bottom: -2cqw; transform: rotate(-6deg); }
.okm-reunion .rn-eti { margin-top: 2cqw; padding: 1.2cqw 3.6cqw; border-radius: 999px; background: #2F855A; color: #fff; font-size: 3cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.okm-reunion .rn-titulo { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; font-size: 8.4cqw; line-height: 1.05; overflow-wrap: anywhere; color: #3B2A1E; }
.okm-reunion .rn-datos { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; }
.okm-reunion .rn-glob { padding: 1.4cqw 3.4cqw; border-radius: 999px; background: rgba(255,255,255,.85); font-size: 3.5cqw; font-weight: 600; color: #4a3424; box-shadow: 0 .6cqw 1.6cqw -.8cqw rgba(59,42,30,.4); }
.okm-reunion .rn-foot { opacity: .55; }
/* Noche de verbena */
.okm-card.okm-reunion.okm-noche { background: radial-gradient(circle at 15% 28%, rgba(247,200,115,.35) 0 .8cqw, transparent .9cqw), radial-gradient(circle at 85% 40%, rgba(247,200,115,.3) 0 .7cqw, transparent .8cqw), radial-gradient(circle at 10% 82%, rgba(247,200,115,.25) 0 .6cqw, transparent .7cqw), radial-gradient(circle at 90% 88%, rgba(247,200,115,.3) 0 .8cqw, transparent .9cqw), radial-gradient(120% 90% at 50% 0%, #2B2F5C 0%, #1A1C3A 60%, #0F1024 100%); color: #FCE9CF; }
.okm-reunion.okm-noche .rn-titulo { color: #F7C873; }
.okm-reunion.okm-noche .rn-glob { background: rgba(255,255,255,.12); color: #FCE9CF; box-shadow: inset 0 0 0 1px rgba(247,200,115,.35); }
.okm-reunion.okm-noche .rn-eti { background: #F7C873; color: #1A1C3A; }
/* Verde fresco */
.okm-card.okm-reunion.okm-moderno { background: radial-gradient(circle at 12% 30%, rgba(255,255,255,.14) 0 1.2cqw, transparent 1.3cqw), radial-gradient(circle at 88% 44%, rgba(247,135,31,.35) 0 1cqw, transparent 1.1cqw), radial-gradient(circle at 92% 86%, rgba(255,255,255,.14) 0 1.1cqw, transparent 1.2cqw), linear-gradient(165deg, #3C9A6A 0%, #2F855A 55%, #1F5F40 100%); color: #fff; }
.okm-reunion.okm-moderno .rn-titulo { color: #fff; font-family: 'Outfit', system-ui, sans-serif; font-style: normal; font-weight: 800; letter-spacing: -.03em; }
.okm-reunion.okm-moderno .rn-glob { background: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.okm-reunion.okm-moderno .rn-eti { background: #F7871F; }
.okm-elegante { background: #FBF6EE; color: #2a241f; }
.okm-elegante::before { content: ""; position: absolute; inset: 3.2cqw; border: 1px solid var(--acc-line); border-radius: 18px; pointer-events: none; }
.okm-elegante .okm-ic { background: var(--acc-soft); color: var(--acc); }
.okm-elegante .okm-eyebrow, .okm-elegante .okm-d-mid b { color: var(--acc); }
.okm-elegante .okm-photo { box-shadow: 0 0 0 1.2cqw #fff, 0 0 0 calc(1.2cqw + 1px) var(--acc-line); }

.okm-moderno { background: linear-gradient(155deg, var(--acc), var(--acc-deep)); color: #fff; --rule: rgba(255,255,255,.3); }
.okm-moderno::after { content: ""; position: absolute; width: 90cqw; height: 90cqw; right: -40cqw; top: -40cqw; border-radius: 50%; background: rgba(255,255,255,.12); pointer-events: none; }
.okm-moderno .okm-ic { background: rgba(255,255,255,.18); }
.okm-moderno .okm-title { font-family: 'Outfit', system-ui, sans-serif; font-style: normal; font-weight: 700; letter-spacing: -.035em; font-size: 10.5cqw; }
.okm-moderno .okm-photo { box-shadow: 0 0 0 1.2cqw rgba(255,255,255,.35); }

.okm-noche { background: radial-gradient(120% 80% at 50% 0%, #2b2520, #14120f); color: #F4ECE1; --rule: rgba(233,196,106,.3); }
.okm-noche .okm-ic { background: rgba(233,196,106,.12); color: #E9C46A; }
.okm-noche .okm-eyebrow, .okm-noche .okm-d-mid b, .okm-noche .okm-title { color: #E9C46A; }
.okm-noche .okm-photo { box-shadow: 0 0 0 1px rgba(233,196,106,.6), 0 0 0 1.4cqw #14120f, 0 0 0 calc(1.4cqw + 1px) rgba(233,196,106,.35); }

/* Boda (diseños Elegante y Noche): papel, marco dorado, corona con monograma y nombres caligráficos */
.okm-boda { --oro: #A98446; --oro-txt: linear-gradient(100deg, #94733A 0%, #CDAA60 45%, #9C7A3C 100%); }
.okm-boda.okm-elegante { background: radial-gradient(120% 75% at 50% 8%, #FFFDF9 0%, #FAF4EA 60%, #F2E8D6 100%); color: #3B3028; }
.okm-boda.okm-noche { --oro: #E2C07A; --oro-txt: linear-gradient(100deg, #CDA65E 0%, #F6E2A8 45%, #D3AE64 100%); background: radial-gradient(120% 75% at 50% 8%, #2A2420 0%, #1A1613 65%, #110E0C 100%); color: #EFE6D8; }
.okm-boda::before { display: none; }
.okm-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.okm-boda .okm-card-in { padding: 11cqw 13cqw 8cqw; gap: 2cqw; }
.okm-boda .okm-card-in > :first-child { margin-top: auto; }
.okm-gold { background: var(--oro-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.okm-corona { position: relative; width: 25cqw; height: 25cqw; flex: none; display: grid; place-items: center; }
.okm-corona svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.okm-corona .okm-photo { width: 15.5cqw; height: 15.5cqw; margin: 0; box-shadow: 0 0 0 .6cqw rgba(255,255,255,.7); }
.okm-noche .okm-corona .okm-photo { box-shadow: 0 0 0 .6cqw rgba(226,192,122,.35); }
.okm-mono { font-family: 'Great Vibes', 'Playfair Display', cursive; font-size: 9cqw; line-height: 1; color: var(--oro); padding-top: 1.2cqw; letter-spacing: -.02em; }
.okm-mono span { font-size: .55em; margin: 0 .08em; vertical-align: .25em; }
.okm-boda .okm-eyebrow { display: flex; align-items: center; gap: 2.4cqw; font-size: 2.7cqw; letter-spacing: .42em; font-weight: 500; margin-top: 1cqw; padding-left: .42em; }
.okm-boda .okm-eyebrow::before, .okm-boda .okm-eyebrow::after { content: ""; width: 6cqw; height: 1px; background: var(--oro); opacity: .7; }
.okm-names { font-family: 'Great Vibes', 'Playfair Display', cursive; font-weight: 400; font-size: 12.5cqw; line-height: 1.15; letter-spacing: 0; overflow-wrap: anywhere; }
.okm-names.dos { font-size: 11cqw; line-height: 1.02; }
.okm-amp { display: block; font-size: .62em; line-height: 1; padding: .05em 0; }
.okm-amp.inl { display: inline; margin: 0 .18em; font-size: .8em; }
.okm-boda .okm-hosts { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 3.4cqw; opacity: .78; }
.okm-boda .okm-date { --rule: var(--oro); width: 100%; gap: 2.4cqw; margin-top: 2.4cqw; padding: 2cqw 0; border-top-width: 1px; border-bottom-width: 1px; }
.okm-boda .okm-date { border-color: rgba(169,132,70,.55); }
.okm-noche.okm-boda .okm-date { border-color: rgba(226,192,122,.4); }
.okm-boda .okm-d-side { font-size: 2.6cqw; letter-spacing: .22em; font-weight: 500; white-space: nowrap; }
.okm-boda .okm-d-mid b { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 11cqw; line-height: 1.15; letter-spacing: 0; }
.okm-boda .okm-d-mid small { font-size: 2.5cqw; letter-spacing: .2em; white-space: nowrap; }
.okm-boda .okm-place { font-size: 3cqw; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-top: 1cqw; }
.okm-boda .okm-foot { font-size: 2.3cqw; letter-spacing: .34em; opacity: .85; }
.okm-boda .okm-card-in > .okm-photo { width: 22cqw; height: 22cqw; margin: 0 0 1cqw; box-shadow: 0 0 0 .8cqw rgba(255,255,255,.75), 0 0 0 calc(.8cqw + 1px) var(--oro); }

/* Modelos de boda adicionales */
.okm-flores { width: 34cqw; flex: none; margin-bottom: -1cqw; }
.okm-flores svg, .okm-abanico svg { display: block; width: 100%; height: auto; }
.okm-abanico { width: 30cqw; flex: none; margin-bottom: 1cqw; }
.okm-ini { font-family: 'Playfair Display', Georgia, serif; font-size: 6cqw; letter-spacing: .3em; padding-left: .3em; white-space: pre; color: var(--oro); }

.okm-boda.okm-botanico { --oro: #6F8462; --oro-txt: linear-gradient(100deg, #556A49 0%, #86A073 50%, #556A49 100%); background: radial-gradient(120% 80% at 50% 10%, #FDFCF8 0%, #F4F3EB 65%, #E9EBDE 100%); color: #2F3B2C; }
.okm-boda.okm-botanico .okm-date { border-color: rgba(111,132,98,.5); }

.okm-boda.okm-floral { --oro: #B0646A; --oro-txt: linear-gradient(100deg, #A3585E 0%, #CF8B8F 50%, #A3585E 100%); background: radial-gradient(120% 80% at 50% 10%, #FFFBFA 0%, #FBF0EC 60%, #F5E1DB 100%); color: #4A3434; }
.okm-boda.okm-floral .okm-date { border-color: rgba(176,100,106,.4); }
.okm-boda.okm-floral .okm-card-in { padding-top: 15cqw; padding-bottom: 12cqw; }

.okm-boda.okm-minimal { --oro: #1A1814; --oro-txt: linear-gradient(#1A1814, #1A1814); background: #FFFFFF; color: #1A1814; }
.okm-boda.okm-minimal .okm-names { font-family: 'Playfair Display', Georgia, serif; font-style: normal; text-transform: uppercase; letter-spacing: .08em; font-size: 8.4cqw; line-height: 1.12; }
.okm-boda.okm-minimal .okm-names.dos { font-size: 7.6cqw; }
.okm-boda.okm-minimal .okm-amp { font-style: italic; text-transform: none; font-size: .9em; }
/* En los modelos con nombres en mayúsculas o estrechos, el «&» siempre en su propia línea */
.okm-boda.okm-minimal .okm-amp.inl, .okm-boda.okm-deco .okm-amp.inl, .okm-boda.okm-arco .okm-amp.inl { display: block; margin: 0; font-size: .62em; }
.okm-boda.okm-minimal .okm-names, .okm-boda.okm-deco .okm-names { line-height: 1.05; }
.okm-boda.okm-minimal .okm-date { border-color: rgba(26,24,20,.85); }
.okm-boda.okm-minimal .okm-d-mid b { font-weight: 400; }

.okm-boda.okm-arco { --oro: #A35C3A; --oro-txt: linear-gradient(100deg, #94502F 0%, #C4845C 50%, #94502F 100%); background: linear-gradient(180deg, #EEDFD0 0%, #E6D3C1 100%); color: #4E3426; }
.okm-boda.okm-arco .okm-card-in { padding: 27cqw 19cqw 7cqw; gap: 1.8cqw; }
.okm-boda.okm-arco .okm-names { font-size: 11cqw; }
.okm-boda.okm-arco .okm-names.dos { font-size: 9.5cqw; }
.okm-boda.okm-arco .okm-date { border-color: rgba(163,92,58,.45); }

.okm-boda.okm-deco { --oro: #D9B66A; --oro-txt: linear-gradient(100deg, #C9A25A 0%, #F3DC9B 45%, #D4AE62 100%); background: radial-gradient(120% 80% at 50% 0%, #17392F 0%, #0F2A23 55%, #0A1D18 100%); color: #EFE6D3; }
.okm-boda.okm-deco .okm-names { font-family: 'Playfair Display', Georgia, serif; font-style: normal; text-transform: uppercase; letter-spacing: .1em; font-size: 8cqw; line-height: 1.12; background: var(--oro-txt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.okm-boda.okm-deco .okm-names.dos { font-size: 7.2cqw; }
.okm-boda.okm-deco .okm-amp { font-style: italic; text-transform: none; }
.okm-boda.okm-deco .okm-date { border-color: rgba(217,182,106,.45); }
.okm-boda.okm-deco .okm-card-in > .okm-photo, .okm-boda.okm-noche .okm-card-in > .okm-photo { box-shadow: 0 0 0 .8cqw rgba(15,42,35,.6), 0 0 0 calc(.8cqw + 1px) var(--oro); }

/* Modelo de boda «Jardín» */
.okm-jardin { background-color: #F7F4EC; color: #2F3A2E;
  background-image: repeating-linear-gradient(0deg, rgba(120,110,90,.035) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(120,110,90,.03) 0 1px, transparent 1px 3px); }
.okm-jardin::before { display: none; }
.jd-foto { position: absolute; left: 0; right: 0; top: 0; height: 36%; overflow: hidden; }
.jd-foto img { width: 100%; height: 100%; object-fit: cover; }
.jd-flores { position: absolute; left: -3%; width: 106%; top: 27.5%; height: 18%; z-index: 1; }
.okm-jardin .okm-frame { z-index: 1; }
.okm-jardin .okm-card-in.jd-in { top: 43%; z-index: 3; padding: 1.5cqw 12cqw 6cqw; gap: 1.1cqw; justify-content: flex-start; z-index: 2; }
.jd-inv { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 2.35cqw; letter-spacing: .14em; text-transform: uppercase; color: #3B4A39; }
.jd-nombres { font-family: 'Great Vibes', 'Playfair Display', cursive; font-size: 10.5cqw; line-height: 1.1; color: #2A2F28; overflow-wrap: anywhere; }
.jd-nombres span { font-size: .8em; }
.jd-std { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 700; font-size: 4.3cqw; letter-spacing: .06em; text-transform: uppercase; color: #4E6B4A; }
.jd-mes { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 3.1cqw; letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; margin-top: .6cqw; }
.jd-fila { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 3cqw; width: 100%; }
.jd-caja { border: 1px solid #4E6B4A; padding: 1.4cqw 1cqw; font-family: 'Playfair Display', Georgia, serif; font-size: 3cqw; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.jd-dia { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 11cqw; line-height: 1.1; color: #4E6B4A; }
.jd-anio { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 3.6cqw; letter-spacing: .22em; padding-left: .22em; }
.jd-lugar { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 3cqw; letter-spacing: .2em; text-transform: uppercase; margin-top: .8cqw; }
.jd-dir { font-family: 'Playfair Display', Georgia, serif; font-size: 2.8cqw; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.jd-foot { margin-top: auto; font-size: 2.2cqw; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }

/* Modelo de boda «Rosas»: fotografía de rosas reales y letras doradas */
.okm-rosas { background: #0d0c0b; color: #F3EADB; --oro-r: linear-gradient(100deg, #B8893F 0%, #F4DC9C 42%, #C99A4E 70%, #F0D58E 100%); }
.okm-rosas::before { display: none; }
.rs-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.rs-velo { position: absolute; inset: 0; z-index: 1; background: radial-gradient(46% 40% at 47% 50%, rgba(8,8,8,.62) 0%, rgba(8,8,8,.3) 62%, rgba(8,8,8,0) 100%); }
.okm-rosas .okm-card-in.rs-in { z-index: 2; padding: 22cqw 17cqw 20cqw 13cqw; justify-content: center; }
.rs-placa { display: flex; flex-direction: column; align-items: center; gap: 1.1cqw; width: 100%; padding: 5cqw 4cqw 4cqw; border-radius: 4cqw;
  background: rgba(10,9,8,.62); box-shadow: 0 0 0 1px rgba(217,182,106,.45), 0 2cqw 6cqw rgba(0,0,0,.45); }
.rs-oro { background: var(--oro-r); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-foto { width: 17cqw; height: 17cqw; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 .6cqw #0d0c0b, 0 0 0 calc(.6cqw + 1.5px) #D9B66A; margin-bottom: 1cqw; }
.rs-foto img { width: 100%; height: 100%; object-fit: cover; }
.rs-eyebrow { font-size: 2.8cqw; letter-spacing: .38em; padding-left: .38em; text-transform: uppercase; font-weight: 600; color: #F1DFB5; }
.rs-nombres { display: flex; flex-direction: column; align-items: center; font-family: 'Great Vibes', 'Playfair Display', cursive; font-size: 12.5cqw; line-height: 1.02; overflow-wrap: anywhere; }
.rs-nombres > span { display: block; padding: 0 .1em; }
.rs-amp { font-size: .55em; line-height: 1; }
.rs-nombres.largo { font-size: 10cqw; }
.rs-nombres.muylargo { font-size: 8cqw; }
.rs-sep { width: 22cqw; height: 1px; background: linear-gradient(90deg, transparent, #D9B66A, transparent); margin: 1.6cqw 0 .6cqw; position: relative; }
.rs-sep::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.6cqw; height: 1.6cqw; background: #D9B66A; transform: translate(-50%, -50%) rotate(45deg); }
.rs-dsem { font-size: 2.6cqw; letter-spacing: .36em; padding-left: .36em; text-transform: uppercase; color: #E7D3A8; }
.rs-dia { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 13cqw; line-height: 1.12; }
.rs-mes { font-size: 2.6cqw; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: #E7D3A8; }
.rs-hora { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 3.6cqw; color: #F3EADB; margin-top: .4cqw; }
.rs-lugar { font-size: 2.6cqw; letter-spacing: .14em; padding-left: .14em; text-transform: uppercase; font-weight: 600; color: #F3EADB; margin-top: .8cqw; }
.rs-foot { margin-top: 1.4cqw; font-size: 2cqw; letter-spacing: .3em; text-transform: uppercase; color: rgba(243,234,219,.55); }

/* Versión clara: marco de claveles blancos, texto en dorado viejo y verde salvia */
.okm-rosas.okm-rosas-claro { background: #FBFAF7; color: #2F2F28; --oro-r: linear-gradient(100deg, #6E4F1C 0%, #A8803A 45%, #7A5822 75%, #96712F 100%); }
.okm-rosas-claro .rs-placa { background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(150,113,47,.35), 0 2cqw 6cqw rgba(60,50,30,.18); }
.okm-rosas-claro .rs-velo { background: radial-gradient(62% 24% at 50% 52%, rgba(255,255,255,.8) 0%, rgba(255,255,255,0) 100%); }
.okm-rosas.okm-rosas-claro .okm-card-in.rs-in { padding: 30cqw 9cqw 28cqw; }
.okm-rosas-claro .rs-placa { gap: .8cqw; padding: 4cqw 4cqw 3cqw; }
.okm-rosas-claro .rs-eyebrow, .okm-rosas-claro .rs-dsem, .okm-rosas-claro .rs-mes { color: #3F4A36; }
.okm-rosas-claro .rs-nombres { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; font-size: 11.5cqw; }
.okm-rosas-claro .rs-amp { font-size: .7em; padding: 0 .12em; }
.okm-rosas-claro .rs-nombres.largo { font-size: 9cqw; }
.okm-rosas-claro .rs-nombres.muylargo { font-size: 7.5cqw; }
.okm-rosas-claro .rs-dia { font-size: 10cqw; line-height: 1.05; }
.okm-rosas-claro .rs-hora, .okm-rosas-claro .rs-lugar { color: #3A3A32; }
.okm-rosas-claro .rs-sep { background: linear-gradient(90deg, transparent, #B8914D, transparent); margin: 1cqw 0 .3cqw; }
.okm-rosas-claro .rs-sep::after { background: #B8914D; }
.okm-rosas-claro .rs-foot { margin-top: 1.2cqw; color: rgba(47,47,40,.55); }
.okm-rosas-claro .rs-foto { box-shadow: 0 0 0 .6cqw #FBFAF7, 0 0 0 calc(.6cqw + 1.5px) #B8914D; }

/* Copia a tamaño fijo para descargar la invitación en imagen (html2canvas) */
.okm-card.okm-export { width: 900px; max-width: none; border-radius: 0; box-shadow: none; }

/* Revelado al hacer scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
    .hdr nav { display: none; }
    .menu-btn { display: inline-flex; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .wrap { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
    /* iPhone hace zoom al escribir en campos de menos de 16 px */
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea { font-size: 16px; }
    .hdr-cta .btn-ghost { display: none; }
    .hdr-cta .btn-primary { min-height: 40px; padding: 0 14px; font-size: 14px; }
    .foot-grid { grid-template-columns: 1fr; }
    .row2 { grid-template-columns: 1fr; }
    .panel { padding: 22px 18px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .arrow { transition: none; }
}

/* friendOK en portada */
.fok-puntos { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.fok-puntos li { position: relative; padding-left: 30px; color: var(--ink-2); }
.fok-puntos li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); }
.fok-demo { background: var(--card); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.fok-demo-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fok-demo-cab b { font-size: 19px; }
.fok-demo-cab span { font-size: 13px; color: var(--muted); font-weight: 600; }
.fok-demo-barra { display: block; height: 10px; border-radius: 999px; background: var(--sand); overflow: hidden; margin-bottom: 6px; }
.fok-demo-barra s { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.fok-demo-t { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15px; }
.fok-demo-t small { display: block; font-weight: 500; font-size: 13px; color: var(--pink); margin-top: 2px; }
.fok-demo-t em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; background: var(--grad); color: #fff; white-space: nowrap; }
.fok-demo-t.asig { box-shadow: inset 0 0 0 1.5px var(--pink); }
.fok-demo-t.hecha { background: var(--sand); box-shadow: none; }
.fok-demo-t.hecha span { text-decoration: line-through; color: var(--muted); }
.fok-demo-t.hecha em { background: #2e7d4f; }
.fok-demo-t button { border: 0; font: inherit; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; pointer-events: none; }
.fok-demo-t.eleg { box-shadow: inset 0 0 0 1.5px var(--ink); }
.fok-demo-t.eleg em { background: var(--ink); }
.fok-demo-t.eleg small { color: var(--ink-2); }
.fok-ejemplos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.fok-ejemplos div { background: var(--card); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); }
.fok-ejemplos b { display: block; font-size: 16px; margin-bottom: 6px; }
.fok-ejemplos p { font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 980px) { .fok-ejemplos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fok-ejemplos { grid-template-columns: 1fr; } }
