/* Grupo comfortCASA. Mobile first; breakpoints at 48em (768px) and 64em (1024px).
   Colour pairs used for text meet WCAG AA (4.5:1) or better. */

:root {
	--red: #8a1e18;
	--red-tint: #f6e8e6;
	--blue: #00729e;
	--blue-dark: #005478;
	--blue-tint: #e2f0f6;
	--green: #244b43;
	--green-dark: #16302a;
	--green-tint: #e3efea;
	--green-label: #bfe0d1;
	--green-check: #9fd3bc;
	--green-text: #e4efea;
	--ink: #1d2731;
	--body: #3e4a54;
	--muted: #5b6670;
	--sand: #f6f3ee;
	--sand-2: #f4f1ec;
	--line: #e7e2da;
	--line-2: #ece7df;
	--night: #142029;
	--night-line: #2a3741;
	--night-text: #c9d2d8;
	--night-muted: #9fb0bb;
	--white: #fff;
	--notice: #fde49b;
	--notice-line: #e2bb4f;
	--notice-ink: #4a3600;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--gutter: 16px;
	--radius: 20px;
	--radius-s: 12px;
	--shadow: 0 14px 36px rgb(17 32 44 / 0.14);
	--shadow-soft: 0 10px 28px rgb(17 32 44 / 0.08);
	--focus: #00729e;
	--check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
	--play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6 3.5v17l13-8.5z'/%3E%3C/svg%3E");
	--phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
	--mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
	--chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8.5 8.5 0 0 1-12.6 7.4L3 21l1.6-5.1A8.5 8.5 0 1 1 21 12z'/%3E%3C/svg%3E");
	--login: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='m10 17 5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E");
}

@media (min-width: 48em) {
	:root {
		--gutter: 32px;
	}
}

/* Base */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	overflow-x: hidden;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-head);
	line-height: 1.2;
}

p,
ul,
ol,
figure {
	margin: 0;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--blue);
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--blue-dark);
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

[role="list"] {
	list-style: none;
	padding: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: var(--radius-s);
	background: var(--ink);
	color: var(--white);
	font-weight: 700;
}

.skip-link:focus {
	top: 12px;
	color: var(--white);
}

.wrap {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.nowrap {
	white-space: nowrap;
}

.icon {
	flex: none;
	width: 20px;
	height: 20px;
}

[id] {
	scroll-margin-top: 16px;
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.btn--sm {
	min-height: 44px;
	padding: 8px 18px;
	font-size: 0.875rem;
}

.btn--lg {
	min-height: 52px;
	padding: 12px 24px;
}

.btn--light {
	background: var(--white);
	color: var(--ink);
}

.btn--light:hover {
	background: var(--sand);
	color: var(--ink);
}

.btn--light.btn--green-text,
.btn--light.btn--green-text:hover {
	color: var(--green);
}

.btn--outline-light {
	border-color: rgb(255 255 255 / 0.85);
	color: var(--white);
}

.btn--outline-light:hover {
	background: rgb(255 255 255 / 0.12);
	color: var(--white);
}

.btn--blue {
	background: var(--blue);
	color: var(--white);
}

.btn--blue:hover {
	background: var(--blue-dark);
	color: var(--white);
}

.btn--green {
	background: var(--green);
	color: var(--white);
}

.btn--green:hover {
	background: var(--green-dark);
	color: var(--white);
}

.btn--red {
	background: var(--red);
	color: var(--white);
}

.btn--red:hover {
	background: #6a140f;
	color: var(--white);
}

.btn--outline {
	border-color: currentColor;
	color: var(--ink);
}

.btn--outline:hover {
	background: var(--sand);
	color: var(--ink);
}

.btn--dark {
	border-radius: var(--radius-s);
	background: var(--ink);
	color: var(--white);
}

.btn--dark:hover {
	background: #0f171e;
	color: var(--white);
}

.btn[class*="btn--icon-"]::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
}

.btn--icon-play {
	--icon: var(--play);
}

.btn--icon-phone {
	--icon: var(--phone);
}

.btn--icon-mail {
	--icon: var(--mail);
}

.btn--icon-chat {
	--icon: var(--chat);
}

.btn--icon-login {
	--icon: var(--login);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-weight: 700;
	text-decoration: none;
}

.link-arrow::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--arrow) center / contain no-repeat;
	mask: var(--arrow) center / contain no-repeat;
}

