/* ==========================================================================
   Casa Alta · main stylesheet
   1. Fonts & tokens   2. Base   3. Layout   4. Components   5. Header & menu
   6. Sections         7. Pages  8. Footer   9. Motion       10. Responsive
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif-normal-latin.woff2") format("woff2");
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Instrument Serif";
	src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
	font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk-normal-latin.woff2") format("woff2");
	font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
	--bg: #F5EFE4;
	--bg-alt: #EBE2D2;
	--surface: #FFFDF8;
	--ink: #1B2B2F;
	--ink-2: #3F4E50;
	--muted: #56605C;
	--olive: #56643F;
	--olive-light: #C9D3B2;
	--sea: #2C6378;
	--dark: #1B2B2F;
	--darker: #142124;
	--on-dark: #F5EFE4;
	--on-dark-2: #D8D2C4;
	--warn: #9A5B2E;
	--line: rgba(27, 43, 47, .14);
	--line-light: rgba(245, 239, 228, .18);

	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--r-sm: 12px;
	--r-md: 18px;
	--r-lg: 22px;

	--gutter: clamp(20px, 4.5vw, 64px);
	--section: clamp(80px, 9vw, 128px);
	--header-h: 148px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #7FB3C6; outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--olive-light); color: var(--ink); }

.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px;
	background: var(--ink); color: var(--on-dark); text-decoration: none; transform: translateY(-160%);
	transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; color: var(--on-dark); }

.block { display: block; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(1312px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--linen { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.site-main { display: block; }
body:not(.has-hero-header) .site-main { padding-top: var(--header-h); }

.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 1000px; }
.section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 64px; }
.section-head__aside { max-width: 440px; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); font-size: 16px; }

/* 4. Components ------------------------------------------------------------ */
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); }
.eyebrow--light { color: var(--olive-light); }

