/* CuptoareCeramica.ro — stilul „Atelier” peste Bootstrap 5.3 */
:root {
  --crem: #f6efe4;
  --crem-inchis: #efe4d3;
  --lut: #ecdcc4;
  --lut-margine: #e3d5c0;
  --albastru: #263445;
  --rosu: #d8381f;
  --rosu-inchis: #b92d17;
  --teracota: #a4552f;
  --alb: #fffdf9;

  --bs-body-bg: var(--crem);
  --bs-body-color: var(--albastru);
  --bs-body-font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.65;
  --bs-link-color: var(--rosu-inchis);
  --bs-link-color-rgb: 185, 45, 23;
  --bs-link-hover-color: var(--albastru);
  --bs-link-hover-color-rgb: 38, 52, 69;
  --bs-border-color: var(--lut-margine);
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: 1rem;
  --bs-emphasis-color: var(--albastru);
  --bs-secondary-color: #4a5462;
  --bs-heading-color: var(--albastru);
}

body { background: var(--crem); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .h1, .h2, .h3, .display-5 { font-family: Fraunces, Georgia, serif; font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }
h4, h5, h6, .h4, .h5, .h6 { font-family: Fraunces, Georgia, serif; font-weight: 500; }
h1, .h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2, .h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem); }
h1 em, h2 em { color: var(--rosu); font-style: italic; }
.lead { font-size: 1.2rem; color: #3b4859; }
.note { font-family: Caveat, cursive; font-size: 1.45rem; color: #8a4424; line-height: 1.2; }
.skip { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: var(--alb); padding: .5rem 1rem; border-radius: .5rem; }

/* Butoane */
.btn { --bs-btn-border-radius: 999px; --bs-btn-padding-x: 1.25rem; --bs-btn-font-weight: 600; }
.btn-lg { --bs-btn-padding-x: 1.6rem; }
.btn-primary {
  --bs-btn-bg: var(--rosu); --bs-btn-border-color: var(--rosu);
  --bs-btn-hover-bg: var(--rosu-inchis); --bs-btn-hover-border-color: var(--rosu-inchis);
  --bs-btn-active-bg: var(--rosu-inchis); --bs-btn-active-border-color: var(--rosu-inchis);
  --bs-btn-focus-shadow-rgb: 216, 56, 31;
}
.btn-outline-dark {
  --bs-btn-color: var(--albastru); --bs-btn-border-color: var(--albastru);
  --bs-btn-hover-bg: var(--albastru); --bs-btn-hover-border-color: var(--albastru);
}
.btn-dark { --bs-btn-bg: var(--albastru); --bs-btn-border-color: var(--albastru); }

/* Header */
.site-header { background: var(--crem); border-bottom: 1px solid var(--lut-margine); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { --bs-navbar-padding-y: .6rem; }
.site-header .navbar-brand img { height: 42px; width: auto; }
.site-header .nav-link { color: var(--albastru); font-weight: 600; font-size: .95rem; padding: .5rem .55rem !important; white-space: nowrap; }
.site-header .btn { white-space: nowrap; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--rosu); }
.site-header .navbar-toggler { border-color: var(--lut-margine); }
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { padding: .5rem 0 1rem; }
}

/* Secțiuni */
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section-alt { background: var(--crem-inchis); }
.section-dark { background: var(--albastru); color: var(--crem); }
.section-dark h2, .section-dark h3 { color: var(--crem); }
.section-dark a:not(.btn) { color: #ffb59f; }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: #8a4424; margin-bottom: .5rem; }

/* Hero */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0; }
.arch-photo { border-radius: 14rem 14rem 1rem 1rem; overflow: hidden; border: 6px solid var(--alb); box-shadow: 0 14px 40px rgba(80, 50, 20, .18); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; }
.bg-clay { background: var(--lut); }

/* Bandă de încredere */
.trust { background: var(--albastru); color: var(--crem); font-size: .95rem; padding: .8rem 0; }
.trust ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0; padding: 0; list-style: none; justify-content: center; }
.trust li::before { content: "✓"; color: #ffb59f; margin-right: .45rem; font-weight: 700; }

/* Carduri */
.card-clay { background: var(--lut); border-radius: 1rem; height: 100%; transition: transform .15s ease, box-shadow .15s ease; }
a.card-clay, .card-clay a.stretched-link { color: inherit; text-decoration: none; }
.card-clay:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(80, 50, 20, .14); }
.card-clay img { mix-blend-mode: multiply; }
.card-paper { background: var(--alb); border: 1px solid var(--lut-margine); border-radius: 1rem; height: 100%; }
.icon-sketch { width: 44px; height: 44px; color: var(--teracota); }