/* Header */

.site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.site-header__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	min-height: 64px;
	padding-block: 10px;
	padding-inline-end: 12px;
}

.site-header__brand {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin-inline-end: auto;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.site-header__brand img {
	width: auto;
	height: 26px;
}

.site-header__toggle,
.lang-switch__toggle {
	display: none;
}

.site-nav {
	order: 5;
	width: 100%;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
	margin: 0;
}

.site-nav__list a,
.lang-switch__list a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}

.site-nav__list a:hover,
.lang-switch__list a:hover {
	color: var(--blue);
	text-decoration: underline;
}

.lang-switch__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2px;
	margin: 0;
}

.lang-switch__list a {
	justify-content: center;
	min-width: 44px;
	padding-inline: 6px;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 600;
}

.lang-switch__list a[aria-current="page"] {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.lang-switch__name {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.site-header__cta {
	display: none;
}

/* With JavaScript the language list folds behind a button ("ES"), at every width.
   Without JavaScript it stays visible as a row of links. */
.js .lang-switch {
	position: relative;
}

.js .lang-switch__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 44px;
	height: 44px;
	padding-inline: 10px;
	border: 0;
	border-radius: var(--radius-s);
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.js .lang-switch__toggle:hover {
	background: var(--sand-2);
}

.js .lang-switch__toggle .icon {
	width: 16px;
	height: 16px;
}

.js .lang-switch__panel:not(.is-open) {
	display: none;
}

.js .lang-switch__panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 30;
	min-width: 190px;
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--white);
	box-shadow: var(--shadow-soft);
}

.js .lang-switch__list {
	flex-direction: column;
}

.js .lang-switch__list a {
	justify-content: flex-start;
	gap: 10px;
	padding-inline: 10px;
	border-radius: 8px;
	color: var(--ink);
	font-size: 0.9375rem;
}

.js .lang-switch__list a:hover {
	background: var(--sand-2);
}

.js .lang-switch__code {
	min-width: 2ch;
	color: var(--muted);
}

.js .lang-switch__name {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
}

/* Below 1152px with JavaScript the menu folds behind a button too. */
@media (max-width: 71.99em) {
	.js .site-header__toggle {
		order: 3;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 0;
		border-radius: var(--radius-s);
		background: var(--sand-2);
		color: var(--ink);
		cursor: pointer;
	}

	.js .lang-switch {
		order: 2;
	}

	.js .site-nav:not(.is-open) {
		display: none;
	}

	.js .site-nav.is-open {
		padding-block: 8px 4px;
		border-top: 1px solid var(--line);
		margin-top: 6px;
	}

	.js .site-nav__list {
		flex-direction: column;
	}

	.js .site-nav__list a {
		min-height: 48px;
		font-size: 1.0625rem;
	}
}

@media (min-width: 48em) {
	.site-header__brand img {
		height: 32px;
	}
}

@media (min-width: 72em) {
	.site-header__bar {
		flex-wrap: nowrap;
		gap: 12px 20px;
		padding-block: 14px;
		padding-inline-end: var(--gutter);
	}

	.site-header__brand {
		margin-inline-end: 0;
	}

	.site-header__brand img {
		height: 40px;
	}

	.site-nav {
		order: 0;
		flex: 1 1 auto;
		width: auto;
	}

	.site-nav__list {
		gap: 0 24px;
	}

	.site-header__cta {
		display: inline-flex;
		flex: none;
	}
}

/* Home hero */

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 460px;
	overflow: hidden;
	background: var(--night);
	color: var(--white);
}

.hero picture,
.hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero__img {
	object-fit: cover;
	object-position: 40% 60%;
}

.hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(8 22 32 / 0.25) 0%, rgb(8 22 32 / 0.68) 32%, rgb(8 22 32 / 0.9) 100%);
}

.hero__body {
	position: relative;
	padding-block: 120px 32px;
	text-shadow: 0 1px 3px rgb(0 0 0 / 0.35);
}

.hero__actions .btn {
	text-shadow: none;
}

