/**
 * Landing page blocks — Primatoscana
 * Styles for the editable Gutenberg content on the front page.
 * PKND Tech Studio — developer: Giri
 */

.landing-content {
	color: #2d2d2d;
}

/* Use the same 1320px container as the header, intro and villa carousel. */

/* ---- Sections ---------------------------------------------------- */

.landing-content .landing-section {
	margin: 0 0 4.5rem;
}

.landing-content .landing-section:last-child {
	margin-bottom: 0;
}

.landing-content h2 {
	position: relative;
	margin: 0 0 1.25rem;
	padding: 0;
	color: #32595e;
	font-family: interstate-condensed, "Arial Narrow", sans-serif;
	font-size: clamp(1.75rem, 2.6vw, 2.15rem);
	font-weight: 500;
	line-height: 1.2;
	scroll-margin-top: 7rem;
}

/* Small sage rule above the heading, as in the rest of the site. */
.landing-content h2::before {
	display: block;
	width: 44px;
	height: 3px;
	margin: 0 0 1.1rem;
	background: #718c6b;
	border-radius: 2px;
	content: "";
}

.landing-content h3 {
	color: #32595e;
	font-family: interstate-condensed, "Arial Narrow", sans-serif;
	font-weight: 500;
	line-height: 1.15;
}

.landing-content p {
	max-width: 70ch;
	margin: 0 0 1rem;
}

.landing-content .landing-section > p:last-child {
	margin-bottom: 0;
}

.landing-content .landing-note {
	color: #667576;
	font-size: 0.82rem;
	line-height: 1.55;
}

.landing-content a {
	color: #32595e;
}

.landing-content p a:not(.wp-block-button__link) {
	text-decoration: underline;
	text-decoration-color: #b9c7c4;
	text-underline-offset: 3px;
}

.landing-content p a:not(.wp-block-button__link):hover {
	color: #5a7454;
	text-decoration-color: #5a7454;
}

/* ---- Buttons ----------------------------------------------------- */

.landing-hero-actions,
.landing-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.landing-hero-actions {
	margin-top: 1.75rem;
}

.landing-content .wp-block-button,
.landing-hero-actions .wp-block-button {
	margin: 0;
}

