/*
Theme Name: AltriaTek
Theme URI: https://altriatek.com
Author: AltriaTek
Description: Temă de prezentare pentru AltriaTek — servicii IT pentru firme din Timișoara. Prima pagină se editează din Aspect → Personalizează, serviciile și întrebările frecvente din meniurile dedicate din wp-admin, iar restul paginilor din editorul de blocuri.
Version: 1.0.5
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: altriatek
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--brand: #008fc2;
	--brand-600: #0077a3;
	--brand-700: #005f83;
	--brand-50: #e8f6fc;
	--brand-100: #cdebf7;
	--navy: #0d2440;
	--navy-2: #14335a;
	--ink: #142033;
	--text: #4a5568;
	--muted: #6b778a;
	--line: #e3e9f0;
	--tint: #f3f8fb;
	--white: #fff;
	--ok: #16a36a;

	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(13, 36, 64, .06), 0 8px 24px rgba(13, 36, 64, .06);
	--shadow-lg: 0 24px 60px rgba(13, 36, 64, .18);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 112px);
	--header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .hp-field {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.4em; border: 2px solid transparent; border-radius: 999px;
	font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .6em 1.1em; font-size: 15px; }
.btn--lg { padding: .95em 1.7em; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(0, 143, 194, .3); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { color: var(--brand-600); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--white { background: #fff; color: var(--brand-700); }
.btn--white:hover { background: var(--navy); color: #fff; }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link .icon { transition: transform .2s; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(13, 36, 64, .06); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-logo { display: block; flex: none; line-height: 0; }
.site-logo__img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
	display: block; padding: 8px 14px; border-radius: 999px;
	color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none;
	transition: background-color .2s, color .2s;
}
.nav-menu a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-menu .current-menu-item > a, .nav-menu .current_page_item > a { color: var(--brand-600); background: var(--brand-50); }
.nav-menu li { position: relative; }
.nav-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
	background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.main-nav__extra { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--brand); }

.nav-toggle { display: none; margin-left: auto; padding: 10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 10px; }
.nav-toggle__close { display: none; }

@media (max-width: 1080px) {
	.header-phone span { display: none; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 16px;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		padding: 16px var(--gutter) 28px; background: #fff; border-top: 1px solid var(--line);
		box-shadow: 0 20px 40px rgba(13, 36, 64, .12);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-menu { flex-direction: column; }
	.nav-menu a { padding: 12px 14px; font-size: 17px; }
	.nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.main-nav__extra { flex-direction: column; align-items: stretch; }
	.header-phone { justify-content: center; padding: 10px; }
	.header-phone span { display: inline; }
	.main-nav__extra .btn { width: 100%; padding: .85em; }
}
@media (max-width: 600px) { .site-logo__img { height: 44px; } :root { --header-h: 68px; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section--page { padding-top: clamp(40px, 6vw, 72px); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: .4em; }
.section-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); margin: 0; }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-lead { color: rgba(255, 255, 255, .7); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
	color: var(--brand-600); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light, .section-head--light .eyebrow { color: #5cc8ee; }

.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list .icon { margin-top: 3px; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); stroke-width: 2.6; }
@media (min-width: 720px) { .check-list--2col { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(1200px 600px at 85% -10%, #12507e 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0a1c33 100%);
	color: rgba(255, 255, 255, .8);
	padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 10vw, 128px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero__blob { position: absolute; fill: var(--brand); }
.hero__blob--a { width: 520px; right: -140px; top: -180px; opacity: .22; filter: blur(2px); }
.hero__blob--b { width: 260px; left: -90px; bottom: -120px; opacity: .14; transform: rotate(140deg); }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { color: #fff; font-size: clamp(36px, 5.6vw, 62px); line-height: 1.07; letter-spacing: -.035em; margin-bottom: 24px; }
.hero__title em { font-style: normal; color: #5cc8ee; }
.hero__text { font-size: clamp(17px, 1.7vw, 20px); max-width: 600px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__stat dt { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero__stat dd { margin: 4px 0 0; font-size: 14px; color: rgba(255, 255, 255, .6); max-width: 160px; line-height: 1.4; }

.status-card {
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.status-card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: 15px; }
.status-card__dots { display: inline-flex; gap: 6px; }
.status-card__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.status-card__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #6ee7b7; text-transform: uppercase; letter-spacing: .08em; }
.status-card__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
.status-card__rows { list-style: none; margin: 0; padding: 0; }
.status-card__rows li {
	display: grid; grid-template-columns: auto 1fr 70px; align-items: center; gap: 12px; padding: 12px 0;
	border-bottom: 1px dashed rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .88); font-size: 15px; font-weight: 600;
	animation: rowIn .6s both; animation-delay: calc(var(--d) * 120ms + 200ms);
}
.status-card__ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(52, 211, 153, .16); color: #34d399; }
.status-card__ok .icon { stroke-width: 3; }
.status-card__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.status-card__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #5cc8ee); }
.status-card__foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 143, 194, .18); color: #bfe9f8; font-size: 14px; font-weight: 600; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes rowIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__panel { max-width: 520px; }
	.status-card { transform: none; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service-card {
	position: relative; display: flex; flex-direction: column; padding: 28px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--text); text-decoration: none;
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.service-card:hover { color: var(--text); border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card__icon {
	display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; flex: none;
	border-radius: 16px 16px 16px 6px; background: var(--brand-50); color: var(--brand-600);
	transition: background-color .25s, color .25s;
}
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }
.service-card__title { font-size: 19px; margin-bottom: 8px; }
.service-card__text { font-size: 15.5px; margin-bottom: 18px; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-600); font-weight: 700; font-size: 14.5px; }
.service-card__more .icon { transition: transform .2s; }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }
.service-card--cta { background: linear-gradient(150deg, var(--brand) 0%, var(--brand-700) 100%); border-color: transparent; color: rgba(255, 255, 255, .85); }
.service-card--cta:hover { color: rgba(255, 255, 255, .9); }
.service-card--cta .service-card__title, .service-card--cta .service-card__more { color: #fff; }
.service-card--cta .service-card__icon, .service-card--cta:hover .service-card__icon { background: rgba(255, 255, 255, .16); color: #fff; }

/* Services page */
.entry-content--intro { max-width: 760px; }
.service-index { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 48px; }
.service-index a {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
	border: 1px solid var(--line); border-radius: 999px; background: #fff;
	color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: .2s;
}
.service-index a .icon { color: var(--brand); }
.service-index a:hover { border-color: var(--brand); background: var(--brand-50); }
.service-detail-list { display: grid; gap: 20px; }
.service-detail {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px;
	padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.service-detail:target { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.service-detail__head { display: flex; flex-direction: column; }
.service-detail__head h2 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 10px; }
.service-detail__head p { color: var(--muted); margin: 0; }
.service-detail__body ul { margin-top: 0; }
@media (max-width: 800px) { .service-detail { grid-template-columns: 1fr; } }

/* ==========================================================================
   Why
   ========================================================================== */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why__intro .section-head { margin-bottom: 0; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why__item { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.why__item h3 { font-size: 19px; margin-bottom: 8px; }
.why__item p { margin: 0; font-size: 15.5px; }
.why__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--navy); color: #5cc8ee; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr; } .why__intro { position: static; } }
@media (max-width: 600px) { .why__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pricing summary
   ========================================================================== */
.pricing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pricing .section-head { margin-bottom: 28px; }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 32px; }
.formula__part { padding: 12px 18px; border-radius: 12px; background: var(--brand-50); border: 1px dashed var(--brand); color: var(--brand-700); font-weight: 700; font-size: 15.5px; }
.formula__op { font-size: 24px; font-weight: 800; color: var(--brand); }
.price-card { padding: 36px; border-radius: 24px; background: var(--navy); color: rgba(255, 255, 255, .75); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -80px; border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; background: var(--brand); opacity: .25; }
.price-card > * { position: relative; }
.price-card__label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5cc8ee; margin-bottom: 6px; }
.price-card__value { color: #fff; font-size: clamp(42px, 5vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.price-card__desc { font-size: 15px; margin-bottom: 24px; }
.price-card__layers { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.price-card__layers li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.price-card__layers li span:last-child { color: #fff; font-weight: 700; white-space: nowrap; }
.price-card__note { margin: 14px 0 0; font-size: 13px; text-align: center; color: rgba(255, 255, 255, .5); }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 26px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, rgba(92, 200, 238, .5), transparent); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__num {
	display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px;
	border-radius: 50%; background: var(--navy); border: 2px solid var(--brand); color: #fff; font-size: 20px; font-weight: 800; position: relative;
}
.step__time { margin: 0 0 6px; color: #5cc8ee; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.step__title { color: #fff; font-size: 18px; margin-bottom: 8px; }
.step__text { font-size: 15px; margin: 0; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
	.steps::before { top: 0; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; background: rgba(92, 200, 238, .35); }
	.step { display: grid; grid-template-columns: 54px 1fr; column-gap: 20px; text-align: left; padding: 0 0 28px; }
	.step__num { grid-row: span 3; margin: 0; }
}

/* ==========================================================================
   NIS2
   ========================================================================== */
.nis2 {
	display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: start;
	padding: clamp(28px, 5vw, 56px); border-radius: 28px;
	background: linear-gradient(135deg, var(--brand-50) 0%, #fff 70%); border: 1px solid var(--brand-100);
}
.nis2 .section-head { margin-bottom: 28px; max-width: 760px; }
.nis2__badge {
	display: grid; place-items: center; align-content: center; gap: 6px; width: 140px; height: 140px;
	border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; background: var(--brand); color: #fff; box-shadow: 0 16px 40px rgba(0, 143, 194, .35);
}
.nis2__badge .icon { width: 40px; height: 40px; }
.nis2__badge span { font-weight: 800; font-size: 20px; letter-spacing: .04em; }
@media (max-width: 760px) { .nis2 { grid-template-columns: 1fr; } .nis2__badge { width: 96px; height: 96px; } .nis2__badge .icon { width: 28px; height: 28px; } .nis2__badge span { font-size: 15px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__intro .section-head { margin-bottom: 20px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow); }
.faq-item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 24px; cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__toggle { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50); }
.faq-item__toggle::before, .faq-item__toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--brand-600); border-radius: 2px; transition: transform .25s; }
.faq-item__toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__toggle::after { transform: rotate(0); }
.faq-item__body { padding: 0 24px 20px; }
.faq-item__body p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding: clamp(56px, 8vw, 88px) 0; background: linear-gradient(120deg, var(--brand) 0%, var(--brand-700) 100%); color: rgba(255, 255, 255, .88); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px; border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; background: rgba(255, 255, 255, .08); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band__title { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; max-width: 640px; }
.cta-band__text { margin: 0; font-size: 18px; max-width: 600px; }
.cta-band__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.cta-band__phone:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-header { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); background: linear-gradient(160deg, var(--navy) 0%, #0a1c33 100%); }
.page-header__bg { position: absolute; inset: 0; z-index: -1; }
.page-header .hero__blob--a { width: 420px; top: -220px; right: -100px; }
.page-header__title { color: #fff; font-size: clamp(34px, 5vw, 54px); margin: 0; letter-spacing: -.03em; }
.page-header__sub { margin: 12px 0 0; color: rgba(255, 255, 255, .7); font-size: 18px; }

.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(19px, 2vw, 22px); margin-top: 1.6em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 0; margin: 0 0 1.4em; }
.entry-content ul { list-style: none; }
.entry-content ul li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.entry-content ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px 3px 3px 1px; background: var(--brand); }
.entry-content ol { padding-left: 1.4em; }
.entry-content .lead, .entry-content .is-style-lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink); line-height: 1.55; }
.entry-content strong { color: var(--ink); }
.entry-content .service-note { margin-top: 1em; padding: 14px 18px; border-radius: 12px; background: var(--tint); font-size: 15px; color: var(--muted); }
.entry-content .has-small-font-size { font-size: 14.5px; color: var(--muted); }

.entry-content .wp-block-table { margin: 0 0 2em; overflow-x: auto; }
.entry-content .wp-block-table table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15.5px; }
.entry-content .wp-block-table thead { border: 0; }
.entry-content .wp-block-table th { background: var(--navy); color: #fff; font-weight: 700; text-align: left; padding: 14px 18px; border: 0; }
.entry-content .wp-block-table td { padding: 13px 18px; border: 0; border-top: 1px solid var(--line); vertical-align: top; }
.entry-content .wp-block-table td:last-child { white-space: nowrap; font-weight: 700; color: var(--ink); }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #fff; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(even) { background: var(--tint); }
.entry-content .wp-block-table.is-style-stripes { border-bottom: 0; }
@media (max-width: 600px) { .entry-content .wp-block-table td:last-child { white-space: normal; } }

.entry-content .at-callout, .entry-content .is-style-callout { margin: 0 0 2em; padding: 24px 28px; border-radius: 16px; background: var(--brand-50); border-left: 4px solid var(--brand); }
.entry-content .is-style-callout p:last-child, .entry-content .at-callout p:last-child { margin-bottom: 0; }

.entry-content .wp-block-buttons { margin: 2em 0 0; gap: 12px; }
.wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; padding: .85em 1.6em; border-radius: 999px; border: 2px solid var(--brand);
	background: var(--brand); color: #fff; font: 700 16px/1.2 var(--font); text-decoration: none; transition: .2s;
}
.wp-block-button__link:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--brand-600); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--brand); color: #fff; }

