/* Real front-end design system — colors/type/spacing taken from
   simona-holban-site-validat/assets/css/style.css. Block templates keep
   their existing bl-* class names (resources/templates/blocks/*.php); this
   file re-skins them to match the real site instead of the placeholder
   preview styling in blocks-preview.css (still used for admin preview). */
:root {
  --bg: #fffdf9;
  --bg-soft: #f6f3ee;
  --bg-blush: #f1e9e9;
  --text: #1f1d1b;
  --muted: #69625c;
  --line: #e8e0d8;
  --green: #536346;
  --green-dark: #405038;
  --gold: #a78b52;
  --purple: #4b273d;
  --purple-dark: #371b2d;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(43, 37, 31, .08);
  --font-title: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-to-content { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--green); color: #fff; border-radius: 6px; font-weight: 700; font-size: 14px; transition: top .15s ease; }
.skip-to-content:focus { top: 12px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(100% - 40px, 1180px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-title); font-weight: 500; color: var(--text); margin: 0; line-height: 1.12; }
h1 { font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -.6px; }
h2 { font-size: clamp(30px, 3.1vw, 43px); }
h3 { font-size: 21px; }
p { margin: 0; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 249, .94); border-bottom: 1px solid rgba(231, 223, 214, .7); backdrop-filter: blur(14px); }
.header-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 18px; min-height: 66px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 20px; color: var(--text); white-space: nowrap; }
.brand img { height: 46px; width: auto; }
.brand .lotus-mini { margin: 0; }
.main-nav { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; font-size: 14px; color: #3b3733; white-space: nowrap; }
.main-nav a { position: relative; padding: 23px 0; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { transform: scaleX(1); }
.header-search-link { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; color: var(--text); border: 1px solid transparent; }
.header-search-link:hover { border-color: var(--line); }
.header-cta { flex: 0 0 auto; white-space: nowrap; }
.header-cta .bl-btn { white-space: nowrap; }
.menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--green); transition: transform .2s ease, opacity .2s ease; }