.landing-content .wp-block-button__link,
.landing-hero-actions .wp-block-button__link {
	padding: 0.74rem 1rem;
	background: #32595e;
	border: 2px solid #32595e;
	border-radius: 800px;
	color: #fff;
	font-family: interstate, sans-serif;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.landing-content .wp-block-button__link:hover,
.landing-hero-actions .wp-block-button__link:hover {
	background: #244b50;
	border-color: #244b50;
	color: #fff;
}

.landing-content .is-style-outline .wp-block-button__link,
.landing-hero-actions .is-style-outline .wp-block-button__link {
	background: #fff;
	border-color: #32595e;
	color: #32595e;
}

.landing-content .is-style-outline .wp-block-button__link:hover,
.landing-hero-actions .is-style-outline .wp-block-button__link:hover {
	background: #32595e;
	border-color: #32595e;
	color: #fff;
}

.landing-content .wp-block-button__link:focus-visible,
.landing-hero-actions .wp-block-button__link:focus-visible {
	outline: 2px solid #718c6b;
	outline-offset: 2px;
}

/* ---- Trust strip ------------------------------------------------- */

.landing-content .landing-trust {
	margin: 0 0 3.5rem;
	padding: 1rem 1.5rem;
	background: #fff;
	border: 1px solid #e3e0d6;
	border-radius: 6px;
}

.landing-content .landing-trust p {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 2rem;
	max-width: none;
	margin: 0;
	color: #32595e;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.5;
	text-transform: uppercase;
}

.landing-content .landing-trust span {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.landing-content .landing-trust span::before {
	color: #718c6b;
	font-size: 0.95rem;
	content: "\2713";
}

/* ---- Two-column layouts ------------------------------------------ */

.landing-content .landing-why,
.landing-content .landing-price,
.landing-content .landing-contact-grid {
	align-items: flex-start;
	gap: 3.5rem;
	margin-bottom: 0;
}

.landing-content .landing-why {
	align-items: center;
}

.landing-content .landing-price {
	gap: 3rem;
}

.landing-content .landing-contact-grid {
	align-items: center;
	gap: 2.75rem;
}

.landing-content .landing-why .wp-block-column,
.landing-content .landing-price .wp-block-column,
.landing-content .landing-contact-grid .wp-block-column {
	margin: 0;
}

.landing-content .landing-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem;
	margin: 1.4rem 0 0;
	font-size: 0.85rem;
	font-weight: 600;
}

.landing-content .landing-links a {
	text-decoration: none;
}

.landing-content .landing-links a:hover {
	color: #5a7454;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---- Stats card -------------------------------------------------- */

.landing-content .landing-stats {
	padding: 2.25rem 2rem;
	background: #fff;
	border: 1px solid #e3e0d6;
	border-top: 4px solid #718c6b;
	border-radius: 6px;
}

.landing-content .landing-stats p {
	margin: 0;
}

.landing-content .landing-rating {
	color: #32595e;
	font-family: interstate-condensed, "Arial Narrow", sans-serif;
	font-size: 3.6rem;
	line-height: 1;
}

.landing-content .landing-rating span {
	color: #667576;
	font-family: interstate, sans-serif;
	font-size: 1.05rem;
}

.landing-content .landing-stars {
	margin: 0.4rem 0 0.2rem;
	color: #c9962f;
	font-family: "DejaVu Sans", "Segoe UI Symbol", "Apple Symbols", sans-serif;
	font-size: 1.05rem;
	letter-spacing: 3px;
}

.landing-content .landing-muted {
	margin: 0 0 1.5rem;
	color: #667576;
	font-size: 0.85rem;
}

.landing-content .landing-stat-row {
	gap: 0;
	margin: 0;
	padding-top: 0.9rem;
	border-top: 1px solid #e3e0d6;
}

.landing-content .landing-stat-row .wp-block-column {
	padding: 0.35rem 0.4rem 0 0;
}

.landing-content .landing-stat-row .wp-block-column + .wp-block-column {
	padding-left: 0.9rem;
	border-left: 1px solid #e3e0d6;
}

.landing-content .landing-stat-row p {
	margin: 0;
}

.landing-content .landing-stat-row strong {
	display: block;
	color: #32595e;
	font-family: interstate-condensed, "Arial Narrow", sans-serif;
	font-size: 1.7rem;
	font-weight: 500;
	line-height: 1;
}

.landing-content .landing-stat-row span {
	display: block;
	margin-top: 0.35rem;
	color: #667576;
	font-size: 0.72rem;
	line-height: 1.3;
}

/* ---- Price table card -------------------------------------------- */

.landing-content .landing-table-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid #e3e0d6;
	border-radius: 6px;
}

.landing-content figure.wp-block-table {
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.landing-content .wp-block-table table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.landing-content .wp-block-table th {
	padding: 0.875rem 1.25rem;
	background: #32595e;
	border: 0;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-align: left;
	text-transform: uppercase;
}

.landing-content .wp-block-table td {
	padding: 1rem 1.25rem;
	background: #fff;
	border: 0;
	border-bottom: 1px solid #e3e0d6;
	color: #2d2d2d;
	vertical-align: middle;
}

.landing-content .wp-block-table tr:last-child td {
	border-bottom: 0;
}

.landing-content .wp-block-table tbody tr:nth-child(even) td {
	background: #fbfaf7;
}

.landing-content .wp-block-table tbody tr:nth-child(odd) td {
	background: #fff;
}

.landing-content .wp-block-table th:last-child,
.landing-content .wp-block-table td:last-child {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.landing-content .wp-block-table a {
	color: #32595e;
	text-decoration: none;
	border-bottom: 1px solid #b9c7c4;
}

.landing-content .wp-block-table a:hover {
	color: #5a7454;
	border-bottom-color: #5a7454;
}

/* ---- Region cards ------------------------------------------------ */

.landing-content .landing-region-row,
.landing-content .landing-region-grid {
	gap: 1.5rem;
	margin-bottom: 1rem;
}

.landing-content .landing-region-grid .wp-block-column {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.landing-content .landing-region-row .wp-block-column {
	display: flex;
	flex-direction: column;
}

.landing-content .landing-region-row .wp-block-column > .landing-region {
	flex: 1;
}

.landing-content .landing-region {
	display: flex;
	flex-direction: column;
	min-height: 10rem;
	margin: 0;
	padding: 1.625rem;
	background: #fff;
	border: 1px solid #e3e0d6;
	border-radius: 6px;
	transition: border-color 0.2s, transform 0.2s;
}

.landing-content .landing-region:hover {
	border-color: #718c6b;
	transform: translateY(-2px);
}

.landing-content .landing-region h3 {
	margin: 0 0 0.35rem;
	font-size: 1.5rem;
}

.landing-content .landing-region h3 a {
	color: inherit;
	text-decoration: none;
}

.landing-content .landing-region-note {
	margin: 0 0 0.9rem;
	color: #667576;
	font-size: 0.8rem;
	line-height: 1.45;
}

.landing-content .landing-region-count {
	margin: auto 0 0;
	color: #5a7454;
	font-family: interstate-condensed, "Arial Narrow", sans-serif;
	font-size: 2.1rem;
	line-height: 1;
}

.landing-content .landing-region-count span {
	display: block;
	margin-top: 0.25rem;
	color: #667576;
	font-family: interstate, sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.landing-content .landing-region.is-featured {
	background: #32595e;
	border-color: #32595e;
	color: #fff;
}

.landing-content .landing-region.is-featured h3 {
	color: #fff;
	font-size: 1.9rem;
}

.landing-content .landing-region.is-featured .landing-region-note {
	color: rgba(255, 255, 255, 0.78);
}

.landing-content .landing-region.is-featured .landing-region-count {
	color: #fff;
	font-size: 2.75rem;
}

.landing-content .landing-region.is-featured .landing-region-count span {
	color: rgba(255, 255, 255, 0.7);
}

/* ---- FAQ card ---------------------------------------------------- */

.landing-content .landing-faq-card {
	padding: 0 1.875rem;
	background: #fff;
	border: 1px solid #e3e0d6;
	border-radius: 6px;
}

.landing-content .schema-faq-section {
	border-bottom: 1px solid #e3e0d6;
}

.landing-content .schema-faq-section:last-child {
	border-bottom: 0;
}

.landing-content .schema-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.1rem;
	padding: 1.375rem 0;
	color: #32595e;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
}

.landing-content .schema-faq-question::after {
	display: flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: #f7f6f4;
	border-radius: 50%;
	color: #32595e;
	font-size: 1.2rem;
	font-weight: 400;
	content: "+";
}

.landing-content .schema-faq-question:hover {
	color: #5a7454;
}

.landing-content .schema-faq-question:hover::after {
	background: #e7e4db;
}

.landing-content .schema-faq-section.is-open .schema-faq-question::after {
	background: #5a7454;
	color: #fff;
	content: "\2212";
}

.landing-content .schema-faq-answer {
	max-width: 75ch;
	margin: 0 0 1.5rem;
	padding-right: 3rem;
	color: #3c494a;
	font-size: 1rem;
	line-height: 1.65;
}

/* The accordion only collapses once landing.js has wired it up. */
.landing-content .landing-faq-ready .schema-faq-section.is-collapsed .schema-faq-answer {
	display: none;
}

.landing-content .schema-faq-answer a {
	text-decoration: underline;
	text-decoration-color: #b9c7c4;
	text-underline-offset: 3px;
}

/* ---- Contact card ------------------------------------------------ */

.landing-content .landing-section.landing-contact {
	padding: 3rem 3.25rem;
	background: #fff;
	border: 1px solid #e3e0d6;
	border-top: 4px solid #718c6b;
	border-radius: 6px;
}

.landing-content .landing-contact h2 {
	margin-bottom: 0.75rem;
}

.landing-content .landing-contact h2::before {
	margin-bottom: 0.9rem;
}

.landing-content .landing-contact-details {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.8;
}

.landing-content .landing-contact-details strong {
	color: #32595e;
}

.landing-content .landing-contact-actions {
	flex-direction: column;
	align-items: stretch;
	gap: 0.6rem;
}

.landing-content .landing-contact-actions .wp-block-button {
	width: 100%;
}

.landing-content .landing-contact-actions .wp-block-button__link {
	display: block;
	text-align: center;
}

.landing-content .landing-contact-note {
	margin: 0.35rem 0 0;
	color: #667576;
	font-size: 0.78rem;
	text-align: center;
}

/* ---- Tablet ------------------------------------------------------ */

@media (max-width: 1024px) {
	.landing-content .landing-why,
	.landing-content .landing-price,
	.landing-content .landing-contact-grid {
		gap: 2rem;
	}
}

/* ---- Mobile ------------------------------------------------------ */

@media (max-width: 767.98px) {
	.landing-content .landing-section {
		margin-bottom: 3rem;
	}

	.landing-content h2 {
		font-size: 1.7rem;
	}

	.landing-content .landing-why,
	.landing-content .landing-price,
	.landing-content .landing-contact-grid {
		gap: 1.75rem;
	}

	.landing-content .landing-stats {
		padding: 1.6rem 1.4rem;
	}

	.landing-content .landing-region-row,
	.landing-content .landing-region-grid {
		gap: 0.85rem;
	}

	.landing-content .landing-region-grid .wp-block-column {
		gap: 0.85rem;
	}

	.landing-content figure.wp-block-table th,
	.landing-content figure.wp-block-table td {
		padding: 0.7rem 0.8rem;
	}

	.landing-content figure.wp-block-table {
		font-size: 0.85rem;
	}

	.landing-content .landing-faq-card {
		padding: 0 1.15rem;
	}

	.landing-content .schema-faq-question {
		padding: 1.05rem 0;
		font-size: 0.95rem;
	}

	.landing-content .schema-faq-answer {
		padding-right: 0;
	}

	.landing-content .landing-section.landing-contact {
		padding: 1.6rem 1.35rem;
	}

	.landing-content .landing-contact-actions {
		flex-direction: column;
	}
}
