/* ==========================================================================
   Nuevas Brisas — sistema de diseño
   Fuente visual: Claude Design "Nuevas Brisas - Home" (comp aprobado).
   Todas las clases de componente llevan prefijo nb-; los elementos Bricks
   solo aportan estructura y contenido editable.
   ========================================================================== */

@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 400 500;
	font-display: swap;
	src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
}
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/figtree-latin.woff2") format("woff2");
}

:root {
	/* Superficies */
	--nb-cream: #FBF7F1;
	--nb-sand: #F3EADC;
	--nb-white: #FFFFFF;
	--nb-line: #EADFCF;
	--nb-line-soft: #F0E7D9;
	--nb-field: #DCCFBC;

	/* Tinta */
	--nb-navy: #16325E;
	--nb-navy-deep: #0F2446;
	--nb-ink: #1F2A3C;
	--nb-body: #3A4658;
	--nb-muted: #5F6878;        /* comp #6A7383, oscurecido a AA sobre crema/arena */
	--nb-mist: #D5DDEA;         /* texto secundario sobre navy */

	/* Acento terracota */
	--nb-accent: #B85716;       /* fondos de botón (blanco encima 4.8:1) */
	--nb-accent-hover: #9C4812;
	--nb-accent-ink: #A84F14;   /* acento como texto (AA sobre crema y arena) */
	--nb-peach: #F2A66B;        /* acento sobre navy */
	--nb-error: #A3321A;

	/* Tipografía */
	--nb-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--nb-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--nb-h1: clamp(40px, 5.4vw, 64px);   /* px: Bricks fija html{font-size:62.5%} */
	--nb-h2: clamp(32px, 3.6vw, 44px);
	--nb-h2-lg: clamp(34px, 4vw, 50px);

	/* Ritmo */
	--nb-gutter: 24px;
	--nb-sec: 88px;
	--nb-r-sm: 12px;
	--nb-r: 18px;
	--nb-r-md: 20px;
	--nb-r-lg: 22px;
	--nb-r-xl: 24px;
	--nb-shadow: 0 12px 30px rgba(22, 50, 94, .14);
	--nb-ease: cubic-bezier(.16, 1, .3, 1);
	--nb-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
	:root { --nb-gutter: 16px; --nb-sec: 64px; }
}

/* ---------- Base y superficies del navegador ---------- */

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { overflow-x: clip; } /* el menú móvil de Bricks vive fuera de pantalla */

