/* Erick Egúsquiza Chacón · Wedding & Event Planner
   Identidad tomada de su tarjeta: blanco, verde del monograma y ramas plateadas.
   Se carga después de style.css y manda sobre él. */
:root {
  --bg: #ffffff; --bg2: #f6f8f8; --card: #ffffff; --card2: #f6f8f8;
  --line: #e1e5e9; --line2: #c3ccd1; --text: #22292d; --muted: #56616a;
  --primary: #2e7a72; --primary2: #2e7a72; --primary-dark: #1f5a54; --soft: #e6efee; --silver: #b9bec8;
  --pink: #2e7a72; --cyan: #3f8c84; --ok: #1f8a4c; --bad: #c0392b; --warn: #b7791f;
  --radius: 16px; --shadow: 0 12px 34px rgba(20, 50, 48, .12);
  --display: 'Cormorant Garamond', Georgia, serif; --script: 'Great Vibes', cursive; --body: 'Questrial', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
body { font-family: var(--body); font-size: 16px; font-weight: 400; color: var(--text); background: var(--bg); }
body::before, body::after { content: none !important; display: none !important; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
:focus-visible { outline-color: var(--primary); }

/* ---------- Tipografía: sin neón ---------- */
.h-title, .admin-top h1, .cta-band h2, .login-card h1, .catalog-title, .card-title, .cat-name, .card-h, .modal-head h2,
.reel-info strong, .review-top h3, .kpi strong, .rating-line strong, .brand-name {
  text-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--text);
}
.h-title, .catalog-title, .admin-top h1, .cta-band h2, .login-card h1, .modal-head h2, .card-title, .cat-name { font-family: var(--display); font-weight: 500; }
.h-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.admin-top h1 { font-size: 1.9rem; }
.card-h { font-family: var(--body); font-weight: 600; font-size: 1.02rem; }
.modal-head h2 { font-size: 1.6rem; }
.card-title { font-size: 1.3rem; }
.muted, .catalog-hero > p, .review-card p, .cta-band p, .reel-info small, .cat-count, .cat-tabs a, .main-tabs a { text-shadow: none !important; }
.muted { color: var(--muted); }
.danger { color: var(--bad) !important; }

/* ---------- Botones ---------- */
.btn-primary, .btn-outline, .btn-ghost, .btn-contact, .btn-light { font-family: var(--body) !important; font-size: .95rem !important; letter-spacing: .01em !important; text-transform: none !important; border-radius: 999px; padding: .75em 1.4em; min-height: 44px; }
.btn-sm { padding: .45em .95em; min-height: 36px; font-size: .88rem !important; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: none; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); filter: none; color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--soft); box-shadow: none; }
.btn-ghost { color: var(--primary); }
.btn-ghost:hover { background: var(--soft); }
.btn-light { display: inline-flex; align-items: center; gap: .5em; background: #fff; color: var(--primary-dark); font-weight: 600; text-decoration: none !important; }
.btn-light:hover { background: var(--soft); }
.btn-contact { background: var(--primary); color: #fff !important; border: 0; box-shadow: none; }
.btn-contact:hover { background: var(--primary-dark); box-shadow: none; }
.btn-contact .ic { color: #fff; }
.icon-btn { border-color: var(--line); color: var(--text); background: #fff; }
.icon-btn:hover { background: var(--soft); }
.linklike { color: var(--primary); }
.btn-ok { background: var(--ok); } .btn-bad { background: var(--bad); }

/* ---------- Componentes compartidos en claro ---------- */
.notice { background: var(--soft); border-color: #b9d4d0; color: var(--text); }
.notice.error { background: #fdecea; border-color: #f0b4ac; }
.badge { background: rgba(255, 255, 255, .92); color: var(--primary-dark); border-color: transparent; }
.badge-left { background: var(--primary); color: #fff; }
.chip { color: var(--primary-dark); background: var(--soft); border-color: transparent; }
.chip.active, .chip:hover, .view-tabs button.active, .seg a.active { background: var(--primary); color: #fff; box-shadow: none; }
.chip-hot { background: #f3ece4; color: #7a5a3a; }
.media-placeholder { background: linear-gradient(135deg, #e7eeee, #d8e3e2); color: var(--primary); }
.empty, .empty-line { background: var(--bg2); border-color: var(--line); color: var(--muted); }
.view-tabs, .filter-bar, .seg { background: var(--bg2); }
.review-card, .news-info, .show-info, .card, .kpi, .show-row, .contact-item, .filter-bar, .empty, .empty-line { background: #fff; border-color: var(--line); backdrop-filter: none; }
.review-card:hover, .contact-item:hover { background: var(--bg2); }
.reel-tile, .show-card, .cat-card { background: var(--bg2); border-color: var(--line); }
.show-card:hover, .cat-card:hover, .news-card:hover, .reel-tile:hover { box-shadow: var(--shadow); border-color: var(--line2); }
.show-info .card-title { color: var(--text); }
.cat-card, .cat-name { color: #fff !important; }
.cat-media::after { background: linear-gradient(transparent 45%, rgba(20, 40, 38, .85)); }
.cta-band { background: var(--soft); border-color: #cfe0dd; backdrop-filter: none; }
.cta-band h2 { font-size: 1.8rem; }
.stars { color: #c9a227; } .stars-off, .star-input label { color: #d5dadf; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #c9a227; }
.avatar { background: var(--primary); }
.avatar-c { background: var(--silver); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { background: #fff !important; color: var(--text); border: 1px solid var(--line2); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46, 122, 114, .18); }
.modal, .drawer, .kebab-menu { background: #fff; border-color: var(--line); color: var(--text); box-shadow: var(--shadow); }
.modal-head { background: #fff; }
.modal::backdrop, .drawer::backdrop { background: rgba(20, 32, 34, .5); }
.drawer-nav a, .drawer-nav button { color: var(--text); }
.drawer-nav a:hover, .drawer-nav button:hover, .kebab-menu a:hover, .kebab-menu button:hover { background: var(--soft); }
.ci-tt { background: #111; border: 0; }
.toast { background: #22292d; color: #fff; border-color: transparent; }
.toast.error { background: #8e2b20; }
.info-band { color: var(--primary-dark); background: var(--soft); border-color: #b9d4d0; }
.copy code { background: var(--bg2); color: var(--text); border-color: var(--line); }

/* ---------- Cabecera y marca ---------- */
.site-header { background: rgba(255, 255, 255, .94) !important; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.site-header .header-row { height: 74px; }
.brand { flex-direction: row !important; align-items: center !important; gap: 12px; color: var(--text); text-decoration: none !important; }
.brand-mark { width: 46px; height: 46px; flex: none; border: 1.5px solid var(--primary); border-radius: 50%; display: grid; place-items: center; font-family: var(--script); font-size: 22px; color: var(--primary); line-height: 1; padding-top: 2px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: var(--body) !important; font-weight: 400 !important; font-size: 1rem !important; color: var(--text) !important; }
.brand-sub { font-family: var(--body) !important; font-size: .68rem !important; letter-spacing: .2em !important; text-transform: uppercase; color: var(--muted) !important; margin: 0; padding: 0; }
.main-tabs { gap: 2px; }
.main-tabs a { color: var(--text); font-weight: 400; padding: .55em .85em; border-bottom: 0; }
.main-tabs a:hover { color: var(--primary); text-decoration: none; }
.main-tabs a.active { color: var(--primary); }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .main-tabs { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header .btn-contact { margin-left: auto; }
  .brand-sub { display: none; }
}
@media (max-width: 420px) { .brand-name { font-size: .9rem !important; } .site-header .btn-contact span { display: none; } }

/* ---------- Intro: el monograma se dibuja y abre la página ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #fff; cursor: pointer; animation: intro-out 3s ease forwards; }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 16px; }
.intro-mono { width: min(320px, 78vw); height: auto; color: var(--primary); }
.intro-mono .m-ring { stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1.3s ease forwards; }
.intro-mono .m-swirl { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1s .5s ease forwards; }
.intro-mono .m-txt { opacity: 0; animation: fade-up .7s 1.05s ease forwards; }
.intro-name { font-size: 1.35rem; letter-spacing: .04em; opacity: 0; animation: fade-up .7s 1.45s ease forwards; }
.intro-sub { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fade-up .7s 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes intro-out { 0%, 80% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
body.no-intro .intro { display: none; }
body.with-intro { overflow: hidden; }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg2); }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 110px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kicker { margin: 0; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--primary); }
.hero-words { position: relative; height: 0; }
.hero-words .w { position: absolute; left: 0; top: 0; font-family: var(--display); font-size: clamp(64px, 9vw, 104px); line-height: 1; color: var(--text); opacity: 0; white-space: nowrap; }
.hero-words .w2 { font-style: italic; color: var(--primary); }
.hero-words .w3 { font-family: var(--script); color: var(--primary); font-size: clamp(72px, 10vw, 118px); }
.hero-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 68px); line-height: 1.05; color: var(--text); min-height: 2.1em; }
.hero-title .script { font-family: var(--script); color: var(--primary); font-size: 1.2em; font-weight: 400; }
.hero-text { margin: 0; font-size: 1.08rem; line-height: 1.65; color: #46515a; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* Secuencia: con intro las palabras esperan a que se abra la página; sin intro, empiezan ya. */
body { --t0: 2.5s; }
body.no-intro { --t0: .1s; }
.hero-words .w1 { animation: word 2.6s calc(var(--t0) + 0s) ease forwards; }
.hero-words .w2 { animation: word 2.6s calc(var(--t0) + .6s) ease forwards; }
.hero-words .w3 { animation: word 2.6s calc(var(--t0) + 1.2s) ease forwards; }
.hero-title { opacity: 0; animation: fade-up .9s calc(var(--t0) + 2.1s) ease forwards; }
.hero-text, .hero-cta { opacity: 0; animation: fade-up .8s calc(var(--t0) + 2.5s) ease forwards; }
@keyframes word { 0% { opacity: 0; transform: translateY(24px); } 15%, 30% { opacity: 1; transform: none; } 40%, 100% { opacity: 0; transform: translateY(-24px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-words { display: none; }
  .hero-title, .hero-text, .hero-cta { opacity: 1; animation: none; }
}
.hero-media-wrap { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero-arch { width: min(440px, 100%); aspect-ratio: 4 / 5; border-radius: 220px 220px 18px 18px; overflow: hidden; background: #dce5e4; box-shadow: var(--shadow); }
.hero-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #3f5e5b; font-size: .95rem; }
.mono-soft { width: 160px; color: var(--primary); opacity: .55; }
.branch { position: absolute; left: 0; bottom: 0; width: 100%; height: 80px; color: var(--silver); pointer-events: none; }

/* ---------- Secciones ---------- */
.section-x { padding-top: 88px; padding-bottom: 24px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.center-head { flex-direction: column; align-items: center; text-align: center; }
.script-kicker { margin: 0 0 6px; font-family: var(--script); font-size: 2.1rem; line-height: 1; color: var(--primary); }
.script-kicker.light { color: #d7ece9; }
.sec-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.1; color: var(--text); }
.feed-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #eef2f2; max-width: 100%; overflow-x: auto; }
.feed-tabs button { border: 0; border-radius: 999px; padding: 11px 20px; background: transparent; color: var(--text); min-height: 44px; white-space: nowrap; }
.feed-tabs button[aria-selected=true] { background: var(--primary); color: #fff; }
.feed-intro { margin: -8px 0 18px; }
.wedding-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.wedding-tile { border: 0; padding: 0; background: none; text-align: left; display: flex; flex-direction: column; gap: 8px; color: var(--text); cursor: pointer; }
.wt-media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #d5dfde; transition: transform .2s, box-shadow .2s; }
.wt-media .cover { width: 100%; height: 100%; object-fit: cover; }
.wedding-tile:hover .wt-media { transform: translateY(-4px); box-shadow: var(--shadow); }
.wt-tag { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--primary-dark); font-size: .75rem; padding: 6px 10px; border-radius: 999px; }
.wt-likes { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: .8rem; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.wt-title { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; }
.wt-sub { font-size: .88rem; color: var(--muted); margin-top: -4px; }
.more-line { margin-top: 18px; }
.band { background: var(--bg2); margin-top: 88px; padding-bottom: 88px; }
.band .section-x { padding-top: 88px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.service-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; margin: 0; }
.service-card p { margin: 0; color: #46515a; line-height: 1.6; }
.service-card .price { color: var(--primary); font-size: .95rem; }
.service-card .wa-mini { align-self: flex-start; margin-top: auto; padding-left: 0; }
.venue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.venue-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.venue-photo { aspect-ratio: 16 / 10; background: #e3e8ec; display: grid; place-items: center; }
.venue-photo img { width: 100%; height: 100%; object-fit: cover; }
.venue-info { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.venue-info h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.45rem; }
.venue-info p { margin: 0; }
.about { background: var(--primary); color: #fff; margin-top: 88px; }
.about-row { display: flex; flex-wrap: wrap; align-items: center; gap: 44px; padding-top: 80px; padding-bottom: 80px; }
.about-photo { width: 230px; height: 230px; flex: none; border-radius: 50%; overflow: hidden; border: 6px solid #fff; background: #3f8c84; display: grid; place-items: center; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.mono-light { width: 170px; color: #fff; }
.about-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.about-copy .sec-title { color: #fff; }
.about-copy p { margin: 0; line-height: 1.7; color: #e2f0ee; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 44px; border-radius: 999px; background: var(--soft); color: var(--primary-dark); text-decoration: none !important; font-size: .92rem; }
.soc:hover { background: #d6e6e4; }
.on-dark .soc { background: rgba(255, 255, 255, .14); color: #fff; }
.on-dark .soc:hover { background: rgba(255, 255, 255, .24); }
.rating-line { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.review-kind { color: var(--muted); }
.cta-final { margin-bottom: 80px; background: var(--primary); color: #fff; border-radius: 28px; padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-final h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); }
.cta-final p { margin: 0 0 8px; color: #e2f0ee; }

/* ---------- Catálogo y página de cada boda ---------- */
.catalog-hero { text-align: center; padding: 40px 0 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.catalog-title { font-size: clamp(2rem, 5vw, 3rem); color: var(--text) !important; }
.cat-tabs { background: #eef2f2; border: 0; border-radius: 999px; padding: 5px; backdrop-filter: none; }
.cat-tabs a { color: var(--text); border-radius: 999px; }
.cat-tabs a:hover { color: var(--primary); background: transparent; }
.cat-tabs a.active { color: #fff; background: var(--primary); box-shadow: none; }
.page { padding-top: 18px; }
.sticky-cta { background: linear-gradient(transparent, #fff 40%); }

/* ---------- Visor flotante de videos (se mantiene oscuro, como un cine) ---------- */
.reel-overlay strong { font-family: var(--display) !important; font-size: 1.3rem !important; text-transform: none !important; letter-spacing: 0 !important; text-shadow: none !important; color: #fff !important; }
.reel-ago { background: var(--primary); }
.reels-nav .icon-btn { background: rgba(46, 122, 114, .7); border-color: transparent; color: #fff; }
.reels-close, .reels-sound { color: #fff; }
.reel-media { background: #0d1615; }
.reel-sheet { background: #fff !important; color: var(--text); }
.reel-wm { font-family: var(--script) !important; font-weight: 400 !important; font-size: 1.2rem !important; letter-spacing: 0 !important; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; min-height: 52px; border-radius: 999px; background: var(--primary); color: #fff !important; text-decoration: none !important; box-shadow: 0 10px 26px rgba(20, 60, 56, .3); }
.wa-float:hover { background: var(--primary-dark); }
.wa-float .ic { width: 22px; height: 22px; }
body:has(dialog[open]) .wa-float, body.with-intro .wa-float { display: none; }

/* ---------- Pie ---------- */
.site-footer { background: #fff !important; border-top: 1px solid var(--line); padding: 32px 0 100px; }
.foot-row { align-items: center; }
.foot-brand { display: flex; flex-direction: column; gap: 2px; }
.foot-script { font-family: var(--script); font-size: 2rem; color: var(--primary); line-height: 1; }

/* ---------- Panel de administración en claro ---------- */
.is-private { background: var(--bg2); }
.admin-side { background: #fff !important; border-right: 1px solid var(--line); }
.admin-nav a { color: #3d474f; font-weight: 400; }
.admin-nav a:hover { background: var(--soft); color: var(--text); }
.admin-nav a.active { background: var(--primary); color: #fff; box-shadow: none; }
.admin-nav a.active .ic { color: #fff; }
.admin-nav .count { background: #c0392b; }
.admin-side .brand { align-self: flex-start; }
.admin-side .brand-sub { display: block; }
.admin-main { background: var(--bg2); }
.drive-chip { background: var(--bg2); color: var(--muted); border-color: var(--line); }
.kpi .ic { background: var(--soft); color: var(--primary); }
.kpi:nth-child(4) .ic, .kpi-like .ic { color: #b8860b !important; background: #f7efd9 !important; }
.kpi strong { color: var(--text); font-size: 1.7rem; }
.tbl th { color: var(--muted); }
.tbl td { border-bottom-color: var(--line); }
.stage { background: #fff; border-color: var(--line); }
.stage strong { color: var(--primary); }
.lost { color: #a5352a; border-color: #f0c4be; }
.lost b { color: var(--text); }
.warn-chip { color: #8a5a12; background: #fdf3e1; border-color: #efd29c; }
.pill-ok { background: #e3f3ea; color: #1d6b3d; } .pill-off { background: #eef0f2; color: #5c6670; }
.pill-hot { background: #fdecea; color: #a5352a; border-color: #f0c4be; }
.switch > span { background: #c8d0d4; }
.switch input:checked + span { background: var(--primary); }
.kebab summary:hover { background: var(--soft); }
.dropzone { background: var(--bg2); border-color: var(--line2); }
.dropzone.over { background: var(--soft); border-color: var(--primary); }
.drive-need { background: #fdf3e1; border-color: #efd29c; }
.type-chip { background: var(--soft); border-color: transparent; }
.seg a { color: var(--text); }
.chart polyline { stroke: var(--primary); }
.chart polygon { fill: rgba(46, 122, 114, .12); }
.chart .lbl { fill: var(--muted); }
.chart .axis { stroke: var(--line2); }
.login-card { background: #fff; border-color: var(--line); }
.login-card .brand { align-self: center; }
.status-list li.ok::before { box-shadow: none; }
.row-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 14px; align-items: end; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row-form .f-wide { grid-column: 1 / -1; }
.row-form .f-num input { max-width: 110px; }
.row-form .check { margin-bottom: 14px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.venue-thumb { width: 96px; height: 72px; margin-bottom: 14px; }
.venue-thumb img { width: 100%; height: 100%; object-fit: cover; }
.add-box { margin-top: 14px; }
.add-box > summary { list-style: none; display: inline-flex; cursor: pointer; }
.add-box > summary::-webkit-details-marker { display: none; }
.add-box[open] > summary { margin-bottom: 6px; }
.photo-now { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.photo-now img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; } .admin-side { position: static; height: auto; } }

/* ---------- Ajustes tras revisar pantallas ---------- */
.main-tabs a { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: .95rem; }
.venue-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); }
.reels-close { background: rgba(0, 0, 0, .5) !important; color: #fff !important; border-color: rgba(255, 255, 255, .25) !important; }
.reel-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.reel-actions .btn-outline:hover { background: rgba(255, 255, 255, .12); }
.reel-wm { color: rgba(255, 255, 255, .8) !important; text-shadow: 0 1px 4px rgba(0, 0, 0, .5) !important; }
.stage.st-realizado strong { color: #8a6a10; }
.admin-side .brand-name { font-size: .92rem !important; }
.row-form { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 14px; } .hero-row { padding-top: 36px; gap: 28px; } }

/* =========================================================
   Versión compacta: portada + fila de bodas + ventanas flotantes
   ========================================================= */
/* Botones visibles desde el inicio; solo el título espera a las palabras. */
.hero-cta, .hero-text { opacity: 1 !important; animation: none !important; }
.hero-row { padding-bottom: 96px; }
.erick-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); text-align: left; min-height: 56px; }
.erick-chip:hover { border-color: var(--primary); }
.erick-face { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; }
.erick-face img { width: 100%; height: 100%; object-fit: cover; }
.erick-face .brand-mark { width: 44px; height: 44px; }
.erick-meta { display: flex; flex-direction: column; line-height: 1.25; }
.erick-meta strong { font-weight: 400; font-size: .95rem; }
.erick-meta small { color: var(--primary); font-size: .82rem; }

/* Bodas en una fila que se desliza */
.bodas { padding-top: 56px; }
.bodas .sec-head { align-items: center; margin-bottom: 18px; }
.rail-wrap { position: relative; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 2px; padding: 4px 2px 14px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.rail .wedding-tile { flex: 0 0 clamp(200px, 22vw, 250px); scroll-snap-align: start; }
.rail .wt-media { aspect-ratio: 9 / 14; }
.wt-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(16, 32, 30, .82)); display: flex; flex-direction: column; gap: 2px; color: #fff; }
.wt-cap .wt-title { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; }
.wt-cap .wt-sub { font-size: .82rem; color: #e2f0ee; margin: 0; }
.wt-new { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--primary); color: #fff; font-size: .72rem; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; }
.wt-likes { top: 12px; bottom: auto; right: 12px; }
.rail-more { flex: 0 0 150px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--line2); border-radius: 16px; color: var(--primary); text-decoration: none !important; }
.rail-more:hover { background: var(--soft); }
.rail-btn { position: absolute; top: 42%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); box-shadow: var(--shadow); display: grid; place-items: center; }
.rail-btn.prev { left: -18px; } .rail-btn.next { right: -18px; }
.rail-btn:hover { color: var(--primary); }
@media (hover: none), (max-width: 760px) { .rail-btn { display: none; } .rail .wedding-tile { flex-basis: 62vw; } }

/* Fila de tarjetas que abren ventanas */
.quick { padding-top: 36px; padding-bottom: 72px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.quick-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--text); min-height: 44px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.quick-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-card svg { width: 30px; height: 30px; fill: none; stroke: var(--primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.quick-card strong { font-family: var(--display); font-weight: 500; font-size: 1.55rem; line-height: 1.1; }
.quick-card small { color: var(--muted); font-size: .88rem; }
@media (max-width: 520px) { .quick-grid { grid-template-columns: 1fr 1fr; } .quick-card { padding: 16px; } .quick-card strong { font-size: 1.25rem; } }

/* Ventanas flotantes: centradas en computadora, suben desde abajo en el celular */
.win { width: min(860px, calc(100vw - 32px)); max-height: min(86vh, 900px); overflow-y: auto; padding: 0 24px 24px; }
.win .modal-head { position: sticky; top: 0; z-index: 2; padding: 18px 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.win-sub { font-family: var(--body); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 18px 0 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; counter-reset: st; }
.steps li { counter-increment: st; background: var(--bg2); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(st); width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: .9rem; margin-bottom: 4px; }
.steps strong { font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.steps span { color: #46515a; font-size: .9rem; line-height: 1.5; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.service-list .service-card { padding: 20px; }
.service-card h4 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.45rem; }
.win .venue-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.win-about .about-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 10px 0; }
.win-about .about-photo { width: 200px; height: 200px; border: 0; background: var(--soft); }
.win-about .mono-light { color: var(--primary); width: 140px; }
.win-about .about-copy p { color: #46515a; }
.win-about .exp { font-family: var(--display); font-size: 1.5rem; color: var(--primary) !important; }
.win .reviews-grid { margin-bottom: 16px; }
@media (max-width: 640px) {
  dialog.win, dialog#avail-modal { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 88vh; animation: sheet-up .3s cubic-bezier(.2, .8, .2, 1); }
  .win-about .about-photo { width: 140px; height: 140px; }
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }

/* Consultar disponibilidad */
.avail-form { display: flex; flex-direction: column; gap: 4px; }
.avail-form .btn-block { margin-top: 8px; }

/* WhatsApp flotante: solo después de la portada */
.wa-float { transition: opacity .25s, transform .25s; }
body:not(.past-hero) .wa-float { opacity: 0; transform: translateY(16px); pointer-events: none; }
.site-header .btn-contact .ic { width: 18px; height: 18px; }
@media (max-width: 420px) { .site-header .btn-contact span { display: none; } }
.main-tabs a, .main-tabs button { font-family: var(--body); font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--text); background: none; border: 0; border-radius: 999px; padding: .55em .85em; min-height: 40px; cursor: pointer; }
.main-tabs a:hover, .main-tabs button:hover { color: var(--primary); background: var(--soft); text-decoration: none; }
.drawer-nav a, .drawer-nav button { font-family: var(--body); font-size: 1rem; text-align: left; background: none; border: 0; }
@media (max-width: 640px) { .hero-arch { width: 78%; } .steps { grid-template-columns: 1fr 1fr; } .steps li { padding: 12px; } .steps strong { font-size: 1.1rem; } }
