/* ============ Doricom Service — doricom.ro ============
   Paritate exactă cu Figma „Dekstop/home" (2087:49315), canvas 1280 / container 1160.
   Sursa valorilor: 07_Website/SPEC — Figma Dekstop-home (extras exact).md */

/* --- Fonturi (Outfit variabil, self-hosted — fără transfer către Google) --- */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens (valori exacte Figma) --- */
:root {
  --ink: #312D29;            /* titluri, footer bg */
  --text: #575149;           /* corp text */
  --text-soft: #6E675E;      /* trust-line, date recenzii */
  --rust: #C1552F;           /* doar Contact Row + accente decor */
  --rust-btn: #96411F;       /* butoanele primare din tot site-ul */
  --card-warm: rgba(239, 236, 230, .6);  /* #EFECE6 @60 — carduri servicii */
  --card-cream: #F8F3E9;     /* carduri recenzii, eyebrow FAQ */
  --card-contact: #FBF9F4;   /* cardurile din Contact Row */
  --border-warm: #E5DDCE;    /* chenar FAQ */
  --cream: #F3E1C9;          /* text footer */
  --gray-band: #F3F3F3;      /* fundal CTA + Contact */
  --container: 1160px;
  /* aliasuri pentru stilurile inline ale subpaginilor */
  --bg-hero: #FBF9F4;
  --border: #E5DDCE;
  --surface: #F8F3E9;
  --text-muted: #575149;
  --rust-700: #96411F;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', -apple-system, sans-serif; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (min-width: 1240px) { .container { padding-left: 0; padding-right: 0; } }

/* Tipografie exactă: titluri Medium (500), nu Bold */
h1 { font-size: clamp(36px, 4.3vw, 55px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.28; letter-spacing: -0.01em; }
p  { color: var(--text); }

/* Eyebrow standard: #D6D1C7 @18 + contur alb, r24, 14 Regular */
.eyebrow {
  display: inline-block; background: rgba(214, 209, 199, .18); border: 1px solid #fff;
  color: var(--text); font-size: 14px; font-weight: 400; padding: 4px 10px; border-radius: 24px;
}

/* Butoane: #96411F, r8, pad 14/22, 16 Medium */
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 8px;
  font-weight: 500; font-size: 16px; line-height: 1.4; border: none; cursor: pointer;
  transition: background .2s, transform .1s; font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rust-btn); color: #fff; }
.btn-primary:hover { background: #7C3519; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--rust); padding: 13px 21px; }
.btn-outline:hover { background: rgba(193, 85, 47, .06); }

/* --- Nav --- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; padding: 14px 40px; max-width: 1280px; margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 20px; color: var(--ink); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 18px; margin-left: auto; margin-right: auto; font-size: 14px; color: var(--ink); }
.nav-links a:hover { color: var(--rust-btn); }
.nav-burger { display: none; margin-left: auto; background: none; border: none; font-size: 26px; color: var(--ink); cursor: pointer; }

/* --- Hero: totul centrat, foto full-width jos, linii diagonale fine pe alb --- */
.hero { position: relative; background: #fff; text-align: center; padding: 56px 24px 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -36px 0 auto 0; height: 495px;
  background: url('../img/hero-vector8.svg') center top / 1340px auto no-repeat;
  opacity: .5; pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { max-width: 660px; margin: 0 auto; }
.hero p { font-size: 18px; line-height: 1.4; max-width: 548px; margin: 12px auto 0; }
.hero-actions { display: flex; gap: 34px; justify-content: center; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { font-size: 14px; color: var(--text-soft); font-weight: 500; margin: 34px 0 44px; }
.hero-photo { margin: 0 -24px; }
.hero-photo img { width: 100%; height: clamp(300px, 38vw, 509px); object-fit: cover; }

/* --- Statement: 50 Medium negru, centrat --- */
.statement { background: #fff; padding: 140px 24px; text-align: center; }
.statement p { font-size: clamp(26px, 3.9vw, 50px); font-weight: 500; line-height: 1.4; color: #000; max-width: 929px; margin: 0 auto; }
.statement em { font-style: normal; }

/* --- Servicii: arc vitezometru în spatele headerului centrat --- */
.services { background: #fff; padding: 40px 0 96px; position: relative; }
.services-head { position: relative; text-align: center; padding-top: 130px; }
.services-head::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 594px; height: 594px; background: url('../img/dash-arc.svg') center / contain no-repeat;
  pointer-events: none; z-index: 0;
}
.services-head > * { position: relative; z-index: 1; }
.services-head h2 { max-width: 420px; margin: 8px auto 12px; }
.services-head .sub { font-size: 18px; line-height: 1.4; max-width: 380px; margin: 0 auto; }
.services-grid { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 60px; }
.service-card {
  width: 265px; min-height: 185px; background: var(--card-warm); border-radius: 14px;
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.service-card .icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: flex-start; color: var(--ink); }
.service-card .icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.service-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.service-card p { font-size: 14px; line-height: 1.4; }
.services-toggle { display: none; letter-spacing: .5px; margin-top: 24px; }
.services-toggle span { font-size: 14px; }

/* --- Carusel „De ce Doricom" cu peek lateral --- */
.why { background: #fff; padding: 64px 0 40px; overflow: hidden; }
.why-head { display: flex; gap: 40px; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; flex-wrap: wrap; }
.why-head h2 { max-width: 440px; margin-top: 8px; }
.why-head p { font-size: 18px; line-height: 1.4; max-width: 379px; }
.carousel-viewport { position: relative; }
/* Pe ecrane mari, ce depășește lățimea site-ului se topește în alb — nu iese din vizual */
@media (min-width: 1240px) {
  .carousel-viewport::before, .carousel-viewport::after {
    content: ""; position: absolute; top: 0; bottom: 0;
    width: calc((100vw - var(--container)) / 2);
    z-index: 3; pointer-events: none;
  }
  .carousel-viewport::before { left: 0; background: linear-gradient(90deg, #fff 38%, rgba(255,255,255,.72) 68%, rgba(255,255,255,0) 100%); }
  .carousel-viewport::after { right: 0; background: linear-gradient(270deg, #fff 38%, rgba(255,255,255,.72) 68%, rgba(255,255,255,0) 100%); }
}
.carousel-track { display: flex; gap: 20px; transition: transform .55s ease; will-change: transform; }
.slide {
  position: relative; flex: 0 0 min(1160px, calc(100vw - 96px));
  height: 501px; border-radius: 12px; overflow: hidden;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(49,45,41,.82) 0%, rgba(49,45,41,.28) 45%, rgba(49,45,41,0) 72%); }
.slide-title { position: absolute; top: 24px; left: 24px; color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; z-index: 2; max-width: 70%; }
.slide-stat-left { position: absolute; left: 24px; bottom: 24px; z-index: 2; width: min(298px, 80%); }
.slide-stats-right { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: grid; gap: 8px; width: min(298px, 80%); }
.stat { background: rgba(49,45,41,.6); backdrop-filter: blur(3px); border-radius: 14px; padding: 12px; }
.stat b { display: block; font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.stat span { font-size: 14px; line-height: 1.4; color: var(--border-warm); }
.carousel-nav { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 32px; }
.carousel-nav button {
  width: 34px; height: 34px; border-radius: 50%; border: none; background: transparent;
  cursor: pointer; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.carousel-nav button:hover { background: #EFECE6; }
.carousel-dots { display: flex; gap: 6px; background: #EFECE6; border-radius: 50px; padding: 12px; }
.carousel-dots i { width: 8px; height: 8px; border-radius: 50%; background: #C9C4BA; transition: background .3s; }
.carousel-dots i.on { background: var(--ink); }

/* --- Detaliu servicii 01–04: progres vertical pe DREAPTA --- */
.detail { background: #fff; padding: 64px 0 96px; }
.detail-wrap { display: flex; gap: 40px; align-items: center; }
.detail-main { display: flex; gap: clamp(40px, 7vw, 91px); align-items: center; flex: 1; min-width: 0; }
.detail-text { max-width: 473px; }
.detail-text h2 { margin: 8px 0 12px; max-width: 473px; }
.detail-text .sub { font-size: 18px; line-height: 1.4; margin-bottom: 36px; }
.detail-visual { position: relative; flex: 0 0 min(558px, 46vw); perspective: 1200px; }
.photo-stack {
  position: relative; width: 541px; max-width: 100%; height: 487px; margin-left: auto;
  border-radius: 24px; overflow: hidden;
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}
.photo-stack.tilt { transform: rotateY(7deg) translateX(14px); }
.photo-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-front { opacity: 0; transform: scale(1.14); transition: opacity .7s ease, transform 1.1s cubic-bezier(.16,1,.3,1); }
.ph-front.on { opacity: 1; transform: scale(1); }
.detail .fx { transition: opacity .45s cubic-bezier(.22,.61,.36,1), transform .45s cubic-bezier(.22,.61,.36,1); }
.detail .fx.swap { opacity: 0; transform: translateY(12px); }
.detail .fx3 { transition-delay: .16s; }
.detail .fx4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .detail .fx, .ph-front, .photo-stack { transition: none !important; }
}
.include {
  position: absolute; left: -40px; top: 62%; transform: translateY(-50%);
  width: 301px; background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 18px 50px rgba(49,45,41,.12); z-index: 2;
}
.include h4 { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.include ul { display: grid; gap: 12px; }
.include li { list-style: none; font-size: 14px; line-height: 1.35; color: var(--text); padding-left: 26px; position: relative; }
.include li::before { content: "✓"; position: absolute; left: 2px; color: var(--rust); font-weight: 600; }
.detail-card {
  position: absolute; right: -18px; bottom: -76px; width: 298px;
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 18px 50px rgba(49,45,41,.14); z-index: 2;
  display: flex; flex-direction: column; gap: 16px;
}
.detail-card img { width: 150px; height: 137px; object-fit: contain; margin: 0 auto; }
.detail-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.detail-card p { font-size: 14px; line-height: 1.4; }
.progress { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; color: var(--text-soft); flex: 0 0 auto; }
.progress-track { width: 5px; height: 338px; background: #F2F1F1; border-radius: 30px; position: relative; overflow: hidden; }
.progress-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: var(--rust-btn); border-radius: 30px; transition: height .25s linear; }

/* --- Despre --- */
.about { background: #fff; padding: 64px 0 96px; }
.about-top { display: flex; gap: 34px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; margin-bottom: 34px; }
.about-head h2 { margin: 8px 0 12px; }
.about-head p { font-size: 18px; line-height: 1.4; max-width: 579px; }
.about-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.about-card img { border-radius: 16px; width: 100%; aspect-ratio: 216/231; object-fit: cover; }
.about-card b { display: block; font-size: 18px; font-weight: 500; margin: 11px 0 4px; }
.about-card span { font-size: 14px; line-height: 1.4; color: var(--text); }

/* --- FAQ --- */
.faq { background: #fff; padding: 96px 24px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.faq .eyebrow { background: var(--card-cream); border: none; font-size: 13px; font-weight: 500; padding: 6px 16px; border-radius: 999px; }
.faq h2 { font-weight: 700; width: min(840px, 100%); }
.faq-item { width: min(840px, 100%); border: 1px solid var(--border-warm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 16px; font-size: 19px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--rust-btn); font-size: 22px; font-weight: 400; transition: transform .2s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 16px; line-height: 1.4; padding: 0 16px 20px; }
.faq-item a { color: var(--rust-btn); text-decoration: underline; }

/* --- CTA: colaj cu panouri foto tăiate unghiular pe fundal #F3F3F3 --- */
.cta { position: relative; background: var(--gray-band); height: clamp(560px, 58vw, 744px); overflow: hidden; }
.cta-left, .cta-right, .cta-top, .cta-bottom { position: absolute; pointer-events: none; }
.cta-left { left: 0; top: 0; height: 100%; width: auto; }
.cta-right { right: 0; top: 0; height: 100%; width: auto; }
.cta-top { top: 0; left: 50%; transform: translateX(-50%); width: min(826px, 70%); height: auto; }
.cta-bottom { bottom: 0; left: 50%; transform: translateX(-50%); width: min(870px, 72%); height: auto; }
.cta-inner {
  position: relative; z-index: 2; height: 100%; max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px;
}
.cta-inner h2 { font-size: clamp(34px, 4.3vw, 55px); }
.cta-inner p { font-size: 18px; line-height: 1.4; margin: 12px 0 30px; }

/* --- Recenzii --- */
.reviews { background: #fff; padding: 72px 0; }
.reviews-head { text-align: center; margin-bottom: 40px; }
.reviews-head h2 { margin-top: 12px; }
.reviews-grid { columns: 3; column-gap: 22px; }
.review {
  break-inside: avoid; background: var(--card-cream); border: 1px solid #EAEAEA;
  border-radius: 14px; padding: 16px; margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.review-top { display: flex; gap: 12px; align-items: center; }
.review-top img.avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; flex: none; }
.review-name { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 400; color: var(--ink); }
.review-name img { width: 16px; height: 16px; }
.review-meta { font-size: 12px; color: var(--text-soft); }
.review-text { font-size: 14px; line-height: 1.4; color: var(--ink); }
.review-photo { border-radius: 8px; width: 100%; object-fit: cover; }
.review-date { font-size: 12px; color: var(--text-soft); }

/* --- Contact Row: bandă #F3F3F3, două coloane egale --- */
.contact { background: var(--gray-band); padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.contact-info { background: var(--card-contact); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.contact-block .label { font-size: 14px; font-weight: 500; letter-spacing: 2px; color: var(--rust-btn); text-transform: uppercase; margin-bottom: 4px; }
.contact-block .val { font-size: 18px; font-weight: 600; color: #262A20; line-height: 1.35; }
.btn-wa { background: var(--rust); color: #fff; font-size: 18px; font-weight: 600; padding: 18px 36px; border-radius: 8px; align-self: flex-start; }
.btn-wa:hover { background: #A94A29; }
.contact-form h3 { font-size: 24px; font-weight: 500; color: #262A20; margin-bottom: 14px; }
.contact-form label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .5px; color: #5C634F; text-transform: uppercase; margin: 14px 0 6px; }
.contact-form input, .contact-form select {
  width: 100%; height: 42px; padding: 12px 14px; border: 1px solid #C2BDAD; border-radius: 10px;
  font-family: inherit; font-size: 14px; background: #fff; color: var(--ink);
}
.contact-form select { padding: 0 14px; }
.contact-form input::placeholder { color: #8C8C80; }
.btn-submit { background: var(--rust); color: #fff; font-size: 15px; font-weight: 500; padding: 14px 28px; border-radius: 8px; margin-top: 16px; }
.btn-submit:hover { background: #A94A29; }
.contact-form small { display: block; color: #6B735C; font-size: 12px; margin-top: 10px; }
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost {
  background: transparent; color: var(--rust-btn); border: 1.5px solid var(--rust);
  font-size: 13px; font-weight: 500; padding: 12px 22px; border-radius: 8px;
}
.btn-ghost:hover { background: rgba(193, 85, 47, .07); }
.map { border-radius: 16px; overflow: hidden; background: #4C5640; min-height: 560px; }
.map iframe { width: 100%; height: 100%; border: 0; min-height: 560px; }

/* --- Footer: compact, lockup vertical + 3 coloane cu chevron rust --- */
.footer { background: var(--ink); padding: 32px 0; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.footer-grid { display: flex; gap: 68px; align-items: flex-start; }
.footer-lockup img { height: 162px; width: auto; }
.footer-nav { display: flex; gap: clamp(38px, 8vw, 153px); flex: 1; justify-content: flex-end; flex-wrap: wrap; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 16px; }
.footer-nav a { color: var(--cream); font-size: 16px; display: flex; align-items: center; gap: 10px; }
.footer-nav a::before { content: "›"; color: var(--rust); font-size: 17px; line-height: 1; }
.footer-nav a:hover { color: #fff; }
.footer-copy { color: var(--text-soft); font-size: 14px; margin-top: 40px; padding-left: clamp(0px, 18vw, 200px); }
.footer-badges { display: flex; gap: 28px; margin-top: 20px; padding-left: clamp(0px, 18vw, 200px); flex-wrap: wrap; }
.footer-badges a { display: flex; align-items: center; gap: 10px; opacity: .75; transition: opacity .2s; }
.footer-badges a:hover { opacity: 1; }
.footer-badges img { height: 34px; width: auto; }
.footer-badges span { font-size: 11px; line-height: 1.35; color: var(--cream); }

/* Harta cu încărcare la click (GDPR) */
.map-consent {
  height: 100%; min-height: 560px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 32px;
}
.map-consent p { color: #EFEAE0; font-size: 14px; line-height: 1.5; }
.map-consent a { text-decoration: underline; }
.map-link { color: #EFEAE0; font-size: 13px; }

/* ===== Motion global: reveal la scroll, micro-interacțiuni, piese de semnătură ===== */

/* A. Reveal la scroll — clasele se pun/scot din js/motion.js */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); }
.rv.in { opacity: 1; transform: none; }

/* B. Micro-interacțiuni */
.service-card { transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(49,45,41,.10); }
.review { transition: transform .25s ease, box-shadow .25s ease; }
.review:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(49,45,41,.08); }
.about-card .ph { border-radius: 16px; overflow: hidden; }
.about-card .ph img { border-radius: 0; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.about-card:hover .ph img { transform: scale(1.05); }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px;
  background: var(--rust-btn); transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }
.footer-nav a { transition: transform .2s ease; }
.footer-nav a:hover { transform: translateX(3px); }
.nav-logo img { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.nav-logo:hover img { transform: rotate(-6deg); }

/* C1. Arcul de vitezometru „turează" la intrarea în secțiune (doar cu CSS.registerProperty ok) */
.has-arc .services-head::before {
  -webkit-mask: conic-gradient(from 205deg, #000 var(--arc), transparent calc(var(--arc) + 18deg));
  mask: conic-gradient(from 205deg, #000 var(--arc), transparent calc(var(--arc) + 18deg));
}
.has-arc .services-head.arc-go::before { animation: arcSweep 1.3s cubic-bezier(.3,.1,.3,1) .15s forwards; }
@keyframes arcSweep { from { --arc: 0deg; } to { --arc: 360deg; } }

/* C2. Ken Burns lent pe pozele caruselului */
.slide img { animation: kburns 12s ease-in-out infinite alternate; }
@keyframes kburns { from { transform: scale(1); } to { transform: scale(1.055); } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .slide img { animation: none !important; }
  .has-arc .services-head::before { -webkit-mask: none; mask: none; animation: none !important; }
  .service-card, .review, .about-card .ph img, .nav-logo img, .footer-nav a { transition: none; }
}

/* --- Responsive --- */
@media (max-width: 1240px) {
  .include { left: -8px; }
  .detail-card { right: 0; }
}
@media (max-width: 1024px) {
  .about-cards { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { columns: 2; }
  .detail-wrap { flex-direction: column; align-items: stretch; }
  .detail-main { flex-direction: column; align-items: flex-start; }
  .detail-visual { flex: none; width: 100%; }
  .photo-stack { width: 100%; height: auto; aspect-ratio: 541/487; }
  .include { position: static; transform: none; width: 100%; margin-top: 16px; box-shadow: none; border: 1px solid var(--border-warm); }
  .detail-card { position: static; width: 100%; margin-top: 16px; }
  .progress { flex-direction: row; width: 100%; }
  .progress-track { width: auto; min-height: 5px; height: 5px; flex: 1; }
  .progress-fill { height: 100% !important; width: var(--p, 0%); transition: width .25s linear; }
  .footer-grid { flex-direction: column; gap: 40px; }
  .footer-nav { justify-content: flex-start; }
  .footer-copy { padding-left: 0; }
}
@media (max-width: 720px) {
  .nav-inner { padding: 12px 20px; }
  .nav-links, .nav .btn-primary { display: none; }
  .nav-burger { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 18px 24px; border-bottom: 1px solid var(--border-warm); gap: 14px; margin: 0; }
  .statement { padding: 80px 24px; }

  /* Servicii pe mobil (Figma 2130:13074): strânse sub buton VEZI SERVICIILE */
  .services-head::before { width: 440px; height: 440px; }
  .services-toggle { display: inline-block; }
  .services-grid { display: none; }
  .services-grid.open { display: flex; }
  .service-card { width: 100%; min-height: 0; }
  .services-grid .service-card:nth-child(3) { order: 2; }  /* Geometrie după Freon, ca în Figma */
  .services-grid .service-card:nth-child(4) { order: 1; }
  .services-grid .service-card:nth-child(n+5) { order: 3; }
  .services-toggle-bottom { display: block; margin: 24px auto 0; }
  .services-toggle-bottom[hidden] { display: none; }

  /* Detaliu 01–04 pe mobil (Figma 2130:13726) */
  .photo-stack { aspect-ratio: 361/397; }
  .include, .detail-card { border: none; box-shadow: 0 10px 30px rgba(49,45,41,.08); }
  /* Carusel pe mobil (Figma 2130:13460): slide 361×556, carduri suprapuse ca pe desktop */
  .slide { flex-basis: min(361px, calc(100vw - 64px)); height: auto; aspect-ratio: 361/556; }
  .slide::after { background: linear-gradient(160deg, rgba(49,45,41,.75) 0%, rgba(49,45,41,.30) 50%, rgba(49,45,41,.15) 100%); }
  .slide-title { font-size: 24px; top: 20px; left: 20px; max-width: 82%; }
  .slide-stat-left { left: 12px; bottom: 24px; width: 44%; }
  .slide-stats-right { right: 12px; bottom: 24px; width: 38%; gap: 8px; }
  .stat { padding: 10px; }
  .stat b { font-size: 15px; }
  .stat span { font-size: 12px; }
  .about-cards { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { columns: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 24px; }
  .map { min-height: 380px; }
  .cta-top, .cta-bottom { display: none; }
  .cta-left { left: -30%; opacity: .5; }
  .cta-right { right: -30%; opacity: .5; }
  .hero-actions { gap: 14px; }
  .footer-lockup img { height: 130px; }
}