body {
	margin: 0;
	background: var(--nb-cream);
	color: var(--nb-ink);
	font-family: var(--nb-sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	caret-color: var(--nb-accent);
	accent-color: var(--nb-navy);
}

::selection { background: var(--nb-navy); color: var(--nb-white); }

:where(a, button, input, select, textarea, summary, [tabindex], [role="button"]):focus-visible {
	outline: 3px solid var(--nb-accent);
	outline-offset: 3px;
	border-radius: 6px;
}
.nb-sec--navy :where(a, button, [role="button"]):focus-visible,
.nb-footer :where(a):focus-visible,
.nb-topbar :where(a):focus-visible { outline-color: var(--nb-peach); }

html { scrollbar-color: #C9B79E var(--nb-cream); }

a { color: var(--nb-navy); text-decoration-color: rgba(22, 50, 94, .35); text-underline-offset: 3px; }
a:hover { color: var(--nb-accent-ink); }

/* Enlaces de texto chicos (topbar, chips, contacto) ganan un área de toque de ~44px con un
   ::after invisible alrededor del texto, sin cambiar cómo se ven. */

.nb-skip {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--nb-navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600;
}
.nb-skip:focus { top: 12px; color: #fff; }

/* El elemento "text" de Bricks envuelve el contenido en <p>: que no rompa los layouts. */
.nb-topbar__links > p { display: contents; }
.nb-footer__col > p { display: flex; flex-direction: column; margin: 0; }
:is(.nb-chips, .nb-checks, .nb-rows, .nb-list) > p:empty { display: none; }

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

/* ---------- Tipografía ---------- */

.nb-eyebrow {
	font-family: var(--nb-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--nb-accent-ink);
	margin: 0;
}
.nb-sec--navy .nb-eyebrow { color: var(--nb-peach); }

.nb-h1, .nb-h2, .nb-h3, .nb-display {
	font-family: var(--nb-serif);
	font-weight: 500;
	color: var(--nb-navy);
	margin: 0;
	text-wrap: balance;
	letter-spacing: -.005em;
}
.nb-h1 { font-size: var(--nb-h1); line-height: 1.05; letter-spacing: -.015em; }
.nb-h2 { font-size: var(--nb-h2); line-height: 1.1; }
.nb-h2--lg { font-size: var(--nb-h2-lg); line-height: 1.08; }
.nb-h3 { font-size: 24px; line-height: 1.2; }
.nb-h3--lg { font-size: 30px; }
.nb-h3--xl { font-size: 32px; }
.nb-sec--navy .nb-h2 { color: var(--nb-white); }

.nb-lead { font-size: 20px; line-height: 1.55; color: var(--nb-body); margin: 0; max-width: 34em; text-wrap: pretty; }
.nb-intro-p { font-size: 19px; line-height: 1.55; color: var(--nb-body); margin: 0; text-wrap: pretty; }
.nb-p { font-size: 17px; line-height: 1.55; color: var(--nb-body); margin: 0; text-wrap: pretty; }
.nb-p--lg { font-size: 18px; }
.nb-sec--navy .nb-intro-p, .nb-sec--navy .nb-p { color: var(--nb-mist); }

@media (max-width: 767px) {
	.nb-lead { font-size: 18px; }
	.nb-intro-p { font-size: 18px; }
}

/* ---------- Botones ---------- */

.nb-btn.nb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 13px 22px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: var(--nb-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--nb-ease), color .2s var(--nb-ease), border-color .2s var(--nb-ease), transform .2s var(--nb-ease);
}
.nb-btn.nb-btn:active { transform: translateY(1px); }
.nb-btn--lg.nb-btn--lg { padding: 16px 30px; font-size: 17px; min-height: 56px; }
.nb-btn--primary.nb-btn--primary { background: var(--nb-accent); color: var(--nb-white); }
.nb-btn--primary.nb-btn--primary:hover { background: var(--nb-accent-hover); color: var(--nb-white); }
.nb-btn--outline.nb-btn--outline { background: transparent; border-color: var(--nb-navy); color: var(--nb-navy); }
.nb-btn--outline.nb-btn--outline:hover { background: var(--nb-navy); color: var(--nb-white); }
.nb-btn--navy.nb-btn--navy { background: var(--nb-navy); color: var(--nb-white); }
.nb-btn--navy.nb-btn--navy:hover { background: var(--nb-navy-deep); color: var(--nb-white); }
.nb-btn--block.nb-btn--block { width: 100%; padding: 18px; font-size: 18px; min-height: 58px; }

.nb-arrow-link.nb-arrow-link {
	font-size: 17px;
	font-weight: 600;
	color: var(--nb-accent-ink);
	text-decoration: underline;
	text-decoration-color: rgba(168, 79, 20, .35);
	text-underline-offset: 4px;
	padding: 10px 0;
}
.nb-arrow-link.nb-arrow-link::after { content: " →"; display: inline-block; transition: transform .25s var(--nb-ease); }
.nb-arrow-link.nb-arrow-link:hover { color: var(--nb-accent-hover); text-decoration-color: currentColor; }
.nb-arrow-link.nb-arrow-link:hover::after { transform: translateX(3px); }
.nb-arrow-link--back.nb-arrow-link--back { align-self: flex-start; }
.nb-arrow-link--back.nb-arrow-link--back::after { content: none; }
.nb-arrow-link--back.nb-arrow-link--back::before { content: "← "; display: inline-block; transition: transform .25s var(--nb-ease); }
.nb-arrow-link--back.nb-arrow-link--back:hover::before { transform: translateX(-3px); }

/* ---------- Topbar ---------- */

.nb-topbar { background: var(--nb-navy); color: var(--nb-white); font-size: 14px; }
.nb-topbar__in.nb-topbar__in {
	display: flex; flex-direction: row; flex-wrap: nowrap;
	justify-content: space-between; align-items: center; gap: 24px;
	height: 40px;
}
.nb-topbar__tag { opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-topbar__links { display: flex; gap: 20px; white-space: nowrap; }
.nb-topbar__links a { color: var(--nb-white); text-decoration: none; position: relative; }
.nb-topbar__links a::after { content: ""; position: absolute; inset: -12px -6px; }
.nb-topbar__links a:hover { color: var(--nb-peach); }
.nb-topbar__links a:first-child { font-weight: 600; }
.nb-topbar__links a + a { opacity: .9; }
@media (max-width: 991px) { .nb-topbar__tag { display: none; } .nb-topbar__in.nb-topbar__in { justify-content: center; } }
@media (max-width: 767px) { .nb-topbar { display: none; } }

/* ---------- Header ---------- */

#brx-header { position: sticky; top: -40px; z-index: 40; }
@media (max-width: 767px) { #brx-header { top: 0; } }

.nb-header {
	background: rgba(251, 247, 241, .96);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--nb-line);
}
.nb-header__in.nb-header__in {
	display: flex; flex-direction: row; align-items: center; justify-content: space-between;
	gap: 24px; padding-block: 12px;
}
.nb-logo { display: flex; flex-shrink: 0; }
.nb-logo img { height: 56px; width: auto; }
.nb-header__nav { display: flex; flex-direction: row; align-items: center; gap: 28px; }

.nb-nav .bricks-nav-menu { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nb-nav .bricks-nav-menu > li { margin: 0; }
.nb-nav .bricks-nav-menu > li > a {
	font-size: 16px; font-weight: 500; color: var(--nb-ink); text-decoration: none;
	padding: 10px 0; position: relative;
}
.nb-nav .bricks-nav-menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px;
	background: var(--nb-accent); transform: scaleX(0); transform-origin: left;
	transition: transform .3s var(--nb-ease);
}
.nb-nav .bricks-nav-menu > li > a:hover { color: var(--nb-navy); }
.nb-nav .bricks-nav-menu > li > a:hover::after { transform: scaleX(1); }

/* Menú móvil de Bricks */
.nb-nav .bricks-mobile-menu-toggle { width: 26px; height: 20px; color: var(--nb-navy); }
.nb-nav .bricks-mobile-menu-toggle span { background: var(--nb-navy); height: 2px; border-radius: 2px; }
.nb-nav .bricks-mobile-menu-wrapper { background: var(--nb-cream); padding-top: 96px; width: min(360px, 88vw); }
.nb-nav .bricks-mobile-menu > li > a {
	display: block; padding: 16px 28px; font-size: 20px; font-weight: 500;
	color: var(--nb-navy); text-decoration: none; border-bottom: 1px solid var(--nb-line);
}
.nb-nav .bricks-mobile-menu-overlay { background: rgba(15, 36, 70, .45); }
.nb-nav.show-mobile-menu .bricks-mobile-menu-toggle span { background: var(--nb-navy); }

@media (max-width: 991px) {
	.nb-header__nav { gap: 18px; flex-direction: row-reverse; }
	.nb-logo img { height: 48px; }
}
@media (max-width: 479px) {
	.nb-header__in.nb-header__in { gap: 12px; padding-block: 10px; }
	.nb-logo img { height: 42px; }
	.nb-header__cta.nb-btn { padding: 10px 16px; font-size: 15px; min-height: 44px; }
	.nb-header__nav { gap: 14px; }
}

/* ---------- Secciones ---------- */

.nb-sec { padding-block: var(--nb-sec); }
.nb-band { background: var(--nb-sand); }
.nb-sec--navy { background: var(--nb-navy); color: var(--nb-white); }
.nb-stack.nb-stack { display: flex; flex-direction: column; gap: 40px; }
.nb-intro.nb-intro { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }

/* ---------- Hero ---------- */

.nb-hero { padding-block: 64px 56px; }
.nb-hero__grid.nb-hero__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 48px;
	align-items: center;
}
.nb-hero__copy.nb-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.nb-actions.nb-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; }
.nb-stats.nb-stats {
	display: flex; flex-direction: row; flex-wrap: wrap; gap: 28px;
	padding-top: 16px; border-top: 1px solid var(--nb-line);
	font-size: 15px; color: var(--nb-body);
}
.nb-stat.nb-stat { display: flex; flex-direction: column; gap: 2px; }
.nb-stat__value { font-family: var(--nb-serif); font-size: 28px; font-weight: 500; line-height: 1.15; color: var(--nb-navy); }

.nb-hero__media.nb-hero__media {
	position: relative;
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	grid-template-rows: 260px 200px;
	gap: 12px;
}
.nb-hero__media .brxe-image { width: 100%; height: 100%; }
.nb-hero__media img, .nb-cover img, img.nb-cover {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.nb-hero__media > .brxe-image { border-radius: var(--nb-r-md); overflow: hidden; }
.nb-hero__media > .brxe-image:first-child { grid-row: 1 / span 2; }
.nb-price-card.nb-price-card {
	position: absolute; left: -16px; bottom: 24px;
	background: var(--nb-white); border-radius: 16px; padding: 14px 18px;
	box-shadow: var(--nb-shadow);
	display: flex; flex-direction: column; gap: 2px; max-width: 240px;
}
.nb-price-card__label { font-size: 13px; color: var(--nb-muted); }
.nb-price-card__value { font-family: var(--nb-serif); font-size: 26px; font-weight: 500; line-height: 1.15; color: var(--nb-navy); }

@media (max-width: 767px) {
	.nb-hero { padding-block: 40px 48px; }
	.nb-hero__grid.nb-hero__grid { gap: 36px; }
	.nb-hero__media.nb-hero__media { grid-template-rows: 200px 150px; gap: 8px; }
	.nb-price-card.nb-price-card { left: 12px; bottom: 12px; padding: 12px 16px; }
	.nb-price-card__value { font-size: 22px; }
	.nb-actions.nb-actions > .nb-btn { flex: 1 1 auto; }
	.nb-stats.nb-stats { gap: 18px; flex-wrap: nowrap; font-size: 14px; }
	.nb-stat__value { font-size: 23px; }
	.nb-seg span { font-size: 15px; padding: 10px 6px; }
}

/* Momento de movimiento: las fotos del hero se revelan una sola vez al cargar. */
@media (prefers-reduced-motion: no-preference) {
	.nb-hero__media > .brxe-image { animation: nb-reveal 1.1s var(--nb-ease) both; }
	.nb-hero__media > .brxe-image:nth-child(2) { animation-delay: .12s; }
	.nb-hero__media > .brxe-image:nth-child(3) { animation-delay: .24s; }
	.nb-price-card.nb-price-card { animation: nb-rise .9s var(--nb-ease) .55s both; }
}
@keyframes nb-reveal {
	from { clip-path: inset(0 0 100% 0 round var(--nb-r-md)); }
	to   { clip-path: inset(0 0 0 0 round var(--nb-r-md)); }
}
@keyframes nb-rise {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}

/* ---------- Empatía: momentos ---------- */

.nb-moments.nb-moments {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px;
}
.nb-moment.nb-moment {
	background: var(--nb-cream); border-radius: var(--nb-r); padding: 28px;
	display: flex; flex-direction: column; gap: 10px;
}

/* ---------- Tipos de estadía ---------- */

.nb-stays.nb-stays {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px;
}
.nb-stay.nb-stay {
	background: var(--nb-white); border: 1px solid var(--nb-line); border-radius: var(--nb-r-lg);
	padding: 36px; display: flex; flex-direction: column; gap: 16px;
}
.nb-stay .nb-arrow-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 767px) { .nb-stay.nb-stay { padding: 28px 24px; } }

.nb-list ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.8; color: var(--nb-body); }
.nb-list li::marker { color: var(--nb-accent); }

