/* ==========================================================================
   TIG Projects — site public
   Paleta: ardezie, portelan, rost, alama (din logo), ocean.
   Motivul: "peretele de faianta" — grile cu rosturi egale.
   ========================================================================== */
:root {
    --slate: #1f2a2e;
    --slate-2: #2a373c;
    --porcelain: #f5f6f3;
    --white: #ffffff;
    --grout: #d9dcd6;
    --grout-dark: #b9beb6;
    --brass: #c8995a;
    --gold: #ebbe84;
    --ocean: #1e5a64;
    --ink: #22282a;
    --muted: #5d676a;
    --ok: #2f7d4f;
    --err: #b3261e;

    --f-display: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
    --f-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

    --joint: 6px;                 /* latimea rostului dintre "placi" */
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --radius: 4px;                /* placile au colturi aproape drepte */
    --radius-lg: 14px;            /* doar pentru panouri (formular, chat) */
    --header-h: 76px;
    --bar-h: 0px;                 /* bara de jos pe telefon */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--porcelain); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: var(--bar-h); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--slate); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--slate); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Tipografie ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--slate); }
h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--brass); color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--white { background: var(--white); }
.section--slate { background: var(--slate); color: #dfe4e2; }
.section--slate h2, .section--slate h3 { color: var(--white); }
.section--slate .lead { color: #aeb8b6; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head .lead { margin: 10px 0 0; }

/* ---------- Butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; line-height: 1.1; text-align: center; }
.btn i { font-size: .95em; }
.btn--brass { background: var(--brass); color: #1b1408; }
.btn--brass:hover { background: var(--gold); color: #1b1408; }
.btn--slate { background: var(--slate); color: var(--white); }
.btn--slate:hover { background: var(--ocean); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--slate); background: transparent; }
.btn--ghost:hover { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost-light:hover { background: var(--white); color: var(--slate); border-color: var(--white); }
.btn--block { width: 100%; }
.link-more { font-family: var(--f-display); font-weight: 600; color: var(--slate); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--brass); padding-bottom: 2px; }
.link-more:hover { color: var(--ocean); border-color: var(--ocean); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h); transition: background-color .3s, box-shadow .3s, height .3s; }
.site-header.is-solid, .site-header.is-open, body.has-plain-header .site-header { background: var(--slate); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(15, 22, 24, .18); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav-drop > button { color: #e9ecea; text-decoration: none; font-family: var(--f-display); font-weight: 500; font-size: 1rem; padding: 10px 14px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover, .nav-drop > button:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav-drop { position: relative; }
.nav-drop > button i { font-size: .7em; transition: transform .2s; }
.nav-drop.is-open > button i { transform: rotate(180deg); }
.nav-drop-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 270px; background: var(--white); border-radius: var(--radius-lg); padding: 8px; box-shadow: 0 24px 60px rgba(15, 22, 24, .25); display: none; }
.nav-drop.is-open .nav-drop-menu { display: block; }
.nav-drop-menu a { color: var(--ink); display: flex; gap: 12px; align-items: center; border-radius: 10px; padding: 10px 12px; }
.nav-drop-menu a:hover { background: var(--porcelain); color: var(--ocean); }
.nav-drop-menu i { width: 22px; text-align: center; color: var(--brass); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { color: var(--white); text-decoration: none; font-family: var(--f-display); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.header-phone:hover { color: var(--gold); }
.header-phone i { color: var(--gold); }
.header-cta .btn { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; font-size: 1.15rem; }
.mobile-nav { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: var(--white); background: var(--slate); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 28, 31, .88) 0%, rgba(20, 28, 31, .55) 55%, rgba(20, 28, 31, .25) 100%), linear-gradient(0deg, rgba(20, 28, 31, .85) 0%, rgba(20, 28, 31, 0) 45%); }
.hero .wrap { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero-tagline { font-family: var(--f-display); color: var(--gold); font-size: 1.05rem; font-weight: 500; letter-spacing: .02em; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.hero-tagline::before { content: ""; width: 40px; height: 2px; background: var(--gold); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: heroLine .9s cubic-bezier(.2, .7, .1, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero h1 .line:nth-child(4) > span { animation-delay: .36s; }
@keyframes heroLine { from { transform: translateY(105%); } to { transform: none; } }
.hero-text { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: #d6dddb; max-width: 52ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; color: #e6ebe9; font-size: .98rem; }
.hero-badges li { display: flex; align-items: center; gap: 10px; }
.hero-badges i { color: var(--gold); }

/* ---------- Antet de pagina (pagini interioare) ---------- */
.page-hero { position: relative; color: var(--white); background: var(--slate); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 6vw, 72px); isolation: isolate; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 28, 31, .92), rgba(20, 28, 31, .62)); }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); max-width: 20ch; margin-bottom: 14px; }
.page-hero p { color: #d0d8d6; max-width: 58ch; font-size: 1.15rem; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .95rem; color: #aeb8b6; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6f7b79; }

/* ---------- Peretele de faianta (servicii + proiecte) ---------- */
.tiles { display: grid; gap: var(--joint); padding: var(--joint); }
.tiles > *, .gallery > * { box-shadow: 0 0 0 var(--joint) var(--grout); }
.section--slate .tiles > * { box-shadow: 0 0 0 var(--joint) #121a1d; }
.tiles--services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; overflow: hidden; color: var(--white); text-decoration: none; background: var(--slate); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .1, 1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 28, 31, .92) 0%, rgba(20, 28, 31, .35) 55%, rgba(20, 28, 31, .05) 100%); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile-body { padding: 24px; }
.tile h3 { color: var(--white); margin: 0 0 6px; }
.tile p { color: #d3dad8; margin: 0; font-size: .98rem; }
.tile-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: #1b1408; margin-bottom: 16px; font-size: 1.05rem; }
.tile-meta { font-size: .9rem; color: var(--gold); margin-bottom: 6px; font-family: var(--f-display); }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; min-height: 100%; }
.tiles--projects .tile { min-height: 320px; aspect-ratio: 4 / 3.4; }
.tiles--projects .tile--tall { aspect-ratio: auto; }

