/*
Theme Name: Foraje Theme
Theme URI: https://puturiforajebrasov.ro
Author: Constructori Evaluați
Description: Temă custom pentru puturiforajebrasov.ro — foraje, denisipări, curățări puțuri Brașov.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: foraje-theme
*/

/* ==================== RESET + BASE ==================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Manrope', sans-serif;
	color: #0B1526;
	background: #F5F7FB;
	min-height: 100vh;
	overflow-x: hidden;
	font-size: 16px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; margin: 0; }
::selection { background: #1B5BFF; color: #fff; }
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: #1B5BFF; color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ==================== VARIABLES ==================== */
:root {
	--ink: #0B1526;
	--ink-2: #3A465C;
	--ink-3: #55627A;
	--muted: #7C8AA5;
	--muted-2: #8DA2C0;
	--muted-3: #5F6E8C;
	--bg: #F5F7FB;
	--surface: #fff;
	--border: #E4E9F2;
	--border-2: #EEF1F7;
	--accent: #1B5BFF;
	--accent-hover: #0E46D6;
	--cyan: #21D0EE;
	--dark: #0B1526;
	--green: #22C55E;
	--green-bg: #DFFCE7;
	--whatsapp: #25D366;
	--whatsapp-hover: #1EBE59;
	--red: #DC2626;
	--tag-blue: #E3ECFF;
	--tag-cyan: #D9FBFF;
	--tag-green: #EAFBE7;
	--tag-orange: #FFF4DE;
	--tag-purple: #F0E9FF;
	--grad-brand: linear-gradient(135deg, #1B5BFF, #21D0EE);
	--grad-text: linear-gradient(90deg, #1B5BFF, #21D0EE);
	--radius-pill: 99px;
	--radius-card: 22px;
	--radius-card-lg: 28px;
	--radius-input: 14px;
	--shadow-card: 0 14px 34px rgba(11,21,38,.1);
	--shadow-btn: 0 10px 26px rgba(27,91,255,.4);
	--shadow-wa: 0 10px 26px rgba(37,211,102,.35);
	--shadow-float: 0 16px 40px rgba(11,21,38,.14);
	--container: 1200px;
}

/* ==================== LAYOUT ==================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 40px 0; }
.section-tight { padding: 20px 0; }
main#continut { display: block; }
.dark-section { background: var(--dark); color: #fff; border-radius: var(--radius-card-lg); position: relative; overflow: hidden; }
.badge-pill {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	padding: 7px 15px; background: var(--tag-blue); color: var(--accent);
	font-size: 12.5px; font-weight: 800; border-radius: var(--radius-pill);
	text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px;
}
.badge-pill.on-dark { background: rgba(33,208,238,.15); color: var(--cyan); }
.eyebrow-white { background: #fff; color: var(--accent); }

/* ==================== TYPOGRAPHY ==================== */
h1 { font-size: 48px; line-height: 1.05; letter-spacing: -1.5px; }
.hero h1 { font-size: 58px; letter-spacing: -2px; line-height: 1.02; }
h2 { font-size: 34px; letter-spacing: -1px; line-height: 1.08; }
h3 { font-size: 19px; font-weight: 700; }
p { color: var(--ink-3); }
.lede { font-size: 18px; color: var(--ink-3); font-weight: 500; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 640px) {
	.hero h1 { font-size: 38px; letter-spacing: -1px; }
	h1 { font-size: 32px; letter-spacing: -.8px; }
}

/* ==================== BUTTONS ==================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	white-space: nowrap; cursor: pointer; text-decoration: none;
	font-weight: 800; font-size: 16px; border-radius: var(--radius-pill);
	padding: 15px 28px; border: none; transition: transform .12s, background .12s, box-shadow .12s, color .12s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }
.btn-ghost-accent { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); padding: 12px 22px; font-size: 14.5px; }
.btn-ghost-accent:hover { background: var(--accent); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-wa); width: 100%; padding: 15px; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ==================== HEADER ==================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(245,247,251,.85); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 6px 16px rgba(27,91,255,.35); }
.brand-mark span { width: 15px; height: 15px; background: #fff; border-radius: 0 50% 50% 50%; transform: rotate(45deg); display: block; }
.brand-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.4px; line-height: 1; }
.brand-name .accent { color: var(--accent); }
.brand-sub { font-size: 10.5px; font-weight: 600; color: var(--muted); margin-top: 3px; letter-spacing: .3px; }
.main-nav { display: flex; align-items: center; gap: 2px; font-size: 14.5px; font-weight: 600; }
.main-nav a { padding: 9px 13px; text-decoration: none; color: var(--ink-2); border-radius: var(--radius-pill); }
.main-nav a:hover { background: #E9EEF8; color: var(--ink); }
.main-nav .nav-cta { margin-left: 10px; padding: 11px 22px; background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 6px 18px rgba(27,91,255,.35); }
.main-nav .nav-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.nav-toggle {
	display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
	border-radius: 14px; border: 1.5px solid var(--border); background: #fff; cursor: pointer;
	flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: #fff; padding: 12px 16px 18px; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a { display: block; padding: 13px 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; border-radius: 12px; }
.mobile-nav a:hover { background: var(--bg); }
.mobile-nav .nav-cta { margin-top: 8px; text-align: center; background: var(--accent); color: #fff; border-radius: var(--radius-pill); }
@media (max-width: 860px) {
	.main-nav { display: none; }
	.nav-toggle { display: flex; }
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumbs, .breadcrumbs-wrap { max-width: var(--container); margin: 0 auto; padding: 20px 24px 0; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.breadcrumbs a, .breadcrumbs-wrap a { color: var(--muted-2); text-decoration: none; }
.breadcrumbs a:hover, .breadcrumbs-wrap a:hover { color: #fff; }
.breadcrumbs .crumb-sep { color: var(--cyan); margin: 0 6px; }
.breadcrumbs [aria-current] { color: #fff; }
main .breadcrumbs { color: var(--muted); }
main .breadcrumbs a { color: var(--muted); }
main .breadcrumbs a:hover { color: var(--ink); }
main .breadcrumbs [aria-current] { color: var(--ink); }
main .breadcrumbs .crumb-sep { color: var(--muted); }

/* ==================== HERO ==================== */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-dark { background: var(--dark); color: #fff; padding: 40px 0 64px; }
.hero-dark .hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero-dark p { color: var(--muted-2); }
.hero-glow-1 { position: absolute; top: -180px; right: -120px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(33,208,238,.22), transparent 65%); }
.hero-glow-2 { position: absolute; bottom: -220px; left: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(27,91,255,.14), transparent 65%); }
.badge-live { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 26px; box-shadow: 0 4px 14px rgba(11,21,38,.06); }
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 32px 0 40px; }
.stats-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px 20px; }
.hero-dark .stat-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.stat-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; }
.stat-num .accent { color: var(--accent); }
.stat-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.hero-media { position: relative; }
.hero-photo { aspect-ratio: 4/4.6; border-radius: 28px; overflow: hidden; background: linear-gradient(150deg,#DCE7FF 0%,#D3F6FD 55%,#EAFBE7 100%); display: flex; align-items: flex-end; padding: 20px; box-shadow: 0 24px 60px rgba(11,21,38,.12); }
.hero-media.square { aspect-ratio: 1/1; border-radius: 26px; background: linear-gradient(150deg,#16305c,#0e3f57); border: 1px solid rgba(255,255,255,.12); }
.photo-tag { font-size: 12px; font-weight: 700; color: var(--ink-2); background: rgba(255,255,255,.85); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: var(--radius-pill); }
.hero-dark .photo-tag { color: #B8CBE8; background: rgba(11,21,38,.65); }
.float-card { animation: floatY 5s ease-in-out infinite; position: absolute; border-radius: 20px; box-shadow: var(--shadow-float); padding: 16px 20px; }
.float-card.dark { top: 26px; right: -16px; background: var(--dark); color: #fff; }
.float-card.light { bottom: 34px; left: -24px; background: #fff; display: flex; align-items: center; gap: 14px; animation: none; }
.float-card .eyebrow { font-size: 11px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.float-card .value { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; }
.check-badge { width: 44px; height: 44px; border-radius: 14px; background: var(--green-bg); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fade-up { animation: fadeUp .7s ease-out both; }

/* ==================== SERVICE GRID ==================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; text-decoration: none; color: inherit; display: block; transition: transform .12s, box-shadow .12s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-card .svc-icon { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 38px; }
.service-card .svc-icon svg { width: 19px; height: 19px; }
.service-card h3 { margin: 0 0 6px; font-size: 18px; }
.service-card p { font-size: 13.5px; margin: 0; line-height: 1.5; }
.service-card.featured { background: var(--dark); color: #fff; grid-column: span 2; padding: 26px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.service-card.featured::after { content: ''; position: absolute; bottom: -70px; right: -40px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle, rgba(33,208,238,.35), transparent 70%); }
.service-card.featured .svc-icon { background: var(--grad-brand); width: 46px; height: 46px; border-radius: 15px; }
.service-card.featured .svc-icon svg { width: 20px; height: 20px; color: #fff; }
.service-card.featured h3 { font-size: 24px; }
.service-card.featured p { color: var(--muted-2); max-width: 340px; }
@media (max-width: 820px) { .service-card.featured { grid-column: span 1; } }

/* ==================== PROCESS (dark) ==================== */
.process-box { padding: 52px 48px; }
.process-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; position: relative; }
.process-step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 22px; }
.process-step.final { background: var(--grad-brand); border: none; }
.process-step .step-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 15px; color: var(--cyan); margin-bottom: 14px; }
.process-step.final .step-num { color: #fff; }
.process-step h3 { font-size: 18px; margin: 0 0 8px; }
.process-step p { font-size: 13.5px; color: var(--muted-2); margin: 0; }
.process-step.final p { color: #E3F4FF; }

/* ==================== ABOUT ==================== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.about-photo-wrap { position: relative; }
.about-photo { aspect-ratio: 5/6; border-radius: 26px; background: linear-gradient(150deg,#DCE7FF,#D3F6FD,#EAFBE7); display: flex; align-items: flex-end; padding: 20px; box-shadow: 0 20px 50px rgba(11,21,38,.1); }
.about-stat-float { position: absolute; bottom: -20px; right: -18px; background: #fff; border-radius: 20px; padding: 16px 22px; box-shadow: var(--shadow-card); text-align: center; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; }
.about-point .icon-badge { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.about-point .title { font-weight: 800; font-size: 14.5px; }
.about-point .sub { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ==================== LOCALITIES ==================== */
.localities-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.locality-pill { text-decoration: none; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-pill); padding: 12px 22px; font-weight: 700; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.locality-pill:hover { border-color: var(--accent); color: var(--accent); }
.locality-pill .depth { font-size: 12px; color: var(--muted); font-weight: 600; }
.locality-pill.cta-all { background: var(--accent); border-color: var(--accent); color: #fff; }
.locality-pill.cta-all:hover { background: var(--accent-hover); color: #fff; }

/* map panel (mapa localitati din home) */
.map-panel { position: relative; aspect-ratio: 16/10; border-radius: 20px; background: radial-gradient(circle at 40% 40%, rgba(27,91,255,.28), transparent 60%), linear-gradient(150deg,#12233f,#0d1a30); border: 1px solid rgba(255,255,255,.1); overflow: hidden; }
.map-panel::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size: 40px 40px; }
.map-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(27,91,255,.25); cursor: pointer; transform: translate(-50%,-50%); }
.map-pin-label { position: absolute; transform: translate(-50%, 10px); font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; pointer-events: none; }
.map-sidebar { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 28px; }
.map-sidebar .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.map-sidebar .row:last-of-type { border-bottom: none; }
.map-sidebar .row span { color: var(--muted-2); font-weight: 600; }

/* ==================== TESTIMONIALS ==================== */
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px; }
.stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar-initials { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }

/* ==================== PORTFOLIO CARDS ==================== */
.portfolio-card { background: var(--bg); border-radius: var(--radius-card); overflow: hidden; text-decoration: none; color: inherit; display: block; transition: transform .12s, box-shadow .12s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(11,21,38,.12); }
.portfolio-photo { aspect-ratio: 16/10; background: linear-gradient(150deg,#DCE7FF,#D3F6FD); display: flex; align-items: flex-end; padding: 14px; }
.portfolio-body { padding: 20px; }
.tag-chip { font-size: 12px; font-weight: 700; background: #fff; border: 1px solid var(--border); padding: 5px 11px; border-radius: var(--radius-pill); color: var(--ink-2); }
.tag-chip.green { background: var(--green-bg); border: none; color: #15803D; }

/* ==================== GRID HELPERS ==================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-auto-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 330px; gap: 52px; align-items: start; }
.two-col-contact { display: grid; grid-template-columns: 1fr 360px; gap: 52px; align-items: start; }
.two-col-calc { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 820px) {
	.hero-grid, .about-grid, .grid-2, .two-col, .two-col-contact, .two-col-calc { grid-template-columns: 1fr !important; }
	.map-panel-grid { grid-template-columns: 1fr !important; }
	aside.sticky-aside { position: static !important; top: auto !important; }
}

/* ==================== SERVICE / LOCALITY DETAIL ==================== */
.content-body h2 { font-size: 30px; letter-spacing: -.8px; margin: 40px 0 16px; }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { font-size: 19px; margin: 24px 0 10px; }
.content-body p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 18px; }
.content-body ul, .content-body ol { color: var(--ink-2); font-size: 16px; line-height: 1.7; padding-left: 22px; }
.content-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.content-body th, .content-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.content-body th { background: var(--bg); font-weight: 800; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 38px; }
.pros-cons > div { border-radius: 20px; padding: 22px; }
.pros-cons .pros { background: var(--green-bg); color: #166534; }
.pros-cons .pros .title { color: #15803D; }
.pros-cons .cons { background: var(--tag-orange); color: #7c4a03; }
.pros-cons .cons .title { color: #b45309; }
.pros-cons .title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 16px; margin-bottom: 10px; }
.pros-cons ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.65; font-weight: 500; }
.warning-card { background: var(--tag-orange); border-radius: 20px; padding: 22px; margin: 24px 0; }
.warning-card .title { font-weight: 800; color: #b45309; margin-bottom: 8px; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

/* ==================== SIDEBAR ==================== */
.sticky-aside { position: sticky; top: 96px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px; }
.sticky-aside .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-2); font-size: 14px; }
.sticky-aside .row:last-of-type { border-bottom: none; }
.sticky-aside .row span { color: var(--muted); font-weight: 600; }

/* ==================== FAQ ==================== */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px; }
.faq-question { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 22px; color: var(--accent); font-weight: 400; margin-left: 12px; }
.faq-item[open] .faq-question::after { content: '–'; }
.faq-answer { padding: 0 0 18px; color: var(--ink-3); font-size: 15px; line-height: 1.65; }
.faq-answer p { margin: 0; color: inherit; }

/* ==================== TOC ==================== */
.toc { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 6px 22px; margin: 0 0 30px; }
.toc-title { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; }
.toc-title::-webkit-details-marker { display: none; }
.toc-list { margin: 0 0 16px; padding-left: 18px; font-size: 14.5px; }
.toc-list a { text-decoration: none; color: var(--accent); line-height: 2; }

/* ==================== FORMS ==================== */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
	width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-input);
	font-family: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: var(--red); font-size: 13.5px; font-weight: 700; margin: 10px 0; display: none; }
.form-error.is-visible { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }

/* ==================== CALCULATORS ==================== */
.calc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card-lg); padding: 30px; }
.calc-field { margin-bottom: 30px; }
.calc-field label { display: block; font-weight: 800; font-size: 14.5px; margin-bottom: 12px; }
.calc-value { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; color: var(--accent); }
input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; width: 100%; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--accent); margin-top: -8px; box-shadow: 0 2px 8px rgba(27,91,255,.4); cursor: pointer; }
input[type=range]::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--accent); box-shadow: 0 2px 8px rgba(27,91,255,.4); cursor: pointer; }
.segment-group { display: flex; gap: 8px; flex-wrap: wrap; }
.segment-btn { flex: 1; min-width: 70px; padding: 12px 10px; border-radius: var(--radius-input); border: 1.5px solid var(--border); background: #fff; font-weight: 700; cursor: pointer; text-align: center; font-size: 14px; }
.segment-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
#calc-map { height: 260px; border-radius: 16px; overflow: hidden; margin-top: 12px; }
.map-confirm { font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-top: 8px; }
.calc-result-aside { background: var(--dark); color: #fff; border-radius: var(--radius-card-lg); padding: 28px; position: sticky; top: 96px; }
.calc-result-aside .result-big { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 34px; margin: 10px 0 4px; }
.calc-result-aside .result-unit { font-size: 13.5px; color: var(--muted-2); margin-bottom: 18px; }
.calc-result-aside .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.calc-result-aside .row:last-of-type { border-bottom: none; }
.calc-result-aside .row span { color: var(--muted-2); }
.calc-disclaimer { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; margin: 18px 0; }
.calc-nojs-note { display: none; }
.no-js .calc-app { display: none; }
.no-js .calc-nojs-note { display: block; background: var(--tag-orange); padding: 20px; border-radius: 16px; margin-bottom: 20px; font-weight: 700; }
.leaflet-container { font-family: 'Manrope', sans-serif; }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--dark); color: var(--muted-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 60px 0 40px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted-2); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-brand-desc { font-size: 14px; line-height: 1.6; margin: 14px 0 0; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom a { color: var(--muted-2); text-decoration: none; margin-left: 16px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==================== 404 / EMPTY STATES ==================== */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state h1 { margin-bottom: 16px; }
.search-form-simple { max-width: 420px; margin: 30px auto; display: flex; gap: 10px; }
.search-form-simple input { flex: 1; padding: 13px 16px; border-radius: var(--radius-input); border: 1.5px solid var(--border); }

/* ==================== CTA SECTIONS ==================== */
.cta-gradient { background: linear-gradient(120deg, var(--accent), var(--cyan)); border-radius: var(--radius-card-lg); padding: 56px 52px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; background: linear-gradient(120deg, var(--tag-blue), var(--tag-cyan)); border-radius: var(--radius-card-lg); padding: 44px 48px; }
@media (max-width: 640px) { .cta-band { grid-template-columns: 1fr; text-align: center; } }

/* ==================== FACADE (YouTube/Maps embeds, Anexa 08 §1) ==================== */
.embed-facade { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: var(--dark); cursor: pointer; }
.embed-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.embed-facade .play-btn { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }

/* ==================== UTILITIES ==================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.max-w-title { max-width: 600px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
