/* Structura șablonului — culorile și fonturile vin din variabilele din themes.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.75; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); font-weight: 400; line-height: 1.2; margin: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); font-weight: 300; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--center { text-align: center; padding-bottom: 20px; }
.section--center .section__title { margin-bottom: 18px; }
.section--alt-soft { padding: 70px 0 120px; }

/* ---------- Decor botanic (doar temele cu frunze) ---------- */
html[data-theme="romantic"] .section__title::before,
html[data-theme="rustic"] .section__title::before { content: ""; position: absolute; left: 50%; top: -38px; width: 64px; height: 55px; background: url("../images/sprig.svg") center / contain no-repeat; }
html[data-theme="romantic"] .section__head--light .section__title::before,
html[data-theme="rustic"] .section__head--light .section__title::before { filter: brightness(1.6) saturate(.5); }

/* ---------- Titluri de secțiune ---------- */
.section__head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.section__title { position: relative; display: inline-block; font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--title, var(--heading)); margin: 0; }
.section__head::after { content: ""; display: block; width: 270px; max-width: 70%; height: 8px; margin: 18px auto 0;
  background: linear-gradient(var(--line), var(--line)) top / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) bottom center / 58% 1px no-repeat; }
.section__head--light .section__title { color: #fff; }
.section__head--light::after { background: linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)) top / 100% 1px no-repeat, linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)) bottom center / 58% 1px no-repeat; }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(16px, 4vw, 56px); height: 82px; background: color-mix(in srgb, var(--bg) 94%, transparent); transition: background .3s, box-shadow .3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.nav__logo { font-family: var(--font-script); font-size: 2.1rem; color: var(--title, var(--heading)); text-decoration: none; justify-self: start; line-height: 1; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); height: 100%; }
.nav__links a { position: relative; display: flex; align-items: center; text-decoration: none; color: var(--heading); font-size: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.nav__links a:hover { color: var(--accent); }
.nav__links a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); }
.nav__toggle { display: none; justify-self: end; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 0; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--heading); margin: 6px auto; }
[data-theme="clasic"] .nav__logo, [data-theme="modern"] .nav__logo { font-family: var(--font-head); font-size: 1rem; letter-spacing: .15em; text-transform: uppercase; }
[data-theme="modern"] .nav:not(.scrolled) { background: transparent; }
[data-theme="modern"] .nav:not(.scrolled) .nav__logo, [data-theme="modern"] .nav:not(.scrolled) .nav__links a { color: #fff; }
[data-theme="modern"] .nav:not(.scrolled) .nav__toggle span { background: #fff; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; display: grid; align-items: center; gap: 40px; padding: 100px max(24px, calc((100vw - 1240px) / 2)) 60px; position: relative; overflow: hidden; background: var(--bg); }
.hero__text { position: relative; padding: 110px 0; }
.hero__names { font-family: var(--names-font); font-size: var(--names-size); text-transform: var(--names-transform); letter-spacing: var(--names-spacing); font-weight: 400; margin: 0 0 .25em; color: var(--title, var(--heading)); }
.hero__names .amp { padding: 0 .12em; }
.hero__kicker { font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text); margin: 0 0 34px; font-weight: 400; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.photo { aspect-ratio: 4 / 5; border-radius: var(--photo-radius); border: var(--photo-frame); box-shadow: var(--card-shadow); background-size: cover; background-position: center; overflow: hidden; background-color: var(--bg-alt); }
.ph { background: linear-gradient(135deg, var(--accent) 0%, var(--bg-alt) 100%); position: relative; }
.ph::after { content: "❦"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: rgba(255,255,255,.7); }

/* ornament lângă titlu (romantic / rustic) */
html[data-theme="romantic"] .hero--split .hero__text::before, html[data-theme="rustic"] .hero--split .hero__text::before,
html[data-theme="romantic"] .hero--split .hero__text::after, html[data-theme="rustic"] .hero--split .hero__text::after { content: ""; position: absolute; left: -6px; width: 340px; height: 90px; background: url("../images/flourish.svg") left center / contain no-repeat; opacity: .85; pointer-events: none; }
html[data-theme="romantic"] .hero--split .hero__text::before, html[data-theme="rustic"] .hero--split .hero__text::before { top: 6px; }
html[data-theme="romantic"] .hero--split .hero__text::after, html[data-theme="rustic"] .hero--split .hero__text::after { bottom: 6px; }

/* split: poză ovală mare + ramuri de eucalipt (romantic, rustic) */
.hero--split { grid-template-columns: 1.1fr .9fr; }
.hero--split .hero__photo { position: relative; justify-self: center; }
.hero--split .photo { --ph: min(76vh, 700px); height: var(--ph); width: calc(var(--ph) * .68); aspect-ratio: auto; background-position: center 28%; box-shadow: 0 0 0 1px var(--line), 0 30px 70px rgba(60, 40, 50, .10); }
html[data-theme="romantic"] .hero--split .hero__photo::before, html[data-theme="rustic"] .hero--split .hero__photo::before,
html[data-theme="romantic"] .hero--split .hero__photo::after, html[data-theme="rustic"] .hero--split .hero__photo::after { content: ""; position: absolute; z-index: 3; width: 330px; height: 442px; background: url("../images/branch.svg") center / contain no-repeat; pointer-events: none; }
html[data-theme="romantic"] .hero--split .hero__photo::before, html[data-theme="rustic"] .hero--split .hero__photo::before { right: -160px; top: -60px; }
html[data-theme="romantic"] .hero--split .hero__photo::after, html[data-theme="rustic"] .hero--split .hero__photo::after { left: -200px; bottom: -90px; transform: rotate(180deg); }
/* center (clasic) */
.hero--center { text-align: center; justify-items: center; align-content: center; }
.hero--center .hero__photo { width: min(420px, 100%); order: -1; }
.hero--center .hero__text { padding: 0; }
.hero--center .hero__cta, .hero--center .countdown { justify-content: center; }
.hero--center .photo { aspect-ratio: 4 / 4.6; outline: 1px solid var(--accent); outline-offset: 10px; }
/* cover (modern) */
.hero--cover { color: #fff; text-align: center; justify-items: center; align-items: end; background: #223 center / cover; padding-bottom: 56px; }
.hero--cover .hero__text { padding: 0; position: relative; z-index: 2; }
.hero--cover .hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero--cover .photo { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background-position: center 25%; }
.hero--cover::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); z-index: 1; }
.hero--cover .hero__names, .hero--cover .hero__kicker, .hero--cover .countdown__n, .hero--cover .countdown__l { color: #fff; }
.hero--cover .hero__cta, .hero--cover .countdown { justify-content: center; }

.countdown { display: flex; gap: clamp(20px, 3.4vw, 46px); flex-wrap: wrap; }
.countdown__item { text-align: center; min-width: 64px; }
.countdown__n { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: #55555c; line-height: 1.1; font-weight: 400; }
.countdown__l { font-size: 1rem; color: var(--muted); font-weight: 300; }
[data-theme="clasic"] .countdown__n, [data-theme="rustic"] .countdown__n { color: var(--heading); }
.post-badge { display: inline-block; padding: 10px 28px; border: 1px solid var(--accent); color: var(--accent-dark); border-radius: var(--btn-radius); letter-spacing: .15em; text-transform: uppercase; font-size: .85rem; }
.hero--cover .post-badge { color: #fff; border-color: #fff; }

/* ---------- BUTOANE ---------- */
.btn { display: inline-block; padding: 13px 34px; border-radius: var(--btn-radius); border: 1px solid var(--accent); background: transparent; color: var(--accent-dark); text-decoration: none; font: 500 .82rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.btn:hover { background: var(--accent); color: var(--on-accent); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.hero--cover .btn { color: #fff; border-color: #fff; }
.hero--cover .btn--primary { background: var(--accent); border-color: var(--accent); }

/* ---------- MIRII (card cu poză rotundă la mijloc) ---------- */
.couple-card { position: relative; display: grid; grid-template-columns: 1fr 340px 1fr; align-items: center; background: var(--bg-alt); max-width: 1040px; margin: 70px auto 0; border-radius: calc(var(--radius) * 1.3); }
.couple-photo { display: flex; justify-content: center; margin: -70px 0; position: relative; z-index: 2; }
.couple-photo .photo { width: 340px; height: 340px; aspect-ratio: 1; border-radius: 50%; border: 14px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 40px rgba(60,40,50,.12); }
[data-theme="clasic"] .couple-photo .photo { border-radius: calc(var(--radius) * 1.5); }
[data-theme="modern"] .couple-photo .photo { border-radius: var(--radius); border-width: 0; }
.person { padding: 56px 36px; }
.person--bride { text-align: right; padding-left: 44px; }
.person--groom { text-align: left; padding-right: 44px; }
.person h3 { font-size: 1.7rem; margin-bottom: 12px; }
.person p { margin: 0; color: var(--muted); font-size: .98rem; font-weight: 300; }

/* ---------- POVESTEA (cronologie alternantă) ---------- */
.eyebrow { display: block; font-family: var(--font-script); font-size: 1.5rem; color: var(--accent); margin-bottom: .2rem; }
[data-theme="clasic"] .eyebrow, [data-theme="modern"] .eyebrow, [data-theme="romantic"] .eyebrow { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; font-family: var(--font-body); }
.section__head--plain::after { display: none; }
html[data-theme="romantic"] .section__head--plain .section__title::before, html[data-theme="rustic"] .section__head--plain .section__title::before { display: none; }
.section__head--plain .section__title::after { content: ""; display: block; width: 64px; height: 2px; background: var(--accent); margin: 16px auto 0; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); transform: translateX(-.5px); }
.t-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 48px; align-items: center; }
.t-item::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; background: var(--accent); border: 3px solid var(--bg); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px var(--accent); z-index: 1; }
.t-card { background: var(--card); padding: 26px 28px; border-radius: calc(var(--radius) * 1.3); box-shadow: var(--card-shadow); }
.t-card time { display: block; font-family: var(--font-script); color: var(--accent); font-size: 1.3rem; }
[data-theme="clasic"] .t-card time, [data-theme="modern"] .t-card time, [data-theme="romantic"] .t-card time { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--font-body); }
.t-card h3 { font-size: 1.5rem; margin: 4px 0 8px; }
.t-card p { margin: 0; color: var(--muted); font-size: .98rem; font-weight: 300; }
.t-photo { aspect-ratio: 4 / 3; border-radius: calc(var(--radius) * 1.3); background-size: cover; background-position: center; background-color: var(--bg-alt); box-shadow: var(--card-shadow); }
.t-item:nth-child(even) .t-card { order: 2; }
.t-item.no-photo .t-card { grid-column: 1; }
.t-item.no-photo:nth-child(even) .t-card { grid-column: 2; order: 0; }

/* ---------- VIDEO (banner cu buton de redare) ---------- */
.video-sec { margin: 0; padding: 0 clamp(16px, 4vw, 56px); }
.video-banner { position: relative; height: clamp(260px, 36vw, 420px); background: #222 center / cover; display: grid; place-items: center; border-radius: calc(var(--radius) * 1.3); overflow: hidden; }
.video-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .22); }
.video-play { position: relative; width: 66px; height: 66px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); background: rgba(255,255,255,.28); cursor: pointer; padding: 0; transition: background .25s, transform .25s; }
.video-play:hover { background: rgba(255,255,255,.5); transform: scale(1.06); }
.video-play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.video-banner.playing { height: auto; aspect-ratio: 16 / 9; max-height: 84vh; background: #000; }
.video-banner.playing::before { display: none; }
.video-banner iframe, .video-banner video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- GALERIE ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px); grid-auto-flow: dense; gap: 12px; max-width: 1040px; margin: 0 auto; }
.g-item { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; overflow: hidden; cursor: zoom-in; border-radius: var(--radius); }
.g-item:nth-child(6n+2) { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.04); }
.g-item.ph { cursor: default; }

