:root {
  --bg: #F3F1E7;
  --bg-alt: #E4E8D2;
  --ink: #1F2A1C;
  --ink-soft: #4C5A45;
  --primary: #4A5D23;
  --primary-dark: #36461A;
  --honey: #C28A2B;
  --dark: #1F2A1C;
  --border: #D3D8BE;
  --border-strong: #9AA582;
  --surface: #FBFAF3;
  --on-primary: #FFFFFF;
  --on-dark: #F6E9CF;
  --accent-light: #E8C98A;
  --header-bg: rgba(243,241,231,.95);
  --radius: 14px;
  --serif: "DM Serif Display", Georgia, serif;
  --serif-em: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h1 em { font-family: var(--serif-em); font-style: italic; font-weight: 400; color: var(--primary); text-transform: none; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.eyebrow--light { color: var(--accent-light); }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 20px 0 28px; max-width: 34em; }
.sub { color: var(--ink-soft); max-width: 40em; margin-bottom: 32px; }
.note { font-size: .85rem; color: var(--ink-soft); margin-top: 20px; font-style: italic; }

.btn { display: inline-block; background: var(--primary); color: var(--on-primary); padding: 14px 28px; border-radius: 999px; font: 700 1rem var(--sans); text-decoration: none; border: 2px solid var(--primary); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn--ghost { background: transparent; color: var(--primary); }
.btn--ghost:hover { background: var(--primary); color: var(--on-primary); }
.btn--sm { padding: 8px 20px; }

.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--primary); text-decoration: none; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav .btn { color: var(--on-primary); }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }

.hero { padding: 56px 0 72px; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__art { position: relative; }
.hero__img { position: relative; width: 100%; height: auto; aspect-ratio: 1096 / 1435; object-fit: cover; display: block; border: 0; border-radius: 0; box-shadow: none; -webkit-mask-image: linear-gradient(to left, #000 0%, #000 82%, rgba(0,0,0,.75) 88%, rgba(0,0,0,.4) 93%, rgba(0,0,0,.12) 97%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.5) 3%, #000 8%, #000 94%, rgba(0,0,0,.4) 98%, transparent 100%); mask-image: linear-gradient(to left, #000 0%, #000 82%, rgba(0,0,0,.75) 88%, rgba(0,0,0,.4) 93%, rgba(0,0,0,.12) 97%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.5) 3%, #000 8%, #000 94%, rgba(0,0,0,.4) 98%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.badge { display: none; position: absolute; z-index: 2; left: -20px; bottom: 28px; background: var(--primary); color: var(--on-primary); padding: 14px 20px; border-radius: 16px; display: grid; box-shadow: 0 12px 24px rgba(43,26,20,.3); }
.badge strong { font: 700 1.4rem var(--serif); } .badge span { font-size: .85rem; opacity: .9; }
.side-img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin-top: 24px; box-shadow: 0 16px 32px rgba(43,26,20,.18); }

.strip { background: var(--primary); color: var(--on-primary); }
.strip__in { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; padding: 16px; font-family: var(--serif); letter-spacing: .06em; }

.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin-top: 20px; }
.checks li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--border); }
.checks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 8px; border-left: 3px solid var(--honey); border-bottom: 3px solid var(--honey); transform: rotate(-45deg); }

.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; }
.card--hl { border: 2px solid var(--primary); }
.tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--on-primary); font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.card__n { font-family: var(--serif); font-size: 1.5rem; color: var(--primary); margin-top: 12px; }
.card a { display: inline-block; margin-top: 16px; color: var(--primary); font-weight: 700; }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.menu-item { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.menu-item h3 { color: var(--primary); margin-bottom: 8px; }
.menu-item p { color: var(--ink-soft); font-size: .95rem; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 32px; }
.steps span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--honey); color: var(--dark); font: 700 1.2rem var(--serif); margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery { grid-auto-flow: dense; }
.ph { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); transition: transform .4s, box-shadow .4s; }
.ph:hover { transform: scale(1.02); box-shadow: 0 14px 28px rgba(43,26,20,.25); }
.ph--tall { grid-row: span 2; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
blockquote { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); font-family: var(--serif-em); font-style: italic; }
cite { display: block; margin-top: 16px; font: normal 600 .85rem var(--sans); color: var(--ink-soft); }

