/* ============================================================
   DESIGN COMPONENTS — Tâmplărie nZEB
   Grile de produse, cards, FAQ, testimoniale, tabele, etc.
   ============================================================ */

/* ── PRODUCT GRID ────────────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; transition: all .3s ease; display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prod-photo {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-pale), var(--green-mid));
  display: grid; place-items: center;
}
.prod-photo svg { width: 60%; color: var(--green); opacity: 0.45; }
.prod-photo img { width: 100%; height: 100%; object-fit: cover; }
.prod-photo-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--white); color: var(--green); padding: 5px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.prod-photo-price {
  position: absolute; bottom: 14px; right: 14px;
  background: var(--dark); color: var(--white); padding: 7px 12px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
}
.prod-photo-price small { font-size: 10px; opacity: 0.7; font-weight: 500; }
.prod-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.prod-title { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -0.01em; }
.prod-desc { font-size: 14px; line-height: 1.6; color: var(--mid); flex: 1; }
.prod-features { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--border); margin-top: 8px; }
.prod-feat { font-size: 12px; color: var(--mute); font-weight: 500; }
.prod-feat strong { color: var(--dark); font-weight: 700; }
.prod-link { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--green); }
.prod-link-arrow { transition: transform .3s; }
.prod-card:hover .prod-link-arrow { transform: translateX(4px); }

/* ── FEATURE BLOCKS ──────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .feat-grid { grid-template-columns: 1fr; } }

.feat-block { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: all .3s; }
.feat-block:hover { border-color: var(--green-mid); box-shadow: var(--shadow); }
.feat-block-icon { width: 48px; height: 48px; background: var(--green-pale); color: var(--green); border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; }
.feat-block h3 { font-size: 22px; margin-bottom: 10px; font-weight: 400; }
.feat-block p { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* ── INFO LIST ───────────────────────────────────────────── */
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; gap: 20px; padding: 20px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; transition: all .25s; }
.info-item:hover { border-color: var(--green); box-shadow: var(--shadow); }
.info-item-num { font-family: var(--serif); font-size: 36px; color: var(--green); font-weight: 400; line-height: 1; flex-shrink: 0; width: 40px; }
.info-item-body h3 { font-size: 20px; margin-bottom: 6px; font-weight: 400; }
.info-item-body p { font-size: 14.5px; color: var(--mid); line-height: 1.65; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 900px; }
.faq-row { border-bottom: 1px solid var(--border); }
.faq-row:first-child { border-top: 1px solid var(--border); }
.faq-q-btn {
  width: 100%; text-align: left; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  cursor: pointer; background: none; border: none;
  font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--dark); line-height: 1.3;
}
.faq-q-btn:hover { color: var(--green); }
.faq-q-icon {
  flex-shrink: 0; width: 32px; height: 32px; border: 2px solid var(--green); border-radius: 50%;
  display: grid; place-items: center; color: var(--green); transition: transform .3s;
  background: var(--green-pale); font-size: 18px; font-weight: 700;
}
.faq-row.open .faq-q-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-row.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 24px; font-size: 15px; line-height: 1.75; color: var(--mid); max-width: 72ch; }
.faq-a-inner a { color: var(--green); font-weight: 700; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testim-grid { grid-template-columns: 1fr; } }

.testim-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: all .3s; }
.testim-card:hover { border-color: var(--green-mid); box-shadow: var(--shadow); }
.testim-stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; }
.testim-text { font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--dark); font-weight: 400; flex: 1; }
.testim-text em { font-style: italic; color: var(--green); }
.testim-meta { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.testim-avatar { width: 42px; height: 42px; background: var(--green-pale); color: var(--green); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; font-weight: 400; flex-shrink: 0; }
.testim-who { display: flex; flex-direction: column; gap: 2px; }
.testim-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.testim-loc { font-size: 12px; color: var(--mute); }

/* ── DATA TABLE ──────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.data-table th,
.data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-table th { background: var(--dark); color: var(--white); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover { background: var(--green-pale); }
.data-table strong { color: var(--green); font-weight: 700; }

/* ── COLOR SWATCH GRID ───────────────────────────────────── */
.swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 900px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }

