/* =========================================================
   CEGA Drill – foraje puțuri apă
   ========================================================= */

:root {
  --navy: #0b2a4a;
  --navy-2: #123b63;
  --blue: #1f7fc7;
  --blue-light: #e8f3fc;
  --amber: #f2a516;
  --amber-dark: #d68d00;
  --ink: #16212e;
  --muted: #5a6878;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-tint: #f4f8fb;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 42, 74, .25);
  --shadow-lg: 0 24px 60px -20px rgba(11, 42, 74, .35);
  --container: 1180px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.eyebrow--light { color: var(--amber); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .95em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--navy); box-shadow: 0 8px 20px -8px rgba(242, 165, 22, .7); }
.btn--primary:hover { background: var(--amber-dark); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: .6em 1.2em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,42,74,.4); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--blue); }
.logo__mark { width: 36px; height: 36px; }
.logo__text { font-weight: 800; font-size: 1.35rem; color: var(--navy); letter-spacing: -.02em; }
.logo__text span { color: var(--blue); font-weight: 600; margin-left: .2em; }
.logo--light { color: var(--amber); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text span { color: var(--amber); }

.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--amber); transform: scaleX(0); transition: transform .2s;
}
.nav a:hover::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header__phone svg { width: 18px; height: 18px; color: var(--blue); }

.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 9px; cursor: pointer; }
.burger span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(900px 500px at 85% 10%, var(--blue-light), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg-tint));
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .18em;
  background: var(--amber); opacity: .45; z-index: -1; border-radius: 4px;
}
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.8rem; }

.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 0; }
.stat dt { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat dd { margin: .35rem 0 0; font-size: .9rem; color: var(--muted); font-weight: 600; }

.hero__visual { position: relative; }
.hero__visual > img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 560px; object-fit: cover; object-position: 50% 60%;
  border-radius: 28px; box-shadow: var(--shadow-lg);
}
.hero__visual::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; z-index: -1;
  border-radius: 28px; background: repeating-linear-gradient(135deg, var(--blue-light) 0 10px, transparent 10px 20px);
}
.hero__badge {
  position: absolute; left: -1.6rem; bottom: 2rem;
  display: flex; align-items: center; gap: .8rem;
  background: #fff; padding: .9rem 1.2rem; border-radius: 14px; box-shadow: var(--shadow);
}
.hero__badge svg { width: 34px; height: 34px; color: var(--blue); flex-shrink: 0; }
.hero__badge strong { display: block; color: var(--navy); line-height: 1.2; }
.hero__badge span { font-size: .85rem; color: var(--muted); }