/* ---------- Nuestras casas ---------- */

.nb-houses.nb-houses {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px;
}
.nb-house.nb-house {
	background: var(--nb-cream); color: var(--nb-ink); border-radius: var(--nb-r-xl); overflow: hidden;
	display: flex; flex-direction: column;
}
/* Bricks pinta la imagen sin envoltura: la clase cae directo en el <img>. */
.nb-house__img.nb-house__img { width: 100%; height: 280px; object-fit: cover; display: block; }
.nb-house .nb-p { color: var(--nb-body); }
.nb-house__body.nb-house__body { padding: 30px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.nb-house__head.nb-house__head {
	display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px;
}
.nb-house__addr { font-size: 15px; color: var(--nb-muted); }
.nb-house__foot.nb-house__foot {
	margin-top: auto; padding-top: 16px; border-top: 1px solid var(--nb-line);
	display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}
.nb-from.nb-from { display: flex; flex-direction: column; }
.nb-from__label { font-size: 14px; color: var(--nb-muted); }
.nb-from__value { font-family: var(--nb-serif); font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--nb-navy); }
@media (max-width: 767px) {
	.nb-house__img.nb-house__img { height: 220px; }
	.nb-house .nb-p { color: var(--nb-body); }
.nb-house__body.nb-house__body { padding: 24px; }
	.nb-h3--xl { font-size: 28px; }
}