.hero__kicker {
	margin-bottom: 12px;
	color: #f2eee6;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero__title {
	max-width: 700px;
	color: var(--white);
	font-size: clamp(1.95rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hero__lead {
	max-width: 560px;
	margin-top: 14px;
	color: #f2eee6;
	font-size: 1rem;
	line-height: 1.55;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

@media (min-width: 48em) {
	.hero {
		min-height: 600px;
	}

	.hero__shade {
		background: linear-gradient(90deg, rgb(8 22 32 / 0.85) 0%, rgb(8 22 32 / 0.68) 48%, rgb(8 22 32 / 0.12) 100%);
	}

	.hero__body {
		padding-block: 96px 176px;
	}

	.hero__kicker {
		margin-bottom: 16px;
		font-size: 0.875rem;
	}

	.hero__lead {
		margin-top: 20px;
		font-size: 1.1875rem;
	}

	.hero__actions {
		margin-top: 32px;
	}

	.hero__actions .btn {
		min-height: 52px;
		padding-inline: 24px;
	}
}

/* Pillar cards */

.pillars__list {
	display: grid;
	gap: 12px;
	margin-block: 0;
	padding-block: 20px 8px;
}

.pillar {
	--tone: var(--red);
	--tone-tint: var(--red-tint);
	position: relative;
	display: grid;
	grid-template-columns: 48px 1fr 20px;
	column-gap: 14px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--line-2);
	border-radius: 18px;
	background: var(--white);
}

.pillar--blue {
	--tone: var(--blue);
	--tone-tint: var(--blue-tint);
}

.pillar--green {
	--tone: var(--green);
	--tone-tint: var(--green-tint);
}

.pillar:focus-within {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

.pillar:hover {
	border-color: var(--tone);
}

.pillar__brand {
	display: contents;
}

.pillar__icon {
	grid-row: 1 / span 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--tone-tint);
	color: var(--tone);
}

.pillar__icon .icon {
	width: 24px;
	height: 24px;
}

.pillar__names {
	grid-column: 2;
	color: var(--tone);
	font-size: 0.8125rem;
	font-weight: 700;
}

.pillar__names span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.pillar__title {
	grid-column: 2;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.pillar__link {
	color: var(--ink);
	text-decoration: none;
}

.pillar__link:hover {
	color: var(--ink);
}

.pillar__link:focus-visible {
	outline: none;
}

.pillar__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.pillar__text {
	grid-column: 2;
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.pillar__cta {
	grid-column: 3;
	grid-row: 1 / span 3;
	width: 20px;
	height: 20px;
	overflow: hidden;
	color: transparent;
	font-size: 0;
	background: var(--muted);
	-webkit-mask: var(--chevron) center / contain no-repeat;
	mask: var(--chevron) center / contain no-repeat;
}

@media (min-width: 64em) {
	.pillars {
		position: relative;
		z-index: 2;
		margin-top: -112px;
	}

	.pillars__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
		padding-block: 0;
	}

	.pillar {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 28px;
		border: 0;
		border-radius: var(--radius);
		box-shadow: var(--shadow);
	}

	.pillar__brand {
		display: flex;
		align-items: center;
		gap: 12px;
	}

	.pillar__icon {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}

	.pillar__icon .icon {
		width: 22px;
		height: 22px;
	}

	.pillar__names {
		display: flex;
		flex-direction: column;
		font-size: 0.875rem;
	}

	.pillar__names span {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		color: var(--muted);
		font-size: 0.8125rem;
		font-weight: 400;
	}

	.pillar__title {
		margin-top: 4px;
		font-family: var(--font-head);
		font-size: 1.375rem;
		line-height: 1.25;
	}

	.pillar__text {
		margin-top: 0;
		font-size: 0.9375rem;
		line-height: 1.55;
	}

	.pillar__cta {
		display: inline-flex;
		align-self: flex-start;
		align-items: center;
		gap: 6px;
		width: auto;
		height: auto;
		min-height: 44px;
		margin-top: auto;
		overflow: visible;
		background: none;
		color: var(--tone);
		font-size: 1rem;
		font-weight: 700;
		-webkit-mask: none;
		mask: none;
	}

	.pillar__cta::after {
		content: "";
		width: 18px;
		height: 18px;
		background: currentColor;
		-webkit-mask: var(--arrow) center / contain no-repeat;
		mask: var(--arrow) center / contain no-repeat;
	}
}

/* Shared section pieces (page content) */

.eyebrow {
	margin-bottom: 8px;
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 700;
}

.eyebrow--red {
	color: var(--red);
}

.eyebrow--blue {
	color: var(--blue);
}

.eyebrow--green {
	color: var(--green);
}

.section-title {
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.lead {
	color: var(--muted);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.checks li::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	background: var(--check-color, var(--blue));
	-webkit-mask: var(--check) center / contain no-repeat;
	mask: var(--check) center / contain no-repeat;
}

.checks--green {
	--check-color: var(--green);
}

.checks--inline {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px 24px;
	font-size: 0.875rem;
	font-weight: 600;
}

/* Holidays band */

.band {
	padding-block: 48px;
}

.band--sand {
	background: var(--sand);
}

.band__grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

.band__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.band__text > .eyebrow {
	margin-bottom: -8px;
}

.photo-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.photo-pair img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 18px;
}

@media (min-width: 64em) {
	.band {
		padding-block: 88px;
	}

	.band__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: 48px;
	}

	.photo-pair {
		gap: 20px;
	}
}

.page-home .band--sand {
	margin-top: 40px;
}

@media (min-width: 64em) {
	.page-home .band--sand {
		margin-top: 96px;
	}
}

/* Care band and Care page green blocks */

.care-band {
	background: var(--green);
	color: var(--white);
}

.care-band__grid {
	display: grid;
	gap: 40px;
	align-items: center;
	padding-block: 48px;
}

.care-band__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.care-band .eyebrow {
	margin-bottom: -6px;
	color: var(--green-label);
}

.care-band .section-title {
	color: var(--white);
}

.care-band .checks {
	--check-color: var(--green-check);
	gap: 14px;
	color: var(--green-text);
	font-size: 1.0625rem;
	line-height: 1.5;
}

.price-line {
	color: #cfe3da;
	font-size: 0.9375rem;
}

.price-line strong {
	color: var(--white);
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 800;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (min-width: 64em) {
	.care-band__grid {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 56px;
		padding-block: 96px;
	}
}

/* Owner app illustration (decorative markup with a text alternative) */

.phone-demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-inline: auto;
}

.phone-demo__device {
	width: min(300px, 100%);
	padding: 10px;
	border-radius: 42px;
	background: #0f1b18;
	box-shadow: 0 30px 60px rgb(0 0 0 / 0.35);
}

.phone-demo__screen {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 32px;
	background: var(--sand-2);
	color: var(--ink);
}

.phone-demo__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 24px 18px 16px;
	background: var(--green);
	color: var(--white);
}

.phone-demo__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1.5px solid rgb(255 255 255 / 0.5);
	border-radius: 10px;
}

