@charset "UTF-8";
/* RGC Funerare — stiluri site */
:root {
  --bg: #0e0f12;
  --bg-2: #16181d;
  --bg-3: #1d2027;
  --line: #2c3039;
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --ink: #1b1d22;
  --ink-soft: #4a4e57;
  --text: #e9e6e0;
  --text-soft: #a9adb6;
  --accent: #c8b27a;
  --accent-2: #e2d3a6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #111; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .8em; display: block; }
.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-gold { background: var(--accent); color: #15130d; }
.btn-gold:hover { background: var(--accent-2); }
.btn-ghost { border-color: rgba(233,230,224,.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* Header */
.topbar { background: #08090b; color: var(--text-soft); font-size: .85rem; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: var(--text); }
.topbar .dot { display: inline-block; width: 8px; height: 8px; background: #5bbf7a; border-radius: 50%; margin-right: 6px; box-shadow: 0 0 0 3px rgba(91,191,122,.2); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(14,15,18,.97); border-bottom: 1px solid var(--line); }
.header .wrap { max-width: 1300px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand b { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .08em; font-weight: 600; line-height: 1; display: block; white-space: nowrap; }
.brand small { display: block; white-space: nowrap; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); margin-top: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 8px 10px; color: var(--text); font-size: .93rem; font-weight: 500; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-2); background: rgba(255,255,255,.04); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.btn-call-short { display: none; }
@media (max-width: 1399px) { .header-cta .btn-call-text { display: none; } .header-cta .btn-call-short { display: inline; } }

@media (max-width: 1179px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: var(--bg-2); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; padding: 90px 20px 30px; z-index: 60; overflow-y: auto; }
  .nav.open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.5); }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { font-size: 1.08rem; padding: 12px 14px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 70; }
  .header-cta .btn-call-text, .header-cta .btn-call-short { display: none !important; }
}
@media (max-width: 560px) {
  .header-cta .btn { padding: .7em .9em; }
  .brand small { display: none; }
  .brand b { font-size: 1.3rem; }
  .topbar .hide-sm { display: none; }
}
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 45; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: radial-gradient(ellipse at 70% 30%, #23262e 0%, var(--bg) 62%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-logo { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.hero h1 span { color: var(--accent-2); }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--text-soft); font-size: .95rem; }
.hero .badges li { display: flex; align-items: center; gap: 8px; }
.hero .badges svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 900px) {
  .hero { padding: 28px 0 52px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 10px; }
  .hero-media { order: -1; max-width: 560px; margin: 0 auto; }
}

/* Page hero (subpagini) */
.page-hero { padding: 46px 0 40px; background: linear-gradient(180deg, #181a20, var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 22ch; }
.crumbs { font-size: .85rem; color: var(--text-soft); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--text-soft); }
.answer { font-size: 1.12rem; color: var(--text); max-width: 70ch; border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin-top: 18px; }

/* Secțiuni */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-2); }
.section.light { background: var(--paper); color: var(--ink); }
.section.light .lead, .section.light .muted { color: var(--ink-soft); }
.section.light a { color: #7a6224; }
.section.light .eyebrow { color: #6e5820; }
.section-head { margin-bottom: 40px; }
.muted { color: var(--text-soft); }
@media (max-width: 700px) { .section { padding: 56px 0; } }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: border-color .25s, transform .25s; position: relative;
}
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(200,178,122,.1); color: var(--accent); margin-bottom: 18px; }
.card .ico svg { width: 28px; height: 28px; }
.card p { color: var(--text-soft); margin: 0; font-size: .98rem; }
.card .more { display: inline-block; margin-top: 14px; color: var(--accent-2); font-weight: 600; font-size: .92rem; }
.section.light .card { background: #fff; border-color: var(--paper-2); }
.section.light .card p { color: var(--ink-soft); }

/* Ofertă preț */
.offer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid rgba(200,178,122,.45); border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #1e2027, #121318); }
.offer > div { padding: 42px 40px; }
.offer .price { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); color: var(--accent-2); line-height: 1; margin: 6px 0 10px; }
.offer .price small { font-size: .4em; color: var(--text-soft); font-family: var(--sans); }
.offer .zero { background: rgba(200,178,122,.08); border-left: 1px solid rgba(200,178,122,.3); }
.offer .zero .price { color: #fff; }
.note { font-size: .88rem; color: var(--text-soft); }
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; } .offer > div { padding: 30px 24px; } .offer .zero { border-left: 0; border-top: 1px solid rgba(200,178,122,.3); } }

/* Liste */
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: rgba(200,178,122,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8b27a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding: 22px 22px 22px 78px; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-2); font-family: var(--serif); font-size: 1.35rem; display: grid; place-items: center; }
.steps h3 { font-size: 1.25rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--text-soft); }
.section.light .steps li { background: #fff; border-color: var(--paper-2); }
.section.light .steps p { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } }

.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

table.info { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: .98rem; }
table.info th, table.info td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.info th { color: var(--accent-2); font-weight: 600; width: 38%; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--text-soft); }
.faq details > div p:last-child { margin: 0; }

/* CTA */
.cta { background: linear-gradient(135deg, #1f2128, #0c0d10); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.cta .phone-big { font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--accent-2); display: inline-block; margin: 4px 0 18px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(200,178,122,.1); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; }
.contact-list a, .contact-list span { font-size: 1.1rem; color: var(--text); }
.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius); filter: grayscale(.8) contrast(1.05); background: var(--bg-3); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery-empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--text-soft); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Footer */
.footer { background: #08090b; border-top: 1px solid var(--line); padding: 60px 0 24px; color: var(--text-soft); font-size: .93rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h3 { font-size: 1.2rem; color: var(--text); font-family: var(--serif); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-soft); }
.footer a:hover { color: var(--accent-2); }
.footer .legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .84rem; }
.footer .legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); }
.social a:hover { border-color: var(--accent); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }

/* Bară apel mobil */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .callbar { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(8,9,11,.97); border-top: 1px solid var(--line); }
  .callbar .btn { padding: .8em .6em; font-size: .98rem; }
  .btn-wa { background: #1f7a4d; color: #fff; }
}

/* Animație discretă */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.updated { font-size: .85rem; color: var(--text-soft); margin-top: 30px; }

/* Contrast în secțiunile deschise */
.section.light .faq details { background: #fff; border-color: #e2dbcf; }
.section.light .faq summary { color: var(--ink); }
.section.light .faq summary::after { color: #8a6f2a; }
.section.light .faq details > div { color: var(--ink-soft); }
.section.light table.info th { color: #6e5820; }
.section.light table.info td { color: var(--ink); }
.section.light table.info th, .section.light table.info td { border-bottom-color: #ddd5c7; }
.section.light .note, .section.light .updated { color: var(--ink-soft); }
.section.light .steps li::before { color: #6e5820; border-color: #b89a52; }
.section.light .card .more { color: #7a6224; }

/* Fotografii */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.photo figcaption { font-size: .85rem; color: var(--text-soft); margin-top: 8px; }
.split .photo + h3 { margin-top: 28px; }
.gallery.g-preview { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .gallery.g-preview { grid-template-columns: repeat(2, 1fr); } }