/* Chips (listas de etiquetas) */
.nb-chips ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nb-chips li { font-size: 14px; line-height: 1.3; background: var(--nb-sand); padding: 6px 12px; border-radius: 999px; color: var(--nb-ink); }
.nb-chips a { color: inherit; text-decoration: none; position: relative; }
.nb-chips a::after { content: ""; position: absolute; inset: -14px -12px; }
.nb-chips a:hover { color: var(--nb-accent-ink); }
.nb-chips--lg ul { gap: 10px; }
.nb-chips--lg li { font-size: 16px; background: var(--nb-cream); padding: 9px 15px; }

/* ---------- Cuidados ---------- */

.nb-care.nb-care {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: start;
}
.nb-care__aside.nb-care__aside { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 992px) { .nb-care__aside.nb-care__aside { position: sticky; top: 120px; } }
.nb-care__img.nb-care__img { width: 100%; height: 320px; object-fit: cover; display: block; border-radius: var(--nb-r-md); margin-top: 8px; }
.nb-care__main.nb-care__main { display: flex; flex-direction: column; gap: 28px; }
.nb-panel.nb-panel {
	background: var(--nb-white); border: 1px solid var(--nb-line); border-radius: var(--nb-r-lg);
	padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.nb-panel--sand.nb-panel--sand { background: var(--nb-sand); border-color: transparent; }
.nb-h3--panel { font-size: 26px; }
@media (max-width: 767px) {
	.nb-care.nb-care { gap: 40px; }
	.nb-care__img.nb-care__img { height: 240px; }
	.nb-panel.nb-panel { padding: 24px; }
}

.nb-checks ul {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 12px 24px; margin: 0; padding: 0; list-style: none;
	font-size: 17px; line-height: 1.4; color: var(--nb-ink);
}
.nb-checks li { display: flex; gap: 10px; }
.nb-checks li::before {
	content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px;
	background: var(--nb-accent);
	-webkit-mask: var(--nb-check) center / contain no-repeat;
	mask: var(--nb-check) center / contain no-repeat;
}

/* ---------- Galería ---------- */

.nb-gallery-sec { padding-bottom: var(--nb-sec); }
.nb-gallery.nb-gallery {
	display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense;
	grid-auto-rows: 220px; gap: 12px;
}
.nb-gallery > .brxe-image { width: 100%; height: 100%; border-radius: 16px; overflow: hidden; }
.nb-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-gallery > .nb-tall { grid-row: span 2; }
.nb-gallery > figure.brxe-image { margin: 0; position: relative; }
.nb-gallery figcaption {
	position: absolute; left: 10px; bottom: 10px; margin: 0;
	background: rgba(251, 247, 241, .94); color: var(--nb-ink);
	font-size: 14px; font-weight: 500; line-height: 1.3; padding: 5px 11px; border-radius: 999px;
}
@media (max-width: 767px) {
	.nb-gallery.nb-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 8px; }
}