.phone-demo__logo::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V20h14V9.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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V20h14V9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.phone-demo__agency {
	display: flex;
	flex-direction: column;
	font-family: var(--font-head);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
}

.phone-demo__agency small {
	color: var(--green-label);
	font-family: var(--font-body);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.phone-demo__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
}

.phone-demo__hello {
	font-family: var(--font-head);
	font-size: 1.25rem;
	font-weight: 700;
}

.phone-demo__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	border-radius: 16px;
	background: var(--white);
}

.phone-demo__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: var(--muted);
	font-size: 0.75rem;
}

.phone-demo__label {
	color: var(--green);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.phone-demo__photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.phone-demo__photos img {
	width: 100%;
	height: 66px;
	object-fit: cover;
	border-radius: 8px;
}

.phone-demo__summary {
	color: var(--muted);
	font-size: 0.75rem;
	line-height: 1.45;
}

.phone-demo__heading {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.phone-demo__services {
	padding: 2px 12px;
	border-radius: 16px;
	background: var(--white);
}

.phone-demo__service {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #eee9e1;
	font-size: 0.8125rem;
}

.phone-demo__service:last-child {
	border-bottom: 0;
}

.phone-demo__service b {
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--green);
	color: var(--white);
	font-size: 0.75rem;
}

.phone-demo__service span {
	flex: 1;
	min-width: 0;
	font-weight: 600;
}

.phone-demo__service small {
	display: block;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 400;
}

.phone-demo figcaption {
	color: #cfe3da;
	font-size: 0.875rem;
	text-align: center;
}

/* About */

.about {
	display: grid;
	gap: 16px 48px;
	align-items: center;
	padding-block: 48px;
}

.about p:not(.eyebrow) {
	color: var(--body);
	font-size: 1.0625rem;
	line-height: 1.65;
}

@media (min-width: 64em) {
	.about {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		padding-block: 88px;
	}
}

/* Care page */

.page-care {
	background: var(--sand-2);
}

/* "Under construction" notices of the Care site while it is a preview (care/, care_site.preview):
   a bar above the header of every page, and a line below the prices. */
.site-notice {
	border-bottom: 1px solid var(--notice-line);
	background: var(--notice);
	color: var(--notice-ink);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

.site-notice .wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding-block: 8px;
	text-align: center;
}

.site-notice .icon {
	flex: none;
	width: 18px;
	height: 18px;
}

.pending-note {
	margin-top: 12px;
	padding: 10px 14px;
	border: 1px solid var(--notice-line);
	border-radius: var(--radius-s);
	background: var(--notice);
	color: var(--notice-ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.brand-strip {
	background: var(--green);
	color: var(--white);
	font-size: 0.8125rem;
	font-weight: 700;
}

.brand-strip .wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
}

.brand-strip .icon {
	width: 16px;
	height: 16px;
}

.care-hero {
	background: var(--white);
}

.care-hero__grid {
	display: grid;
	padding-inline: 0;
}

.care-hero__img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.care-hero__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px 20px 28px;
}

.care-hero__title {
	font-size: clamp(1.75rem, 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.care-hero__lead {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.55;
}

.care-hero__actions {
	margin-top: 6px;
}

.care-hero__actions .btn {
	width: 100%;
}

@media (min-width: 48em) {
	.care-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: 40px;
		padding-block: 48px;
		padding-inline: var(--gutter);
	}

	.care-hero__media {
		order: 2;
	}

	.care-hero__img {
		height: auto;
		aspect-ratio: 4 / 3;
		border-radius: var(--radius);
	}

	.care-hero__text {
		padding: 0;
		gap: 16px;
	}

	.care-hero__lead {
		font-size: 1.1875rem;
	}

	.care-hero__actions .btn {
		width: auto;
	}
}

@media (min-width: 64em) {
	.care-hero__grid {
		padding-block: 72px;
		gap: 64px;
	}
}

.care-section {
	padding-block: 28px 8px;
}

.care-section > .wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.care-section h2 {
	font-size: 1.375rem;
	font-weight: 800;
}

.care-section .lead {
	font-size: 0.9375rem;
}

@media (min-width: 64em) {
	.care-section {
		padding-block: 56px 0;
	}

	.care-section > .wrap {
		gap: 20px;
	}

	.care-section h2 {
		font-size: 2rem;
	}

	.care-section .lead {
		font-size: 1.0625rem;
	}
}

.steps {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.steps li {
	display: flex;
	gap: 14px;
	padding: 16px;
	border-radius: 16px;
	background: var(--white);
	counter-increment: step;
}

.steps li::before {
	content: counter(step);
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--green-tint);
	color: var(--green);
	font-weight: 800;
}

.steps h3 {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
}

.steps p {
	margin-top: 3px;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

@media (min-width: 64em) {
	.steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}

	.steps li {
		flex-direction: column;
		padding: 24px;
		border-radius: var(--radius);
	}

	.steps h3 {
		font-size: 1.125rem;
	}

	.steps p {
		font-size: 0.9375rem;
	}
}

.care-duo {
	display: grid;
	gap: 0;
}

@media (min-width: 64em) {
	.care-duo {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0 24px;
		align-items: stretch;
		max-width: 1240px;
		margin-inline: auto;
		padding-inline: var(--gutter);
	}

	.care-duo > .care-section > .wrap {
		height: 100%;
		padding-inline: 0;
	}

	/* Side-by-side cards share the row height. */
	.care-duo .plan-card,
	.care-duo .app-block {
		flex: 1;
	}

	.care-duo .plan-card {
		justify-content: center;
	}
}

.report-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border-radius: 18px;
	background: var(--white);
}

.report-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.report-card__title {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 700;
}

.report-card__tag {
	display: inline-block;
	margin-bottom: 2px;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.report-card__photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.report-card__photos img {
	width: 100%;
	height: 84px;
	object-fit: cover;
	border-radius: 10px;
}

.report-card__photos figcaption {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.75rem;
}

.report-card__text {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

@media (min-width: 64em) {
	.report-card {
		padding: 24px;
		border-radius: var(--radius);
	}

	.report-card__photos img {
		height: 120px;
	}
}

.services {
	margin: 0;
	padding: 4px 16px;
	border-radius: 18px;
	background: var(--white);
	list-style: none;
}

.services li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding-block: 12px;
	border-bottom: 1px solid #eee9e1;
}

.services li:last-child {
	border-bottom: 0;
}

.services__name {
	font-size: 0.9375rem;
	font-weight: 600;
}

.services__price {
	flex: none;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--green-tint);
	color: var(--green);
	font-size: 0.9375rem;
	font-weight: 700;
	white-space: nowrap;
}

.services-note {
	color: var(--muted);
	font-size: 0.8125rem;
}

@media (min-width: 64em) {
	.services {
		padding: 4px 24px;
		border-radius: var(--radius);
	}
}

.plan-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 20px;
	border-radius: var(--radius);
	background: var(--green);
	color: var(--white);
}

