/* Ghidare Tractoare – stiluri comune */
:root {
  --green: #1F3B2D;
  --green-2: #2C4A3A;
  --green-dark: #0F2219;
  --accent: #E8C547;
  --bg: #F3F4EF;
  --bg-2: #E6E8DF;
  --ink: #1C211D;
  --muted: #5A544B;
  --muted-2: #4A453E;
  --line: #DCDDD3;
  --ph: #E4E6DD;
  --ph-ink: #6B6358;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Barlow', system-ui, sans-serif; font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 72px; padding-bottom: 56px; }
.section-sm { padding-top: 40px; padding-bottom: 72px; }
.muted { color: var(--muted); font-size: 17px; margin: 8px 0 0; }
.h1 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 56px; line-height: 1.05; }
.h2 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 40px; line-height: 1.08; }
.lead { margin: 12px 0 0; font-size: 19px; color: var(--muted); max-width: 40em; }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 6px; min-height: 48px; font-size: 18px; border: 0; cursor: pointer; font-family: inherit; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #F0D366; color: var(--ink); }
.btn-dark { background: var(--green); color: var(--bg); }
.btn-dark:hover { background: var(--green-dark); color: var(--bg); }
.btn-ghost { color: var(--bg); border: 2px solid rgba(243,244,239,0.5); background: transparent; font-weight: 600; }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-lg { font-size: 20px; padding: 16px 28px; }

