/* Spagnolo Malerbetrieb: main styles */

@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-latin.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--blue: #1650e6;
	--blue-600: #0f3fc4;
	--blue-700: #0b2f99;
	--navy: #0b1533;
	--ink: #16203a;
	--muted: #55607a;
	--sky: #e3f5fc;
	--sky-2: #cdeefa;
	--line: #dbe5f3;
	--gold: #c9a45c;
	--white: #fff;
	--bg: #f7fafe;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(11, 21, 51, .05), 0 10px 30px -12px rgba(11, 21, 51, .18);
	--shadow-lg: 0 30px 60px -25px rgba(11, 33, 120, .45);
	--gutter: clamp(16px, 4vw, 32px);
	--max: 1200px;
	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }

.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; color: #fff; }

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

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font: 700 1rem/1 var(--font); padding: .95em 1.4em; border-radius: 12px;
	border: 2px solid transparent; cursor: pointer; text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, #2a63ff, var(--blue) 55%, var(--blue-600)); color: #fff; box-shadow: 0 10px 22px -10px rgba(22, 80, 230, .8); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(22, 80, 230, .9); }
.btn--ghost { background: rgba(255, 255, 255, .7); color: var(--navy); border-color: var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost:hover .icon { transform: none; }
.btn--white { background: #fff; color: var(--blue); }
.btn--sm { padding: .7em 1.1em; font-size: .92rem; border-radius: 10px; }
.btn--lg { padding: 1.1em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .82);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 21, 51, .5); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand .logo-img { width: 56px; height: 56px; }
.brand__name { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1.25; padding-left: 14px; border-left: 2px solid var(--line); }
.brand__name strong { display: block; font-size: 1rem; font-weight: 800; letter-spacing: .02em; }
.nav { margin-left: auto; }
.nav .menu { display: flex; gap: 4px; list-style: none; }
.nav .menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav .menu a:hover, .nav .menu .current-menu-item > a, .nav .menu .current-menu-ancestor > a { color: var(--blue); background: var(--sky); }
.nav .sub-menu { display: none; }
.nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.icon-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--navy); transition: background .2s, color .2s; }
.icon-link:hover { background: var(--sky); color: var(--blue); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); padding: 0 12px; font-size: .95rem; }
.header-phone .icon { color: var(--blue); }
.header-cta { margin-left: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; color: var(--navy); cursor: pointer; place-items: center; }
.nav-toggle__close { display: none; }