.h2 { font-family: var(--serif); font-size: clamp(36px, 4.3vw, 58px); line-height: 1.03; letter-spacing: -.015em; text-wrap: balance; }
.h2--xl { font-size: clamp(38px, 4.6vw, 62px); }
.h2--md { font-size: clamp(32px, 3.4vw, 46px); }
.h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.h3--lg { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--ink-2); }
.lead--light { color: var(--on-dark-2); }
.page-title { font-family: var(--serif); font-size: clamp(46px, 6vw, 84px); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.page-title--md { font-size: clamp(40px, 5.2vw, 76px); }

/* Buttons */
.btn {
	--btn-bg: var(--ink); --btn-fg: var(--on-dark); --btn-bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg); font: 600 15px/1 var(--sans);
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(20, 33, 36, .55); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --btn-bg: var(--sea); --btn-fg: #fff; color: #fff; }
.btn--light { --btn-bg: var(--bg); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: #fff; color: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(27, 43, 47, .35); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--on-dark); color: var(--on-dark); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(245, 239, 228, .55); }
.btn--ghost-light:hover { --btn-bg: var(--on-dark); --btn-fg: var(--ink); color: var(--ink); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.text-link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; align-self: flex-start;
	font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
	transition: color .3s var(--ease), background-size .45s var(--ease);
}
.text-link .icon { transition: transform .35s var(--ease); }
.text-link:hover { color: var(--sea); }
.text-link:hover .icon { transform: translateX(4px); }

/* Checklists */
.checklist { display: grid; gap: 10px 24px; }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.checklist .icon { flex-shrink: 0; margin-top: 2px; color: var(--olive); stroke-width: 2.2; }
.checklist--lines { gap: 0 24px; }
.checklist--lines li { min-height: 48px; align-items: center; border-bottom: 1px solid var(--line); }
.checklist--lines .icon { margin-top: 0; }
.dot-list { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.dot-list li::before { content: "·"; margin-right: 8px; color: var(--olive); font-weight: 700; }

/* Chips & tags */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
	border: 1px solid rgba(27, 43, 47, .22); background: transparent; color: var(--ink);
	font: 500 14px/1 var(--sans); text-decoration: none; cursor: pointer;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.chip.is-active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tag-row__label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.tag { padding: 8px 14px; border-radius: 999px; background: var(--bg-alt); font-size: 14px; font-weight: 500; }

/* Cards */
.lift { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.lift:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -30px rgba(27, 43, 47, .45); }
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 1.6s var(--ease-out); }
.img-zoom:hover img { transform: scale(1.045); }

.photo-placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	padding: 24px; text-align: center; color: var(--muted);
	background: #E4DAC7; border: 1px dashed rgba(27, 43, 47, .28); border-radius: var(--r-md);
}
.photo-placeholder__label { font-size: 14px; font-weight: 600; }
.photo-placeholder__hint { font-size: 13px; }
.person-photo { object-fit: cover; border-radius: var(--r-md); }

/* 5. Header & mobile menu ---------------------------------------------------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 60;
	color: var(--ink);
	transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .55s var(--ease);
}
.site-header__inner { max-width: calc(1312px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.site-header__top { height: 112px; display: flex; align-items: center; gap: 24px; transition: height .45s var(--ease); }
.site-header__brand { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { width: auto; height: 100px; transition: height .45s var(--ease), filter .5s var(--ease); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.main-nav { height: 36px; display: flex; justify-content: center; transition: height .45s var(--ease), opacity .35s var(--ease); }
.main-nav__list, .main-nav ul { display: flex; align-items: center; gap: 40px; }
.nav-link, .main-nav a {
	position: relative; display: inline-flex; align-items: center; min-height: 36px;
	color: inherit; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav-link::after, .main-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-link:hover, .main-nav a:hover { color: inherit; }
.nav-link:hover::after, .main-nav a:hover::after, .nav-link.is-current::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.lang-switch { display: flex; gap: 2px; }
.lang { display: inline-grid; place-items: center; min-width: 34px; min-height: 44px; color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .06em; opacity: .65; transition: opacity .3s; }
.lang:hover, .lang.is-current { opacity: 1; color: inherit; }

/* States: over the hero (homepage) vs. solid */
.site-header.is-over-hero { color: var(--on-dark); background: transparent; }
.site-header.is-over-hero .btn--primary { --btn-bg: var(--bg); --btn-fg: var(--ink); }
.site-header.is-over-hero .btn--primary:hover { --btn-bg: #fff; color: var(--ink); }
/* Rule: the logo only gets its strong shadow while it sits on the hero image (homepage). */
.site-header.is-over-hero .site-logo {
	filter: drop-shadow(0 0 2px rgba(0, 0, 0, .95)) drop-shadow(0 0 8px rgba(0, 0, 0, .85)) drop-shadow(0 0 20px rgba(0, 0, 0, .75)) drop-shadow(0 8px 40px rgba(0, 0, 0, .7));
}
.site-header.is-solid { background: rgba(245, 239, 228, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-solid.is-compact { box-shadow: 0 1px 0 var(--line), 0 18px 40px -32px rgba(27, 43, 47, .5); }
.site-header.is-compact .site-header__top { height: 76px; }
.site-header.is-compact .site-logo { height: 64px; }
.site-header.is-hidden { transform: translateY(-100%); }

/* Burger */
.menu-toggle {
	display: none; position: relative; z-index: 80; width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid currentColor; background: transparent; cursor: pointer; place-items: center;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.menu-toggle__icon { position: relative; width: 18px; height: 12px; }
.menu-toggle__icon span {
	position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor;
	transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle__icon span:first-child { top: 1px; }
.menu-toggle__icon span:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 5px; transform: rotate(-45deg); }
body.menu-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
body.menu-open .site-logo { filter: none; }

.mobile-menu {
	position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
	padding: 120px var(--gutter) 32px; background: var(--dark); color: var(--on-dark);
	clip-path: circle(0 at calc(100% - 44px) 44px); visibility: hidden;
	transition: clip-path .8s var(--ease-out), visibility 0s linear .8s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .8s var(--ease-out), visibility 0s; }
.mobile-menu__list, .mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu__list li, .mobile-menu ul li {
	opacity: 0; transform: translateY(18px);
	transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) { transition-delay: .18s; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: .24s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: .30s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: .36s; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: .42s; }
.mobile-menu.is-open li:nth-child(6) { transition-delay: .48s; }
.mobile-menu__link, .mobile-menu ul a {
	display: flex; align-items: center; justify-content: space-between; min-height: 64px;
	border-bottom: 1px solid var(--line-light); color: var(--on-dark); text-decoration: none;
	font: 400 clamp(30px, 8vw, 40px)/1.1 var(--serif);
}
.mobile-menu__link::after, .mobile-menu ul a::after { content: "→"; font: 400 18px var(--sans); opacity: .6; transition: transform .35s var(--ease), opacity .35s; }
.mobile-menu__link:hover::after, .mobile-menu ul a:hover::after { transform: translateX(4px); opacity: 1; }
.mobile-menu__link:hover, .mobile-menu ul a:hover { color: var(--olive-light); }
.mobile-menu__footer { display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) .1s, transform .6s var(--ease) .1s; }
.mobile-menu.is-open .mobile-menu__footer { opacity: 1; transform: none; transition-delay: .5s; }
.mobile-menu .lang-switch { margin-bottom: 8px; }

/* 6. Sections: homepage ------------------------------------------------------ */
.hero { position: relative; min-height: clamp(680px, 100svh, 940px); display: flex; flex-direction: column; overflow: hidden; background: var(--dark); color: var(--on-dark); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 110%; object-fit: cover; object-position: center 60%; will-change: transform; animation: ca-settle 2.8s var(--ease-out) both; }
.hero__scrim {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(17, 28, 31, .72) 0%, rgba(17, 28, 31, .38) 48%, rgba(17, 28, 31, .05) 80%),
		linear-gradient(0deg, rgba(17, 28, 31, .6) 0%, rgba(17, 28, 31, 0) 32%),
		linear-gradient(180deg, rgba(17, 28, 31, .5) 0%, rgba(17, 28, 31, 0) 26%);
}
.hero__inner { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
.hero__content { max-width: 880px; display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-family: var(--serif); font-size: clamp(46px, 6.2vw, 88px); line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.hero__lead { max-width: 600px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: #EDE6D8; }
.hero__strip { border-top: 1px solid rgba(245, 239, 228, .22); }
.hero__strip-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 26px; font-size: 15px; }
.hero__strip-inner span { display: flex; align-items: center; gap: 12px; }
.hero__strip-inner em { font-family: var(--serif); font-size: 22px; color: var(--olive-light); }

.update-card {
	flex-shrink: 0; width: 344px; padding: 24px; border-radius: var(--r-md);
	background: rgba(250, 246, 238, .94); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
	display: flex; flex-direction: column; gap: 16px;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.update-card__head { display: flex; align-items: center; gap: 12px; }
.update-card__head span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.update-card__head strong { font-size: 15px; }
.update-card__head small { font-size: 13px; color: var(--muted); }
.update-card__badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--on-dark); }
.update-card__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; font-size: 13px; color: var(--ink-2); }
.update-card__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.update-card__thumbs img, .update-card__thumbs span { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.update-card__thumbs span { display: grid; place-items: center; background: #E4DAC7; font-size: 13px; font-weight: 600; color: var(--ink-2); }

.intro__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.intro__media { position: relative; padding-bottom: 80px; padding-right: 80px; }
.intro__portrait { aspect-ratio: 11 / 14; width: 100%; }
.intro__inset { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 1; border-radius: var(--r-md); border: 10px solid var(--bg); }
.intro__inset img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.intro__caption { position: absolute; left: 24px; bottom: 30px; font: italic 22px var(--serif); color: var(--olive); }
.intro__text { display: flex; flex-direction: column; gap: 24px; }
.person-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person-card { padding: 24px; border-radius: var(--r-md); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.person-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 4px; }
.person-card__name { font: 30px/1 var(--serif); }
.person-card__role { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.person-card__role--sea { color: var(--sea); }

.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pillar { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(27, 43, 47, .2); }
.pillar p { font-size: 16px; color: var(--ink-2); }
.pillar__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--olive); transition: transform .5s var(--ease), background-color .4s; }
.pillar:hover .pillar__icon { transform: rotate(-8deg) scale(1.06); background: var(--surface); }

/* Services tabs */
.services-tabs__body { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 48px; }
.services-tabs__list { display: flex; flex-direction: column; gap: 4px; }
.svc-tab {
	position: relative; display: flex; align-items: center; gap: 18px; width: 100%; min-height: 58px; padding: 0 20px;
	border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
	color: var(--ink-2); text-align: left; font: 500 17px/1.3 var(--sans); cursor: pointer;
	transition: background-color .45s var(--ease), color .45s var(--ease), padding .45s var(--ease), border-radius .45s var(--ease);
}
.svc-tab__num { width: 28px; font: italic 19px var(--serif); color: var(--olive); transition: color .45s var(--ease); }
.svc-tab .icon { margin-left: auto; opacity: 0; transform: translateX(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.svc-tab:hover { color: var(--ink); padding-left: 28px; }
.svc-tab.is-active { background: var(--ink); color: var(--on-dark); border-radius: var(--r-sm); border-color: transparent; padding-left: 24px; }
.svc-tab.is-active .svc-tab__num { color: var(--olive-light); }
.svc-tab.is-active .icon { opacity: 1; transform: none; }
.services-tabs__panels { position: relative; display: grid; min-height: 560px; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); }
.svc-panel { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; padding: 32px; }
.js .svc-panel { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.js .svc-panel.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.svc-panel[hidden] { display: none; }
.js .svc-panel[hidden] { display: flex; }
.svc-panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.svc-panel.is-active .svc-panel__img { transform: scale(1); }
.svc-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 28, 31, .55) 0%, rgba(17, 28, 31, 0) 55%); }
.svc-panel__card {
	position: relative; z-index: 1; width: min(480px, 100%); padding: 32px; border-radius: var(--r-md);
	background: rgba(250, 246, 238, .96); display: flex; flex-direction: column; gap: 14px;
	transform: translateY(18px); opacity: 0; transition: transform .8s var(--ease) .12s, opacity .7s var(--ease) .12s;
}
.svc-panel.is-active .svc-panel__card, .no-js .svc-panel__card { transform: none; opacity: 1; }
.svc-panel__card p { font-size: 15px; color: var(--ink-2); }
.svc-panel__num { font: italic 20px var(--serif); color: var(--olive); }

/* Rentals timeline */
.rentals__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 96px); }
.rentals__intro { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.quote-box { margin: 12px 0 0; padding: 28px; border-radius: var(--r-md); background: rgba(245, 239, 228, .07); border: 1px solid var(--line-light); }
.quote-box blockquote { margin: 0; font: italic 26px/1.25 var(--serif); }
.quote-box figcaption { margin-top: 12px; font-size: 14px; color: var(--olive-light); }
.timeline__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line-light); transition: padding .45s var(--ease); }
.timeline__item:last-child { border-bottom: 1px solid var(--line-light); }
.timeline__item:hover { padding-left: 10px; }
.timeline__num { font: italic 34px var(--serif); color: var(--olive-light); }
.timeline__body { display: flex; flex-direction: column; gap: 6px; }
.timeline__body strong { font-size: 19px; font-weight: 600; }
.timeline__body span { font-size: 15px; line-height: 1.55; color: #CFC8B8; }
.timeline__tag { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #9FB6BE; text-align: right; white-space: nowrap; }

/* Owners abroad */
.abroad__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.abroad__media { position: relative; border-radius: var(--r-lg); aspect-ratio: 4 / 5; }
.abroad__media img { width: 100%; height: 100%; object-fit: cover; }
.pill-badge { position: absolute; left: 24px; top: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(250, 246, 238, .94); font-size: 13px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 0 rgba(86, 100, 63, .6); animation: ca-ping 2.4s var(--ease) infinite; }
.abroad__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* Steps */
.steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step {
	display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 180px; padding: 28px;
	border: 1px solid var(--line); border-radius: var(--r-md); background: transparent; text-align: left; cursor: pointer;
	transition: background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.step:hover { border-color: var(--ink); transform: translateY(-3px); }
.step__num { font: italic 44px/1 var(--serif); color: var(--olive); }
.step__title { font-size: 19px; font-weight: 600; line-height: 1.3; }
.step__bar { position: relative; width: 100%; height: 2px; margin-top: auto; background: var(--line); overflow: hidden; }
.step__bar i { position: absolute; inset: 0; background: var(--olive); transform: scaleX(0); transform-origin: left; }
.step.is-active { background: var(--surface); border-color: var(--surface); box-shadow: 0 24px 48px -32px rgba(27, 43, 47, .5); }
.step.is-active .step__bar i { transform: scaleX(1); transition: transform 6s linear; }
.steps__detail { margin-top: 32px; display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 32px 40px; border-radius: var(--r-md); background: var(--bg); }
.steps__label { font: italic 20px var(--serif); color: var(--olive); }
.steps__text { font-size: 19px; line-height: 1.6; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.steps__text.is-swapping { opacity: 0; transform: translateY(8px); }

/* Trust */
.trust__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.trust__text { display: flex; flex-direction: column; gap: 24px; }
.feature-list { display: flex; flex-direction: column; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.feature strong { font-size: 17px; font-weight: 600; }
.feature > span:last-child span { font-size: 15px; color: var(--muted); }
.feature__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); color: var(--sea); }
.trust__media { position: relative; border-radius: var(--r-lg); aspect-ratio: 7 / 6.4; }
.trust__media > img { width: 100%; height: 100%; object-fit: cover; }
.report-card {
	position: absolute; right: 32px; bottom: 32px; width: min(380px, calc(100% - 48px)); padding: 26px; border-radius: var(--r-md);
	background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 14px;
}
.report-card__top { display: flex; justify-content: space-between; align-items: center; }
.report-card__top small, .report-card > small { font-size: 12px; color: var(--muted); }
.report-card__title { font: 26px/1.1 var(--serif); }
.report-card__rows { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.report-card__rows div { display: flex; justify-content: space-between; gap: 12px; }
.report-card__rows dd { margin: 0; font-weight: 700; }
.report-card__rows .ok { color: var(--olive); }
.report-card__rows .warn { color: var(--warn); }
.report-card__note { padding: 14px; border-radius: var(--r-sm); background: var(--bg); font-size: 14px; line-height: 1.55; }

/* Area map */
.area__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.area__text { display: flex; flex-direction: column; gap: 24px; }
.map { position: relative; margin: 0; aspect-ratio: 520 / 600; max-height: 680px; border-radius: var(--r-lg); background: #D7E3E4; overflow: hidden; }
.map svg { width: 100%; height: 100%; }
.map__land { fill: #F2EBDD; stroke: #B9C9C8; stroke-width: 1.5; }
.map__contour { fill: none; stroke: #E0D6C3; stroke-width: 1.2; }
.map__sea { font: italic 22px var(--serif); fill: #5F7F87; }
.map__dot { fill: var(--surface); stroke: var(--sea); stroke-width: 2; transition: fill .4s var(--ease), r .4s var(--ease); }
.map__ring { fill: none; stroke: var(--sea); stroke-width: 1.5; opacity: 0; }
.map__label { font: 500 13px var(--sans); fill: var(--ink-2); transition: fill .3s; }
.map__town { cursor: pointer; }
.map__town.is-active .map__dot { fill: var(--sea); r: 8px; }
.map__town.is-active .map__ring { animation: ca-pulse 2.2s ease-out infinite; }
.map__town.is-active .map__label { fill: var(--ink); font-weight: 700; }
.map__card { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(255, 253, 248, .95); }
.map__card span { display: flex; flex-direction: column; }
.map__card strong { font: 400 24px/1.1 var(--serif); transition: opacity .3s; }
.map__card small { font-size: 13px; color: var(--muted); }

/* Testimonials */
.testimonials__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.testimonials__mark { fill: #C9BFA9; }
.testimonials__slides { display: grid; width: 100%; max-width: 960px; }
.slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; gap: 24px; align-items: center; opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .8s var(--ease); pointer-events: none; }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide blockquote { margin: 0; font: 400 clamp(26px, 3vw, 40px)/1.2 var(--serif); letter-spacing: -.01em; }
.slide figcaption { display: flex; flex-direction: column; gap: 4px; }
.slide figcaption strong { font-size: 16px; font-weight: 600; }
.slide figcaption span { font-size: 14px; color: var(--muted); }
.slider-nav { display: flex; align-items: center; gap: 12px; }
.slider-dots { display: flex; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(27, 43, 47, .3); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.round-btn:hover { background: var(--ink); color: var(--on-dark); transform: scale(1.05); }
.slider-dot { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; }
.slider-dot i { width: 8px; height: 8px; border-radius: 4px; background: rgba(27, 43, 47, .25); transition: width .45s var(--ease), background-color .3s; }
.slider-dot.is-active i { width: 28px; background: var(--ink); }
.placeholder-note { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--warn); }

/* CTA band */
.cta-band { position: relative; min-height: 640px; display: flex; align-items: center; padding-block: 96px; overflow: hidden; background: var(--dark); color: var(--on-dark); isolation: isolate; }
.cta-band__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-band__scrim { position: absolute; inset: 0; z-index: -1; background: rgba(17, 28, 31, .45); }
.cta-band__scrim--strong { background: rgba(17, 28, 31, .62); }
.cta-band__scrim--side { background: linear-gradient(90deg, rgba(17, 28, 31, .82) 0%, rgba(17, 28, 31, .2) 72%); }
.cta-card { width: min(640px, 100%); padding: clamp(32px, 4vw, 56px); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); display: flex; flex-direction: column; gap: 22px; }
.cta-card__meta { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.cta-card__meta a { color: inherit; }
.cta-band--center { text-align: center; }
.cta-band__center { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 880px; }
.cta-band__text { max-width: 700px; display: flex; flex-direction: column; gap: 24px; }

/* 7. Pages ------------------------------------------------------------------ */
.page-hero { padding-block: clamp(56px, 7vw, 88px) clamp(48px, 6vw, 72px); }
.page-hero--simple { padding-bottom: 24px; }
.page-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 80px); align-items: end; }
.page-hero__grid > div { display: flex; flex-direction: column; gap: 24px; }
.page-hero__grid--about { grid-template-columns: 6fr 5fr; align-items: center; }
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.service-row { padding-block: clamp(56px, 6vw, 80px); scroll-margin-top: 90px; }
.service-row__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.service-row--reverse .service-row__media { order: 2; }
.service-row__media { border-radius: var(--r-lg); aspect-ratio: 6 / 4.4; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row__text { display: flex; flex-direction: column; gap: 16px; }
.service-row__num { font: italic 22px var(--serif); color: var(--olive); }
.service-row__ideal { font-size: 14px; color: var(--muted); }
.service-row__ideal strong { color: var(--ink); font-weight: 600; }

.about-hero__media { position: relative; padding: 0 0 40px 60px; }
.about-hero__photo { width: 100%; aspect-ratio: 10 / 11; border-radius: var(--r-lg); }
.about-hero__inset { position: absolute; left: 0; bottom: 0; width: 55%; aspect-ratio: 4 / 3; border-radius: var(--r-md); border: 8px solid var(--bg); }
.about-hero__inset img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.story__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 96px); }
.story__quote { display: flex; flex-direction: column; gap: 28px; }
.big-quote { margin: 0; font: 400 clamp(32px, 3.4vw, 46px)/1.12 var(--serif); letter-spacing: -.01em; }
.story__text { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.story__text strong { color: var(--ink); font-weight: 600; }
.signature { font: italic 30px var(--serif); color: var(--olive); }
.roles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.role-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); }
.role-card__photo { width: 100%; aspect-ratio: 200 / 260; }
.role-card__body { display: flex; flex-direction: column; gap: 12px; }
.role-card__body p { font-size: 15px; color: var(--ink-2); }
.promises__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.promise { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--r-md); background: var(--bg); }
.promise p { font-size: 15px; color: var(--ink-2); }
.promise__num { font: italic 44px/1 var(--serif); color: var(--olive); }

/* Contact */
.contact { padding-block: clamp(40px, 5vw, 64px) var(--section); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; position: sticky; top: calc(var(--header-h) - 20px); }
.methods { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.method { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
a.method:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(27, 43, 47, .45); }
a.method:hover .icon-arrow { transform: translateX(4px); }
.method .icon-arrow { transition: transform .35s var(--ease); }
.method__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.method__icon--olive { background: #E3E9DA; color: var(--olive); }
.method__icon--sea { background: #DCE7EA; color: var(--sea); }
.method__icon--terra { background: #EFE3D2; color: var(--warn); }
.method__text { display: flex; flex-direction: column; }
.method__text strong { font-size: 16px; font-weight: 600; }
.method__text span { font-size: 14px; color: var(--muted); }
.contact__notes { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }

.form-card { padding: clamp(24px, 3.4vw, 40px); border-radius: 24px; background: var(--bg-alt); scroll-margin-top: 120px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.input {
	width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid rgba(27, 43, 47, .22);
	background: var(--surface); color: var(--ink); font: 400 16px var(--sans);
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.input:hover { border-color: rgba(27, 43, 47, .45); }
.input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(44, 99, 120, .16); }
textarea.input { min-height: 130px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.has-error .input { border-color: var(--warn); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
	border: 1px solid rgba(27, 43, 47, .22); background: var(--surface); font-size: 14px; font-weight: 500;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
}
.choice span .icon { width: 0; opacity: 0; transition: width .3s var(--ease), opacity .3s var(--ease); }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.choice input:checked + span .icon { width: 14px; opacity: 1; }
.choice input:focus-visible + span { outline: 3px solid #7FB3C6; outline-offset: 2px; }
.choice:active span { transform: scale(.97); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.consent.has-error span { color: var(--warn); }
.form__submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__submit .btn.is-loading { pointer-events: none; opacity: .75; }
.form-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--r-sm); background: #F3E1D3; color: #6B3D1C; font-size: 15px; }
.form-success { min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.form-success__icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--on-dark); animation: ca-pop .8s var(--ease-out) both; }
.form-success p { max-width: 440px; color: var(--ink-2); }

.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 96px); }
.faq__intro { display: flex; flex-direction: column; gap: 20px; }
.faq-item { border-top: 1px solid rgba(27, 43, 47, .16); }
.faq-item:last-child { border-bottom: 1px solid rgba(27, 43, 47, .16); }
.faq-item__q {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; cursor: pointer;
	list-style: none; font: 400 clamp(21px, 2vw, 26px)/1.2 var(--serif); transition: color .3s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--sea); }
.faq-item__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(27, 43, 47, .25); display: grid; place-items: center; color: var(--ink); transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--ink); color: var(--on-dark); }
.faq-item__a { overflow: hidden; }
.faq-item__a p { max-width: 700px; padding-bottom: 26px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }

.entry-content { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; }
.entry-content h2 { font-size: 34px; margin-top: 1.6em; }
.post-teaser { padding-block: 28px; border-bottom: 1px solid var(--line); }
.post-teaser a { color: var(--ink); text-decoration: none; }
.not-found { min-height: 60vh; display: flex; align-items: center; }
.not-found .container { display: flex; flex-direction: column; gap: 24px; }

/* 8. Footer ------------------------------------------------------------------- */
.site-footer { padding-block: 88px 40px; background: var(--darker); color: var(--on-dark); }
.site-footer__grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand p { max-width: 340px; font-size: 15px; line-height: 1.7; color: var(--on-dark-2); }
.site-logo--footer { height: 140px; width: auto; align-self: flex-start; }
.site-footer__col { display: flex; flex-direction: column; }
.site-footer__title { margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-light); }
.foot-link { position: relative; align-self: flex-start; color: var(--on-dark-2); text-decoration: none; font-size: 15px; line-height: 2.1; transition: color .3s, transform .3s var(--ease); }
.foot-link:hover { color: #FFFDF8; transform: translateX(3px); }
.site-footer__towns { font-size: 15px; line-height: 2; color: var(--on-dark-2); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(245, 239, 228, .14); font-size: 13px; color: #B5AE9F; }
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a { color: #B5AE9F; line-height: 1; font-size: 13px; text-decoration: none; }
.site-footer__legal a:hover { color: #FFFDF8; }

/* 9. Motion ------------------------------------------------------------------- */
@keyframes ca-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ca-settle { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes ca-pulse { from { r: 7px; opacity: .8; } to { r: 28px; opacity: 0; } }
@keyframes ca-ping { 0% { box-shadow: 0 0 0 0 rgba(86, 100, 63, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(86, 100, 63, 0); } }
@keyframes ca-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

.anim-rise { animation: ca-rise 1.1s var(--ease-out) both; animation-delay: var(--d, 0s); }

.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .img-zoom.reveal { clip-path: inset(8% 8% 8% 8% round var(--r-lg)); transform: none; opacity: 1; transition: clip-path 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js .img-zoom.reveal.is-visible { clip-path: inset(0 0 0 0 round var(--r-lg)); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js .reveal { opacity: 1; transform: none; clip-path: none; }
}

/* 10. Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
	.services-tabs__body { grid-template-columns: 360px minmax(0, 1fr); gap: 32px; }
	.update-card { display: none; }
	.promises__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.roles__grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
	:root { --header-h: 92px; }
	.main-nav, .site-header__cta { display: none; }
	.menu-toggle { display: grid; }
	.site-header__top { height: 92px; }
	.site-logo { height: 72px; }
	.site-header.is-compact .site-header__top { height: 72px; }
	.site-header.is-compact .site-logo { height: 54px; }
	.site-header__actions .lang-switch { display: none; }

	.section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
	.intro__grid, .rentals__grid, .abroad__grid, .trust__grid, .area__grid, .page-hero__grid, .page-hero__grid--about,
	.story__grid, .contact__grid, .faq__grid, .service-row__grid { grid-template-columns: 1fr; }
	.service-row--reverse .service-row__media { order: 0; }
	.contact__intro { position: static; }
	.intro__media { max-width: 560px; }
	.abroad__media { aspect-ratio: 4 / 3; }
	.trust__media { aspect-ratio: auto; display: flex; flex-direction: column; background: var(--bg-alt); }
	.trust__media > img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
	.report-card { position: relative; right: auto; bottom: auto; width: auto; margin: -80px 16px 16px; }
	.map { max-width: 560px; width: 100%; }

	.services-tabs__body { grid-template-columns: 1fr; }
	.services-tabs__list { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.services-tabs__list::-webkit-scrollbar { display: none; }
	.svc-tab { flex: 0 0 auto; width: auto; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; scroll-snap-align: start; white-space: nowrap; }
	.svc-tab:hover { padding-left: 18px; }
	.svc-tab.is-active { border-radius: 999px; padding-left: 18px; }
	.svc-tab .icon { display: none; }
	.services-tabs__panels { min-height: 600px; }

	.steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps__detail { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
	.pillars__grid { grid-template-columns: 1fr; gap: 24px; }
	.hero__strip-inner { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
}

@media (max-width: 700px) {
	body { font-size: 16px; }
	:root { --header-h: 80px; }
	.site-header__top { height: 80px; }
	.site-logo { height: 60px; }
	.site-logo--footer { height: 110px; }
	.hero { min-height: 100svh; }
	.hero__inner { padding-bottom: 40px; }
	.btn-row .btn { width: 100%; }
	.person-cards, .checklist--2, .form__row { grid-template-columns: 1fr; }
	.intro__media { padding: 0 0 60px 0; }
	.intro__inset { width: 50%; right: -4px; }
	.intro__caption { display: none; }
	.timeline__item { grid-template-columns: 48px minmax(0, 1fr); }
	.timeline__num { font-size: 28px; }
	.timeline__tag { display: none; }
	.steps__grid { grid-template-columns: 1fr; }
	.step { min-height: 0; flex-direction: row; align-items: center; padding: 20px; }
	.step__bar { display: none; }
	.step__num { font-size: 32px; min-width: 44px; }
	.svc-panel { padding: 16px; }
	.svc-panel__card { padding: 24px; }
	.services-tabs__panels { min-height: 640px; }
	.map__card { flex-direction: column; align-items: flex-start; }
	.role-card { grid-template-columns: 1fr; }
	.role-card__photo { max-width: 240px; }
	.promises__grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.about-hero__media { padding-left: 0; }
	.cta-band { min-height: 0; padding-block: 64px; }
	.form-success { min-height: 380px; }
	.map { aspect-ratio: auto; max-height: none; display: flex; flex-direction: column; }
	.map svg { height: auto; aspect-ratio: 520 / 600; }
	.map__card { position: relative; left: auto; right: auto; bottom: auto; margin: -12px 12px 12px; }
	.hero__scrim { background: linear-gradient(0deg, rgba(17, 28, 31, .78) 0%, rgba(17, 28, 31, .35) 55%, rgba(17, 28, 31, .55) 100%); }
}
.faq-item.is-closing .faq-item__icon { transform: none; background: transparent; color: var(--ink); }

/* ==========================================================================
   11. Knowledge system: articles, hubs, glossary, service & place pages
   ========================================================================== */
.container--article { max-width: calc(980px + 2 * var(--gutter)); }
.section--tight + .section--tight { padding-top: 0; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 22px; font-size: 13px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; margin: 0 10px; border-top: 1.4px solid currentColor; border-right: 1.4px solid currentColor; transform: rotate(45deg); opacity: .55; }
.breadcrumbs a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; transition: color .3s; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-hero--kb { padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero--kb .container { display: flex; flex-direction: column; gap: 18px; }
.page-hero--kb .breadcrumbs { margin-bottom: 4px; }
.page-hero__lead { max-width: 720px; }
.eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Article hero */
.article-hero { padding-block: clamp(40px, 5vw, 64px) 32px; }
.article-hero .container { display: flex; flex-direction: column; gap: 18px; }
.article-title { font-family: var(--serif); font-size: clamp(38px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.018em; text-wrap: balance; }
.article-hero__lead { max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.article-meta a { color: var(--ink); text-decoration: none; font-weight: 600; }
.article-meta__review { display: inline-flex; align-items: center; gap: 6px; color: var(--olive); font-weight: 600; }
.article-figure { margin: 0 auto 8px; }
.article-figure__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-lg); }

/* Layout with sticky aside */
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 5vw, 64px) var(--section); align-items: start; }
.article-layout--service, .article-layout--term { grid-template-columns: minmax(0, 1fr) 340px; }
.article-main { max-width: 760px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.article-aside__sticky { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 24px; }

/* TOC */
.toc__title, .term-chips__title { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.toc ol { display: flex; flex-direction: column; border-left: 1px solid var(--line); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { position: relative; display: block; padding: 7px 0 7px 16px; font-size: 14px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .3s var(--ease); }
.toc a::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--ink); transform: scaleY(0); transition: transform .4s var(--ease); }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc a.is-active::before { transform: scaleY(1); }

/* Quick answer */
.quick-answer { padding: 28px 30px; border-radius: var(--r-md); background: var(--surface); border-left: 3px solid var(--olive); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 40px -34px rgba(27, 43, 47, .5); }
.quick-answer__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.quick-answer__label + .quick-answer__text { margin-top: -2px; }
.quick-answer__text { font-size: 18px; line-height: 1.6; color: var(--ink); }
.quick-answer__list { display: flex; flex-direction: column; gap: 8px; }
.quick-answer__list li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; }
.quick-answer__list .icon { flex-shrink: 0; margin-top: 3px; color: var(--olive); }
.quick-answer__list + .quick-answer__label, .quick-answer__text + .quick-answer__label { margin-top: 10px; }

/* Prose */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.1em; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; color: var(--ink); letter-spacing: -.01em; scroll-margin-top: 120px; text-wrap: balance; }
.prose h3 { margin-top: 1.7em; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--sea); text-decoration-color: rgba(44, 99, 120, .35); transition: text-decoration-color .3s, color .3s; }
.prose a:hover { color: var(--ink); text-decoration-color: currentColor; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; }
.prose ul:not([class]) { list-style: disc; }
.prose ol:not([class]) { list-style: decimal; }
.prose ul:not([class]) li + li, .prose ol:not([class]) li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--olive); font: italic 24px/1.35 var(--serif); color: var(--ink); }
.prose .ca-answer { padding: 18px 22px; border-radius: 14px; background: #EFE8DA; color: var(--ink); font-size: 17px; line-height: 1.65; }

.ca-callout { padding: 22px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ca-callout > * + * { margin-top: .5em; }
.ca-callout__title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.ca-callout--warn { background: #F6ECE2; border-color: rgba(154, 91, 46, .25); }
.ca-callout--warn .ca-callout__title { color: var(--warn); }
.ca-callout--local { background: #E4EDEF; border-color: rgba(44, 99, 120, .22); }
.ca-callout--local .ca-callout__title { color: var(--sea); }
.ca-callout--local .ca-callout__title::before { content: "◉ "; }

.ca-checklist { display: flex; flex-direction: column; gap: 10px; }
.ca-checklist li { position: relative; padding-left: 34px; line-height: 1.6; }
.ca-checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 6px; background: #E3E9DA; }
.ca-checklist li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg); }

.ca-steps { counter-reset: step; display: flex; flex-direction: column; }
.ca-steps li { counter-increment: step; position: relative; padding: 0 0 22px 56px; }
.ca-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 38px; font: italic 26px/1.2 var(--serif); color: var(--olive); }
.ca-steps li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 6px; width: 1px; background: var(--line); }
.ca-steps li:last-child { padding-bottom: 0; }
.ca-steps li:last-child::after { display: none; }
.ca-steps strong { display: block; margin-bottom: 2px; }

.ca-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
.ca-table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ca-table-wrap caption { padding: 16px 18px 4px; text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); caption-side: top; }
.ca-table-wrap th, .ca-table-wrap td { padding: 12px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ca-table-wrap thead th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); background: #FAF6EE; }
.ca-table-wrap tbody tr:last-child td, .ca-table-wrap tbody tr:last-child th { border-bottom: 0; }
.ca-table-wrap tbody th { color: var(--ink); font-weight: 600; }
.ca-table-wrap tbody tr { transition: background-color .25s; }
.ca-table-wrap tbody tr:hover { background: #FBF8F2; }

.ca-facts, .facts-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: 14px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.ca-facts > div, .facts-table > div { padding: 16px 18px; background: var(--surface); }
.ca-facts dt, .facts-table dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.ca-facts dd, .facts-table dd { margin: 4px 0 0; color: var(--ink); line-height: 1.55; }
.facts-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Glossary links with tooltip */
.term-link { color: inherit !important; text-decoration: underline dotted rgba(86, 100, 63, .7) !important; text-underline-offset: 4px; position: relative; }
.term-link:hover { color: var(--olive) !important; }
@media (hover: hover) and (min-width: 900px) {
	.term-link[data-def]:not([data-def=""])::after {
		content: attr(data-def); position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; width: 280px; padding: 12px 14px; border-radius: 12px;
		background: var(--ink); color: var(--on-dark); font: 400 13px/1.5 var(--sans); text-align: left; white-space: normal; pointer-events: none;
		opacity: 0; transform: translate(-50%, 6px); transition: opacity .3s var(--ease), transform .35s var(--ease); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5);
	}
	.term-link:hover::after, .term-link:focus-visible::after { opacity: 1; transform: translate(-50%, 0); transition-delay: .25s; }
}

/* Soft CTA */
.soft-cta { padding: 28px 30px; border-radius: var(--r-md); background: var(--dark); color: var(--on-dark); display: flex; flex-direction: column; gap: 10px; }
.soft-cta__title { font: 400 26px/1.15 var(--serif); }
.soft-cta p:not(.soft-cta__title) { color: var(--on-dark-2); }
.soft-cta .btn-row { margin-top: 8px; }
.soft-cta .btn--primary { --btn-bg: var(--bg); --btn-fg: var(--ink); }
.soft-cta .btn--primary:hover { --btn-bg: #fff; color: var(--ink); }
.soft-cta .btn--ghost { --btn-fg: var(--on-dark); --btn-bd: rgba(245, 239, 228, .45); }
.soft-cta .btn--ghost:hover { --btn-bg: var(--on-dark); --btn-fg: var(--ink); color: var(--ink); }

/* FAQ block */
.faq-block { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 120px; }
.faq-block .faq-item__q { min-height: 68px; font-size: clamp(19px, 1.7vw, 22px); }
.faq-item__more { margin-left: 4px; font-weight: 600; white-space: nowrap; }

/* Article footer blocks */
.article-footer { display: flex; flex-direction: column; gap: 28px; padding-top: 32px; border-top: 1px solid var(--line); }
.term-chips .chips { gap: 6px; }
.chips .chip small { margin-left: 6px; color: var(--muted); font-size: 12px; }
.service-links ul { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.service-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; transition: padding .4s var(--ease), color .3s; }
.service-links a:hover { padding-left: 8px; color: var(--sea); }
.service-links a .icon { transition: transform .35s var(--ease); }
.service-links a:hover .icon { transform: translateX(4px); }
.sources ul { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.sources a { color: var(--sea); overflow-wrap: anywhere; }
.next-steps ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.next-steps a { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 12px; height: 100%; padding: 16px 18px; border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.next-steps a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(27, 43, 47, .5); }
.next-steps small { grid-column: 1 / -1; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); font-weight: 600; }
.next-steps span { font-weight: 600; line-height: 1.35; }

/* Related & cards */
.related { padding-block: var(--section); background: var(--bg-alt); }
.related__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -34px rgba(27, 43, 47, .5); }
.card__media { aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.card__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.card__title { font: 400 24px/1.15 var(--serif); }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Service & place pages */
.page-hero__grid--service { grid-template-columns: 6fr 5fr; align-items: center; }
.page-hero--service .page-hero__grid > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.service-hero__media { border-radius: var(--r-lg); aspect-ratio: 5 / 4; }
.service-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.facts-strip { border-block: 1px solid var(--line); background: var(--surface); }
.facts-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 26px; }
.facts-strip__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 4px; }
.facts-strip p:not(.facts-strip__label) { font-size: 15px; line-height: 1.55; }
.include-card { padding: 26px; border-radius: var(--r-md); background: var(--surface); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 48px -36px rgba(27, 43, 47, .5); }
.include-card__title { font: 400 24px/1.1 var(--serif); }
.include-card .checklist { gap: 9px; }
.include-card__note { font-size: 13px; color: var(--muted); }
.page-hero--place .area__text { gap: 18px; }
.place-facts { display: grid; gap: 8px; margin: 0; }
.place-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.place-facts dt { font-weight: 600; color: var(--ink); }
.place-facts dd { margin: 0; color: var(--ink-2); }
.map__more { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--sea); }
.heading-link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.heading-link:hover { color: inherit; background-size: 100% 1px; }

/* Term page */
.term-variants { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 16px; color: var(--ink); }
.term-variants small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }

/* Glossary hub */
.glossary-cats { margin-bottom: 36px; }
.glossary__tools { position: sticky; top: 76px; z-index: 5; display: grid; grid-template-columns: minmax(240px, 380px) 1fr auto; align-items: center; gap: 16px 24px; padding: 14px 0; margin-bottom: 20px; background: rgba(245, 239, 228, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.glossary__search input { padding-left: 44px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2356605C' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5 17 17'/%3E%3C/svg%3E") no-repeat 16px 50%; }
.az { display: flex; flex-wrap: nowrap; gap: 1px; overflow-x: auto; scrollbar-width: none; }
.az a, .az span { display: inline-grid; place-items: center; min-width: 26px; min-height: 36px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background-color .25s, color .25s; }
.az a:hover { background: var(--ink); color: var(--on-dark); }
.az span { color: rgba(27, 43, 47, .25); }
.glossary__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.glossary__group { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px; padding-block: 28px; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.glossary__letter { font: italic 48px/1 var(--serif); color: var(--olive); }
.glossary__list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; }
.gl-item { padding: 12px 0; scroll-margin-top: 160px; border-bottom: 1px dashed rgba(27, 43, 47, .12); }
.gl-item:target { background: #EFE8DA; border-radius: 10px; padding-inline: 12px; margin-inline: -12px; animation: ca-rise .6s var(--ease-out); }
.gl-item dt { font-weight: 600; color: var(--ink); font-size: 16px; }
.gl-item dt a { color: var(--ink); text-decoration-color: rgba(27, 43, 47, .3); }
.gl-item dt small { margin-left: 8px; font-weight: 400; font-size: 13px; color: var(--muted); }
.gl-item dd { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.gl-item__more, .gl-item__cat { display: inline-block; margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--sea); }
.gl-item__cat { color: var(--muted); font-weight: 500; text-decoration: none; }
.gl-item--dedicated dt::after { content: "Ausführlich"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: #E3E9DA; color: var(--olive); font-size: 11px; font-weight: 600; letter-spacing: .06em; vertical-align: 2px; }
.gl-item.is-hidden, .glossary__group.is-hidden { display: none; }
.glossary__empty { padding: 32px 0; font-size: 17px; }

/* Hubs */
.hub-tools { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.hub-more { margin-top: 32px; }
.hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hub-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-md); background: var(--surface); color: var(--ink); text-decoration: none; }
.hub-card:hover { color: var(--ink); }
.hub-card__title { font: 400 30px/1.05 var(--serif); }
.hub-card__text { font-size: 15px; line-height: 1.55; color: var(--ink-2); flex: 1; }
.hub-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--olive); }
.hub-card .icon-arrow { transition: transform .35s var(--ease); }
.hub-card:hover .icon-arrow { transform: translateX(4px); }
.topic-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: var(--bg); color: var(--ink); text-decoration: none; transition: background-color .35s, transform .4s var(--ease); }
.topic-tile:hover { background: var(--surface); transform: translateY(-3px); color: var(--ink); }
.topic-tile strong { font-weight: 600; }
.topic-tile span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.pillar-card { display: grid; grid-template-columns: 5fr 6fr; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.pillar-card__media { min-height: 320px; }
.pillar-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pillar-card__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(28px, 4vw, 48px); }
.pillar-card__body a:not(.btn) { color: var(--ink); text-decoration: none; }
.topic-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; }
.town-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.town-group { display: flex; flex-direction: column; gap: 16px; }
.town-group__town { padding: 20px 22px; border-radius: 14px; background: var(--bg); }
.town-group__town h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.town-group__town p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.faq-hub { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-hub__nav { position: sticky; top: 108px; }
.faq-hub__nav a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .3s, padding .35s var(--ease); }
.faq-hub__nav a:hover { color: var(--ink); padding-left: 4px; }
.faq-hub__nav small { color: var(--muted); }
.faq-hub__list { display: flex; flex-direction: column; gap: 56px; }
.knowledge { background: var(--bg); }
.entity-facts .facts-table { max-width: 1100px; }

/* Pagination & search */
.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; transition: background-color .3s, color .3s; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(27, 43, 47, .22); background: var(--surface); font: 400 16px var(--sans); color: var(--ink); }
.search-field:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(44, 99, 120, .16); }
.search-submit { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--on-dark); font: 600 14px var(--sans); cursor: pointer; transition: background-color .3s; }
.search-submit:hover { background: var(--sea); }
.search-results { display: flex; flex-direction: column; margin-top: 32px; }
.search-result { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.search-result .card__title a::after { display: none; }

/* Footer with five columns */
.site-footer__grid { grid-template-columns: 3fr 2fr 2fr 2fr; }
.site-footer__title--gap { margin-top: 22px; }

@media (max-width: 1180px) {
	.hub-grid, .topic-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-layout--service, .article-layout--term { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1000px) {
	.article-layout, .article-layout--service, .article-layout--term, .faq-hub, .topic-grid, .pillar-card, .page-hero__grid--service { grid-template-columns: 1fr; }
	.article-aside { order: -1; }
	.article-aside--right { order: 0; }
	.article-aside__sticky, .faq-hub__nav { position: static; }
	.toc { padding: 18px 20px; border-radius: 14px; background: var(--surface); }
	.toc ol { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); border-left: 0; }
	.toc.is-open ol { max-height: 900px; }
	.toc__title { display: flex; justify-content: space-between; align-items: center; margin: 0; cursor: pointer; }
	.toc__title::after { content: "+"; font-size: 18px; transition: transform .35s var(--ease); }
	.toc.is-open .toc__title::after { transform: rotate(45deg); }
	.toc.is-open .toc__title { margin-bottom: 8px; }
	.card-grid, .town-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.glossary__tools { grid-template-columns: 1fr; top: 72px; }
	.glossary__list { grid-template-columns: 1fr; }
	.facts-strip__grid { grid-template-columns: 1fr; gap: 14px; }
	.faq-hub__nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
	.faq-hub__nav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.article-main { max-width: none; }
}
@media (max-width: 700px) {
	.card-grid, .hub-grid, .topic-tiles, .town-groups, .next-steps ol, .ca-facts, .facts-table { grid-template-columns: 1fr; }
	.glossary__group { grid-template-columns: 1fr; gap: 8px; }
	.glossary__letter { font-size: 36px; }
	.az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.az::-webkit-scrollbar { display: none; }
	.quick-answer, .soft-cta { padding: 22px; }
	.place-facts div { grid-template-columns: 1fr; gap: 2px; }
	.breadcrumbs [aria-current] { max-width: 24ch; }
	.article-figure__img { aspect-ratio: 4 / 3; }
	.prose { font-size: 16px; }
	.site-footer__grid { grid-template-columns: 1fr; }
}