/* ---------- Proceso ---------- */

.nb-steps.nb-steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px;
}
.nb-step.nb-step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--nb-accent); padding-top: 20px; }
.nb-step__num { font-family: var(--nb-serif); font-size: 40px; line-height: 1; color: var(--nb-accent-ink); }
.nb-step__title { font-family: var(--nb-sans); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--nb-navy); margin: 0; }
.nb-step .nb-p { line-height: 1.5; }

/* ---------- Valores ---------- */

.nb-prices.nb-prices {
	width: 100%; /* el contenedor Bricks no estira a sus hijos */
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px;
}
.nb-price-panel.nb-price-panel {
	background: var(--nb-white); border: 1px solid var(--nb-line); border-radius: var(--nb-r-lg);
	padding: 28px 32px; display: flex; flex-direction: column;
}
.nb-price-panel .nb-h3 { margin-bottom: 12px; }
.nb-rows ul { margin: 0; padding: 0; list-style: none; }
.nb-rows li {
	display: flex; justify-content: space-between; gap: 16px; padding: 14px 0;
	border-bottom: 1px solid var(--nb-line-soft); font-size: 17px;
}
.nb-rows li:last-child { border-bottom: 0; }
.nb-rows strong { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--nb-ink); }
.nb-price-note { font-size: 15px; line-height: 1.5; color: var(--nb-muted); margin: -16px 0 0; max-width: 60em; }
@media (max-width: 767px) { .nb-price-panel.nb-price-panel { padding: 24px; } }