.plan-card .eyebrow {
	margin: 0;
	color: var(--green-label);
	font-size: 0.8125rem;
}

.plan-card__price {
	font-size: 0.9375rem;
}

.plan-card__price strong {
	font-family: var(--font-head);
	font-size: 1.875rem;
	font-weight: 800;
}

.plan-card .checks {
	--check-color: var(--green-check);
	gap: 8px;
	margin-top: 4px;
	color: var(--green-text);
	font-size: 0.875rem;
	line-height: 1.45;
}

.plan-card .btn {
	margin-top: 8px;
}

@media (min-width: 64em) {
	.plan-card {
		padding: 32px;
		gap: 14px;
	}

	.plan-card .checks {
		font-size: 1rem;
	}

	.plan-card .btn {
		align-self: flex-start;
	}
}

.app-block {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.app-block h2 {
	font-size: 1.0625rem;
}

.app-block p {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

.stores {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.store-soon {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 16px;
	border: 1px dashed #8f877a;
	border-radius: var(--radius-s);
	color: var(--muted);
	font-size: 0.875rem;
	font-weight: 600;
}

@media (min-width: 64em) {
	.app-block {
		gap: 14px;
		padding: 32px;
		border-radius: var(--radius);
		background: var(--white);
	}

	.app-block h2 {
		font-size: 1.5rem;
	}

	.app-block p {
		font-size: 1rem;
	}
}

.access-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
}

.access-card h2 {
	font-size: 1.125rem;
}

.access-card p {
	color: var(--muted);
	font-size: 0.9375rem;
}

.access-card .btn {
	align-self: flex-start;
}

@media (min-width: 64em) {
	.access-card {
		flex-direction: row;
		align-items: center;
		gap: 24px;
		padding: 28px 32px;
		border-radius: var(--radius);
	}

	.access-card > div {
		flex: 1;
	}

	.access-card h2 {
		font-size: 1.375rem;
	}

	.access-card .btn {
		align-self: center;
	}
}

.contact-cta {
	margin-top: 28px;
	padding-block: 40px;
	background: var(--white);
}

.contact-cta .wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.contact-cta h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 800;
}

.contact-cta p {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.55;
}

.contact-cta .actions {
	margin-top: 6px;
}

.contact-cta .actions .btn {
	flex: 1 1 260px;
}

.contact-cta__note {
	font-size: 0.875rem;
}

@media (min-width: 64em) {
	.contact-cta {
		margin-top: 72px;
		padding-block: 72px;
	}

	.contact-cta .wrap {
		max-width: 860px;
		align-items: center;
		text-align: center;
	}

	.contact-cta .actions {
		justify-content: center;
	}

	.contact-cta .actions .btn {
		flex: 0 1 auto;
	}
}

/* Footer */

.site-footer {
	background: var(--night);
	color: var(--night-text);
	font-size: 0.875rem;
}

.site-footer a {
	color: var(--night-text);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--white);
	text-decoration: underline;
}

