/*
Theme Name: Notaria Toro Gutenberg
Theme URI: https://notariatoroiglesias.cl/
Author: Tecnoempresa
Description: Tema de bloques para la landing de la Notaria David Toro Iglesias.
Version: 3.0.2
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: notaria-toro
*/

:root {
	--nt-navy: #022e66;
	--nt-navy-dark: #011a3d;
	--nt-navy-hero: #012a58;
	--nt-sky: #6b99c3;
	--nt-gold: #dda448;
	--nt-charcoal: #1e1e1e;
	--nt-slate: #55657a;
	--nt-mist: #c4c4c4;
	--nt-cloud: #f7f9fc;
	--nt-white: #ffffff;
	--nt-radius: 12px;
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
}

.nt-section,
.nt-section * {
	box-sizing: border-box;
}

.nt-section a {
	text-decoration: none;
}

.nt-section {
	margin-block-start: 0;
}

.nt-container {
	width: min(1200px, calc(100% - 48px));
	margin-inline: auto;
}

.nt-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding-block: 14px;
	background: var(--nt-navy-dark);
}

.nt-header .nt-container {
	display: flex;
	justify-content: flex-end;
}

.nt-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	column-gap: 32px !important;
	row-gap: 14px !important;
}

.nt-nav > * {
	margin: 0;
}

.nt-nav a {
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.3px;
	transition: color 0.2s ease;
}

.nt-nav a:hover,
.nt-nav a:focus {
	color: var(--nt-gold);
}

.nt-hero {
	padding-block: 56px 70px;
	background: var(--nt-navy-hero);
}

.nt-hero-grid {
	display: grid;
	grid-template-columns: minmax(260px, 380px) 1fr;
	gap: 60px;
	align-items: center;
}

.nt-hero-logo img {
	width: 100%;
	height: auto;
	max-height: 200px;
	object-fit: contain;
}

.nt-hero-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.nt-badge {
	width: fit-content;
	margin: 0;
	padding: 6px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--nt-gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.nt-hero-title {
	margin: 0;
	color: var(--nt-white);
	font-family: "DM Serif Display", Georgia, serif;
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 400;
	line-height: 1.08;
}

.nt-hero-copy {
	max-width: 520px;
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	line-height: 1.7;
}

.nt-services {
	padding-block: 80px;
	background: var(--nt-cloud);
}

.nt-section-header {
	max-width: 920px;
	margin: 0 auto 48px;
	text-align: center;
}

.nt-label {
	margin: 0 0 12px;
	color: var(--nt-gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.nt-section-title {
	margin: 0;
	color: var(--nt-navy-dark);
	font-family: "DM Serif Display", Georgia, serif;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 400;
	line-height: 1.2;
}

.nt-section-intro {
	margin: 12px auto 0;
	color: var(--nt-slate);
	font-size: 14px;
}

.nt-services-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.nt-service-card {
	position: relative;
	height: 100%;
	padding: 28px 24px;
	overflow: hidden;
	border-radius: var(--nt-radius);
	background: var(--nt-white);
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.nt-service-card::before {
	position: absolute;
	inset: 0 16px auto;
	height: 2px;
	background: var(--nt-navy);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

.nt-service-card:hover {
	box-shadow: 0 16px 40px rgba(2, 46, 102, 0.08);
	transform: translateY(-3px);
}

.nt-service-card:hover::before {
	transform: scaleX(1);
}

.nt-service-number {
	margin: 0 0 14px;
	color: var(--nt-mist);
	font-family: "DM Serif Display", Georgia, serif;
	font-size: 28px;
	line-height: 1;
}

.nt-service-title {
	margin: 0 0 12px;
	color: var(--nt-navy-dark);
	font-family: "DM Serif Display", Georgia, serif;
	font-size: 17px;
	font-weight: 400;
}

.nt-service-list {
	margin: 0;
	padding-left: 18px;
	color: var(--nt-slate);
	font-size: 13.5px;
	line-height: 1.8;
}

.nt-service-list li::marker {
	color: var(--nt-sky);
}

.nt-about {
	padding-block: 80px;
	background: var(--nt-white);
}

.nt-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.nt-about-copy .nt-section-title {
	margin-bottom: 18px;
}

.nt-about-copy > p:not(.nt-label) {
	margin: 0 0 14px;
	color: var(--nt-slate);
	font-size: 14px;
	line-height: 1.8;
	text-align: justify;
}

.nt-about-copy > p:last-child {
	margin-bottom: 0;
}

.nt-about-image {
	padding: 40px;
}

.nt-about-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--nt-radius);
	object-fit: cover;
}

.nt-contact {
	padding-block: 80px;
	background: var(--nt-navy-hero);
	color: var(--nt-white);
}

.nt-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.nt-contact .nt-section-title {
	margin-bottom: 24px;
	color: var(--nt-white);
}

.nt-contact-items {
	display: grid;
	gap: 14px;
}

.nt-contact-item {
	padding: 12px 14px;
	border-left: 3px solid rgba(107, 153, 195, 0.55);
	border-radius: 0 8px 8px 0;
	background: rgba(107, 153, 195, 0.08);
}

.nt-contact-item p {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13.5px;
	line-height: 1.6;
}

.nt-contact-item strong {
	display: block;
	color: var(--nt-white);
	font-size: 14px;
}

.nt-contact-item a {
	color: rgba(255, 255, 255, 0.72);
}

.nt-contact-item a:hover,
.nt-contact-item a:focus {
	color: var(--nt-gold);
}

.nt-map {
	position: relative;
	min-height: 320px;
	overflow: hidden;
	border-radius: var(--nt-radius);
}

.nt-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.block-editor-block-list__layout .nt-map iframe {
	pointer-events: none;
}

.nt-footer {
	padding-block: 20px;
	background: var(--nt-navy-dark);
	color: rgba(255, 255, 255, 0.4);
	text-align: center;
}

.nt-footer-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 16px !important;
	row-gap: 6px !important;
}

.nt-footer-row p {
	margin: 0;
	font-size: 12px;
}

.nt-footer-row p + p::before {
	margin-right: 16px;
	color: rgba(255, 255, 255, 0.2);
	content: "·";
}

.nt-footer-row a {
	color: inherit;
}

@media (max-width: 960px) {
	.nt-hero-grid,
	.nt-about-grid,
	.nt-contact-grid {
		grid-template-columns: 1fr;
	}

	.nt-hero-grid {
		gap: 36px;
		text-align: center;
	}

	.nt-hero-logo {
		max-width: 420px;
		margin-inline: auto;
	}

	.nt-hero-content {
		align-items: center;
	}

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

	.nt-about-image {
		max-width: 650px;
		margin-inline: auto;
	}

	.nt-map {
		min-height: 260px;
	}
}

@media (max-width: 600px) {
	.nt-container {
		width: min(100% - 32px, 1200px);
	}

	.nt-header .nt-container,
	.nt-nav {
		justify-content: center;
	}

	.nt-nav {
		column-gap: 14px !important;
		row-gap: 8px !important;
	}

	.nt-nav a {
		font-size: 12px;
	}

	.nt-hero {
		padding-block: 42px 50px;
	}

	.nt-hero-logo {
		max-width: 290px;
	}

	.nt-services,
	.nt-about,
	.nt-contact {
		padding-block: 48px;
	}

	.nt-services-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.nt-service-card {
		padding: 22px 18px;
	}

	.nt-about-image {
		display: none;
	}
}