/* ---------- Despre ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.framed { position: relative; }
.framed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.framed::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--brass); border-radius: var(--radius); z-index: -1; }
.since { position: absolute; right: -10px; bottom: 28px; background: var(--slate); color: var(--white); padding: 18px 22px; border-radius: var(--radius); font-family: var(--f-display); box-shadow: 0 20px 40px rgba(15, 22, 24, .25); }
.since strong { display: block; font-size: 2.2rem; color: var(--gold); line-height: 1; }
.checks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks i { color: var(--brass); margin-top: 5px; }

/* ---------- Cifre ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--joint); background: rgba(255, 255, 255, .08); border: var(--joint) solid rgba(255, 255, 255, .08); border-radius: var(--radius); }
.stat { background: var(--slate); padding: clamp(22px, 3vw, 36px); }
.stat strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); color: var(--gold); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { color: #c3cbc9; }

/* ---------- Etape (secventa reala -> numerotata) ---------- */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.process-img { position: sticky; top: calc(var(--header-h) + 24px); }
.process-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--grout); }
.steps li:last-child { border-bottom: 1px solid var(--grout); }
.steps li::before { content: counter(step); width: 52px; height: 52px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--slate); border: 2px solid var(--brass); border-radius: var(--radius); }
.steps h3 { margin: 4px 0 4px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- De ce noi ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.why > div { padding: 28px 28px 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.why > div:not(:nth-child(3n)) { border-right: 1px solid rgba(255, 255, 255, .12); }
.why > div:not(:nth-child(3n+1)) { padding-left: 28px; }
.why h3 { font-size: 1.2rem; margin-bottom: 6px; }
.why p { margin: 0; color: #b9c3c1; }
.why i { color: var(--gold); font-size: 1.3rem; margin-bottom: 14px; display: block; }

/* ---------- Banner ---------- */
.banner { position: relative; color: var(--white); padding: clamp(56px, 8vw, 110px) 0; isolation: isolate; overflow: hidden; background: var(--ocean); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 90, 100, .95), rgba(30, 90, 100, .72)); }
.banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.banner h2 { color: var(--white); margin: 0 0 8px; max-width: 22ch; }
.banner p { margin: 0; color: #d7e7e9; max-width: 55ch; }

/* ---------- Recenzii ---------- */
.rating-summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rating-summary .score { font-family: var(--f-display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--slate); }
.stars { color: var(--brass); letter-spacing: 2px; white-space: nowrap; }
.reviews { columns: 3 320px; column-gap: 20px; }
.review { break-inside: avoid; background: var(--white); border: 1px solid var(--grout); border-radius: var(--radius); padding: 24px; margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; }
.review.is-clamped blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--slate); color: var(--gold); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; flex-shrink: 0; }
.review cite { font-style: normal; font-weight: 700; display: block; }
.review small { color: var(--muted); }
.review-more { background: none; border: 0; padding: 0; color: var(--ocean); font-weight: 600; cursor: pointer; align-self: flex-start; text-decoration: underline; text-underline-offset: 3px; }
.review-source { font-size: .9rem; color: var(--muted); }
.review-source i { margin-right: 4px; }
.reviews-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; }
.reviews-scroller .review { scroll-snap-align: start; margin: 0; }