.site-footer :focus-visible {
	outline-color: var(--white);
}

.site-footer__grid {
	display: grid;
	gap: 32px;
	padding-block: 40px 24px;
}

.site-footer__logo {
	display: inline-block;
	padding: 10px 14px;
	border-radius: var(--radius-s);
	background: var(--white);
}

.site-footer__logo img {
	width: auto;
	height: 30px;
}

.site-footer__title {
	margin-top: 18px;
	color: var(--white);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 700;
}

.site-footer__address {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
	font-style: normal;
	line-height: 1.6;
}

.site-footer__channels {
	margin: 0;
}

.site-footer__channels a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
}

.site-footer__channels .icon {
	width: 18px;
	height: 18px;
	color: var(--night-muted);
}

.site-footer__brand {
	margin-bottom: 6px;
	color: var(--white);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 700;
}

.site-footer__col ul {
	margin: 0;
}

.site-footer__col a {
	display: flex;
	align-items: center;
	min-height: 44px;
}

.site-footer__legal {
	padding-block: 20px 28px;
	border-top: 1px solid var(--night-line);
	color: var(--night-muted);
	font-size: 0.8125rem;
	line-height: 1.6;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.site-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

@media (min-width: 48em) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	.site-footer__grid {
		grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
		gap: 40px;
		padding-block: 64px 32px;
	}

	.site-footer__legal {
		padding-block: 20px 32px;
	}
}

