/*
Theme Name: Noranta Realty
Theme URI: https://norantarealty.com/
Author: Codex
Author URI: https://openai.com/
Description: Tema hijo para Twenty Twenty-Five con la web editorial de Noranta Realty.
Template: twentytwentyfive
Version: 1.0.0
Text Domain: noranta-realty
*/

:root {
	--noranta-bg: #eef1ec;
	--noranta-surface: #ffffff;
	--noranta-ink: #1d231f;
	--noranta-muted: #56615b;
	--noranta-accent: rgb(13, 27, 43);
	--noranta-accent-strong: #114836;
	--noranta-warm: #c6823c;
	--noranta-border: rgba(29, 35, 31, 0.12);
	--noranta-shadow: 0 24px 60px rgba(17, 32, 25, 0.08);
	--noranta-radius: 8px;
	--noranta-shell: min(1200px, calc(100% - 32px));
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: var(--noranta-bg);
	color: var(--noranta-ink);
	font-family: Inter, system-ui, sans-serif;
}

a {
	color: inherit;
	text-decoration: none;
}

.wp-site-blocks {
	padding-top: 0;
}

.wp-site-blocks > .wp-block-template-part:first-child {
	left: 0;
	position: sticky;
	right: 0;
	top: 0;
	z-index: 200;
}

.noranta-shell {
	margin: 0 auto;
	width: var(--noranta-shell);
}

.noranta-site-header {
	background: rgba(238, 241, 236, 0.94);
	border-bottom: 1px solid rgba(29, 35, 31, 0.08);
	position: relative;
	z-index: 200;
	backdrop-filter: blur(16px);
}

.noranta-header-shell,
.noranta-footer-shell {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	padding: 18px 0;
}

.noranta-header-shell {
	gap: 18px;
	position: relative;
}

.noranta-wordmark {
	display: inline-block;
	font-family: 'Outfit', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.1;
}

.noranta-menu-button {
	display: none;
}

.noranta-header-tools {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
}

.noranta-header-panel {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: 24px;
	justify-content: space-between;
	min-width: 0;
}

.noranta-nav {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	justify-content: center;
	min-width: 0;
}

.noranta-header-actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: end;
}