@media (max-width: 1180px) {
	.header-phone span { display: none; }
	.header-phone { padding: 0 8px; }
}
@media (max-width: 1020px) {
	.nav-toggle { display: inline-grid; }
	.header-phone, .header-cta { display: none; }
	.nav {
		position: fixed; inset: 80px 0 auto 0; margin: 0; padding: 16px var(--gutter) 24px;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(11, 21, 51, .35);
		transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
		max-height: calc(100vh - 80px); overflow: auto;
	}
	.nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav .menu { flex-direction: column; }
	.nav .menu a { padding: 14px 12px; font-size: 1.05rem; }
	.nav__mobile-extra { display: grid; gap: 12px; margin-top: 16px; }
	.nav__phone { display: flex; justify-content: center; gap: 8px; align-items: center; font-weight: 700; color: var(--navy); padding: 10px; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
}
@media (max-width: 560px) {
	.site-header__inner { min-height: 68px; gap: 10px; }
	.nav { inset: 68px 0 auto 0; }
	.brand .logo-img { width: 46px; height: 46px; }
	.brand__name { font-size: .66rem; padding-left: 10px; }
	.brand__name strong { font-size: .84rem; }
	.site-header__actions .icon-link { display: none; }
}

/* Shared bits */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; box-shadow: var(--shadow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(22, 80, 230, .18); }
.rule { display: block; width: 72px; height: 3px; border-radius: 3px; background: var(--blue); margin: 26px 0; }
.rule--light { background: rgba(255, 255, 255, .7); }
.text-gradient { background: linear-gradient(100deg, #1f5cff 0%, var(--blue) 40%, #2aa7e6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 10px; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: 0 0 clamp(40px, 6vw, 72px); }
.section--first { padding-top: clamp(40px, 6vw, 72px); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--row { display: flex; align-items: center; gap: 24px; max-width: none; }
.section__head--row .section__title { margin: 0; white-space: nowrap; }
.section__head--row .line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section__intro { color: var(--muted); font-size: 1.08rem; margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); isolation: isolate; }
.hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .72) 45%, rgba(255, 255, 255, .25) 100%),
		url("../img/hero-wave.webp") center / cover no-repeat;
}
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, #fff); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; margin: 0; letter-spacing: -.03em; }
.hero__title .text-gradient { display: block; }
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: #2c3654; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: .92rem; font-weight: 600; color: var(--navy); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 2.4; }
.hero__media { position: relative; max-width: 440px; justify-self: end; width: 100%; }
.hero__photo { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: #0f3a9e; aspect-ratio: 4 / 5; transform: rotate(1.5deg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.badge-card {
	position: absolute; left: -48px; bottom: 56px;
	display: grid; padding: 18px 22px; border-radius: 20px;
	background: rgba(227, 245, 252, .9); backdrop-filter: blur(10px);
	box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .8);
	font-weight: 700; color: var(--navy); line-height: 1.15; font-size: 1.05rem;
	animation: float 6s ease-in-out infinite;
}
.badge-card strong { font-size: 1.9rem; color: var(--blue); letter-spacing: -.02em; }
.rating-card {
	position: absolute; right: -24px; bottom: 28px;
	display: grid; gap: 4px; padding: 12px 16px; border-radius: 16px; max-width: 200px;
	background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); box-shadow: var(--shadow);
	font-size: .78rem; font-weight: 600; color: var(--muted); line-height: 1.3;
	animation: float 7s ease-in-out -2s infinite;
}
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars .star { width: 18px; height: 18px; stroke-width: 1; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { justify-self: center; max-width: 380px; margin-top: 12px; }
	.badge-card { left: -12px; bottom: 32px; }
	.rating-card { right: -8px; }
	.hero__bg { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .75)), url("../img/hero-wave.webp") center / cover no-repeat; }
}
@media (max-width: 480px) {
	.hero__actions .btn { width: 100%; }
	.badge-card { padding: 12px 16px; font-size: .9rem; }
	.badge-card strong { font-size: 1.5rem; }
}

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
	position: relative; display: flex; gap: 18px; padding: 24px; border-radius: var(--radius);
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:nth-child(odd) { background: linear-gradient(145deg, #ecf9fe, var(--sky-2)); border-color: rgba(255, 255, 255, .9); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(22, 80, 230, .35); }
.card__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--blue); box-shadow: 0 6px 16px -8px rgba(22, 80, 230, .5); }
.card__icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.card:nth-child(even) .card__icon { background: var(--sky); }
.card__title { font-size: 1.08rem; margin-bottom: 6px; }
.card__title a { color: var(--navy); }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { font-size: .92rem; color: var(--muted); margin: 0 0 10px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--blue); }
.card__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__more .icon { transform: translateX(4px); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* Mediation band */
.mediation {
	display: grid; grid-template-columns: minmax(220px, .8fr) 2fr; align-items: center; gap: 24px;
	padding: 28px 32px; border-radius: 24px; background: linear-gradient(120deg, #e8f8fe, var(--sky-2)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow);
}
.mediation__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.mediation__head p { margin: 0; font-size: .9rem; color: var(--muted); }
.mediation__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.mediation__list li { display: grid; justify-items: center; gap: 10px; padding: 8px 12px; text-align: center; font-weight: 700; color: var(--navy); border-left: 2px solid rgba(22, 80, 230, .25); }
.mediation__list .icon { width: 44px; height: 44px; color: var(--blue); stroke-width: 1.4; }
@media (max-width: 900px) {
	.mediation { grid-template-columns: 1fr; }
	.mediation__list { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
	.mediation__list li:nth-child(odd) { border-left: 0; }
}

/* About + steps */
.about { background: linear-gradient(180deg, #fff, var(--bg)); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__text p { color: #2c3654; font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.facts li { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.facts strong { display: block; font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 6px; }
.facts span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.steps { padding: 32px; border-radius: 24px; background: var(--navy); color: #c9d4ef; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.steps::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(42, 99, 255, .5), transparent 70%); }
.steps__title { color: #fff; font-size: 1.4rem; margin-bottom: 20px; position: relative; }
.steps ol { display: grid; gap: 4px; position: relative; }
.step { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.step:last-child { border-bottom: 0; }
.step__num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; }
.step h3, .step h4 { color: #fff; font-size: 1.05rem; margin: 0 0 2px; }
.step p { margin: 0; font-size: .92rem; }
.steps--inline { background: var(--sky); color: var(--muted); box-shadow: none; }
.steps--inline::before { display: none; }
.steps--inline .steps__title, .steps--inline .step h3 { color: var(--navy); }
.steps--inline .step { border-color: rgba(22, 80, 230, .15); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .steps { padding: 24px; } }

/* Works */
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.work a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sky); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work a:hover img { transform: scale(1.05); }
.work__title { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--navy); font-weight: 700; font-size: .92rem; }
@media (max-width: 900px) { .works__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .works__grid { grid-template-columns: 1fr; } .section__head--row .line { display: none; } .section__head--row { flex-wrap: wrap; } }

/* Reviews */
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review { margin: 0; padding: 28px; border-radius: var(--radius); background: linear-gradient(145deg, #eefaff, var(--sky-2)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); font-weight: 500; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__photo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow); }
.review strong { color: var(--navy); }
@media (max-width: 760px) { .reviews__grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-section { background: var(--bg); }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: border-color .2s; }
.faq__item[open] { border-color: rgba(22, 80, 230, .4); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; }
.faq__icon { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--sky); color: var(--blue); transition: transform .25s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 24px 20px; color: var(--muted); }
.faq__a p { margin: 0; }

/* Contact */
.contact { position: relative; padding: clamp(64px, 8vw, 104px) 0; color: #fff; isolation: isolate; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 400px at 10% 0%, rgba(90, 170, 255, .55), transparent 60%), linear-gradient(135deg, #1c5bff, var(--blue) 45%, var(--blue-700)); }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: url("../img/hero-wave.webp") center / cover; opacity: .1; mix-blend-mode: screen; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.contact h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.contact__lead { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.contact__list { margin-top: 24px; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); font-size: 1.05rem; }
.contact__list .icon { width: 22px; height: 22px; opacity: .9; }
.contact__list a { color: #fff; }
.contact__list a:hover { text-decoration: underline; }
.contact__name strong { font-size: 1.2rem; }
.contact__form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 40px 80px -30px rgba(5, 15, 60, .6); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* Form */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea {
	width: 100%; font: 500 1rem/1.4 var(--font); color: var(--ink);
	padding: 12px 14px; border-radius: 12px; border: 1.5px solid #cfe7f3; background: #f1fafe;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(22, 80, 230, .15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form__msg--ok { background: #e3f8ec; color: #11683a; }
.form__msg--err { background: #fdeaea; color: #a32020; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* Page hero + breadcrumbs */
.page-hero { position: relative; padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 60px); isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .6)), url("../img/hero-wave.webp") center 30% / cover no-repeat; }
.page-hero__bg::after { content: ""; position: absolute; inset: auto 0 0; height: 60px; background: linear-gradient(transparent, #fff); }
.page-hero__row { display: flex; gap: 20px; align-items: flex-start; }
.page-hero__icon { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 20px; background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.page-hero__icon .icon { width: 38px; height: 38px; stroke-width: 1.4; }
.page-hero__title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin: 0 0 10px; }
.page-hero__lead { font-size: 1.1rem; color: #2c3654; max-width: 720px; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa6c0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
@media (max-width: 560px) { .page-hero__icon { width: 56px; height: 56px; } .page-hero__icon .icon { width: 30px; height: 30px; } }

/* Content layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.layout__side { position: sticky; top: 104px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .layout__side { position: static; } }

.prose { font-size: 1.06rem; color: #2a3350; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose .lead, .prose > p:first-child { font-size: 1.18rem; color: var(--navy); font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img, .prose__img { border-radius: var(--radius); box-shadow: var(--shadow); }
.prose__img { width: 100%; margin-bottom: 1.5em; }
.prose .checklist { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prose .checklist li { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--sky); font-weight: 600; font-size: .98rem; color: var(--navy); }
.prose .checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.prose .meta { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .prose .checklist { grid-template-columns: 1fr; } }

.cta-card { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.cta-card__person { display: flex; gap: 14px; align-items: center; }
.cta-card__photo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; object-position: top; background: #0f3a9e; }
.cta-card__person strong { display: block; color: var(--navy); }
.cta-card__person span { font-size: .85rem; color: var(--muted); }
.cta-card p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Services overview */
.service-list { display: grid; gap: 16px; }
.service-row { display: flex; align-items: center; gap: 22px; padding: 24px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.service-row:nth-child(odd) { background: linear-gradient(145deg, #f1fbff, var(--sky)); }
.service-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-row__body { flex: 1; }
.service-row h2 { font-size: 1.3rem; margin-bottom: 4px; }
.service-row h2 a { color: var(--navy); }
.service-row p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .service-row { flex-wrap: wrap; } .service-row .btn { width: 100%; } }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 4 / 3; background: var(--sky); display: block; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--blue); }
.post-card__ph .icon { width: 56px; height: 56px; }
.post-card__body { padding: 20px 22px 24px; }
.post-card time { font-size: .8rem; color: var(--muted); font-weight: 600; }
.post-card__title { font-size: 1.15rem; margin: 6px 0 8px; }
.post-card__title a { color: var(--navy); }
.post-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; }
.nav-links .current { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: #aab6d3; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__name { border-color: rgba(255, 255, 255, .2); }
.brand--light .logo-img { width: 64px; height: 64px; }
.site-footer__brand p { margin: 18px 0; max-width: 360px; }
.site-footer .social { display: flex; gap: 6px; }
.site-footer .icon-link { color: #fff; background: rgba(255, 255, 255, .08); }
.site-footer .icon-link:hover { background: var(--blue); color: #fff; }
.site-footer__title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer__list { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #d5ddf0; }
.site-footer a:hover { color: #fff; }
.site-footer__contact { font-style: normal; display: grid; gap: 12px; }
.site-footer__contact > * { display: flex; gap: 10px; align-items: center; }
.site-footer__contact .icon { color: #6f9bff; }
.site-footer__area { margin-top: 16px; font-size: .88rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; gap: 20px; list-style: none; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Floating call button (mobile) */
.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; place-items: center; box-shadow: 0 12px 28px -8px rgba(22, 80, 230, .8); }
.call-fab .icon { width: 26px; height: 26px; }
@media (max-width: 760px) { .call-fab { display: grid; } .call-fab:hover { color: #fff; } }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--d, 0) * 40ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.wp-block-image figcaption, .wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; }

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