/* Generic pages (prose) */

.prose {
	max-width: 760px;
	padding-block: 40px 64px;
}

.prose h1 {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	margin-bottom: 16px;
}

.prose h2 {
	margin: 32px 0 12px;
	font-size: 1.5rem;
}

.prose h3 {
	margin: 24px 0 8px;
	font-size: 1.25rem;
}

.prose p,
.prose ul,
.prose ol {
	margin-bottom: 16px;
	color: var(--body);
	line-height: 1.65;
}

.prose img {
	border-radius: var(--radius-s);
}

.kg-width-wide {
	width: min(1080px, 100vw - 2 * var(--gutter));
	margin-inline: calc(50% - min(1080px, 100vw - 2 * var(--gutter)) / 2);
}

.kg-width-full {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
}

/* Listing and property (phase 2 stubs) */

.listing__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-block: 40px 24px;
}

.listing__head h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
}

.listing__body {
	padding-bottom: 64px;
}

.listing__empty {
	padding: 24px;
	border-radius: var(--radius);
	background: var(--sand);
	color: var(--body);
}

.listing__pages {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 32px;
}

.property-grid {
	display: grid;
	gap: 24px;
	margin: 0;
}

@media (min-width: 48em) {
	.property-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	.property-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.property-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line-2);
	border-radius: 18px;
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
}

.property-card__link:hover {
	border-color: var(--red);
	color: var(--ink);
}

.property-card__media {
	position: relative;
	display: block;
}

.property-card__img {
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.95);
	color: var(--ink);
	font-size: 0.75rem;
	font-weight: 700;
}

.property-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 22px;
}

.property-card__price {
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 800;
}

.property-card__title {
	font-size: 1.0625rem;
	font-weight: 600;
}

.property-card__facts {
	color: var(--muted);
	font-size: 0.875rem;
}

.property {
	padding-block: 32px 64px;
}

.property__section a {
	font-weight: 700;
}

.property__title {
	margin-top: 8px;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
}

.property__facts {
	margin-block: 12px 24px;
	color: var(--muted);
	font-size: 1.0625rem;
}

.property__media img {
	width: 100%;
	border-radius: var(--radius);
}

/* 404 */

.not-found {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-block: 64px 96px;
}

.not-found h1 {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
}

.not-found__also {
	color: var(--muted);
}

.not-found__homes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 8px 0 0;
}

/* Ghost editor cards (galleries and bookmarks) in case they are used in a page */

.kg-gallery-container {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.kg-gallery-row {
	display: flex;
	gap: 8px;
}

.kg-gallery-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.kg-bookmark-card {
	margin-block: 24px;
}

.kg-bookmark-container {
	display: flex;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-s);
	color: var(--ink);
	text-decoration: none;
}

.kg-bookmark-content {
	flex: 1;
	min-width: 0;
	padding: 16px;
}

.kg-bookmark-title {
	font-weight: 700;
}

.kg-bookmark-description {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.875rem;
}

.kg-bookmark-metadata {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.8125rem;
}

.kg-bookmark-icon {
	width: 20px;
	height: 20px;
}

.kg-bookmark-author,
.kg-bookmark-publisher {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kg-bookmark-thumbnail {
	position: relative;
	flex: 0 0 33%;
	min-height: 120px;
}

.kg-bookmark-thumbnail img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