.noranta-nav a {
	color: var(--noranta-muted);
	font-size: 0.95rem;
	font-weight: 600;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.noranta-nav a:hover,
.noranta-nav a:focus-visible,
.noranta-footer-links a:hover,
.noranta-footer-links a:focus-visible {
	color: var(--noranta-accent);
}

.noranta-button {
	background: var(--noranta-accent);
	border: 1px solid var(--noranta-accent);
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	padding: 14px 22px;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.noranta-button:hover,
.noranta-button:focus-visible {
	background: var(--noranta-accent-strong);
	border-color: var(--noranta-accent-strong);
	transform: translateY(-1px);
}

.noranta-button.is-secondary {
	background: #566894;
	color: #ffffff;
}

.noranta-site-header .noranta-button.is-secondary {
	border-color: rgba(29, 35, 31, 0.18);
}

.noranta-whatsapp-button {
	align-items: center;
	flex-shrink: 0;
	font-size: 0.9rem;
	gap: 8px;
	padding: 12px 16px;
	white-space: nowrap;
}

.noranta-whatsapp-button .noranta-whatsapp-text {
	line-height: 1.1;
}

.noranta-header-actions .noranta-button {
	white-space: nowrap;
}

.noranta-whatsapp-icon {
	display: inline-flex;
	height: 18px;
	width: 18px;
}

.noranta-whatsapp-icon svg {
	display: block;
	height: 100%;
	width: 100%;
}

.noranta-page {
	padding-bottom: 96px;
}

.noranta-editor-page {
	padding-top: 56px;
}

.wp-site-blocks .noranta-editor-only {
	display: none !important;
}

.noranta-editor-content {
	max-width: 980px;
}

.noranta-editor-content > *:first-child {
	margin-top: 0;
}

.noranta-editor-content .wp-block-group,
.noranta-editor-content .wp-block-columns,
.noranta-editor-content .wp-block-cover,
.noranta-editor-content .wp-block-media-text {
	margin-bottom: 28px;
}

.noranta-editor-content h1,
.noranta-editor-content h2,
.noranta-editor-content h3 {
	font-family: Georgia, serif;
	letter-spacing: 0;
	line-height: 1.08;
}

.noranta-editor-content .wp-block-button__link {
	border-radius: 6px;
}

.noranta-hero {
	align-items: end;
	background-position: center;
	background-size: cover;
	color: #fff;
	display: grid;
	min-height: 78vh;
	padding: 88px 0 56px;
	position: relative;
}

.noranta-hero::before {
	background:
		linear-gradient(180deg, rgba(10, 20, 15, 0.1) 0%, rgba(10, 20, 15, 0.78) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.noranta-hero > * {
	position: relative;
	z-index: 1;
}

.noranta-kicker {
	color: rgba(255, 255, 255, 0.8);
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.noranta-hero h1,
.noranta-section h2,
.noranta-page-intro h1,
.noranta-property-card h3,
.noranta-process-card h3,
.noranta-form-panel h2,
.noranta-contact-copy h2,
.noranta-faq h2 {
	font-family: 'Outfit', sans-serif;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0;
}

.noranta-hero h1 {
	font-size: 4.2rem;
	max-width: 100%;
}

.noranta-hero p {
	font-size: 1.15rem;
	line-height: 1.75;
	margin: 22px 0 0;
	max-width: 640px;
}

.noranta-hero-support {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.95rem;
	font-weight: 600;
	max-width: 760px;
}

.noranta-hero .noranta-button.is-secondary {
	border-color: rgba(255, 255, 255, 0.36);
	color: #fff;
}

.noranta-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.noranta-stat-bar,
.noranta-trust-grid,
.noranta-property-grid,
.noranta-process-grid,
.noranta-faq-grid,
.noranta-service-grid,
.noranta-long-grid {
	display: grid;
	gap: 20px;
}

.noranta-stat-bar {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 40px;
}

.noranta-stat {
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	padding-top: 16px;
}

.noranta-stat strong {
	display: block;
	font-size: 1.8rem;
	font-weight: 700;
}

.noranta-stat span {
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.95rem;
}

.noranta-section,
.noranta-page-intro {
	padding: 88px 0 0;
}

.noranta-section-header,
.noranta-page-intro-copy {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 34px;
	max-width: 100%;
}

.noranta-section h2,
.noranta-page-intro h1,
.noranta-form-panel h2,
.noranta-contact-copy h2,
.noranta-faq h2 {
	font-size: 3rem;
}

.noranta-section p,
.noranta-page-intro p,
.noranta-property-card p,
.noranta-process-card p,
.noranta-contact-copy p,
.noranta-faq-item p,
.noranta-form-note {
	color: var(--noranta-muted);
	font-size: 1rem;
	line-height: 1.75;
	margin: 0;
}

.noranta-page-intro-copy p + p,
.noranta-cta-copy p + p,
.noranta-long-card p + p,
.noranta-contact-copy p + p,
.noranta-form-panel p + p {
	margin-top: 14px;
}

.noranta-video-frame {
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--noranta-radius);
	box-shadow: var(--noranta-shadow);
	width: 100%;
}

.noranta-trust-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.noranta-trust-item,
.noranta-process-card,
.noranta-faq-item,
.noranta-service-card,
.noranta-long-card {
	background: var(--noranta-surface);
	border: 1px solid var(--noranta-border);
	border-radius: var(--noranta-radius);
	padding: 28px;
}

.noranta-trust-item strong,
.noranta-process-card strong {
	color: var(--noranta-accent);
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.noranta-trust-item h3,
.noranta-process-card h3 {
	font-size: 1.35rem;
	margin-bottom: 12px;
}

.noranta-image-band {
	aspect-ratio: 16 / 8;
	border-radius: var(--noranta-radius);
	object-fit: cover;
	width: 100%;
}

.noranta-cta-band {
	align-items: center;
	background: linear-gradient(90deg, rgb(133 162 194)  0%, rgb(53 92 136) 100%);
	border-radius: var(--noranta-radius);
	color: #fff;
	display: grid;
	gap: 32px;
	grid-template-columns: 1.3fr 0.9fr;
	margin-top: 34px;
	overflow: hidden;
}

.noranta-cta-copy {
	padding: 44px;
}

.noranta-cta-copy h2 {
	font-family: Georgia, serif;
	font-size: 2.3rem;
	margin: 0 0 16px;
}

.noranta-cta-copy p {
	color: rgba(255, 255, 255, 0.82);
}

.noranta-cta-band img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.noranta-page-intro-grid {
	align-items: start;
	display: grid;
	gap: 28px;
	grid-template-columns: 1.2fr 0.8fr;
}

.noranta-split-layout {
	align-items: center;
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr 1fr;
}

.noranta-property-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.noranta-service-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.noranta-long-grid {
	grid-template-columns: 1fr;
}

.noranta-trust-grid-compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.noranta-property-card {
	background: var(--noranta-surface);
	border: 1px solid var(--noranta-border);
	border-radius: var(--noranta-radius);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.noranta-property-card img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.noranta-property-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
	padding: 22px;
}

.noranta-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.noranta-property-meta,
.noranta-property-tags,
.noranta-contact-list,
.noranta-contact-highlights,
.noranta-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.noranta-property-price {
	color: var(--noranta-accent);
	font-size: 1.3rem;
	font-weight: 700;
}

.noranta-property-gallery {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.noranta-property-gallery img {
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	object-fit: cover;
	width: 100%;
}

.noranta-pill {
	background: rgb(101 96 96 / 28%);
    border-radius: 999px;
    color: #000000;
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 700;
	padding: 8px 12px;
}

.noranta-process-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.noranta-service-card h3,
.noranta-long-card h2 {
	font-family: Georgia, serif;
	font-size: 1.6rem;
	line-height: 1.1;
	margin: 0 0 12px;
}

.noranta-service-card p,
.noranta-long-card p,
.noranta-long-card li {
	color: var(--noranta-muted);
	line-height: 1.75;
}

.noranta-service-summary {
	color: var(--noranta-accent) !important;
	font-weight: 700;
}

.noranta-inline-link {
	color: var(--noranta-accent);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	margin-top: 10px;
}

.noranta-inline-link:hover,
.noranta-inline-link:focus-visible {
	color: var(--noranta-accent-strong);
}

.noranta-bullet-list {
	display: grid;
	gap: 10px;
	margin: 18px 0 24px;
	padding-left: 18px;
}

.noranta-bullet-list li {
	margin: 0;
}

.noranta-authority-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.noranta-closing-line {
	font-size: 1.05rem;
	font-weight: 700;
	margin-top: 22px;
}

.noranta-contact-layout {
	align-items: start;
	display: grid;
	gap: 32px;
	grid-template-columns: 1fr 1fr;
}

.noranta-contact-copy img {
	border-radius: var(--noranta-radius);
	box-shadow: var(--noranta-shadow);
	margin-top: 28px;
	max-width: 100%;
}

.noranta-contact-highlights {
	margin: 22px 0 0;
	padding: 0;
}

.noranta-contact-highlights li {
	list-style: none;
}

.noranta-form-panel {
	background: var(--noranta-surface);
	border: 1px solid var(--noranta-border);
	border-radius: var(--noranta-radius);
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 980px;
	padding: 24px;
	width: 100%;
}

.noranta-form-panel br,
.noranta-contact-form br,
.noranta-contact-form label > br {
	display: none !important;
}

.noranta-form-panel .noranta-section-header {
	gap: 8px;
	margin-bottom: 12px;
}

.noranta-form-panel .noranta-form-note {
	margin-top: 0;
}

.noranta-contact-form {
	display: grid;
	gap: 12px;
	margin-top: 8px;
}

.noranta-field-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr;
}

.noranta-contact-form label {
	align-content: start;
	display: grid;
	gap: 6px;
}

.noranta-contact-form span {
	font-size: 0.92rem;
	font-weight: 700;
}

.noranta-contact-form input,
.noranta-contact-form select,
.noranta-contact-form textarea {
	background: #fbfcfa;
	border: 1px solid rgba(29, 35, 31, 0.14);
	border-radius: 6px;
	box-sizing: border-box;
	color: var(--noranta-ink);
	font: inherit;
	min-height: 52px;
	padding: 12px 14px;
	width: 100%;
}

.noranta-contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

.noranta-privacy-box {
	background: #f3f6f1;
	border: 1px solid rgba(29, 35, 31, 0.12);
	border-radius: 6px;
	display: grid;
	gap: 10px;
	padding: 14px;
}

.noranta-privacy-box p {
	color: var(--noranta-muted);
	font-size: 0.86rem;
	line-height: 1.55;
	margin: 0;
}

.noranta-privacy-box a {
	color: var(--noranta-accent);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.noranta-contact-form .noranta-privacy-check {
	align-items: start;
	display: grid;
	gap: 10px;
	grid-template-columns: 18px 1fr;
}

.noranta-contact-form .noranta-privacy-check input {
	height: 18px;
	margin: 2px 0 0;
	min-height: 0;
	padding: 0;
	width: 18px;
}

.noranta-contact-form .noranta-privacy-check span {
	color: var(--noranta-ink);
	font-size: 0.9rem;
	line-height: 1.45;
}

.noranta-form-status {
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 600;
	margin-top: 18px;
	padding: 14px 16px;
}

.noranta-form-status.is-success {
	background: rgba(29, 106, 83, 0.1);
	color: var(--noranta-accent-strong);
}

.noranta-form-status.is-error {
	background: rgba(198, 130, 60, 0.12);
	color: #7b4d1e;
}

.noranta-faq-grid {
	grid-template-columns: 1fr 1fr;
}

.noranta-faq-item h3 {
	font-size: 1.2rem;
	margin: 0 0 12px;
}

.noranta-site-footer {
	background: #17201b;
	color: rgba(255, 255, 255, 0.74);
	margin-top: 88px;
}

.noranta-site-footer .noranta-wordmark,
.noranta-site-footer .noranta-nav a,
.noranta-site-footer strong {
	color: #fff;
}

.noranta-footer-logo-link {
	display: inline-flex;
	margin-bottom: 18px;
}

.noranta-footer-logo {
	display: block;
	height: auto;
	max-width: 240px;
	width: 100%;
}

.noranta-footer-shell {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: 1.1fr 0.8fr 0.8fr 0.8fr;
}

.noranta-footer-links a {
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.95rem;
}

.noranta-footer-meta {
	font-size: 0.92rem;
	line-height: 1.7;
}

@media (max-width: 1100px) {
	.noranta-hero h1 {
		font-size: 3.4rem;
	}

	.noranta-trust-grid,
	.noranta-property-grid,
	.noranta-process-grid,
	.noranta-service-grid,
	.noranta-footer-shell {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.noranta-page-intro-grid,
	.noranta-contact-layout,
	.noranta-cta-band,
	.noranta-split-layout {
		grid-template-columns: 1fr;
	}

	.noranta-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.noranta-header-shell {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
		padding: 10px 0;
	}

	.noranta-wordmark {
		flex: 1 1 auto;
		font-size: 1.25rem;
		width: auto;
	}

	.noranta-header-tools {
		gap: 8px;
		margin-left: auto;
	}

	.noranta-menu-button {
		align-items: center;
		background: transparent;
		border: 1px solid rgba(29, 35, 31, 0.16);
		border-radius: 6px;
		display: inline-flex;
		flex-direction: column;
		gap: 5px;
		height: 44px;
		justify-content: center;
		padding: 0;
		width: 44px;
	}

	.noranta-menu-icon {
		color: var(--noranta-ink);
		display: inline-flex;
		height: 18px;
		width: 18px;
	}

	.noranta-menu-icon svg {
		display: block;
		height: 100%;
		width: 100%;
	}

	.noranta-header-panel {
		background: rgba(255, 255, 255, 0.96);
		border: 1px solid rgba(29, 35, 31, 0.08);
		border-radius: 8px;
		box-shadow: 0 18px 40px rgba(17, 32, 25, 0.08);
		display: none;
		gap: 16px;
		margin-top: 4px;
		padding: 16px;
		width: 100%;
	}

	.noranta-site-header.is-menu-open .noranta-header-panel {
		display: grid;
	}

	.noranta-nav {
		align-items: start;
		flex-direction: column;
		gap: 14px;
		justify-content: start;
	}

	.noranta-nav a {
		font-size: 1rem;
	}

	.noranta-header-actions {
		flex-direction: column;
		gap: 10px;
		justify-content: start;
		width: 100%;
	}

	.noranta-header-actions .noranta-button {
		width: 100%;
	}

	.noranta-whatsapp-button {
		height: 44px;
		padding: 0;
		width: 44px;
	}

	.noranta-whatsapp-button .noranta-whatsapp-text {
		display: none;
	}

	.noranta-whatsapp-icon {
		height: 20px;
		width: 20px;
	}

	.noranta-hero {
		min-height: 70vh;
		padding-top: 72px;
	}

	.noranta-hero h1,
	.noranta-section h2,
	.noranta-page-intro h1,
	.noranta-form-panel h2,
	.noranta-contact-copy h2,
	.noranta-faq h2 {
		font-size: 2.5rem;
	}

	.noranta-stat-bar,
	.noranta-trust-grid,
	.noranta-property-grid,
	.noranta-process-grid,
	.noranta-service-grid,
	.noranta-faq-grid,
	.noranta-footer-shell,
	.noranta-field-grid {
		grid-template-columns: 1fr;
	}

	.noranta-cta-copy {
		padding: 32px;
	}
}

@media (max-width: 560px) {
	.noranta-shell {
		width: min(1200px, calc(100% - 24px));
	}

	.noranta-nav a,
	.noranta-button {
		font-size: 0.92rem;
	}

	.noranta-header-shell {
		padding: 8px 0;
	}

	.noranta-wordmark {
		font-size: 1.15rem;
	}

	.noranta-header-panel {
		padding: 14px;
	}

	.noranta-hero h1 {
		font-size: 2.1rem;
	}

	.noranta-section h2,
	.noranta-page-intro h1,
	.noranta-form-panel h2,
	.noranta-contact-copy h2,
	.noranta-faq h2,
	.noranta-cta-copy h2 {
		font-size: 1.9rem;
	}

	.noranta-hero p {
		font-size: 1rem;
	}

	.noranta-page {
		padding-bottom: 72px;
	}

	.noranta-form-panel {
		padding: 24px 18px;
	}

	.noranta-contact-form {
		margin-top: 8px;
	}
}