/* ---------- Preguntas frecuentes (acordeón Bricks) ---------- */

.nb-faq-sec { padding-block: 40px var(--nb-sec); }
.nb-faq.nb-faq { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nb-line); width: 100%; }
.nb-faq .accordion-item { border-bottom: 1px solid var(--nb-line); margin: 0; }
.nb-faq .accordion-title-wrapper {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 22px 0; cursor: pointer; background: none;
}
.nb-faq .accordion-title-wrapper::after {
	content: "+"; flex-shrink: 0; font-size: 26px; font-weight: 400; line-height: 1;
	color: var(--nb-accent-ink); width: 1ch; text-align: center;
}
.nb-faq .brx-open .accordion-title-wrapper::after { content: "−"; }
.nb-faq .accordion-title { display: flex; flex: 1; }
.nb-faq .accordion-title .title {
	font-family: var(--nb-sans); font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--nb-navy); margin: 0;
}
.nb-faq .accordion-title-wrapper:hover .title { color: var(--nb-accent-ink); }
.nb-faq .accordion-content-wrapper { padding: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--nb-body); max-width: 44em; }
.nb-faq .accordion-content-wrapper p { margin: 0; }

/* ---------- Contacto ---------- */

.nb-contact.nb-contact {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; align-items: start;
}
.nb-contact__aside.nb-contact__aside { display: flex; flex-direction: column; gap: 20px; }
.nb-contact__list.nb-contact__list { display: flex; flex-direction: column; gap: 18px; padding-top: 12px; }
.nb-contact__item.nb-contact__item { display: flex; flex-direction: column; gap: 4px; }
.nb-contact__name { font-size: 17px; font-weight: 700; color: var(--nb-white); }
.nb-contact__detail { font-size: 16px; color: var(--nb-mist); }
.nb-contact__detail a { color: var(--nb-white); text-decoration-color: rgba(255, 255, 255, .45); position: relative; }
.nb-contact__detail a::after { content: ""; position: absolute; inset: -13px -6px; }
.nb-contact__detail a:hover { color: var(--nb-peach); }
@media (max-width: 767px) { .nb-contact.nb-contact { gap: 40px; } }