/* Breadcrumbs */
.breadcrumbs { padding-top: 1rem; }
.breadcrumb { --bs-breadcrumb-font-size: .9rem; --bs-breadcrumb-divider-color: #8a8f96; --bs-breadcrumb-item-active-color: #5b6573; margin: 0; }
.breadcrumb a { color: var(--albastru); }

/* Text lung (pagini informative) */
.prose { max-width: 46rem; }
.prose-wide { max-width: none; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.35rem; }
.prose ul li, .prose ol li { margin-bottom: .35rem; }
.prose table { width: 100%; }

/* Tabel variante */
.variante { border: 1px solid var(--lut-margine); border-radius: 1rem; background: var(--alb); }
.variante table { margin: 0; font-size: .95rem; --bs-table-bg: transparent; --bs-table-striped-bg: rgba(236, 220, 196, .35); }
.variante thead th { background: var(--lut); font-weight: 600; white-space: nowrap; vertical-align: bottom; }
.variante th[scope=row] { position: sticky; left: 0; background: var(--alb); z-index: 1; white-space: nowrap; font-weight: 600; }
.variante thead th:first-child { position: sticky; left: 0; z-index: 2; }
.variante td { white-space: nowrap; }
.variante tr:target th, .variante tr:target td { background: #ffe5d9; }

/* Formulare */
.form-card { background: var(--alb); border: 1px solid var(--lut-margine); border-radius: 1rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.form-control, .form-select { border-color: #d9c9b0; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--teracota); box-shadow: 0 0 0 .2rem rgba(164, 85, 47, .2); }
.form-label { font-weight: 600; }
.req { color: var(--rosu); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Galerie */
.galerie img { border-radius: .75rem; background: var(--alb); }

/* FAQ */
.accordion { --bs-accordion-bg: var(--alb); --bs-accordion-border-color: var(--lut-margine); --bs-accordion-active-bg: var(--lut); --bs-accordion-active-color: var(--albastru); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(164, 85, 47, .2); }
.accordion-button { font-weight: 600; }

/* Footer */
.site-footer { background: var(--albastru); color: #e8e0d4; padding: 3.5rem 0 1.5rem; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffb59f; }
.site-footer .note { color: #e9b48f; }
.footer-title { font-family: Fraunces, Georgia, serif; font-size: 1.2rem; color: #fff; margin-bottom: .75rem; }
.footer-links li { margin-bottom: .3rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem; color: #c9c1b5; }

/* Consimțământ cookies */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1100; max-width: 34rem; margin-left: auto; background: var(--alb); border: 1px solid var(--lut-margine); border-radius: 1rem; box-shadow: 0 16px 40px rgba(38, 52, 69, .2); padding: 1rem 1.25rem; font-size: .95rem; }
.consent p { margin-bottom: .75rem; }
.consent-actions { display: flex; gap: .5rem; justify-content: flex-end; }
.consent-actions .btn { flex: 1 1 0; max-width: 10rem; }

/* Separator „pensulă” */
.brush { display: block; width: 120px; height: 10px; color: var(--teracota); margin: .5rem 0 1.25rem; }

/* Catalog */
.family-img { max-height: 220px; width: auto; }
.series-thumb { width: 110px; }
.product-stage { background: radial-gradient(closest-side, var(--alb), transparent); border-radius: 50%; padding: 1rem; }
.product-stage img { max-height: 420px; width: auto; }
.link-arrow { color: var(--rosu-inchis); font-weight: 600; font-size: .95rem; }
a.card-paper:hover { border-color: var(--teracota); }
a.card-paper h3 { color: var(--albastru); }
a.card-paper p { color: #3b4859; }
.photo-soft { box-shadow: 0 12px 32px rgba(80, 50, 20, .16); border: 5px solid var(--alb); }
.photo-crop { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }

/* Galerie masonry (coloane CSS: fiecare imagine își păstrează proporțiile) */
.galerie-masonry { columns: 3 240px; column-gap: 1rem; }
.galerie-masonry figure { break-inside: avoid; margin: 0 0 1rem; background: var(--alb); border: 1px solid var(--lut-margine); border-radius: .9rem; padding: .75rem; }
.galerie-masonry img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.footer-bottom { align-items: center; }
.footer-credit img { display: block; opacity: .85; transition: opacity .15s ease; }
.footer-credit:hover img { opacity: 1; }
.site-footer .footer-credit img { filter: brightness(0) invert(1); opacity: .7; }
.site-footer .footer-credit:hover img { opacity: 1; }