.swatch-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: all .3s; }
.swatch-card:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: var(--shadow); }
.swatch-box { aspect-ratio: 1; width: 100%; }
.swatch-info { padding: 12px 14px; }
.swatch-name { font-family: var(--serif); font-size: 16px; font-weight: 400; line-height: 1.2; }
.swatch-ral { font-size: 11px; color: var(--mute); font-weight: 600; letter-spacing: 0.06em; margin-top: 2px; }

/* ── BLOG GRID ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-photo {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  position: relative; display: grid; place-items: center; color: var(--white);
  overflow: hidden;
}
.blog-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.blog-photo-num { font-family: var(--serif); font-size: 80px; font-weight: 400; opacity: 0.5; font-style: italic; position: relative; z-index: 1; }
.blog-tag { position: absolute; top: 14px; left: 14px; background: var(--amber); color: var(--white); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; z-index: 2; }
.blog-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.blog-date { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.blog-title { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.25; flex: 1; }
.blog-excerpt { font-size: 14px; color: var(--mid); line-height: 1.6; }
.blog-read { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--green); display: flex; justify-content: space-between; align-items: center; }

/* ── ARTICLE CONTENT ─────────────────────────────────────── */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.article-meta { display: flex; gap: 16px; margin-bottom: 24px; font-size: 13px; color: var(--mute); flex-wrap: wrap; }
.article-meta strong { color: var(--dark); font-weight: 700; }
.article-body { font-size: 17px; line-height: 1.8; color: var(--dark); }
.article-body h2 { font-size: 32px; margin: 48px 0 20px; line-height: 1.15; font-weight: 400; }
.article-body h3 { font-size: 24px; margin: 32px 0 14px; font-weight: 400; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 16px 0 24px 28px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--dark); font-weight: 700; }
.article-body a { color: var(--green); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--green); padding: 16px 24px; margin: 24px 0;
  font-family: var(--serif); font-size: 20px; font-style: italic;
  color: var(--green-deep); background: var(--green-pale); border-radius: 0 8px 8px 0;
}
.article-body .callout { background: var(--green-pale); border: 1px solid var(--green-mid); border-radius: 10px; padding: 20px 24px; margin: 24px 0; }
.article-body .callout h4 { font-size: 18px; margin-bottom: 8px; color: var(--green); font-weight: 400; }

/* ── CONTACT LAYOUT ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: 36px; margin-bottom: 16px; font-weight: 400; }
.contact-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.contact-item-icon { width: 44px; height: 44px; background: var(--green-pale); color: var(--green); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.contact-item h4 { font-size: 12px; color: var(--mute); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 4px; font-family: var(--sans); }
.contact-item a, .contact-item p { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--dark); }

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 32px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 26px; margin-bottom: 8px; font-weight: 400; }
.contact-form-sub { color: var(--mute); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: 0.1em; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font-family: var(--sans); font-size: 15px; color: var(--dark);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-pale); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; margin-top: 8px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ── CITIES GRID ─────────────────────────────────────────── */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .cities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cities-grid { grid-template-columns: 1fr; } }
.city-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; transition: all .3s; display: flex; flex-direction: column; gap: 6px; }
.city-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.city-name { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--dark); }
.city-meta { font-size: 12px; color: var(--mute); }
.city-arrow { margin-top: 8px; font-size: 13px; color: var(--green); font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* ── HERO CARD (from homepage) ───────────────────────────── */
.hero-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; box-shadow: 0 12px 40px -12px rgba(26,33,24,0.15); }
.hero-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.hero-card-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.hero-card-title { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-top: 4px; }
.hero-card-save { background: var(--amber); color: var(--white); padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.price-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.price-row:last-of-type { border-bottom: 0; }
.price-row-label { font-size: 14px; color: var(--mid); font-weight: 500; }
.price-row-val { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--green); }
.price-row-val small { font-size: 12px; color: var(--mute); font-weight: 400; margin-left: 4px; }
.hero-card-note { background: var(--green-pale); padding: 12px 14px; border-radius: 8px; font-size: 12.5px; color: var(--mid); line-height: 1.5; margin-bottom: 20px; }
.hero-card-note strong { color: var(--dark); }
.hero-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 14px; background: var(--green); color: var(--white); font-size: 14px; font-weight: 700;
  border-radius: 8px; transition: all .2s ease;
}
.hero-card-cta:hover { background: var(--green-deep); box-shadow: 0 4px 12px rgba(45,122,58,0.3); }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar { background: var(--green-pale); border-top: 1px solid var(--green-mid); border-bottom: 1px solid var(--green-mid); padding: 24px 0; }
.trust-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.trust-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-deep); }
.trust-brands { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.trust-brand { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--dark); opacity: 0.8; transition: all .2s; }
.trust-brand:hover { opacity: 1; color: var(--green); }