/* ---------- Buttons ---------- */
.bl-btn, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 23px; border-radius: 5px; border: 1px solid transparent; font-weight: 700; font-size: 14px; line-height: 1.2; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.bl-btn:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(34, 30, 25, .1); }
.bl-btn-gold, .btn-gold { background: var(--gold); color: #fff; }
.bl-btn-green, .btn-green { background: var(--green); color: #fff; }
.bl-btn-outline, .btn-outline { background: rgba(255, 255, 255, .78); color: var(--green-dark); border-color: #bac0b3; }
.bl-btn-purple, .btn-purple { background: var(--purple); color: #fff; }

/* ---------- Blocks: shared ---------- */
.bl-container { width: min(100% - 40px, 1180px); margin-inline: auto; padding: 32px 0; }
.bl-narrow { max-width: 720px; }
.bl-center { text-align: center; }
.bl-align-center { text-align: center; }
.bl-eyebrow { margin-bottom: 12px; font-size: 13px; text-transform: uppercase; letter-spacing: 4px; font-weight: 700; color: var(--gold); }
.bl-lead { max-width: 530px; margin-top: 26px; color: #403a35; font-size: 18px; }

/* Hero — two-layer: gradient-faded photo panel on the right (56% width),
   text content capped to 58%/620px on the left, matching the reference
   site's .hero/.hero-media/.hero-content composition. */
.bl-hero { position: relative; overflow: hidden; min-height: 440px; background: linear-gradient(90deg, #faf8f4 0%, #fffdf9 55%, #f4efe7 100%); }
.bl-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,253,249,1) 0%, rgba(255,253,249,.96) 38%, rgba(255,253,249,.42) 58%, rgba(255,253,249,0) 77%); }
.bl-hero-media { position: absolute; inset: 0 0 0 auto; width: 56%; z-index: 0; }
.bl-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bl-hero-inner.bl-container { position: relative; z-index: 2; min-height: 440px; display: flex; align-items: center; padding: 0; }
.bl-hero-content { width: min(620px, 58%); padding: 54px 0 48px; }
.bl-hero-no-media .bl-hero-content { width: 100%; max-width: 720px; }
.bl-hero h1 { max-width: 620px; }
.bl-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.bl-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 610px; margin-top: 40px; font-size: 13px; color: #5d564e; }
.bl-trust-item { display: flex; align-items: center; gap: 10px; }
.bl-trust-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; background: #d7cdb7; color: #fff; font-size: 15px; }

@media (max-width: 1024px) {
  .bl-hero-media { width: 60%; opacity: .78; }
  .bl-hero-content { width: 70%; }
}
@media (max-width: 760px) {
  .bl-hero { min-height: auto; background: #f7f3ed; }
  .bl-hero::before { background: linear-gradient(180deg, rgba(255,253,249,.42) 0%, rgba(255,253,249,.95) 47%, rgba(255,253,249,1) 100%); }
  .bl-hero-media { position: relative; width: 100%; height: 280px; opacity: 1; }
  .bl-hero-media img { object-position: center top; }
  .bl-hero-inner.bl-container { min-height: auto; display: block; margin-top: -50px; }
  .bl-hero-content { width: 100%; padding: 0 0 42px; }
  .bl-hero-content .bl-actions .bl-btn { width: 100%; }
  .bl-trust-row { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
}

/* Section heading ornament (gold divider under centered h2s) */
h2.bl-center + .ornament, h2 + .ornament { display: block; width: 84px; height: 1px; margin: 16px auto 0; background: var(--gold); position: relative; }
h2.bl-center + .ornament::after, h2 + .ornament::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; transform: translate(-50%, -50%) rotate(45deg); background: var(--gold); }

/* Cards grid (services) */
.bl-cards-grid { padding: 58px 0 74px; }
.bl-cards-grid h2 { margin-bottom: 0; }
.bl-cards-grid .ornament + .bl-grid, .bl-numbered-steps .ornament + .bl-steps-grid, .bl-testimonials .ornament + .bl-grid, .bl-faq .ornament + .bl-faq-grid { margin-top: 30px; }
.bl-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 20px; max-width: 1050px; margin-inline: auto; }
.bl-card { padding: 28px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 6px 18px rgba(33, 29, 24, .02); }
.bl-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: #f3eee8; color: var(--gold); border: 1px solid #e6dac9; font-size: 25px; margin-bottom: 15px; }
.bl-card-icon-image img { width: 26px; height: 26px; object-fit: contain; }
.bl-card h3 { margin-bottom: 12px; }
.bl-card p { font-size: 14px; color: #3f3a34; }
.bl-read-link { color: var(--purple); font-weight: 700; display: inline-block; margin-top: 12px; }

/* Cards grid — photo style (servicii-listing cards) */
.bl-cards-photo { grid-template-columns: 1fr; }
.bl-card-photo { padding: 0; overflow: hidden; border-radius: 8px; }
.bl-card-photo-frame { position: relative; height: 190px; overflow: hidden; }
.bl-card-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.bl-card-photo-badge { position: absolute; top: 18px; left: 18px; background: rgba(255, 255, 255, .88); }
.bl-card-photo-body { padding: 22px 24px 24px; }
.bl-card-photo-body h3 { font-size: 22px; margin-bottom: 10px; }
.bl-card-photo-body p { color: #413c36; font-size: 15px; margin-bottom: 12px; }
@media (min-width: 640px) { .bl-cards-photo { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bl-cols-3.bl-cards-photo { grid-template-columns: repeat(3, 1fr); } }

/* Image + text (about) */
.bl-image-text { padding: 60px 0; }
.bl-two-col { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.bl-image-left .bl-two-col { direction: rtl; }
.bl-image-left .bl-two-col > * { direction: ltr; }
.bl-image { position: relative; }
.bl-image img { width: 100%; border-radius: 7px; box-shadow: var(--shadow); }
.bl-image-decor { position: absolute; right: -24px; bottom: -24px; width: 140px; height: auto; box-shadow: none; opacity: .9; z-index: -1; }
.bl-content h2 { margin-bottom: 20px; }
.bl-content p { margin-bottom: 16px; color: #36312d; }
.bl-content .bl-btn { margin-top: 8px; }

/* Numbered steps (process) */
.bl-numbered-steps { padding: 58px 0 74px; background: var(--bg); }
.bl-numbered-steps h2 { margin-bottom: 0; }
.bl-steps-grid { display: grid; grid-template-columns: 1fr; gap: 34px; margin-top: 20px; max-width: 1000px; margin-inline: auto; position: relative; }
.bl-step { position: relative; text-align: center; padding: 0 12px; }
.bl-step-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; position: relative; z-index: 1; }
.bl-step-number.bl-step-gold { background: var(--gold); }
.bl-step-number.bl-step-purple { background: var(--purple); }
.bl-step h3 { font-size: 20px; margin-bottom: 9px; }
.bl-step p { max-width: 240px; margin: 0 auto; font-size: 14px; color: #4b4742; }
@media (min-width: 768px) {
  .bl-steps-connected::before { content: ""; position: absolute; left: 12%; right: 12%; top: 20px; height: 1px; border-top: 1px dashed #d9cbb5; }
}

/* Testimonials */
.bl-testimonials { padding: 56px 0 70px; background: linear-gradient(90deg, #f5eeee 0%, #efe5e7 100%); }
.bl-testimonials h2 { margin-bottom: 0; }
.bl-testimonial { position: relative; min-height: 160px; padding: 24px; background: rgba(255, 255, 255, .82); border-radius: 4px; box-shadow: 0 10px 28px rgba(54, 41, 46, .04); border: 0; }
.bl-testimonial .quote { display: block; margin-bottom: -4px; font-family: var(--font-title); font-size: 42px; color: #cec0bc; line-height: .6; }
.bl-testimonial p { font-size: 14px; color: #443c38; margin-bottom: 12px; }
.bl-stars { color: var(--gold); letter-spacing: 3px; font-size: 13px; display: block; margin-bottom: 10px; }
.bl-testimonial-author { display: flex; align-items: center; gap: 10px; }
.bl-avatar { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #f2e8e5; color: var(--purple); font-family: var(--font-title); font-size: 15px; flex: 0 0 auto; }
.bl-avatar-photo { object-fit: cover; }
.bl-testimonial strong { display: block; font-size: 13px; color: #2d2924; }
.bl-empty { color: var(--muted); font-size: .95rem; text-align: center; }

/* FAQ */
.bl-faq { padding: 58px 0 74px; background: #fff; }
.bl-faq h2 { margin-bottom: 0; }
.bl-faq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.bl-faq-grid details { border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.bl-faq-grid summary { position: relative; padding: 14px 48px 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.bl-faq-grid summary::-webkit-details-marker { display: none; }
.bl-faq-grid summary::after { content: "⌄"; position: absolute; right: 18px; top: 13px; color: #746d65; }
.bl-faq-grid details[open] summary::after { transform: rotate(180deg); }
.bl-faq-grid details p { padding: 0 18px 18px; font-size: 14px; color: var(--muted); }

/* CTA banner — two variants sharing one block type:
   1) plain/bg-image band (green-wide-banner/purple-cta style): centered text.
   2) "final-cta" (.bl-cta-banner-final, no bg photo, decorative cta-objects.png
      instead): lotus + copy + actions + image laid out in a row on desktop,
      matching the reference site's .final-cta-inner grid. */
.bl-cta-banner { position: relative; overflow: hidden; padding: 48px 0; background: linear-gradient(90deg, #536346 0%, #667452 58%, #6a6d4d 100%) center/cover no-repeat; color: #fff; }
.bl-cta-inner { text-align: center; }
.bl-cta-banner .lotus-mark { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 10px; font-size: 36px; color: rgba(255, 255, 255, .72); }
.bl-cta-banner h2 { color: #fff; margin-bottom: 8px; }
.bl-cta-banner p { max-width: 620px; margin: 0 auto 20px; color: rgba(255, 255, 255, .88); }
.bl-cta-banner .bl-btn-green { background: #fff; color: var(--green-dark); }
.bl-cta-banner .bl-actions { justify-content: center; }
.bl-cta-image { display: none; }

.bl-cta-banner-final { background: linear-gradient(90deg, #536346 0%, #667452 58%, #6a6d4d 100%); }
.bl-cta-banner-purple { background: linear-gradient(90deg, #6a475c 0%, #805d70 56%, #7b5e5c 100%) center/cover no-repeat; }
.bl-cta-banner-purple .bl-btn { background: #fff; color: var(--purple); }
.bl-cta-banner-final::after { content: ""; position: absolute; right: 0; bottom: 0; width: 35%; height: 100%; background: linear-gradient(90deg, rgba(83,99,70,0) 0%, rgba(40,32,21,.24) 100%); pointer-events: none; }
@media (min-width: 900px) {
  .bl-cta-banner-final .bl-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 80px 1fr auto 240px; align-items: center; gap: 30px; text-align: left; }
  .bl-cta-banner-final .lotus-mark { margin: 0; }
  .bl-cta-banner-final p { margin: 0; }
  .bl-cta-banner-final .bl-actions { margin-top: 0; flex-direction: column; align-items: center; }
  .bl-cta-banner-final .bl-cta-image { display: block; align-self: end; width: 220px; opacity: .9; grid-column: 4; }
}

/* Stats strip */
.bl-stats-strip { padding: 31px 0; background: #f8f6f1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bl-stats-row { display: grid; grid-template-columns: 1fr; gap: 20px; text-align: center; }
.bl-stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 5px 0; }
.bl-stat-icon { color: var(--gold); font-size: 32px; }
.bl-stat strong { display: block; font-size: 18px; }
.bl-stat small { color: #4c4742; }
@media (min-width: 640px) {
  .bl-stat { border-right: 1px solid #d9d0c4; }
  .bl-stat:last-child { border-right: 0; }
}

/* Callout */
.bl-callout { background: #f7f1e8; border-left: 4px solid var(--green); padding: 18px 22px; border-radius: 6px; display: flex; gap: 12px; color: #34302c; }
.bl-callout-warning, .bl-callout-atentionare { background: var(--bg-blush); border-left-color: var(--purple); }

/* Related / gallery / video / rich text */
.bl-related { padding: 50px 0 70px; }
.bl-related-card { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.bl-related-image { border-radius: 6px; margin-bottom: 12px; width: 100%; }
.bl-gallery { padding: 50px 0 70px; }
.bl-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.bl-gallery-grid img { width: 100%; border-radius: 8px; }
.bl-video { padding: 50px 0; }
.bl-video-frame { position: relative; padding-top: 56.25%; margin-top: 16px; }
.bl-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.bl-rich-text { padding: 42px 0; }
.bl-rich-text h2 { margin-bottom: 18px; }
.bl-rich-text p { margin-bottom: 16px; color: #39342f; }
.bl-html-raw { padding: 0; }

@media (min-width: 640px) {
  .bl-stats-row { grid-template-columns: repeat(3, 1fr); }
  .bl-trust-row { flex-wrap: nowrap; }
}
@media (min-width: 768px) {
  .bl-two-col { grid-template-columns: 1fr 1fr; }
  .bl-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .bl-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .bl-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .bl-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .bl-steps-grid { grid-template-columns: repeat(4, 1fr); }
  .bl-faq-grid { grid-template-columns: repeat(2, 1fr); gap: 12px 48px; }
}

/* ---------- Page hero (inner pages, contact) — same two-layer photo+gradient
   composition as the homepage hero, just shorter. ---------- */
.page-hero { position: relative; overflow: hidden; min-height: 330px; background: linear-gradient(90deg, #fffdf9 0%, #fffdf9 43%, #f4efe7 100%); border-bottom: 1px solid rgba(232, 224, 216, .55); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,253,249,1) 0%, rgba(255,253,249,.96) 42%, rgba(255,253,249,.42) 64%, rgba(255,253,249,0) 82%); }
.page-hero .hero-bg { position: absolute; inset: 0 0 0 auto; width: 58%; height: 100%; z-index: 0; }
.page-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero-content { min-height: 330px; display: flex; flex-direction: column; justify-content: center; max-width: 575px; padding: 52px 0; }
.page-hero h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 14px; }
.page-hero p { max-width: 520px; font-size: 17px; color: #312d29; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.search-form { display: flex; gap: 10px; margin-top: 26px; max-width: 480px; }
.search-form input { flex: 1; min-height: 48px; border: 1px solid var(--line); border-radius: 5px; padding: 0 16px; font-size: 15px; font-family: var(--font-body); background: #fff; }
.search-count { color: var(--muted); margin-bottom: 20px; }
.page-kicker { text-transform: uppercase; letter-spacing: 2px; color: var(--green); font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.lotus-mini { color: var(--gold); font-size: 22px; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; font-size: 13px; color: #605851; flex-wrap: wrap; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: #9a8a6d; }

@media (max-width: 760px) {
  .page-hero { min-height: auto; }
  .page-hero::before { background: linear-gradient(180deg, rgba(255,253,249,.8) 0%, rgba(255,253,249,.98) 65%, rgba(255,253,249,1) 100%); }
  .page-hero .hero-bg { position: relative; width: 100%; height: 240px; opacity: .95; }
  .page-hero-content { min-height: auto; padding: 28px 0 36px; margin-top: -36px; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 42px); }
}

/* ---------- Inner-page content layout (service detail, article detail) ---------- */
.internal-section { padding: 44px 0 58px; }
.internal-section.tight { padding: 30px 0 42px; }
.internal-section.soft { background: #f8f6f1; }
.section-title-center { text-align: center; margin-bottom: 30px; }
.section-title-center h2 { font-size: clamp(28px, 3vw, 40px); }
.section-title-center .ornament { margin-top: 14px; }
.ornament { display: block; width: 84px; height: 1px; margin: 0 auto; background: var(--gold); }

.content-layout { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; max-width: 1120px; margin: 0 auto; }
.content-main { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px; box-shadow: 0 10px 28px rgba(43, 37, 31, .03); }
.content-main h2 { margin: 26px 0 12px; font-size: 28px; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin: 20px 0 8px; font-size: 21px; }
.content-main p { margin-bottom: 14px; color: #39342f; }
.content-main ul { margin: 0 0 16px 0; padding-left: 20px; color: #39342f; }
.content-main li { margin: 6px 0; }
.content-sidebar { display: grid; gap: 16px; }
.sidebar-card { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf9; }
.sidebar-card h3 { font-size: 20px; margin-bottom: 10px; }
.sidebar-card p { margin-bottom: 12px; color: #4a443e; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list a { display: block; padding: 7px 0; color: #4c453e; border-bottom: 1px solid rgba(232, 224, 216, .7); }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #f3eee8; color: var(--gold); border: 1px solid #e6dac9; font-size: 22px; flex: 0 0 auto; }

/* ---------- Article detail (posts) ---------- */
.article-meta { display: flex; gap: 12px; color: #7b6b5b; font-size: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.article-label { color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.article-hero-card { max-width: 1120px; margin: 0 auto 30px; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.article-hero-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1120px; margin: 26px auto 0; }
@media (min-width: 768px) { .article-hero-card { grid-template-columns: 420px 1fr; } .article-hero-card img { height: 260px; } .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Article listing (/articole) ---------- */
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.category-pills a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); background: #fff; border-radius: 5px; font-weight: 700; color: #4b4540; font-size: 14px; }
.category-pills a.active { background: var(--green); color: #fff; border-color: var(--green); }
.featured-article { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 14px; align-items: center; max-width: 1110px; margin: 0 auto 30px; }
.featured-article img { width: 100%; height: 220px; object-fit: cover; border-radius: 6px; }
.featured-article h2 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 12px; }
.card-basic { border: 1px solid var(--line); background: #fff; border-radius: 8px; box-shadow: 0 8px 24px rgba(39, 35, 29, .03); overflow: hidden; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 1110px; margin: 0 auto; }
.article-card img { width: 100%; height: 190px; object-fit: cover; }
.article-card-body { padding: 18px 20px 22px; }
.article-card .cat { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.article-card h3 { font-size: 22px; margin-bottom: 10px; }
.article-card p { font-size: 15px; color: #443f39; margin-bottom: 12px; }
@media (min-width: 768px) { .featured-article { grid-template-columns: 420px 1fr; } .featured-article img { height: 260px; } .article-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Legal pages ---------- */
.tpl-legal .content-main { max-width: 900px; margin: 0 auto; }
.source-list li { margin: 10px 0; }

@media (min-width: 900px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .content-main { padding: 34px 40px; }
}

/* ---------- Footer ---------- */
.site-footer-full { background: var(--purple); color: #fff; }
.footer-main { padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-logo { font-family: var(--font-title); font-size: 22px; color: #fff; margin-bottom: 14px; display: block; }
.footer-logo-img { width: 170px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 14px; }
.footer-grid h3 { color: #fff; font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 14px; }
.footer-grid p, .footer-grid a, .footer-bottom p, .footer-bottom a { color: rgba(255, 255, 255, .82); font-size: 14px; }
.footer-grid a { display: block; padding: 4px 0; }
.footer-contact .btn { margin-top: 12px; color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); background: var(--purple-dark); padding: 15px 0; }
.footer-bottom .container { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr .7fr .8fr 1fr; }
}

/* ---------- Sticky WhatsApp + back to top ---------- */
.sticky-whatsapp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; background: var(--purple); color: #fff; box-shadow: 0 -14px 36px rgba(33, 21, 29, .18); font-weight: 700; }
body.has-sticky-whatsapp { padding-bottom: 60px; }
.back-to-top { position: fixed; right: 24px; bottom: 18px; z-index: 35; width: 38px; height: 38px; color: var(--purple); border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; box-shadow: 0 10px 24px rgba(33, 21, 29, .12); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
body.has-sticky-whatsapp .back-to-top { bottom: 78px; }

/* ---------- Responsive header ---------- */
@media (max-width: 1024px) {
  .header-inner { gap: 14px; }
  .brand { flex-basis: 185px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.nav-open .main-nav { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; gap: 0; padding: 10px 20px 18px; background: #fffdf9; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(40, 36, 30, .08); }
  .site-header.nav-open .main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(232, 224, 216, .7); }
  .site-header.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .brand { flex-basis: 170px; }
  .brand img { height: 42px; }
}

/* ---------- Contact form (used by resources/views/contact.php) ---------- */
.contact-form-panel { display: grid; grid-template-columns: 1fr; gap: 0; padding: 30px; margin-top: -30px; position: relative; z-index: 3; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.contact-form-col { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.contact-info-col { padding-top: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { font-weight: 700; font-size: 13px; color: #302c28; display: block; margin-bottom: 6px; }
.form-grid input, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; min-height: 44px; padding: 9px 12px; background: #fff; font-family: var(--font-body); font-size: 15px; }
.form-grid textarea { min-height: 110px; resize: vertical; }
.check-label { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin: 15px 0; font-size: 14px; color: #504a44; }
.check-label input { margin-top: 3px; }
.contact-submit { width: 100%; }
.contact-hp { position: absolute; left: -9999px; top: -9999px; }
.contact-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; }
.contact-alert.success { background: #eef4f0; color: var(--green-dark); }
.contact-alert.error { background: var(--bg-blush); color: #7a2f2f; }

.contact-line { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line h3 { font-family: var(--font-title); font-size: 18px; margin-bottom: 2px; }
.contact-line p { font-size: 13px; color: #6a625c; }
.contact-line strong { display: block; font-size: 16px; color: #2c2925; }
.contact-line .btn { grid-column: 1 / -1; min-height: 38px; padding: 0 14px; background: #fff; color: #4b4540; border: 1px solid var(--line); font-weight: 600; font-size: 13px; margin-top: 4px; }

@media (min-width: 768px) {
  .contact-form-panel { grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; }
  .contact-form-col { padding-bottom: 0; padding-right: 40px; border-bottom: 0; border-right: 1px solid var(--line); }
  .contact-info-col { padding-top: 0; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-line { grid-template-columns: 58px 1fr auto; }
  .contact-line .btn { grid-column: auto; margin-top: 0; }
}