/* Antet */
.top { background: var(--green); color: var(--bg); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bg); font-family: var(--cond); font-weight: 700; font-size: 26px; }
.brand:hover { color: #fff; }
.navlinks { display: flex; gap: 28px; font-weight: 500; font-size: 17px; }
.navlinks a { color: var(--bg); text-decoration: none; }
.navlinks a:hover { color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; background-color: var(--green); background-image: repeating-linear-gradient(104deg, rgba(243,244,239,0.07) 0 2px, transparent 2px 52px); color: var(--bg); }
.hero-line { position: absolute; top: 0; bottom: 0; left: 48%; width: 3px; background: var(--accent); transform: rotate(14deg); transform-origin: top left; opacity: 0.9; }
.hero-in { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.hero-title { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 68px; line-height: 1.02; }
.hero-sub { margin: 24px 0 0; font-size: 21px; max-width: 34em; color: #DDE3D8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-media { flex: 1 1 460px; min-width: 0; }
.hero-media .player, .hero-media .ph { aspect-ratio: 4 / 3; }

/* Locuri rezervate pentru poze */
.ph { border-radius: 8px; background: var(--ph); color: var(--ph-ink); display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-size: 15px; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph:has(img) { padding: 0; }
.ph-dark { background: var(--green-2); color: #C9D2C3; border: 1px solid rgba(243,244,239,0.2); font-size: 17px; }

/* Player YouTube (se încarcă doar la clic) */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--green-dark); }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; background: none; border: 0; padding: 8px; cursor: pointer; }
.player .play svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-label { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: var(--bg); background: rgba(15,34,25,0.88); border: 1px solid rgba(243,244,239,0.3); border-radius: 999px; padding: 8px 18px; pointer-events: none; }

/* Produse */
.products { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.product { flex: 1 1 460px; min-width: 0; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.product > .ph { aspect-ratio: 16 / 10; border-radius: 0; font-size: 16px; }
.product-sub { margin: 20px 32px 10px; font-size: 16px; font-weight: 600; color: var(--muted); }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 32px; }
.mini-grid .ph { aspect-ratio: 4 / 3; border-radius: 6px; font-size: 13px; padding: 6px; }
.mini { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.mini .thumb { aspect-ratio: 16 / 9; border-radius: 6px; }
.mini-title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.product-body { padding: 32px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.product-body h3 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 34px; line-height: 1.1; }
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price { font-family: var(--cond); font-weight: 700; font-size: 56px; line-height: 1; color: var(--green); }
.pill { font-weight: 600; font-size: 17px; padding: 6px 12px; border-radius: 999px; }
.pill-green { background: #DCE8D6; color: var(--green); }
.pill-yellow { background: #F4E7B5; color: #5A4A0E; }
.product-body ul { margin: 0; padding-left: 22px; line-height: 1.7; }
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* Miniaturi clipuri */
.thumb { position: relative; display: block; background: var(--green-2); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.thumb::after { content: ''; position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M26 20 L45 32 L26 44 Z' fill='%231C211D'/%3E%3C/svg%3E") center / 70% no-repeat; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.mini .thumb::after { width: 30px; height: 30px; }

/* Pași */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { display: flex; gap: 18px; }
.step-n { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--accent); font-family: var(--cond); font-weight: 700; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.steps h3 { margin: 4px 0 6px; font-size: 21px; }
.steps p { margin: 0; line-height: 1.5; color: var(--muted-2); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.gallery .ph { aspect-ratio: 4 / 3; border-radius: 10px; }
.gallery .ph.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 320px; background: #D6D9CD; color: var(--muted-2); font-size: 16px; }

/* Cifre */
.stats { background: var(--bg-2); border-top: 1px solid #D4D6CB; border-bottom: 1px solid #D4D6CB; }
.stats-in { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-top: 36px; padding-bottom: 36px; }
.stat-n { font-family: var(--cond); font-weight: 700; font-size: 44px; color: var(--green); }
.stat-t { font-size: 17px; color: var(--muted-2); }

/* Carduri clipuri */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 28px; }
.card { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card:hover { border-color: #A9AB9F; color: var(--ink); }
.card-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.card-loc { font-size: 15px; font-weight: 600; color: var(--muted); }
.card-title { font-weight: 600; font-size: 19px; line-height: 1.35; }
.empty { margin-top: 28px; padding: 28px; border: 2px dashed #C9CBBF; border-radius: 10px; color: var(--muted); font-size: 18px; }

/* Filtre */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: inherit; font-size: 16px; font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 1px solid #A9AB9F; background: #fff; color: var(--ink); min-height: 44px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--bg); }

/* Banda hărții */
.band { background: var(--green); color: var(--bg); }
.band-in { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.band p { margin: 12px 0 0; font-size: 19px; color: #DDE3D8; }

/* Subsol */
.foot-in { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 96px; }
.foot-name { font-family: var(--cond); font-weight: 700; font-size: 28px; }
.foot-links { line-height: 1.8; }
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: rgba(243,244,239,0.96); border-top: 1px solid #D4D6CB; z-index: 10; }
.callbar .btn { flex: 1; font-size: 20px; }

/* Pagina unui clip */
.crumbs { font-size: 16px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.ep-title { margin-top: 18px; max-width: 18em; }
.ep-grid { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 32px; align-items: flex-start; }
.ep-main { flex: 999 1 600px; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { font-size: 16px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #DCE8D6; color: var(--green); text-decoration: none; }
.prose { margin-top: 24px; font-size: 19px; line-height: 1.65; max-width: 38em; color: #2A2F2B; }
.prose p { margin: 0 0 16px; }
.offer { flex: 1 1 300px; min-width: 0; background: var(--green); color: var(--bg); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 16px; background-image: repeating-linear-gradient(104deg, rgba(243,244,239,0.06) 0 2px, transparent 2px 36px); position: sticky; top: 16px; }
.offer h2 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 30px; line-height: 1.1; }
.offer p { margin: 0; color: #DDE3D8; }
.offer-price { font-family: var(--cond); font-weight: 700; font-size: 48px; line-height: 1; color: var(--accent); }
.offer-link { color: var(--bg); font-size: 17px; }
.offer-link:hover { color: var(--accent); }
.related { margin-top: 72px; }

/* Text lung (confidențialitate) */
.doc { max-width: 46em; }
.doc h2 { font-family: var(--cond); font-size: 30px; margin: 36px 0 8px; }
.doc p, .doc li { line-height: 1.65; }

/* Bannerul de cookie-uri */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.18); z-index: 50; font-size: 16px; }
.consent p { margin: 0 0 12px; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { min-height: 44px; padding: 10px 18px; font-size: 16px; }
.consent .btn-plain { background: transparent; border: 1px solid #A9AB9F; color: var(--ink); }

@media (max-width: 720px) {
  .callbar { display: flex; }
  body { padding-bottom: 84px; }
  .hero-line { display: none; }
  .navlinks { display: none; }
  .btn-phone { display: none; }
  .hero-in { padding-top: 48px; padding-bottom: 56px; }
  .hero-title { font-size: 44px; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 34px; }
  .price { font-size: 44px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { padding: 24px; }
  .mini-grid { padding: 0 24px; }
  .product-sub { margin-left: 24px; margin-right: 24px; }
  .offer { position: static; }
  .consent { bottom: 84px; }
}