.lightbox { position: fixed; inset: 0; background: rgba(10, 10, 10, .93); z-index: 100; display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; cursor: pointer; line-height: 1; padding: 10px 18px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 10px; right: 14px; }
.lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- CONFIRMARE (capsulă + ramuri) ---------- */
.section--rsvp { overflow: hidden; padding-top: 70px; }
.rsvp-wrap { position: relative; width: min(450px, 100% - 32px); margin: 0 auto; }
html[data-theme="romantic"] .rsvp-wrap::before, html[data-theme="rustic"] .rsvp-wrap::before,
html[data-theme="romantic"] .rsvp-wrap::after, html[data-theme="rustic"] .rsvp-wrap::after { content: ""; position: absolute; width: 330px; height: 442px; background: url("../images/branch.svg") center / contain no-repeat; pointer-events: none; z-index: 2; }
html[data-theme="romantic"] .rsvp-wrap::before, html[data-theme="rustic"] .rsvp-wrap::before { right: -245px; top: -50px; }
html[data-theme="romantic"] .rsvp-wrap::after, html[data-theme="rustic"] .rsvp-wrap::after { left: -255px; bottom: -60px; transform: rotate(180deg); }
.rsvp-capsule { position: relative; background: var(--card); border-radius: 230px; padding: 84px 46px 76px; box-shadow: 0 0 0 1px var(--line), 0 24px 70px rgba(60,40,50,.08); }
[data-theme="clasic"] .rsvp-capsule { border-radius: calc(var(--radius) * 2); padding: 50px 40px; }
[data-theme="modern"] .rsvp-capsule { border-radius: 40px; padding: 50px 40px; }
.rsvp-capsule .section__head { margin-bottom: 18px; }
.rsvp-capsule .section__title { font-size: 1.9rem; }
.rsvp-capsule .lead { font-size: .95rem; margin: 0 0 22px; }
.rsvp { display: grid; gap: 14px; }
.field label, .field .label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 2px; }
.field input:not([type=radio]), .field select, .field textarea { width: 100%; padding: 9px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--text); font: inherit; font-size: .98rem; }
.field select { appearance: none; padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.choice { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.choice label { margin: 0; cursor: pointer; font-size: .92rem; color: var(--text); }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 8px 18px; border: 1px solid var(--line); border-radius: var(--btn-radius); transition: all .2s; }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rsvp .btn { justify-self: center; margin-top: 10px; padding: 14px 40px; font-size: .9rem; letter-spacing: .04em; text-transform: none; }
.hp { position: absolute; left: -9999px; }
.form-msg { text-align: center; margin: 0; min-height: 1.5em; font-size: .95rem; }
.form-msg.ok { color: #3d7a4f; } .form-msg.err { color: #b3402f; }

/* ---------- EVENIMENTE (bandă cu poză + carduri care se suprapun) ---------- */
.events-sec { background: var(--bg); }
.events-band { padding: 90px 0 220px; text-align: center; background: linear-gradient(rgba(45, 32, 36, .58), rgba(45, 32, 36, .58)), var(--band-img, none) center / cover, var(--accent); }
.events-band .section__head { margin: 0; }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); justify-content: center; gap: 30px; margin-top: -170px; padding-bottom: 100px; position: relative; }
.event { background: var(--card); padding: 20px 20px 28px; text-align: center; box-shadow: var(--card-shadow); border-radius: calc(var(--radius) * 1.3); }
.event__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: var(--bg-alt); margin-bottom: 22px; border-radius: var(--radius); }
.event h3 { font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: var(--title, var(--heading)); margin-bottom: 14px; }
.event p { margin: 0 0 4px; font-size: .92rem; color: var(--text); }
.event .where { margin-bottom: 12px; }
.event a { font-size: .88rem; color: var(--accent-dark); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 1px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-alt); padding: 76px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); width: min(1040px, 100% - 40px); }
.footer__logo { font-family: var(--names-font); font-size: 2.1rem; color: var(--title, var(--heading)); text-decoration: none; text-transform: var(--names-transform); letter-spacing: var(--names-spacing); display: block; margin-bottom: 14px; line-height: 1.1; }
.footer p { margin: 0 0 8px; font-size: .93rem; color: var(--text); font-weight: 300; }
.footer__tag { color: var(--accent-dark) !important; font-weight: 400 !important; }
.footer h4 { font-size: 1.3rem; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 300; }
.footer__links a:hover { color: var(--accent); }
.footer__contact li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .93rem; font-weight: 300; }
.footer__contact li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; background: var(--accent); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.footer__contact .ic-mail { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 3h14v10H1z M1 3l7 6 7-6' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E"); }
.footer__contact .ic-phone { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 1h3l1.5 3.5-2 1.3a8 8 0 0 0 4.7 4.7l1.3-2L15 10v3a2 2 0 0 1-2 2A12 12 0 0 1 1 3a2 2 0 0 1 2-2z' fill='black'/%3E%3C/svg%3E"); }
.footer__contact .ic-pin { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a5 5 0 0 0-5 5c0 4 5 9 5 9s5-5 5-9a5 5 0 0 0-5-5zm0 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4z' fill='black'/%3E%3C/svg%3E"); }
.footer__contact a { color: var(--accent-dark); text-decoration: none; }
.footer__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 220px; }
.footer__thumb { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background-size: cover; background-position: center; background-color: var(--line); cursor: zoom-in; border-radius: calc(var(--radius) * .5); transition: opacity .2s, transform .2s; }
.footer__thumb:hover, .footer__thumb:focus-visible { opacity: .8; transform: scale(1.04); outline: 0; }
.footer__bar { background: var(--bg); margin-top: 60px; padding: 20px 16px; text-align: center; }
.footer__bar p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- SWITCHER TEME ---------- */
.switcher { position: fixed; left: 14px; bottom: 14px; z-index: 90; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: 40px; padding: 6px; display: flex; gap: 4px; }
.switcher button { border: 0; background: transparent; padding: 8px 14px; border-radius: 30px; font: 500 .75rem var(--font-body); color: var(--text); cursor: pointer; text-transform: capitalize; }
.switcher button.on { background: var(--accent); color: var(--on-accent); }

/* ---------- ANIMAȚII ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- ECRANE MICI ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: .74rem; }
}
@media (max-width: 960px) {
  .couple-card { grid-template-columns: 1fr; margin-top: 90px; }
  .couple-photo { margin: -90px 0 10px; order: -1; }
  .person--bride, .person--groom { text-align: center; padding: 8px 28px 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { height: 66px; grid-template-columns: 1fr auto; }
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 66px 0 auto 0; height: auto; background: var(--bg); flex-direction: column; gap: 0; padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.08); transform: translateY(-130%); transition: transform .3s; }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--heading) !important; }
  .nav__links a.on::after { display: none; }
  .hero--split { grid-template-columns: 1fr; text-align: center; padding-top: 86px; gap: 10px; }
  .hero--split .hero__photo { order: -1; }
  .hero--split .photo { --ph: min(48vh, 380px); }
  .hero__text { padding: 20px 0 30px; }
  html[data-theme="romantic"] .hero--split .hero__text::before, html[data-theme="rustic"] .hero--split .hero__text::before,
  html[data-theme="romantic"] .hero--split .hero__text::after, html[data-theme="rustic"] .hero--split .hero__text::after { display: none; }
  /* flori mai mici pe telefon */
  html[data-theme="romantic"] .hero--split .hero__photo::before, html[data-theme="rustic"] .hero--split .hero__photo::before,
  html[data-theme="romantic"] .hero--split .hero__photo::after, html[data-theme="rustic"] .hero--split .hero__photo::after { width: 150px; height: 201px; }
  html[data-theme="romantic"] .hero--split .hero__photo::before, html[data-theme="rustic"] .hero--split .hero__photo::before { right: -78px; top: -34px; }
  html[data-theme="romantic"] .hero--split .hero__photo::after, html[data-theme="rustic"] .hero--split .hero__photo::after { left: -90px; bottom: -40px; }
  .hero--split .countdown, .hero--split .hero__cta { justify-content: center; }
  .timeline::before { left: 14px; }
  .t-item { grid-template-columns: 1fr; gap: 14px; padding-left: 40px; margin-bottom: 32px; }
  .t-item::before { left: 14px; top: 28px; }
  .t-item:nth-child(even) .t-card { order: 0; }
  .t-item.no-photo .t-card, .t-item.no-photo:nth-child(even) .t-card { grid-column: 1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .g-item:nth-child(6n+2) { grid-row: auto; }
  .g-item:nth-child(5n+2) { grid-row: span 2; }
  html[data-theme="romantic"] .rsvp-wrap::before, html[data-theme="rustic"] .rsvp-wrap::before,
  html[data-theme="romantic"] .rsvp-wrap::after, html[data-theme="rustic"] .rsvp-wrap::after { width: 130px; height: 174px; }
  html[data-theme="romantic"] .rsvp-wrap::before, html[data-theme="rustic"] .rsvp-wrap::before { right: -62px; top: -46px; }
  html[data-theme="romantic"] .rsvp-wrap::after, html[data-theme="rustic"] .rsvp-wrap::after { left: -70px; bottom: -62px; }
  .rsvp-capsule { border-radius: 110px 110px 60px 60px; padding: 70px 28px 50px; }
  .events-band { padding: 70px 0 200px; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__contact li { padding-left: 0; }
  .footer__contact li::before { display: none; }
  .footer__gallery { margin: 0 auto; }
  .switcher { left: 50%; transform: translateX(-50%); }
  .switcher button { padding: 8px 10px; }
}