.post-thumb { border-radius: var(--radius); margin-bottom: 2em; }
.post-list { display: grid; gap: 28px; }
.post-item { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-item__date { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.post-item__title { font-size: 24px; }
.post-item__title a { color: var(--ink); text-decoration: none; }
.post-item__title a:hover { color: var(--brand-600); }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin: 8px 0 3em; align-items: start; }
.calc__form { display: grid; gap: 16px; }
.calc__group { margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.calc__group legend { padding: 0 8px; margin-left: -8px; color: var(--ink); font-weight: 800; font-size: 16px; }
.calc__range { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.calc__range input { flex: 1; accent-color: var(--brand); height: 28px; }
.calc__range output { min-width: 64px; padding: 6px 12px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); font-weight: 800; font-size: 20px; text-align: center; }
.calc__opt { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 15.5px; cursor: pointer; }
.calc__opt:first-of-type { border-top: 0; }
.calc__opt input[type="checkbox"] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.calc__opt--fixed { cursor: default; opacity: .8; }
.calc__opt--num { align-items: center; justify-content: space-between; cursor: default; }
.calc__opt--num input { width: 88px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: 600 16px var(--font); text-align: center; }
.calc__opt--num input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-50); }
.calc__result { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: 20px; background: var(--navy); color: rgba(255, 255, 255, .75); box-shadow: var(--shadow-lg); }
.calc__label { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5cc8ee; }
.calc__total { margin: 0; color: #fff; font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.calc__total small { font-size: 16px; font-weight: 600; color: rgba(255, 255, 255, .6); letter-spacing: 0; }
.calc__eur { margin: 2px 0 18px; font-size: 15px; }
.entry-content .calc__lines { margin: 0 0 18px; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.entry-content .calc__lines li { display: flex; justify-content: space-between; gap: 10px; padding: 0; margin: 0 0 7px; }
.entry-content .calc__lines li::before { display: none; }
.calc__lines li span:last-child { color: #fff; font-weight: 700; white-space: nowrap; }
.calc__note { font-size: 13px; color: rgba(255, 255, 255, .55); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc__result { position: static; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-cards li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.contact-cards small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-cards a, .contact-cards span { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact-cards a:hover { color: var(--brand-600); }
.contact-cards__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--brand-50); color: var(--brand-600) !important; }
.contact__form { padding: clamp(24px, 4vw, 40px); border-radius: 22px; background: var(--tint); border: 1px solid var(--line); }
.contact__form h2 { font-size: 26px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-field { margin: 0 0 16px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 700; font-size: 14.5px; }
.form-field input, .form-field select, .form-field textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 12px; background: #fff;
	color: var(--ink); font: 500 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.form-field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14.5px; color: var(--text); }
.form-field--check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.form-notice { margin-bottom: 20px; padding: 16px 18px; border-radius: 12px; font-size: 15.5px; }
.form-notice--ok { background: #e7f8ef; color: #0f6b45; border: 1px solid #b6e8cf; }
.form-notice--err { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c5c5; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Quote popup (calculator → "Cere oferta exactă") */
.quote {
	width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0;
	border: 0; border-radius: 22px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); overflow: hidden;
}
.quote::backdrop { background: rgba(8, 23, 41, .6); backdrop-filter: blur(3px); }
.quote[open] { display: flex; flex-direction: column; animation: quoteIn .25s ease-out; }
@keyframes quoteIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
html:has(.quote[open]) { overflow: hidden; }
.quote [hidden] { display: none !important; }
.quote__form { display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - 24px); }
.quote__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 18px; border-bottom: 1px solid var(--line); }
.quote .quote__title { margin: 0 0 4px; color: var(--ink); font-size: 24px; line-height: 1.25; }
.quote .quote__lead { margin: 0; font-size: 15px; }
.quote__close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); cursor: pointer; transition: background .2s; }
.quote__close:hover { background: var(--brand-50); color: var(--brand-700); }
.quote__body { padding: 22px 28px 6px; overflow-y: auto; overscroll-behavior: contain; }
.quote__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.quote__reset { padding: 0; border: 0; background: none; color: var(--brand-600); font: 700 13.5px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.quote .quote__config { min-height: 200px; background: var(--tint); font-size: 15px; line-height: 1.55; }
.quote__hint { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.quote .form-notice { margin: 4px 0 16px; }
.quote__foot { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 28px 22px; border-top: 1px solid var(--line); background: #fff; }
.quote__foot .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.quote__done { padding: 40px 28px 24px; text-align: center; }
.quote__done-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: #e7f8ef; color: var(--ok); }
.quote__done-icon .icon { width: 32px; height: 32px; stroke-width: 2.6; }
.quote .quote__done h3 { margin: 0 0 8px; color: var(--ink); font-size: 21px; }
.quote .quote__done p { margin: 0 auto; max-width: 44ch; }
@media (max-width: 600px) {
	.quote { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; }
	.quote__form { max-height: 100dvh; height: 100%; }
	.quote__body { flex: 1; }
	.quote__head, .quote__body, .quote__foot { padding-left: 18px; padding-right: 18px; }
	.quote__foot .btn { flex: 1; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #081729; color: rgba(255, 255, 255, .62); font-size: 15px; padding-top: clamp(56px, 7vw, 80px); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-logo { display: inline-block; line-height: 0; margin-bottom: 18px; }
.footer-logo__img { height: 56px; width: auto; }
.site-footer__brand p { max-width: 380px; margin: 0; }
.site-footer__title { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__list a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer__list a:hover { color: #5cc8ee; }
.site-footer__list--icons li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__list--icons .icon { color: #5cc8ee; margin-top: 3px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.legal-menu a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.legal-menu a:hover { color: #fff; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 12px; font: 16px var(--font); }
.search-form .search-submit { padding: 12px 20px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font: 700 15px var(--font); cursor: pointer; }

/* Pagination */
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Reveal on scroll (added by main.js only when supported) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

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