:root {
  --bg: #f7f8f7;
  --surface: #fff;
  --surface-2: #eff3f1;
  --ink: #1c2d2b;
  --muted: #667774;
  --line: #dfe6e3;
  --green: #1f4340;
  --green-2: #28514d;
  --green-soft: #a7c44b;
  --shadow: 0 14px 34px rgba(14,27,25,.08);
}

/* Bază */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 16px/1.68 system-ui,-apple-system,"Segoe UI",Arial,sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,p { overflow-wrap: break-word; }
.container { width: min(1180px,calc(100% - 42px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 999; background: #fff; padding: 10px; border-radius: 8px; }

/* Antet */
.header { position: sticky; top: 0; z-index: 60; background: rgba(22,42,40,.96); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.09); }
.head-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.logo strong { display: block; font-size: 20px; line-height: 1; }
.logo small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .18em; color: #b9c9c5; }
.header nav { display: flex; gap: 24px; font-size: 13px; font-weight: 700; color: #d6e0dd; }
.header nav a:hover { color: var(--green-soft); text-decoration: none; }
.head-actions { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 3px; }
.langs a { padding: 4px 10px; border-radius: 7px; font-size: 12px; font-weight: 800; }
.langs a[aria-current="page"] { background: var(--green-soft); color: #13211f; }
.phone-head { white-space: nowrap; border-radius: 9px; background: var(--green-soft); color: #15211f; padding: 10px 14px; font-weight: 900; font-size: 14px; }
.mobile-contact { display: none; }

/* Banner cu fotografie */
.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(90deg,rgba(9,35,30,.92) 0%,rgba(9,35,30,.78) 35%,rgba(9,35,30,.38) 65%,rgba(9,35,30,.08) 100%),url("assets/autoservice-chisinau-banner.webp");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
.hero .hero-inner { position: relative; display: flex; align-items: center; min-height: 520px; padding: 65px 0; }
.hero .hero-text { position: relative; z-index: 2; width: 100%; max-width: 750px; }
.eyebrow { margin: 0; color: #93a745; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1 { font-size: clamp(38px,4.9vw,62px); line-height: 1.08; letter-spacing: -.04em; margin: 14px 0 18px; }
.hero h1 { max-width: 810px; margin: 15px 0 20px; font-size: clamp(32px,3.5vw,48px); line-height: 1.15; letter-spacing: -.028em; color: #fff; }
.hero .lead { max-width: 700px; margin: 0; font-size: 16px; line-height: 1.7; color: #e5eeeb; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 12px 21px; border-radius: 11px; font-size: 14px; font-weight: 850; text-align: center; transition: transform .2s,filter .2s; }
.button:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.04); }
.primary { background: var(--green-soft); color: #162120; }
.secondary { border: 1px solid rgba(255,255,255,.34); color: #fff; }
.hero .hero-location { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 13px; font-weight: 500; color: #dce7e3; }
.hero-location svg { flex-shrink: 0; color: #8ed9b0; }

/* Sigle mărci auto */
.brands-inline { position: relative; z-index: 2; margin-top: -18px; }
.brands-inline .container { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.brands-inline p { margin: 0 0 18px; text-align: center; font-size: 14px; color: var(--muted); font-weight: 700; }
.brand-logos { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.brand-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 115px; padding: 14px 8px; background: #fbfbfb; border: 1px solid var(--line); border-radius: 16px; }
.brand-logo img { width: 50px; height: 50px; object-fit: contain; }
.brand-logo strong { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #233534; }

/* Repere rapide */
.highlights { padding: 26px 0 0; }
.highlights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.highlights-grid > div { display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(12,33,17,.04); }
.hi-icon { display: grid; place-items: center; flex: 0 0 45px; width: 45px; height: 45px; border-radius: 14px; background: #edf3e0; color: #587331; font-size: 22px; }
.highlights p { margin: 0; line-height: 1.45; }
.highlights strong,.highlights small { display: block; }
.highlights strong { font-size: 14px; }
.highlights small { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* Secțiuni și titluri */
.section { padding: 82px 0; }
.section-heading { max-width: 780px; }
.section-heading > p:last-child,.section p.lead-2,.contact p { color: var(--muted); }
h2 { margin: 10px 0 16px; font-size: clamp(30px,3.2vw,44px); line-height: 1.15; letter-spacing: -.03em; }

/* Servicii */
.services { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.service { position: relative; min-width: 0; padding: 26px 22px; overflow: hidden; background: #fff; border: 1px solid #e1e9e5; border-radius: 18px; box-shadow: 0 3px 15px rgba(20,50,42,.035); transition: transform .2s,border-color .2s,box-shadow .2s; }
.service::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: #397b60; }
.service:hover { transform: translateY(-3px); border-color: #b4d1c0; box-shadow: 0 12px 28px rgba(20,50,42,.1); }
.service .service-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 18px; background: #eaf4ee; color: #216b4b; border-radius: 15px; }
.service .service-icon svg { display: block; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.service h3 { margin: 0 0 9px; color: #1f4340; font-size: 17px; font-weight: 700; line-height: 1.35; }
.service p { margin: 0; color: #65726b; font-size: 14px; line-height: 1.6; }
.services-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 20px; padding: 27px 30px; background: #eaf3ed; border: 1px solid #d5e7da; border-radius: 18px; }
.services-cta-text h3 { margin: 0 0 8px; color: #1f4340; font-size: 21px; }
.services-cta-text p { margin: 0; color: #52665a; font-size: 14px; line-height: 1.6; }
.services-cta .button { flex-shrink: 0; }
.services-cta .button svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Probleme frecvente */
.symptoms { background: var(--surface-2); }
.symptoms-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-top: 32px; }
.symptoms-grid article { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.symptoms-grid b { color: #789329; font-size: 11px; letter-spacing: .09em; }
.symptoms-grid h3 { margin-top: 18px; }
.symptoms-grid p { color: var(--muted); font-size: 13px; line-height: 1.72; }
.symptoms-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 24px 28px; background: var(--green); color: #fff; border-radius: 18px; }
.symptoms-cta strong,.symptoms-cta span { display: block; }
.symptoms-cta span { margin-top: 6px; color: #cfdbd8; font-size: 13px; }

/* Cum lucrăm */
.workflow { background: #fff; }
.workflow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 30px; }
.workflow-grid article { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(28,48,32,.04); }
.workflow-grid span { font-size: 36px; font-weight: 900; letter-spacing: -.04em; color: #90ae33; }
.workflow-grid h3 { margin-top: 14px; }
.workflow-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

/* Despre noi și experiență */
.about { background: #f4f8f5; color: #203e34; }
.about-grid { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 55px; }
.about-content h2 { margin: 0 0 24px; color: #193c32; font-size: clamp(30px,3.5vw,43px); line-height: 1.15; }
.about .about-content .eyebrow { color: #397b60; }
.about .about-content > p:not(.eyebrow) { max-width: 640px; margin: 0 0 18px; color: #4f6158; font-size: 16px; line-height: 1.85; }
.about .about-experience { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; min-height: 220px; padding: 30px 24px; background: #193f32; border-radius: 18px; text-align: center; box-shadow: 0 10px 30px rgba(20,55,42,.08); }
.about .experience-number { display: block; margin: 0 0 13px; color: #a7e5b9; font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -3px; }
.about .experience-number span { display: inline; position: static; color: #a7e5b9; font-size: 36px; vertical-align: top; letter-spacing: 0; }
.about .experience-title { margin: 0; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.4; }
.about .experience-subtitle { max-width: 260px; margin: 7px 0 0; color: #c5ddd0; font-size: 13px; line-height: 1.5; }

/* FAQ */
.narrow { max-width: 900px; }
.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq details { padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.03); }
.faq details[open] { border-color: #cfdc97; box-shadow: 0 8px 26px rgba(32,40,16,.06); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding-right: 24px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 22px; color: #789329; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* Contact și hartă */
.contact { background: #f1f5f3; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 42px; }
.contact-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.contact dl { margin: 25px 0 0; }
.contact dt { margin-top: 16px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact dd { margin: 4px 0 0; font-weight: 700; }
.mapbox { overflow: hidden; background: #e3e7e3; border-radius: 18px; box-shadow: 0 14px 38px rgba(34,51,42,.08); }
.mapbox iframe { display: block; width: 100%; height: 390px; border: 0; }

/* Footer — 3 coloane, centrat pe mobil */
.footer-modern { padding: 58px 0 0; background: #11231e; color: #d7e4dc; font-size: 14px; }
.footer-modern .footer-top { display: grid; grid-template-columns: 1.35fr .8fr .95fr; align-items: start; gap: 65px; padding-bottom: 48px; }
.footer-modern .footer-about,.footer-modern .footer-col,.footer-modern .footer-reach { min-width: 0; }
.footer-modern .footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.footer-modern .footer-logo img { display: block; flex-shrink: 0; width: 55px; height: 55px; object-fit: contain; border-radius: 12px; }
.footer-modern .footer-logo-text { display: flex; flex-direction: column; gap: 5px; }
.footer-modern .footer-logo-text strong { color: #fff; font-size: 27px; font-weight: 800; letter-spacing: -.7px; line-height: 1; }
.footer-modern .footer-logo-text small { color: #a9c6b7; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; }
.footer-modern .footer-about > p { max-width: 350px; margin: 0 0 22px; color: #b7cbc0; font-size: 14px; line-height: 1.8; }
.footer-modern .footer-langs { display: flex; align-items: center; gap: 8px; }
.footer-modern .footer-langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 43px; height: 37px; padding: 0 12px; border: 1px solid #395248; border-radius: 9px; color: #d5e3da; font-size: 12px; font-weight: 700; }
.footer-modern .footer-langs a:hover { border-color: #a9cf6c; color: #fff; text-decoration: none; }
.footer-modern .footer-langs a[aria-current="page"] { background: #a9cf6c; border-color: #a9cf6c; color: #11231e; }
.footer-modern .footer-col,.footer-modern .footer-reach { display: flex; flex-direction: column; align-items: flex-start; }
.footer-modern .footer-col h3,.footer-modern .footer-reach h3 { margin: 8px 0 22px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.4; }
.footer-modern .footer-col a { margin-bottom: 14px; color: #bdcfc5; font-size: 14px; line-height: 1.5; }
.footer-modern .footer-col a:hover { color: #b6dd79; text-decoration: none; }
.footer-modern .footer-reach p { max-width: 270px; margin: 0 0 20px; color: #b7cbc0; font-size: 14px; line-height: 1.75; }
.footer-modern .footer-map { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 5px; border-bottom: 1px solid rgba(182,221,121,.55); color: #b6dd79; font-size: 14px; font-weight: 700; line-height: 1.5; }
.footer-modern .footer-map:hover { color: #fff; border-color: #fff; text-decoration: none; }
.footer-modern .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0 23px; border-top: 1px solid rgba(255,255,255,.12); color: #98b4a5; font-size: 13px; }
.footer-modern .footer-bottom a { color: #a9cf6c; }
.footer-modern .footer-bottom a:hover { color: #fff; }

/* Acțiuni fixe — doar dacă există în HTML */
.mobile-actions { display: none; }

/* Tabletă */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .symptoms-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .header nav { gap: 15px; }
}
@media (max-width: 960px) {
  .footer-modern .footer-top { grid-template-columns: 1.2fr 1fr; gap: 35px; }
  .footer-modern .footer-about { grid-column: 1 / -1; }
  .footer-modern .footer-about > p { max-width: 520px; }
}
@media (max-width: 900px) {
  .hero { min-height: 470px; background-position: 65% center; }
  .hero .hero-inner { min-height: 470px; padding: 60px 0; }
  .hero .hero-text { max-width: 650px; }
  .about-grid,.contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .header nav { display: none; }
  .head-inner { min-height: 72px; }
  .phone-head { display: none; }
  .mobile-contact { display: inline-flex; padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; font-size: 13px; font-weight: 800; }
  .highlights-grid,.workflow-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .symptoms-cta { flex-direction: column; align-items: stretch; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; gap: 9px; padding: 9px 12px max(9px,env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.12); }
  .mobile-actions a { padding: 11px; border-radius: 9px; text-align: center; font-size: 13px; font-weight: 850; }
  .mobile-actions a:first-child { background: var(--green-soft); color: #162120; }
  .mobile-actions a + a { background: #e8edeb; }
  .footer-modern .footer-bottom { padding-bottom: 94px; }
  .footer-modern .footer-bottom:not(:has(~ .mobile-actions)) { padding-bottom: 23px; }
}
@media (max-width: 650px) {
  .service { padding: 19px 15px; border-radius: 14px; }
  .service .service-icon { width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; }
  .service .service-icon svg { width: 25px; height: 25px; }
  .service h3 { font-size: 15px; }
  .service p { font-size: 12px; line-height: 1.5; }
  .services { gap: 11px; margin-top: 22px; }
  .services-cta { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 19px; }
  .services-cta-text h3 { font-size: 19px; }
  .services-cta .button { width: 100%; }
  .about .about-experience { min-height: 190px; padding: 26px 20px; border-radius: 15px; }
  .about .experience-number { font-size: 64px; }
  .about .experience-number span { font-size: 30px; }
  .about .experience-title { font-size: 18px; }
}
@media (max-width: 600px) {
  .hero { min-height: 520px; background-image: linear-gradient(90deg,rgba(9,35,30,.91),rgba(9,35,30,.74)),url("assets/autoservice-chisinau-banner.webp"); background-position: 68% center; }
  .hero .hero-inner { min-height: 520px; padding: 45px 0; }
  .hero h1 { font-size: clamp(30px,7vw,38px); }
  .hero .lead { font-size: 15px; line-height: 1.6; }
  .hero .actions { flex-direction: column; }
  .hero .actions .button { width: 100%; }
  .brands-inline { margin-top: 0; }
  .brands-inline .container { padding: 20px 12px; border-radius: 16px; }
  .brands-inline p { margin-bottom: 16px; font-size: 13px; line-height: 1.5; }
  .brand-logos { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; }
  .brand-logo { grid-column: span 2; min-height: 96px; padding: 12px 4px; gap: 8px; border-radius: 12px; }
  .brand-logo:nth-child(4) { grid-column: 2 / span 2; }
  .brand-logo:nth-child(5) { grid-column: 4 / span 2; }
  .brand-logo img { width: 40px; height: 40px; }
  .brand-logo strong { font-size: 10px; line-height: 1.3; text-align: center; }
  .footer-modern { padding-top: 39px; text-align: center; }
  .footer-modern .footer-top { grid-template-columns: 1fr; justify-items: center; gap: 30px; padding-bottom: 32px; }
  .footer-modern .footer-about,.footer-modern .footer-col,.footer-modern .footer-reach { grid-column: auto; display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
  .footer-modern .footer-logo { justify-content: center; gap: 12px; margin-bottom: 17px; }
  .footer-modern .footer-logo img { width: 46px; height: 46px; }
  .footer-modern .footer-logo-text { align-items: flex-start; text-align: left; }
  .footer-modern .footer-logo-text strong { font-size: 24px; }
  .footer-modern .footer-about > p,.footer-modern .footer-reach p { max-width: 340px; margin-left: auto; margin-right: auto; text-align: center; }
  .footer-modern .footer-about > p { margin-bottom: 18px; font-size: 13px; line-height: 1.7; }
  .footer-modern .footer-langs,.footer-modern .footer-map { justify-content: center; }
  .footer-modern .footer-col h3,.footer-modern .footer-reach h3 { margin: 0 0 15px; font-size: 16px; }
  .footer-modern .footer-col a { margin-bottom: 11px; }
  .footer-modern .footer-reach p { margin-bottom: 12px; }
  .footer-modern .footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; font-size: 12px; }
}
@media (max-width: 540px) {
  .container { width: min(100% - 30px,1180px); }
  .logo strong { font-size: 18px; }
  .logo img { width: 40px; height: 40px; }
  .services { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .symptoms-grid { grid-template-columns: 1fr; }
  .mapbox iframe { height: 300px; }
}
@media (max-width: 360px) {
  .services { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,.service { transition: none; }
}