.nb-form-card {
	background: var(--nb-cream); color: var(--nb-ink); border-radius: var(--nb-r-xl); padding: 36px;
}
@media (max-width: 767px) { .nb-form-card { padding: 24px 20px; } }
.nb-form { display: flex; flex-direction: column; gap: 22px; }
.nb-form[hidden], .nb-form-done[hidden], [data-nb-visit][hidden], .nb-form__error[hidden] { display: none; }
.nb-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.nb-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.nb-form__visit { background: var(--nb-sand); border-radius: 14px; padding: 16px; }
.nb-field { display: flex; flex-direction: column; gap: 8px; }
.nb-label { font-size: 15px; font-weight: 600; color: var(--nb-ink); padding: 0; margin: 0 0 8px; }
.nb-field > .nb-label { margin: 0; }
.nb-field--full > .nb-label { font-size: 16px; }

.nb-input {
	width: 100%; padding: 14px 16px; font: inherit; font-size: 17px; font-weight: 400; line-height: 1.4;
	color: var(--nb-ink); background: var(--nb-white);
	border: 1.5px solid var(--nb-field); border-radius: var(--nb-r-sm); outline: none;
	transition: border-color .2s var(--nb-ease), box-shadow .2s var(--nb-ease);
	-webkit-appearance: none; appearance: none; min-height: 52px;
}
.nb-input::placeholder { color: #767F8E; opacity: 1; }
.nb-input:hover { border-color: #C8B79F; }
.nb-input:focus { border-color: var(--nb-navy); box-shadow: 0 0 0 3px rgba(22, 50, 94, .15); }
.nb-input[aria-invalid="true"] { border-color: var(--nb-error); }
.nb-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 50, 26, .15); }
select.nb-input {
	padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2316325E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
textarea.nb-input { resize: vertical; min-height: 96px; }

/* Control segmentado y píldoras (radios reales) */
.nb-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--nb-sand); padding: 6px; border-radius: 14px; }
.nb-seg label, .nb-pills label { position: relative; cursor: pointer; }
.nb-seg input, .nb-pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nb-seg span {
	display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px;
	padding: 10px 12px; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--nb-navy);
	transition: background-color .2s var(--nb-ease), color .2s var(--nb-ease);
}
.nb-seg label:hover span { background: rgba(22, 50, 94, .06); }
.nb-seg input:checked + span { background: var(--nb-navy); color: var(--nb-white); }
.nb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-pills span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px;
	font-size: 16px; font-weight: 500; background: var(--nb-white); color: var(--nb-ink);
	border: 1.5px solid var(--nb-field);
	transition: background-color .2s var(--nb-ease), color .2s var(--nb-ease), border-color .2s var(--nb-ease);
}
.nb-pills label:hover span { border-color: var(--nb-navy); }
.nb-pills input:checked + span { background: var(--nb-navy); border-color: var(--nb-navy); color: var(--nb-white); }
.nb-seg input:focus-visible + span, .nb-pills input:focus-visible + span { outline: 3px solid var(--nb-accent); outline-offset: 2px; }

.nb-form__hint { margin: 0; font-size: 14px; line-height: 1.4; color: var(--nb-muted); }

/* Consentimientos: casillas nativas grandes, texto a 16px, toda la fila es clicable. */
.nb-consents { display: flex; flex-direction: column; gap: 12px; }
.nb-consents [hidden] { display: none; }
.nb-check {
	display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
	font-size: 16px; line-height: 1.45; color: var(--nb-body); cursor: pointer; padding: 4px 0;
}
.nb-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--nb-navy); cursor: pointer; }
.nb-check input[aria-invalid="true"] { outline: 2px solid var(--nb-error); outline-offset: 2px; border-radius: 4px; }
.nb-check a { color: var(--nb-navy); text-underline-offset: 3px; }

.nb-form__error { margin: 0; color: var(--nb-error); font-size: 15px; font-weight: 600; }
.nb-form__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--nb-muted); }
.nb-form__note a { color: var(--nb-navy); }