/* ---------- Secțiuni ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: #d5e2ef; }
.section--dark h2 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: 3rem; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* ---------- Carduri servicii ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; }
.card { grid-column: span 2; }
.card:nth-child(n+4) { grid-column: span 3; }
.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { height: 210px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { position: relative; padding: 0 1.6rem 1.8rem; }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: #fff; color: var(--blue);
  margin: -30px 0 1.1rem;
  box-shadow: 0 8px 20px -10px rgba(11,42,74,.45);
  transition: background-color .25s, color .25s;
}
.card__icon svg { width: 32px; height: 32px; }
.card:hover .card__icon { background: var(--navy); color: var(--amber); }
.card__num { position: absolute; top: .9rem; right: 1.6rem; font-weight: 800; font-size: 1.6rem; color: var(--line); }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card__link { display: inline-block; margin-top: 1rem; font-weight: 700; font-size: .93rem; color: var(--blue); text-decoration: none; }
.card__link::after { content: " →"; }
.card__link:hover { text-decoration: underline; }

/* ---------- Zona / informații locale ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.info {
  background: var(--bg-tint); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.info h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.info p, .info li { color: var(--muted); font-size: .98rem; }
.info p:last-child { margin-bottom: 0; }
.info ul { padding-left: 1.2rem; margin: 0 0 1em; }
.info li { margin-bottom: .35rem; }
.info li strong, .info p strong { color: var(--ink); }
.price-tag {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem;
  background: #fff; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem;
  color: var(--muted) !important; font-size: .95rem !important;
}
.price-tag strong { font-size: 1.6rem; font-weight: 800; color: var(--navy) !important; line-height: 1; }
.info--places { grid-column: 1 / -1; background: var(--navy); }
.info--places h3 { color: #fff; }
.info--places p { color: #b9cde0; }
.places { list-style: none; padding: 0 !important; margin: 0 0 1.2rem !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.places li {
  margin: 0; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-weight: 600; font-size: .9rem;
}

/* ---------- Pași ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px);
  opacity: .35;
}
.step { position: relative; counter-increment: step; }
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--amber);
  font-weight: 800; font-size: 1.15rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 0 6px var(--bg-tint);
  position: relative;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Split / despre ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split__media { position: relative; }
.split__media .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.badge-float {
  position: absolute; right: -1.5rem; bottom: 2rem;
  background: var(--amber); color: var(--navy);
  padding: 1.1rem 1.4rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); max-width: 230px;
}
.badge-float strong { display: block; font-size: 1.3rem; }
.badge-float span { font-size: .88rem; font-weight: 600; }

.checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .85rem; }
.checks li { position: relative; padding-left: 2.1rem; color: var(--muted); }
.checks li strong { color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231f7fc7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Poze / placeholder ---------- */
.photo { width: 100%; height: 100%; overflow: hidden; }
.photo img, .gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 1rem; }
.gallery__item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item a { display: block; height: 100%; cursor: zoom-in; }
.gallery__item img, .gallery__item .photo { transition: transform .5s ease; }
.gallery__item:hover img, .gallery__item:hover .photo { transform: scale(1.04); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(5, 18, 33, .94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; border-radius: 8px; object-fit: contain; }
.lightbox__caption { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; margin: 0; font-weight: 600; color: #c9d8e7; padding: 0 16px; }
.lightbox button {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.12);
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- CTA banda ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--navy-2));
  color: #e6f1fb;
  padding: 3.2rem 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-weight: 700; color: var(--navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue); font-size: 1.2rem; font-weight: 700;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.contact__list li { display: grid; gap: .1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #8fa8c2; font-weight: 700; }
.contact__list a, .contact__list span:not(.contact__label) { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact__list a:hover { color: var(--amber); }

.form {
  background: #fff; color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 700; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; font-weight: 500;
  padding: .8em .95em;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-tint); color: var(--ink);
  transition: border-color .2s, background-color .2s;
  width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form .is-invalid { border-color: #d64545; background: #fff5f5; }
.form__consent { display: flex !important; align-items: flex-start; gap: .6rem !important; font-weight: 500 !important; color: var(--muted) !important; }
.form__consent a { color: var(--blue); }
.form__consent input { width: 18px; height: 18px; margin-top: .2em; flex-shrink: 0; accent-color: var(--blue); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-size: .92rem; font-weight: 600; min-height: 1.3em; }
.form__status.is-ok { color: #1f8a4c; }
.form__status.is-error { color: #d64545; }

/* ---------- Footer ---------- */
.footer { background: #071d34; color: #8fa8c2; padding: 3rem 0 2rem; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer__tag { margin: 1rem 0 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__services { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer__services a { color: #8fa8c2; text-decoration: none; font-size: .92rem; }
.footer__services a:hover { color: var(--amber); }
.footer__nav a { color: #c9d8e7; text-decoration: none; font-weight: 600; }
.footer__nav a:hover { color: var(--amber); }
.footer__legal { grid-column: 1 / -1; margin: 1.5rem 0 0; font-size: .85rem; line-height: 1.6; color: #6f88a3; }
.footer__legal + .footer__copy { margin-top: 1rem; }
.footer__copy { grid-column: 1 / -1; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* ---------- Buton apel flotant ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--amber); color: var(--navy);
  box-shadow: 0 10px 25px -6px rgba(0,0,0,.35);
}
.fab svg { width: 26px; height: 26px; }

/* ---------- Animații la scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(n+4) { grid-column: auto; }
  .card:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .header__phone span { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .header__actions { margin-left: auto; gap: .4rem; }
  .header__phone { padding: .5rem; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1.2rem;
    box-shadow: 0 20px 30px -20px rgba(11,42,74,.35);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav__cta-mobile { display: block; color: var(--blue) !important; border-bottom: 0 !important; }

  .hero__inner, .split, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__visual > img { aspect-ratio: 16 / 10; }
  .hero__visual::before { display: none; }
  .hero__badge { left: 1rem; bottom: -1.2rem; }
  .split__media .photo { aspect-ratio: 4 / 3; }
  .badge-float { right: 1rem; bottom: -1.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .fab { display: grid; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card:last-child { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.6rem; }
  .stat dt { font-size: 1.8rem; }
  .hero { padding-top: 1.5rem; }
  .hero__badge { padding: .7rem 1rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: auto; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Pagini de servicii ---------- */
.hero--page { padding-top: clamp(2rem, 5vw, 4rem); }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3.5rem; align-items: start; }
.prose { max-width: 720px; }
.prose__block + .prose__block { margin-top: 2.6rem; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.prose p, .prose li { color: var(--muted); font-size: 1.05rem; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .5rem; }
.prose ol li::marker { color: var(--blue); font-weight: 800; }
.prose a, .faq a { color: var(--blue); font-weight: 600; }

.service-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-card { background: var(--bg-tint); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.aside-card h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.aside-card .checks { margin: 0 0 1.4rem; gap: .7rem; }
.aside-card .checks li { font-size: .95rem; }
.aside-card .price-tag { margin-bottom: 1.2rem; }
.aside-card__phone { display: block; text-align: center; margin-top: .9rem; font-size: .92rem; color: var(--muted); text-decoration: none; }
.aside-card__phone strong { color: var(--navy); }

.gallery--compact { grid-auto-rows: 220px; }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.related__item {
  display: grid; gap: .3rem; padding: 1.3rem 1.4rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.related__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.related__item strong { color: var(--navy); font-size: 1.02rem; }
.related__item strong::after { content: " →"; color: var(--blue); }
.related__item span { color: var(--muted); font-size: .9rem; }

@media (max-width: 1080px) {
  .service-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-aside { position: static; }
  .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .related { grid-template-columns: 1fr; }
}

/* ---------- Blog ---------- */
.hero--compact { padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero--compact h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 22ch; }
.hero--compact .hero__lead { max-width: 46em; }
.container--article h1 { max-width: 28ch; }
.post-meta { color: var(--muted); font-size: .95rem; margin: 0; }
.post-meta a { color: var(--blue); font-weight: 600; }
.section--flush { padding-top: clamp(2rem, 4vw, 3rem); }
.post-figure { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.post-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.prose--article > h2 { margin-top: 2.2rem; }
.aside-card__text { color: var(--muted); font-size: .95rem; }
.aside-card__cta { margin-top: .7rem; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.post-card__meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; font-weight: 600; }
.post-card h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: .6rem; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p:last-child { color: var(--muted); font-size: .94rem; margin: 0; }

@media (max-width: 1080px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Pagini legale ---------- */
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .4rem; }
.legal strong { color: var(--ink); }
.legal__updated { font-size: .9rem; }

/* ---------- Pagina 404 ---------- */
.page-404 { min-height: 60vh; }
.page-404 h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-404 .hero__ctas { margin: 1.6rem 0 2.6rem; }
.related--404 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .related--404 { grid-template-columns: 1fr; } }