/* ── HERO SECTION ────────────────────────────────────────── */
.hero { padding: 64px 0 72px; position: relative; background: linear-gradient(180deg, var(--green-pale) 0%, var(--white) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.hero-left { max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; background: var(--white); border: 1px solid var(--green-mid); color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; border-radius: 100px; margin-bottom: 24px; box-shadow: var(--shadow); }
.hero-badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; box-shadow: 0 0 8px var(--green); }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero-h1 { font-family: var(--serif); font-size: clamp(42px, 5.5vw, 66px); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 24px; font-weight: 400; color: var(--dark); }
.hero-h1 em { font-style: italic; color: var(--green); font-weight: 400; }
.hero-lead { font-size: 18px; line-height: 1.65; color: var(--mid); margin-bottom: 32px; max-width: 560px; }
.hero-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 36px; }
.hero-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--dark); font-weight: 500; }
.hero-check svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--green); background: var(--green-pale); border-radius: 50%; padding: 3px; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 20px; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--mute); flex-wrap: wrap; }
.hero-trust-stars { display: flex; align-items: center; gap: 6px; color: var(--dark); font-weight: 600; }
.hero-trust-stars .stars { color: var(--amber); font-size: 15px; letter-spacing: 1px; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .hero-checks { grid-template-columns: 1fr; } .hero { padding: 40px 0 48px; } }

/* ── 404 ─────────────────────────────────────────────────── */
.err-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.err-404 h1 { font-size: clamp(80px, 12vw, 160px); line-height: 1; color: var(--green); font-weight: 400; letter-spacing: -0.03em; }
.err-404 h2 { font-size: 32px; margin-top: 8px; margin-bottom: 16px; font-weight: 400; }
.err-404 p { font-size: 16px; color: var(--mid); margin-bottom: 32px; max-width: 460px; }
.err-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── COOKIE CONSENT BANNER ───────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  background: var(--dark); color: rgba(255,255,255,0.9); border-radius: 12px;
  padding: 20px 24px; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  display: none; align-items: center; gap: 24px; flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 900px; margin: 0 auto;
}
#cookie-banner.cb-visible { display: flex; }
.cb-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; width: 100%; }
.cb-text { flex: 1; font-size: 13.5px; line-height: 1.5; }
.cb-text strong { color: var(--white); display: block; margin-bottom: 4px; font-size: 14px; }
.cb-text a { color: var(--green-light); font-weight: 600; }
.cb-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cb-btn {
  padding: 10px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: var(--sans); border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8);
  background: transparent; transition: all .2s;
}
.cb-btn:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
.cb-btn-primary { background: var(--green); border-color: var(--green); color: var(--white); }
.cb-btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); }

#cookie-prefs-link {
  position: fixed; bottom: 20px; left: 20px; z-index: 9998;
  background: var(--dark); color: rgba(255,255,255,0.7); padding: 8px 14px;
  border-radius: 8px; font-size: 12px; font-weight: 600; display: none;
  border: 1px solid rgba(255,255,255,0.15);
}
#cookie-prefs-link.cb-shown { display: block; }
#cookie-prefs-link:hover { color: var(--green-light); }

/* ── SKIP LINK (accessibility) ───────────────────────────── */
.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--green); color: var(--white);
  padding: 8px 16px; z-index: 9999; font-size: 14px; font-weight: 700; border-radius: 0 0 8px 0;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 8px; font-size: 14px; font-weight: 700;
  border: 1.5px solid var(--border); color: var(--dark); transition: all .2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { background: var(--green); border-color: var(--green); color: var(--white); }
.pagination .prev, .pagination .next { width: auto; padding: 0 16px; }

/* ── WP DEFAULTS ─────────────────────────────────────────── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--mute); margin-top: 8px; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 16px auto; }
.wp-block-image img { border-radius: 8px; }

