/*
Theme Name: Атаман – Траурна агенция
Theme URI: https://www.ataman.bg/
Author: Ataman
Description: Тема за Траурна агенция Атаман: начална страница, ценоразпис, контакти и рекламни лендинги (погребение, кремация, каменоделски услуги). При активиране създава страниците и менютата автоматично.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ataman
*/

:root {
	--navy: #1a3f7a;
	--navy-2: #14315f;
	--blue: #1d67cd;
	--sky: #83bded;
	--sky-2: #6593bd;
	--steel: #557796;
	--green: #15c734;
	--green-2: #10a82b;
	--light: #f1f6fc;
	--grey: #f4f4f4;
	--text: #1e1e1e;
	--muted: #5d6470;
	--line: #dde5ef;
	--radius: 22px;
	--shadow: 0 10px 30px rgba(20, 49, 95, .10);
	--display: "Oswald", Impact, "Arial Narrow", sans-serif;
	--head: "Open Sans", "Segoe UI", Arial, sans-serif;
	--sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1100px;
	--hero-img: none;
	--team-img: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.25; color: var(--text); margin: 0 0 .55em; }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: .01em; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 10px 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- Icons (CSS masks) ---------- */
.ico-phone, .btn-phone .wp-block-button__link::before, .call-btn::before, .topbar-phone::before, .btn-phone-m::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .8em 1.9em; border-radius: 999px;
	background: var(--green); color: #fff !important; border: 2px solid var(--green);
	font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .04em; line-height: 1.2;
	text-decoration: none !important; transition: background .2s, transform .2s, box-shadow .2s;
	box-shadow: 0 6px 18px rgba(21,199,52,.28);
}
.btn:hover, .wp-block-button__link:hover { background: var(--green-2); border-color: var(--green-2); transform: translateY(-1px); }
.is-style-outline .wp-block-button__link, .btn--ghost { background: transparent; color: var(--navy) !important; border-color: var(--navy); box-shadow: none; }
.is-style-outline .wp-block-button__link:hover, .btn--ghost:hover { background: var(--navy); color: #fff !important; }
.hero .is-style-outline .wp-block-button__link, .sec--navy .is-style-outline .wp-block-button__link, .sec--dark .is-style-outline .wp-block-button__link { color: #fff !important; border-color: rgba(255,255,255,.75); }
.hero .is-style-outline .wp-block-button__link:hover, .sec--navy .is-style-outline .wp-block-button__link:hover, .sec--dark .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--navy) !important; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6em 0 0; }
.center .wp-block-buttons, .wp-block-buttons.center, .hero .wp-block-buttons, .cta-band .wp-block-buttons, .sec-foot .wp-block-buttons { justify-content: center; }
.btn-phone .wp-block-button__link::before, .call-btn::before, .btn-phone-m::before { content: ""; width: 1em; height: 1em; background: currentColor; flex: none; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .02em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 12px 40px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar-phone::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--green); -webkit-mask: none; mask: none; flex: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
	background-size: 12px; background-position: center; background-repeat: no-repeat; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(20,49,95,.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand img { max-height: 50px; width: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 1.35rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 1.85rem; font-weight: 600; letter-spacing: .02em; }
.brand-sub { font-family: var(--head); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 600; }

.main-nav ul, .landing-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a, .landing-nav a { display: block; padding: 10px 12px; color: var(--text); font-family: var(--head); font-weight: 600; font-size: .9rem; text-decoration: none; }
.main-nav a:hover, .main-nav .current-menu-item > a, .landing-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.call-btn { font-size: 1rem; padding: .6em 1.3em; white-space: nowrap; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; position: relative; content: ""; transition: .2s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Sections ---------- */
.entry-content > *:not(.sec):not(.hero) { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 22px; padding-right: 22px; }
.sec { padding: clamp(52px, 7vw, 84px) 0; }
.sec--light { background: var(--light); }
.sec--grey { background: var(--grey); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--dark { background: #2b2d31; color: #e9e9e9; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec-head { max-width: 780px; margin-bottom: 38px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-family: var(--display); font-size: 1.35rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px !important; }
.sec--navy .eyebrow, .sec--dark .eyebrow { color: var(--sky); }
.lead { font-size: 1.08rem; color: var(--muted); }
.sec--navy .lead, .sec--dark .lead { color: #d6e2f1; }
.note { font-size: .9rem; color: var(--muted); margin-top: 22px; }
.note.center, .sec-head.center + .note { text-align: center; }
.sec-foot { text-align: center; }

/* Hero */
.hero {
	position: relative; color: #fff; text-align: center;
	background-color: #2a2f38;
	background-image: linear-gradient(rgba(25,28,34,.62), rgba(25,28,34,.62)), var(--hero-img), linear-gradient(135deg, #3b4350 0%, #20252d 100%);
	background-size: cover; background-position: center;
	padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 64px);
}
.hero .wrap { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: .2em; }
.hero .eyebrow { color: var(--sky); font-size: 1.1rem; margin-bottom: 10px !important; }
.hero .lead { color: #fff; font-family: var(--head); font-weight: 300; font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin-bottom: 1.1em; }
.price-tag { display: inline-block; font-family: var(--head); font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 20px; margin: 0 0 .4em; }
.price-tag strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; color: #fff; }
ul.badges { list-style: none; padding: 0; margin: 0 auto 0; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
ul.badges li { font-family: var(--head); font-weight: 600; font-size: 1.08rem; color: #fff; display: flex; align-items: center; gap: 10px; }
ul.badges li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 4px;
	background: var(--green) 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.4' 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; }
.rating { font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em; color: #fff; margin: 26px 0 0 !important; }
.rating::before { content: "★★★★★ "; color: #fbbc05; letter-spacing: 2px; }

/* Intro strip under hero */
.intro-strip { text-align: center; padding: 34px 0 6px; }
.intro-strip .eyebrow { margin-bottom: 0 !important; }
.intro-strip p:last-child { font-family: var(--head); font-weight: 700; font-size: 1.1rem; margin: 0; }

/* Features (big line icons) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 820px; margin: 0 auto; text-align: center; }
.feature h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin: 0; }
.feature::before { content: ""; display: block; width: 84px; height: 84px; margin: 0 auto 14px; background: var(--text); }
.feature--247::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.6'%3E%3Ccircle cx='32' cy='32' r='27' stroke-dasharray='5 4'/%3E%3Ctext x='32' y='38' font-family='Arial' font-weight='700' font-size='16' text-anchor='middle' fill='black' stroke='none'%3E24/7%3C/text%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.6'%3E%3Ccircle cx='32' cy='32' r='27' stroke-dasharray='5 4'/%3E%3Ctext x='32' y='38' font-family='Arial' font-weight='700' font-size='16' text-anchor='middle' fill='black' stroke='none'%3E24/7%3C/text%3E%3C/svg%3E") center/contain no-repeat; }
.feature--doctor::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='20' r='10'/%3E%3Cpath d='M12 58c0-12 8-20 20-20s20 8 20 20'/%3E%3Cpath d='M24 40v8a4 4 0 0 0 8 0'/%3E%3Cpath d='M40 40v6'/%3E%3Ccircle cx='40' cy='49' r='3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='20' r='10'/%3E%3Cpath d='M12 58c0-12 8-20 20-20s20 8 20 20'/%3E%3Cpath d='M24 40v8a4 4 0 0 0 8 0'/%3E%3Cpath d='M40 40v6'/%3E%3Ccircle cx='40' cy='49' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }
.feature--years::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M18 12c-8 6-11 16-8 26s12 17 22 18M46 12c8 6 11 16 8 26s-12 17-22 18'/%3E%3Cpath d='M14 20l-5-2M11 30l-6 0M13 40l-5 3M50 20l5-2M53 30l6 0M51 40l5 3'/%3E%3Ctext x='32' y='38' font-family='Arial' font-weight='700' font-size='17' text-anchor='middle' fill='black' stroke='none'%3E10+%3C/text%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M18 12c-8 6-11 16-8 26s12 17 22 18M46 12c8 6 11 16 8 26s-12 17-22 18'/%3E%3Cpath d='M14 20l-5-2M11 30l-6 0M13 40l-5 3M50 20l5-2M53 30l6 0M51 40l5 3'/%3E%3Ctext x='32' y='38' font-family='Arial' font-weight='700' font-size='17' text-anchor='middle' fill='black' stroke='none'%3E10+%3C/text%3E%3C/svg%3E") center/contain no-repeat; }
.feature--car::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M6 40V28l8-10h26l10 10h8v12z'/%3E%3Ccircle cx='18' cy='42' r='5' fill='white'/%3E%3Ccircle cx='48' cy='42' r='5' fill='white'/%3E%3Cpath d='M30 18v10M14 28h44'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='2.6' stroke-linejoin='round'%3E%3Cpath d='M6 40V28l8-10h26l10 10h8v12z'/%3E%3Ccircle cx='18' cy='42' r='5' fill='white'/%3E%3Ccircle cx='48' cy='42' r='5' fill='white'/%3E%3Cpath d='M30 18v10M14 28h44'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Office block */
.office { max-width: 820px; margin: 36px auto 0; text-align: center; }
.office .map-embed iframe { height: 340px; }
.office p { margin: 14px 0 0; }
.office strong { font-family: var(--head); }

/* Check lists */
ul.checks { list-style: none; padding: 0; }
ul.checks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 19px; height: 19px; border-radius: 4px;
	background: var(--green) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
ul.checks.two-col { columns: 2; column-gap: 34px; }
ul.checks.two-col li { break-inside: avoid; }

/* Split + panels */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.panel { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: .6em; }

/* Price packages (as on nebesna) */
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.package { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.package h3 { font-size: 1.15rem; margin-bottom: 0; }
.package .pkg-price { font-family: var(--display); font-size: 2rem; color: var(--blue); margin: 2px 0 14px !important; }
.package .pkg-price span { font-size: 1rem; font-family: var(--head); color: var(--muted); margin-right: 6px; }
.package .note { margin-top: 10px; }

/* Team split */
.team { display: grid; grid-template-columns: 1fr 1fr; padding: 0 !important; background: #2b2d31; color: #fff; }
.team-text { padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 64px); max-width: 600px; margin-left: auto; }
.team-text h2 { color: #fff; margin-bottom: .1em; }
.team-text .lead { color: #fff; font-family: var(--head); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.team-visual { min-height: 340px; background-color: var(--navy); background-image: var(--team-img), linear-gradient(135deg, #2d5fb0 0%, #14315f 100%); background-size: cover; background-position: center; position: relative; }
.team-visual::after { content: "АТАМАН"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: .08em; color: rgba(255,255,255,.18); }
.has-team-img .team-visual::after { display: none; }

/* Advantages */
.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.advantage { padding: 10px 6px; }
.advantage h3 { color: var(--blue); font-size: 1.15rem; margin-bottom: .35em; }
.advantage p { color: var(--muted); font-size: .95rem; margin: 0; }
.adv-num { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--navy); margin-bottom: 8px !important; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: .8em; }
.card .wp-block-buttons { margin-top: auto; }
.card .wp-block-button__link { font-size: 1rem; padding: .6em 1.3em; }
.card-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--display); font-size: 1.3rem; margin-bottom: 14px !important; }
.card-price { color: var(--blue); font-weight: 700; margin-top: auto; margin-bottom: 0 !important; }
.card-link { font-weight: 700; margin: 0 !important; }

/* Service text blocks */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 56px); align-items: center; }
.service-block + .service-block { margin-top: 56px; }
.service-block h2 { font-family: var(--head); }
.service-block h2 strong { color: var(--blue); }
.service-visual { min-height: 300px; border-radius: var(--radius); background: linear-gradient(135deg, #2d5fb0 0%, #14315f 100%); position: relative; overflow: hidden; }
.service-visual p { position: absolute; inset: 0; display: grid; place-items: center; margin: 0 !important; font-family: var(--display); font-size: 2.2rem; color: rgba(255,255,255,.85); letter-spacing: .06em; text-transform: uppercase; }
.service-block.reverse .service-visual { order: -1; }

/* Tiles grid (like "Какво можем да направим") */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.tile { aspect-ratio: 1.1 / 1; border-radius: 28px; display: flex; align-items: flex-start; justify-content: center; padding: 26px 14px; text-align: center; color: #fff;
	background: linear-gradient(180deg, rgba(20,49,95,.35), rgba(20,49,95,.85)), linear-gradient(135deg, #3a71c4, #1a3f7a); box-shadow: var(--shadow); }
.tile:nth-child(3n+2) { background: linear-gradient(180deg, rgba(20,49,95,.35), rgba(20,49,95,.85)), linear-gradient(135deg, #5c8fcf, #24508f); }
.tile:nth-child(3n) { background: linear-gradient(180deg, rgba(20,49,95,.35), rgba(20,49,95,.85)), linear-gradient(135deg, #4a6f99, #1f3a60); }
.tile h3 { color: #fff; font-size: 1.05rem; margin: 0; }

/* Prices (tables) */
.price-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 22px; }
.price-group { background: #fff; border-radius: var(--radius); padding: 26px 28px 16px; box-shadow: var(--shadow); }
.price-group h3 { padding-bottom: 10px; border-bottom: 2px solid var(--light); margin-bottom: 4px; }
.price-group.featured { background: var(--navy); color: #fff; }
.price-group.featured h3 { color: #fff; border-color: rgba(255,255,255,.15); }
.price-group.featured td { border-color: rgba(255,255,255,.15) !important; color: #fff !important; }
.wp-block-table.price-table { margin: 0; }
.wp-block-table.price-table table { width: 100%; border-collapse: collapse; table-layout: auto; }
.wp-block-table.price-table td { border: 0; border-bottom: 1px dashed var(--line); padding: 11px 0; vertical-align: top; font-size: .96rem; }
.wp-block-table.price-table tr:last-child td { border-bottom: 0; }
.wp-block-table.price-table td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--blue); padding-left: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 18px; }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 1.2rem; margin-bottom: 14px !important; }
.step h3 { font-size: 1.08rem; margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
ul.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.tags li { background: var(--light); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: .93rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-num { font-family: var(--display); font-size: 3rem; line-height: 1; color: #fff; margin-bottom: 6px !important; }
.stat p:last-child { margin: 0; color: #d6e2f1; }

/* Documents */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doc { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 5px solid var(--blue); }
.doc h3 { font-size: 1.1rem; }
.doc ul { margin: 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq .wp-block-details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(20,49,95,.07); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; font-family: var(--head); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq .wp-block-details > *:not(summary) { padding: 0 22px; color: var(--muted); }
.faq .wp-block-details > *:last-child { padding-bottom: 18px; margin-bottom: 0; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--head); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.big-phone { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0 0 !important; }
.big-phone a { color: #fff !important; text-decoration: underline; text-underline-offset: 6px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.review { background: #fff; border-radius: var(--radius); padding: 26px; margin: 0; box-shadow: var(--shadow); }
.review-stars { color: #fbbc05; letter-spacing: 2px; margin-bottom: 8px; }
.review cite { font-style: normal; font-weight: 700; }
.admin-hint { border: 2px dashed var(--blue); border-radius: 14px; padding: 20px; background: var(--light); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list strong { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-family: var(--head); font-size: 1.1rem; font-weight: 700; color: var(--text); }
.map-embed iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); display: block; }

/* Default page */
.page-hero { background: var(--navy); color: #fff; padding: 48px 0 36px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-body { padding: 44px 0 80px; }
.page-body .entry-content > * { padding-left: 0; padding-right: 0; }

/* ---------- Footer (3 colour columns) ---------- */
.footer-cta { background: var(--navy); color: #fff; text-align: center; padding: 34px 22px 38px; }
.footer-cta h2 { color: #fff; font-family: var(--head); font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .5em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; color: #fff; }
.footer-col { padding: 40px 24px 44px; }
.footer-col:nth-child(1) { background: var(--sky); }
.footer-col:nth-child(2) { background: var(--sky-2); }
.footer-col:nth-child(3) { background: var(--steel); }
.footer-col h4 { font-family: var(--head); color: #fff; font-size: 1.2rem; margin: 0 0 16px; }
.footer-col::before { content: ""; display: block; width: 26px; height: 26px; margin: 0 auto 14px; background: #fff; }
.footer-col--office::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 22s7-7 7-12a7 7 0 1 0-14 0c0 5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 22s7-7 7-12a7 7 0 1 0-14 0c0 5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.footer-col--phone::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
.footer-col--links::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M7 10v11H3V10zM7 20h10.5a2 2 0 0 0 2-1.6l1.4-7A2 2 0 0 0 19 9h-5l.8-4a2 2 0 0 0-3.6-1.4L7 10'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M7 10v11H3V10zM7 20h10.5a2 2 0 0 0 2-1.6l1.4-7A2 2 0 0 0 19 9h-5l.8-4a2 2 0 0 0-3.6-1.4L7 10'/%3E%3C/svg%3E") center/contain no-repeat; }
.footer-col a { color: #fff; font-family: var(--head); font-weight: 700; }
.footer-col p { margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col .brand { justify-content: center; color: #fff; margin-top: 14px; }
.footer-col .brand-sub { color: rgba(255,255,255,.75); }
.footer-col .brand-mark { background: #fff; color: var(--steel); }
.footer-bottom { background: var(--navy-2); color: rgba(255,255,255,.7); font-size: .82rem; text-align: center; padding: 14px 22px; }
.footer-bottom a { color: #fff; }

.mobile-callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.landing-nav { display: none; }
	.advantages { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; display: none; padding: 8px 22px 18px; box-shadow: 0 16px 30px rgba(20,49,95,.12); }
	.nav-open .main-nav { display: block; }
	.main-nav ul { flex-direction: column; }
	.main-nav a { padding: 12px 6px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
	.split, .areas, .packages, .service-block, .team, .docs { grid-template-columns: 1fr; }
	.service-block.reverse .service-visual { order: 0; }
	.service-visual { min-height: 200px; }
	.team-text { margin: 0; max-width: none; }
	.stats { grid-template-columns: 1fr 1fr; }
	.footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { padding-bottom: 66px; }
	.topbar .hide-sm { display: none; }
	.site-header .wrap { min-height: 62px; }
	.brand-name { font-size: 1.5rem; }
	.brand-mark { width: 34px; height: 34px; font-size: 1.15rem; }
	.call-btn { display: none; }
	.features { grid-template-columns: 1fr; gap: 26px; }
	.tiles { grid-template-columns: 1fr 1fr; }
	ul.checks.two-col { columns: 1; }
	.hero { text-align: center; }
	ul.badges li { font-size: 1rem; }
	.wp-block-buttons .wp-block-button, .wp-block-buttons .wp-block-button__link { width: 100%; }
	.mobile-callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--navy); padding: 9px 12px; gap: 10px; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
	.mobile-callbar .btn { flex: 1; padding: .75em 1em; font-size: 1.05rem; }
	.mobile-callbar .btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.6); flex: 0 0 auto; }
}
.footer-bottom li { display: inline; list-style: none; } .footer-bottom li::before { content: " · "; }
.hero .price-tag { display: table; margin: 0 auto 1.1em; }
.hero ul.badges { display: flex; width: fit-content; margin: 0 auto; }