/* ---------- Certificari ---------- */
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cert { background: var(--white); border: 1px solid var(--grout); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; cursor: zoom-in; text-align: left; font: inherit; }
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 2px; }
.cert strong { font-family: var(--f-display); font-weight: 600; line-height: 1.25; }
.cert small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--grout); }
.faq details:first-child { border-top: 1px solid var(--grout); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--slate); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: .8; color: var(--brass); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- Formular contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--slate); color: var(--gold); flex-shrink: 0; }
.contact-list small { display: block; color: var(--muted); font-size: .9rem; }
.contact-list a, .contact-list strong { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; color: var(--slate); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--ocean); }
.section--slate .contact-list i { background: rgba(255, 255, 255, .08); }
.section--slate .contact-list a, .section--slate .contact-list strong { color: var(--white); }
.section--slate .contact-list small { color: #aeb8b6; }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: 0 30px 70px rgba(15, 22, 24, .12); border: 1px solid var(--grout); }
.form-card h2, .form-card h3 { color: var(--slate); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--slate); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--grout-dark); border-radius: 10px; background: var(--white); font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(30, 90, 100, .15); }
.field .is-invalid { border-color: var(--err); }
.field-error { color: var(--err); font-size: .9rem; margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ocean); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; display: flex; gap: 12px; align-items: flex-start; }
.alert--ok { background: #e8f3ec; color: #1e5236; }
.alert--err { background: #fbeceb; color: #7d1a14; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success i { font-size: 3rem; color: var(--ok); margin-bottom: 14px; }

/* ---------- Pagina serviciu / proiect ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--slate); color: #dfe4e2; border-radius: var(--radius-lg); padding: 28px; }
.aside-card h3 { color: var(--white); }
.aside-card p { color: #b9c3c1; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--joint); background: var(--grout); border: var(--joint) solid var(--grout); border-radius: var(--radius); }
.included li { background: var(--white); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.included i { color: var(--brass); margin-top: 5px; }
.service-figure { margin: 0 0 32px; }
.service-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--joint); background: var(--grout); border: var(--joint) solid var(--grout); border-radius: var(--radius); margin: 0 0 40px; }
.facts div { background: var(--white); padding: 16px 18px; }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 600; color: var(--slate); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--joint); padding: var(--joint); }
.gallery button { border: 0; padding: 0; margin: 0; background: var(--slate); cursor: zoom-in; display: block; overflow: hidden; aspect-ratio: 1; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .1, 1), opacity .2s; }
.gallery button:hover img { transform: scale(1.04); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters a { text-decoration: none; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--grout-dark); color: var(--slate); font-family: var(--f-display); font-weight: 500; }
.filters a:hover { border-color: var(--slate); }
.filters a[aria-current="true"] { background: var(--slate); border-color: var(--slate); color: var(--white); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--grout-dark); text-decoration: none; color: var(--slate); padding: 0 12px; }
.pagination [aria-current] { background: var(--slate); color: var(--white); border-color: var(--slate); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(13, 19, 21, .96); display: none; align-items: center; justify-content: center; padding: 60px 12px; touch-action: pan-y; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; border-radius: 2px; user-select: none; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: var(--white); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #aeb8b6; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #172023; color: #aeb8b6; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d7dedc; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; font-size: 1.05rem; }
.socials a:hover { background: var(--gold); color: var(--slate); border-color: var(--gold); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Bara de jos (telefon) ---------- */
.mobile-bar { display: none; }

/* ---------- Chat ---------- */
.chatw { position: fixed; right: 20px; bottom: calc(20px + var(--bar-h)); z-index: 150; font-family: var(--f-body); }
.chatw-fab { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 20px; border-radius: 999px; border: 0; background: var(--ocean); color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: 1rem; cursor: pointer; box-shadow: 0 14px 34px rgba(15, 22, 24, .3); position: relative; }
.chatw-fab:hover { background: var(--slate); }
.chatw-fab i { font-size: 1.25rem; }
.chatw-ico-close { display: none; }
.chatw.open .chatw-ico-open { display: none; }
.chatw.open .chatw-ico-close { display: inline; }
.chatw-dot { position: absolute; top: 6px; right: 8px; width: 12px; height: 12px; border-radius: 50%; background: #e5484d; border: 2px solid var(--white); }
.chatw-panel { position: absolute; right: 0; bottom: 72px; width: 380px; max-width: calc(100vw - 32px); height: min(600px, calc(100vh - 140px - var(--bar-h))); height: min(600px, calc(100dvh - 140px - var(--bar-h))); background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(15, 22, 24, .35); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: chatIn .2s ease-out; }
.chatw-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.chatw-head { background: var(--slate); color: var(--white); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chatw-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--slate); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.chatw-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chatw-head-text { flex: 1; min-width: 0; line-height: 1.3; }
.chatw-head-text strong { display: block; font-family: var(--f-display); }
.chatw-head-text span { font-size: .88rem; color: #b9c3c1; display: flex; align-items: center; gap: 6px; }
.chatw-head-text span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4cc38a; }
.chatw-x { background: none; border: 0; color: var(--white); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.chatw-x:hover { background: rgba(255, 255, 255, .1); }
.chatw-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--porcelain); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chatw-msg { display: flex; flex-direction: column; max-width: 85%; align-self: flex-start; }
.chatw-msg.visitor { align-self: flex-end; align-items: flex-end; }
.chatw-msg.system { align-self: center; max-width: 92%; }
.chatw-bubble { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--white); border: 1px solid var(--grout); white-space: pre-wrap; word-break: break-word; font-size: .98rem; line-height: 1.45; }
.chatw-msg.visitor .chatw-bubble { background: var(--ocean); color: var(--white); border-color: var(--ocean); border-radius: 16px 16px 4px 16px; }
.chatw-msg.system .chatw-bubble { background: transparent; border: 1px dashed var(--grout-dark); color: var(--muted); font-size: .88rem; text-align: center; border-radius: 12px; }
.chatw-msg.chatw-pending { opacity: .6; }
.chatw-who { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.chatw-time { font-size: .75rem; color: #8a9496; margin-top: 3px; }
.chatw-contact { padding: 12px 14px; border-top: 1px solid var(--grout); background: #fbfbf9; display: grid; gap: 8px; }
.chatw-contact[hidden] { display: none; }
.chatw-contact p { margin: 0; font-size: .9rem; color: var(--muted); }
.chatw-contact input { width: 100%; height: 42px; border: 1.5px solid var(--grout-dark); border-radius: 10px; padding: 0 12px; font-size: .95rem; min-width: 0; }
.chatw-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chatw-contact-actions { display: flex; gap: 8px; }
.chatw-contact button { height: 40px; border-radius: 999px; border: 0; background: var(--slate); color: var(--white); font-weight: 600; cursor: pointer; padding: 0 16px; flex: 1; }
.chatw-contact button.chatw-skip { background: transparent; color: var(--muted); flex: 0 0 auto; }
.chatw-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--grout); align-items: flex-end; background: var(--white); }
.chatw-form textarea { flex: 1; resize: none; border: 1.5px solid var(--grout-dark); border-radius: 22px; padding: 11px 16px; font-size: 1rem; line-height: 1.35; max-height: 110px; min-height: 46px; }
.chatw-form textarea:focus { outline: none; border-color: var(--ocean); }
.chatw-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ocean); color: var(--white); cursor: pointer; flex-shrink: 0; }
.chatw-form button:disabled { opacity: .5; }
.chatw-error { padding: 8px 14px; color: var(--err); font-size: .88rem; background: #fbeceb; }
.chatw-error[hidden] { display: none; }

/* ---------- Pagini mici (legal, 404) ---------- */
.legal { max-width: 760px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .header-phone span { display: none; }
    .tiles--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tiles--services .tile { min-height: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews-scroller { grid-auto-columns: calc((100% - 20px) / 2); }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .nav, .header-cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .brand img { height: 38px; }
    .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--slate); z-index: 89; overflow-y: auto; padding: 18px var(--gutter) calc(30px + var(--bar-h)); transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .7, .1, 1), visibility .3s; }
    .site-header.is-open + .mobile-nav { transform: none; visibility: visible; }
    .mobile-nav a { display: flex; justify-content: space-between; align-items: center; color: var(--white); text-decoration: none; font-family: var(--f-display); font-size: 1.35rem; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .mobile-nav a[aria-current="page"] { color: var(--gold); }
    .mobile-nav .sub a { font-size: 1.05rem; padding-left: 18px; color: #c9d1cf; }
    .mobile-nav a.btn { margin-top: 24px; width: 100%; justify-content: center; gap: 10px; padding: 14px 24px; border-bottom: 0; font-size: 1.05rem; font-weight: 600; color: #1b1408; text-align: center; }
    .mobile-nav a.btn:hover, .mobile-nav a.btn[aria-current="page"] { color: #1b1408; }
    .mobile-nav-contact { margin-top: 26px; color: #aeb8b6; display: grid; gap: 8px; }
    .mobile-nav-contact a { border: 0; padding: 4px 0; font-size: 1.1rem; justify-content: flex-start; gap: 10px; }
    body.nav-open { overflow: hidden; }

    .split, .process, .contact-grid, .service-layout { grid-template-columns: 1fr; }
    .split--reverse > :first-child { order: 0; }
    .process-img { position: static; }
    .process-img img, .framed img { aspect-ratio: 16 / 10; }
    .framed { margin: 14px 0 0 14px; }
    .since { right: 12px; bottom: 12px; padding: 14px 16px; }
    .since strong { font-size: 1.7rem; }
    .tiles--projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile--tall { grid-row: auto; aspect-ratio: 4 / 3.4; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why { grid-template-columns: 1fr 1fr; }
    .why > div, .why > div:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; }
    .why > div:not(:nth-child(3n)) { border-right: 0; }
    .why > div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); }
    .why > div:nth-child(even) { padding-left: 20px; }
    .aside-card { position: static; }
    .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    /* bara fixa de jos: Suna + Survey */
    :root { --bar-h: 64px; }
    .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(31, 42, 46, .97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); height: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
    .mobile-bar .btn { min-height: 48px; padding: 8px 12px; font-size: .98rem; }
    body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
    .chatw { bottom: calc(16px + var(--bar-h) + env(safe-area-inset-bottom)); right: 14px; }
}

@media (max-width: 640px) {
    body { font-size: 1.02rem; }
    .hero { min-height: 92svh; }
    .hero .wrap { padding-top: calc(var(--header-h) + 40px); }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-badges { gap: 8px 18px; font-size: .92rem; }
    .tiles--services, .tiles--projects { grid-template-columns: 1fr; }
    .tile, .tiles--projects .tile { min-height: 300px; aspect-ratio: auto; }
    .tile--wide { grid-column: auto; }
    .why { grid-template-columns: 1fr; }
    .why > div, .why > div:nth-child(even), .why > div:nth-child(odd) { padding: 22px 0; border-right: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .included { grid-template-columns: 1fr; }
    .certs { gap: 12px; }
    .cert { padding: 10px; }
    .cert strong { font-size: .95rem; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .reviews { columns: 1; }
    .reviews-scroller { grid-auto-columns: 86%; }
    .banner .btn { width: 100%; }
    .steps li { grid-template-columns: 52px 1fr; gap: 14px; }
    .steps li::before { width: 44px; height: 44px; font-size: 1.1rem; }
    .chatw-fab { width: 58px; padding: 0; justify-content: center; }
    .chatw-fab-label { display: none; }
    .chatw-panel { position: fixed; right: 8px; left: 8px; bottom: calc(84px + var(--bar-h) + env(safe-area-inset-bottom)); width: auto; max-width: none; height: calc(100dvh - 110px - var(--bar-h) - var(--header-h)); }
    .chatw-contact-row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 2.05rem; }
    .mobile-bar .btn { font-size: .9rem; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .mobile-bar, .chatw, .site-footer, .mobile-nav { display: none !important; }
    body { padding: 0; background: #fff; }
}