.contact { margin-top: 24px; }
.form { display: grid; gap: 16px; background: var(--surface); padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; padding: 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--ink); }
.form__err { color: #B42318; font-size: .9rem; }

.footer { background: var(--dark); color: var(--on-dark); padding: 28px 0; font-size: .9rem; }
.footer__in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.footer a { color: var(--on-dark); }
.footer .logo { color: var(--on-dark); }
.float { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40; background: var(--primary); color: var(--on-primary); padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,.25); }

@media (max-width: 900px) {
  .hero__in, .split { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .menu-grid, .quotes, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav .btn { text-align: center; margin-top: 8px; }
  .float { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
.card, .menu-item { transition: transform .25s, box-shadow .25s; }
.card:hover, .menu-item:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(43,26,20,.12); }
@media (max-width: 900px) { .badge { left: 8px; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Temas ---------- */

/* ---------- Pedido ---------- */
.pedido { padding: 40px 0 96px; }
.pedido__head { margin-bottom: 32px; }
.pedido__head a { color: var(--primary); font-weight: 600; }
.pedido__grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.cat { margin-bottom: 40px; }
.cat__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 16px; }
.cat__head h2 { font-size: 1.5rem; margin: 0; }
.count { font-weight: 700; color: var(--primary); white-space: nowrap; }
.count.full { color: #2E7D32; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: block; padding: 12px 14px 12px 42px; border: 1.5px solid var(--border-strong); border-radius: 12px; background: var(--surface); position: relative; transition: border-color .2s, background .2s; }
.opt span small { display: block; color: var(--ink-soft); font-size: .8rem; }
.opt span::before { content: ""; position: absolute; left: 14px; top: 16px; width: 16px; height: 16px; border: 2px solid var(--border-strong); border-radius: 50%; }
.opt input:checked + span { border-color: var(--primary); background: var(--bg-alt); }
.opt input:checked + span::before { background: var(--primary); border-color: var(--primary); box-shadow: inset 0 0 0 3px var(--bg-alt); }
.opt input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.opt input:disabled + span { opacity: .45; cursor: not-allowed; }
.opt input:disabled { cursor: not-allowed; }
.summary { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.summary h2 { font-size: 1.3rem; margin: 0; }
.summary dl { display: grid; gap: 10px; margin: 0; font-size: .95rem; }
.summary dt { font-weight: 700; display: flex; justify-content: space-between; }
.summary dd { margin: 0; color: var(--ink-soft); }
.summary label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.summary input, .summary select, .summary textarea { font: inherit; padding: 10px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg); color: var(--ink); }
.form__err { color: #B42318; font-size: .9rem; }
@media (max-width: 900px) { .pedido__grid { grid-template-columns: 1fr; } .summary { position: static; } }
.back { color: var(--ink); text-decoration: none; font-weight: 600; } .back:hover { color: var(--primary); }

.banner { position: relative; padding: 64px 0 56px; color: var(--on-dark); background: linear-gradient(90deg, rgba(24,34,22,.92) 0%, rgba(24,34,22,.72) 55%, rgba(24,34,22,.38) 100%), url("img/evento-1254.jpg") center 36% / cover; }
.banner h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); max-width: 18em; }
.banner h1 em { color: var(--accent-light); }
.banner__steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; counter-reset: s; }
.banner__steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .9rem; }
.banner__steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.25); font-weight: 700; }
.banner__steps .on, .banner__steps .done { background: var(--accent-light); color: var(--dark); }
.banner__steps .on::before, .banner__steps .done::before { background: var(--dark); color: var(--accent-light); }
.banner__steps .done::before { content: "\2713"; }
.pedido { padding-top: 48px; }
.cat__head { align-items: center; justify-content: flex-start; border-bottom: 2px solid var(--border); }
.cat__head .count { margin-left: auto; background: var(--bg-alt); padding: 4px 14px; border-radius: 999px; }
.cat__head .count.full { background: #DCEFD9; }
.cat__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary); color: var(--on-primary); flex: none; }
.cat__head h2 small { display: block; font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.opt span { padding: 14px 14px 14px 46px; font-weight: 600; }
.opt span small { font-weight: 400; }
.opt span::before { border-radius: 6px; top: 17px; transition: background .2s; }
.opt input:checked + span::before { box-shadow: none; }
.opt input:checked + span::after { content: ""; position: absolute; left: 20px; top: 20px; width: 6px; height: 10px; border: solid var(--on-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.opt:hover input:not(:disabled) + span { border-color: var(--primary); transform: translateY(-2px); }
.opt span { transition: border-color .2s, background .2s, transform .2s; }
.summary { box-shadow: 0 18px 40px rgba(43,26,20,.12); border-top: 5px solid var(--primary); }
.progress { height: 10px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--honey), var(--primary)); transition: width .35s; }
.ptxt { font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-top: -6px; }
.summary dl > div { padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
.summary .btn { width: 100%; text-align: center; }

/* ---------- Fuentes ---------- */

/* Manuscritas */
.strip__in, .eyebrow { font-family: var(--sans); }

/* ---------- Toque manuscrito dorado ---------- */
:root { --script: #E2A02F; --sage: #A9B79A; }
.script { display: block; font-family: "Mrs Saint Delafield", cursive; font-weight: 400; color: var(--script); font-size: clamp(2.6rem, 7vw, 4.2rem); line-height: .9; margin-bottom: 6px; text-transform: none; letter-spacing: 0; }
.section { position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.section::before { content: ""; position: absolute; left: -30px; top: -20px; width: 220px; height: 220px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='none' stroke='%23A9B79A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M-10 210C40 150 90 90 190 20'/%3E%3Cpath d='M30 170c-4-26 8-42 30-48-2 24-12 40-30 48zM70 128c-4-26 8-42 30-48-2 24-12 40-30 48zM112 88c-4-26 8-42 30-48-2 24-12 40-30 48zM50 150c24 2 40-8 48-26-24-4-42 6-48 26zM92 108c24 2 40-8 48-26-24-4-42 6-48 26z'/%3E%3C/svg%3E") no-repeat; opacity: .75; pointer-events: none; }
.section:nth-of-type(even)::before { left: auto; right: -30px; transform: scaleX(-1); }
.banner .script { margin-bottom: 4px; }
@media (max-width: 600px) { .section::before { width: 150px; height: 150px; background-size: contain; } }

/* ---------- Imágenes ---------- */
.hero__img, .side-img, .ph { background: var(--bg-alt); filter: saturate(1.06) contrast(1.02) brightness(1.01); }
.hero__img { object-position: center 35%; }
.side-img { object-position: center 35%; }

.ph--evento { object-position: 35% center; }
@media (max-width: 900px) {
  .hero__img { aspect-ratio: 1096 / 1435; max-height: 560px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, rgba(0,0,0,.5) 93%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 86%, rgba(0,0,0,.5) 93%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
}

.hero { overflow: hidden; }

/* ---------- Hero a media pantalla ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(88vh, 780px); padding: 64px 0; }
.hero__in { display: block; width: 100%; position: relative; z-index: 2; }
.hero__text { max-width: 520px; }
.hero__art { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; margin: 0; z-index: 1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; max-height: none; object-fit: cover; object-position: 50% 38%; background: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.04) 6%, rgba(0,0,0,.14) 13%, rgba(0,0,0,.32) 21%, rgba(0,0,0,.55) 30%, rgba(0,0,0,.78) 40%, rgba(0,0,0,.93) 50%, #000 60%), linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.5) 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.04) 6%, rgba(0,0,0,.14) 13%, rgba(0,0,0,.32) 21%, rgba(0,0,0,.55) 30%, rgba(0,0,0,.78) 40%, rgba(0,0,0,.93) 50%, #000 60%), linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.5) 95%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; padding: 40px 0 0; }
  .hero__text { max-width: none; }
  .hero__art { position: relative; width: auto; height: 380px; margin: 28px 0 0; }
  .hero__img { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0,0,0,.5) 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0,0,0,.5) 90%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; object-position: 50% 30%; }
}

h1, h2, h3, .logo, .card__n { font-weight: 400; }

#servicio .split { align-items: center; }

.card__dep { font-size: .85rem; color: var(--ink-soft); }
.card__n s { font-size: .6em; color: var(--ink-soft); margin-right: 4px; }