.nb-form-done { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; outline: none; }
.nb-form-done__title { font-family: var(--nb-serif); font-weight: 500; font-size: 32px; line-height: 1.15; color: var(--nb-navy); margin: 0; }
.nb-form-done p { font-size: 18px; line-height: 1.55; margin: 0; color: var(--nb-body); }
.nb-form-done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 8px; }
.nb-link-btn {
	background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 600; color: var(--nb-accent-ink);
	cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
}
.nb-link-btn:hover { color: var(--nb-accent-hover); }

/* ---------- Footer ---------- */

.nb-footer { background: var(--nb-navy-deep); color: var(--nb-mist); }
.nb-footer__in.nb-footer__in {
	display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 32px;
	padding-block: 48px; font-size: 15px; line-height: 1.7;
}
.nb-footer__brand.nb-footer__brand { display: flex; flex-direction: column; gap: 6px; max-width: 320px; }
.nb-footer__name { font-family: var(--nb-serif); font-size: 24px; font-weight: 500; color: var(--nb-white); }
.nb-footer__tagline { font-family: var(--nb-serif); font-style: italic; font-size: 18px; color: var(--nb-peach); }
.nb-footer__col { display: flex; flex-direction: column; }
.nb-footer__col strong { color: var(--nb-white); }
.nb-footer__col a { color: var(--nb-mist); text-decoration: none; }
/* En pantallas táctiles los enlaces apilados ganan 44px de alto propio (un ::after se solaparía). */
@media (pointer: coarse) {
	.nb-footer__col a { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }
}
.nb-footer__col a:hover { color: var(--nb-white); text-decoration: underline; }
@media (max-width: 767px) {
	.nb-footer__in.nb-footer__in { flex-direction: column; gap: 24px; padding-block: 40px 104px; }
}

.nb-footer__legal.nb-footer__legal { padding-bottom: 18px; }
.nb-footer__legal-links {
	display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--nb-mist);
	border-top: 1px solid rgba(213, 221, 234, .16); padding-top: 18px; width: 100%;
}
.nb-footer__legal-links > p { display: contents; }
.nb-footer__legal-links a { color: var(--nb-mist); position: relative; text-underline-offset: 3px; }
.nb-footer__legal-links a:hover { color: var(--nb-white); }
.nb-footer__legal-links a::after { content: ""; position: absolute; inset: -14px -6px; }
@media (max-width: 767px) {
	.nb-footer__in.nb-footer__in { padding-bottom: 32px; }
	.nb-footer__legal.nb-footer__legal { padding-bottom: 104px; } /* espacio para el botón flotante */
}

/* ---------- Política de privacidad (texto largo) ---------- */

.nb-prose { max-width: 44em; font-size: 17px; line-height: 1.65; color: var(--nb-body); }
.nb-prose h2 {
	font-family: var(--nb-serif); font-weight: 500; font-size: 28px; line-height: 1.2;
	color: var(--nb-navy); margin: 44px 0 12px; text-wrap: balance;
}
.nb-prose p, .nb-prose ul { margin: 0 0 14px; }
.nb-prose ul { padding-left: 22px; }
.nb-prose li { margin-bottom: 6px; }
.nb-prose li::marker { color: var(--nb-accent); }
.nb-prose strong { color: var(--nb-ink); font-weight: 600; }
.nb-prose__meta { font-size: 15px; color: var(--nb-muted); }
.nb-prose > :first-child { margin-top: 0; }

/* ---------- WhatsApp flotante ---------- */

.nb-wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 50;
	display: inline-flex; align-items: center; gap: 8px;
	background: #25D366; color: #0B3B1E; text-decoration: none;
	font-family: var(--nb-sans); font-weight: 700; font-size: 16px;
	padding: 14px 22px 14px 18px; border-radius: 999px; min-height: 52px;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
	transition: background-color .2s var(--nb-ease), transform .25s var(--nb-ease);
}
.nb-wa-float:hover { background: #2FE075; color: #0B3B1E; transform: translateY(-2px); }
.nb-wa-float:focus-visible { outline: 3px solid var(--nb-navy); outline-offset: 3px; }
@media (max-width: 479px) {
	.nb-wa-float { right: 16px; bottom: 16px; padding: 14px; }
	.nb-wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
