/* Los Dominican Barbershop — preview stylesheet.
 *
 * The handoff is authored with every declaration inline, because its authoring
 * format has no stylesheet and no media queries. This is the same design moved
 * to classes and custom properties: the values are the handoff's token table,
 * written once so a brand change is one edit rather than ninety.
 *
 * NO media queries here either, and that is deliberate rather than inherited.
 * The layout is fluid — clamp(), auto-fit grids with a min() floor, flex wrap —
 * so it holds at any width without a breakpoint to keep in sync. The one place
 * this needs care is the gallery; see .gallery.
 *
 * Fonts are the system stack. Nothing here fetches anything: a Google Fonts link
 * would hand the visitor's IP to Google before the cookie banner has even asked.
 */

:root {
	--paper: #f7f5f2;
	--surface: #ffffff;
	--ink: #14161a;
	--body: #3d4148;
	--muted: #5b5f66;
	--rojo: #c8102e;
	--azul: #12328a;
	--hairline: #e5e1db;
	--hairline-soft: #f0ede8;
	--input-border: #dcd7cf;
	--dashed: #cfcabf;
	--disabled: #b6b1a8;

	/* On the ink sections and the footer. */
	--on-ink-head: #f7f5f2;
	--on-ink-body: #dcd8d2;
	--on-ink-soft: #c9c6c0;
	--on-ink-cap: #9a9691;
	--on-ink-rule: #2c2f35;
	--on-ink-accent: #ff8b9e;

	--serif: Georgia, 'Times New Roman', serif;

	/* Brand device 1: the barber pole. Two sizes, same angle. */
	--pole: repeating-linear-gradient(
		115deg,
		#c8102e 0 16px,
		#ffffff 16px 26px,
		#12328a 26px 42px,
		#ffffff 42px 52px
	);
	--pole-sm: repeating-linear-gradient(
		115deg,
		#c8102e 0 8px,
		#ffffff 8px 13px,
		#12328a 13px 21px,
		#ffffff 21px 26px
	);
	--pole-tab: repeating-linear-gradient(
		115deg,
		#c8102e 0 14px,
		#ffffff 14px 22px,
		#12328a 22px 36px,
		#ffffff 36px 44px
	);
}

/* ---------------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------------ */

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
}

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

a {
	color: var(--azul);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--rojo);
}

/* Every interactive element on the page keeps this. Nothing sets outline: none. */
:focus-visible {
	outline: 3px solid var(--rojo);
	outline-offset: 3px;
}

::selection {
	background: var(--rojo);
	color: #fff;
}

@keyframes ldSwing {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* One switch for every moving thing on the page. The marquee is the only
 * animation; smooth anchor scrolling is the only other motion. */
@media (prefers-reduced-motion: reduce) {
	[data-motion] {
		animation: none !important;
		transition: none !important;
	}

	html {
		scroll-behavior: auto;
	}
}

.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;
}

/* ---------------------------------------------------------------------------
 * Layout primitives
 * ------------------------------------------------------------------------ */

.wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding-inline: 18px;
}

/* Sections carry TOP padding only; the rhythm comes from the next section's
 * top edge, so removing one never leaves a double gap. */
.section {
	padding-top: clamp(48px, 8vw, 96px);
}

/* The sticky header is 68px; anchors clear it. */
[id] {
	scroll-margin-top: 84px;
}

/* Text + image rows. The min(100%, Npx) floor is what keeps these from
 * overflowing at 320px: below 300px wide the track simply becomes 100%. */
.split {
	display: grid;
	gap: clamp(26px, 5vw, 52px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	align-items: center;
}

.cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	margin-top: 18px;
}

/* ---------------------------------------------------------------------------
 * Type
 * ------------------------------------------------------------------------ */

.eyebrow {
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rojo);
}

.h2 {
	margin: 0;
	font-size: clamp(1.9rem, 5.4vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.03;
	text-transform: uppercase;
	max-width: 20ch;
}

.lead {
	margin: 16px 0 0;
	max-width: 52ch;
	color: var(--body);
}

.group-label {
	margin: clamp(34px, 5vw, 52px) 0 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid var(--hairline);
	padding-bottom: 10px;
}

.field-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------------------------------------------------------------------------
 * Buttons and link-buttons
 *
 * Every one is at least 44px tall. The three fills are rojo (primary), ink
 * (secondary) and ghost; hover swaps background and text, which is the only
 * transition the design has.
 * ------------------------------------------------------------------------ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: 2px;
	font-family: inherit;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.btn--rojo {
	background: var(--rojo);
	color: #fff;
}

.btn--rojo:hover {
	background: var(--ink);
	color: #fff;
}

.btn--ink {
	background: var(--ink);
	color: #fff;
}

.btn--ink:hover {
	background: var(--rojo);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border: 1.5px solid var(--ink);
}

.btn--ghost:hover {
	background: var(--ink);
	color: #fff;
}

.btn--sm {
	font-size: 13.5px;
	letter-spacing: 0.06em;
	padding: 13px 14px;
	white-space: nowrap;
}

.btn--md {
	font-size: 13.5px;
	letter-spacing: 0.08em;
	padding: 14px 20px;
}

.btn--lg {
	font-size: 15px;
	letter-spacing: 0.08em;
	padding: 16px 26px;
}

.btn--wide {
	font-size: 14px;
	letter-spacing: 0.08em;
	padding: 15px 24px;
}

.btn--block {
	width: 100%;
	min-height: 52px;
	font-size: 15px;
	letter-spacing: 0.08em;
}

/* Underlined text link, azul by default. */
.tlink {
	align-self: flex-start;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--azul);
	text-decoration: none;
	border-bottom: 2px solid var(--azul);
}

.tlink:hover {
	color: var(--rojo);
	border-bottom-color: var(--rojo);
}

.tlink--ink {
	color: var(--ink);
	border-bottom-color: var(--rojo);
}

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

/* ---------------------------------------------------------------------------
 * Brand devices
 * ------------------------------------------------------------------------ */

.pole {
	height: 12px;
	background: var(--pole);
	border-top: 1px solid var(--hairline);
	border-bottom: 1px solid var(--hairline);
}

.pole--footer {
	height: 10px;
	background: var(--pole);
	border: 0;
}

.pole--chip {
	width: 46px;
	height: 8px;
	background: var(--pole-sm);
	border: 1px solid var(--hairline);
	flex: 0 0 auto;
}

.pole--tab {
	position: absolute;
	right: -8px;
	bottom: -8px;
	width: 40%;
	height: 10px;
	background: var(--pole-tab);
	border: 1px solid var(--hairline);
}

/* Dominican flag quadrants: a 2x2 grid whose gaps read as the white cross. */
.flag {
	position: absolute;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.flag--hero {
	inset: auto -10px -14px 26%;
	height: 78%;
	gap: 9px;
	background: var(--surface);
	padding: 9px;
	border: 1px solid var(--hairline);
}

.flag--herencia {
	inset: -12px auto auto -12px;
	width: 46%;
	height: 46%;
	gap: 8px;
	background: var(--paper);
	padding: 8px;
}

.flag-rojo {
	background: var(--rojo);
}

.flag-azul {
	background: var(--azul);
}

/* ---------------------------------------------------------------------------
 * Header + section nav
 * ------------------------------------------------------------------------ */

.header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(247, 245, 242, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--hairline);
}

.header-in {
	max-width: 1140px;
	margin: 0 auto;
	padding: 10px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	/* One line at 320px. Nothing else goes in the header. */
	flex-wrap: nowrap;
}

.brand {
	display: flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: var(--ink);
	flex: 1 1 auto;
	min-width: 0;
}

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

.brand img {
	width: 46px;
	height: 46px;
	object-fit: contain;
	flex: 0 0 auto;
}

.brand-words {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	min-width: 0;
}

.brand-words strong {
	font-size: 15px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.brand-words span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--rojo);
}

.header .btn {
	flex: 0 0 auto;
}

/* Scrolls sideways on a phone ON PURPOSE. Wrapping it produced a 137px band
 * that pushed the hero CTA off a 320x640 screen. */
.secnav {
	border-bottom: 1px solid var(--hairline);
}

.secnav-in {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 18px;
	display: flex;
	gap: 0 20px;
	flex-wrap: nowrap;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.secnav-in::-webkit-scrollbar {
	display: none;
}

.secnav-in a {
	color: var(--body);
	text-decoration: none;
	padding: 15px 0;
	display: inline-block;
	white-space: nowrap;
}

.secnav-in a:hover {
	color: var(--rojo);
}

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

.hero {
	max-width: 1140px;
	margin: 0 auto;
	padding: clamp(28px, 6vw, 64px) 18px clamp(24px, 5vw, 48px);
	display: grid;
	gap: clamp(28px, 5vw, 56px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
	align-items: center;
}

.hero-eyebrow {
	margin: 0 0 18px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
}

h1 {
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 0.92;
	font-size: clamp(2.7rem, 9vw, 4.7rem);
	text-transform: uppercase;
	text-wrap: balance;
	/* No hard <br>: one produced an orphan "Y" at ~900-1000px. */
	max-width: 11ch;
}

.hero-serif {
	margin: 18px 0 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.15rem, 3.4vw, 1.5rem);
	color: var(--azul);
	line-height: 1.3;
}

.hero-body {
	margin: 20px 0 0;
	max-width: 46ch;
	color: var(--body);
	font-size: 17.5px;
}

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

.hero-facts {
	margin: 32px 0 0;
	display: grid;
	gap: 18px 28px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
	border-top: 1px solid var(--hairline);
	padding-top: 20px;
}

.hero-facts dd {
	margin: 6px 0 0;
	font-size: 15.5px;
}

.hero-photo {
	position: relative;
}

.hero-photo img {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 24px 60px rgba(20, 22, 26, 0.18);
}

/* ---------------------------------------------------------------------------
 * Marquee
 * ------------------------------------------------------------------------ */

.marquee {
	background: var(--ink);
	color: var(--on-ink-head);
	overflow: hidden;
	padding: 14px 0;
}

.marquee-track {
	display: flex;
	width: max-content;
	white-space: nowrap;
	animation: ldSwing 34s linear infinite;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}

.marquee-track span {
	padding-right: 40px;
}

/* ---------------------------------------------------------------------------
 * Servicios
 * ------------------------------------------------------------------------ */

.card {
	background: var(--surface);
	border: 1px solid var(--hairline);
	border-top: 3px solid var(--rojo);
	border-radius: 2px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.card--azul {
	border-top-color: var(--azul);
}

.card h4 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* flex:1 so the price row and the link bottom-align across a row of cards. */
.card p {
	margin: 0;
	color: var(--body);
	font-size: 15.5px;
	flex: 1 1 auto;
}

.pill {
	display: inline-block;
	vertical-align: middle;
	margin-left: 6px;
	background: var(--ink);
	color: var(--paper);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 2px;
}

.price {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex: 0 0 auto;
}

.price b {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 26px;
	color: var(--ink);
}

.price span {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.aside {
	border: 1px dashed var(--dashed);
	border-radius: 2px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	background: transparent;
}

.aside p:first-child {
	margin: 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: 17px;
	color: var(--ink);
}

.aside p + p {
	margin: 0;
	font-size: 15px;
	color: var(--body);
}

/* ---------------------------------------------------------------------------
 * Galería
 *
 * The 50% - 6px floor is deliberate and must not be simplified to
 * min(100%, 240px): the two wide tiles carry `span 2`, which forces two tracks,
 * and a 100% floor then overflows a 320px viewport by 45px. This floor yields a
 * safe 2-up at 320px and 4-up on desktop.
 * ------------------------------------------------------------------------ */

.gallery-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.gallery {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(min(50% - 6px, 240px), 1fr));
	margin-top: 26px;
}

.gallery figure {
	margin: 0;
	position: relative;
}

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

.gallery .span2 {
	grid-column: span 2;
}

.gallery figcaption {
	position: absolute;
	left: 10px;
	bottom: 10px;
	background: rgba(20, 22, 26, 0.82);
	color: var(--paper);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 7px 10px;
	border-radius: 2px;
}

.gallery-note {
	margin: 18px 0 0;
	font-size: 15px;
	color: var(--body);
}

.ar-4-5 {
	aspect-ratio: 4 / 5;
}
.ar-13-10 {
	aspect-ratio: 13 / 10;
}
.ar-1-1 {
	aspect-ratio: 1 / 1;
}
.ar-16-10 {
	aspect-ratio: 16 / 10;
}

/* ---------------------------------------------------------------------------
 * Herencia
 * ------------------------------------------------------------------------ */

.feature-photo {
	position: relative;
}

.feature-photo img {
	position: relative;
	width: 100%;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 20px 50px rgba(20, 22, 26, 0.16);
}

.photo-caption {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--muted);
}

.prose {
	margin: 20px 0 0;
	color: var(--body);
	max-width: 50ch;
}

.prose + .prose {
	margin-top: 16px;
}

.quote {
	margin: 26px 0 0;
	padding: 22px 24px;
	background: var(--surface);
	border: 1px solid var(--hairline);
	border-left: 4px solid var(--azul);
	border-radius: 2px;
}

.quote p {
	margin: 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: 19px;
	line-height: 1.4;
}

.quote footer {
	margin-top: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------------------------------------------------------------------------
 * Dark video band
 * ------------------------------------------------------------------------ */

.band-dark {
	background: var(--ink);
	color: var(--on-ink-head);
	margin-top: clamp(48px, 8vw, 96px);
	padding: clamp(44px, 7vw, 84px) 0;
}

.band-dark .eyebrow {
	color: var(--on-ink-accent);
}

.band-dark .prose {
	color: var(--on-ink-soft);
	max-width: 46ch;
}

.band-dark .btn--rojo:hover {
	background: #ffffff;
	color: var(--ink);
}

.video-col {
	justify-self: center;
	width: 100%;
	max-width: 360px;
}

/* Vertical, with burned-in Spanish subtitles. Never crop into a wide frame. */
.video-col video {
	width: 100%;
	aspect-ratio: 9 / 16;
	background: #000;
	border-radius: 2px;
	border: 1px solid var(--on-ink-rule);
}

.video-caption {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--on-ink-cap);
}

/* ---------------------------------------------------------------------------
 * Pomada
 * ------------------------------------------------------------------------ */

.ticks {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
	max-width: 44ch;
}

.ticks li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 15.5px;
	color: var(--body);
}

.tick {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-top: 7px;
	background: var(--rojo);
}

.tick--azul {
	background: var(--azul);
}

.tick--ink {
	background: var(--ink);
}

.pomada-buy {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

.pomada-buy .price b {
	font-size: 30px;
}

.pomada-photo {
	position: relative;
}

.pomada-photo img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 20px 50px rgba(20, 22, 26, 0.16);
}

/* ---------------------------------------------------------------------------
 * Reseñas
 * ------------------------------------------------------------------------ */

.reviews {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	margin-top: 26px;
}

.review {
	background: var(--surface);
	border: 1px solid var(--hairline);
	border-radius: 2px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.stars {
	margin: 0;
	color: var(--rojo);
	font-size: 17px;
	letter-spacing: 0.14em;
}

.review-text {
	margin: 0;
	font-size: 16px;
	color: var(--ink);
	flex: 1 1 auto;
}

.review footer {
	border-top: 1px solid var(--hairline);
	padding-top: 14px;
}

.review footer p:first-child {
	margin: 0;
	font-weight: 700;
	font-size: 15px;
}

.review-source {
	margin: 3px 0 0;
	font-size: 12.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------------------------------------------------------------------------
 * Agenda + contacto mocks
 * ------------------------------------------------------------------------ */

.mock-cols {
	display: grid;
	gap: clamp(24px, 4vw, 40px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
	align-items: start;
}

.panel {
	background: var(--surface);
	border: 1px solid var(--hairline);
	border-radius: 2px;
	padding: clamp(18px, 3vw, 26px);
}

.demo-badge {
	margin: 0 0 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fdf0e6;
	border: 1px solid #f0c9a8;
	color: #8a4b12;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 7px 10px;
	border-radius: 2px;
}

.demo-dot {
	width: 8px;
	height: 8px;
	background: #d97706;
	border-radius: 50%;
	flex: 0 0 auto;
}

.demo-note {
	margin: 0;
	background: var(--paper);
	border: 1px dashed var(--dashed);
	border-radius: 2px;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--body);
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 20px;
}

legend {
	padding: 0;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.chip {
	min-height: 44px;
	padding: 11px 16px;
	border-radius: 2px;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	background: var(--paper);
	color: var(--ink);
	border: 1.5px solid var(--input-border);
}

/* aria-checked, not a class: the ARIA state IS the state, so a chip cannot look
 * chosen while announcing otherwise. */
.chip[aria-checked='true'] {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
}

.cal-block {
	border-top: 1px solid var(--hairline);
	padding-top: 18px;
}

.cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cal-month {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cal-note {
	margin: 0;
	font-size: 12.5px;
	color: var(--muted);
}

.cal-dows {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
	margin-top: 14px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: center;
}

/* minmax(0, 1fr), not a pixel floor: seven fixed tracks would overflow 320px.
 * The cells are allowed to be narrower than 44px — the documented exception —
 * but they stay 44px TALL. */
.cal-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
	margin-top: 6px;
}

.cal-day {
	min-height: 44px;
	padding: 0;
	border-radius: 2px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	background: var(--paper);
	border-color: var(--hairline);
	color: var(--ink);
	cursor: pointer;
}

.cal-day.is-empty {
	visibility: hidden;
	cursor: default;
	background: transparent;
	border-color: transparent;
}

.cal-day.is-off {
	background: transparent;
	border-color: transparent;
	color: var(--disabled);
	text-decoration: line-through;
	cursor: not-allowed;
}

.cal-day[aria-pressed='true'] {
	background: var(--rojo);
	color: #fff;
	border-color: var(--rojo);
}

.slot-block {
	border-top: 1px solid var(--hairline);
	margin-top: 18px;
	padding-top: 18px;
}

.slots {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 84px), 1fr));
}

/* Days select in rojo, times in azul — deliberate, so the two steps read apart. */
.slot {
	min-height: 44px;
	border-radius: 2px;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	background: var(--paper);
	color: var(--ink);
	border: 1.5px solid var(--input-border);
}

.slot[aria-pressed='true'] {
	background: var(--azul);
	color: #fff;
	border-color: var(--azul);
}

.slot:disabled {
	color: var(--disabled);
	text-decoration: line-through;
	cursor: not-allowed;
	background: transparent;
	border-color: var(--hairline);
}

.confirm-block {
	border-top: 1px solid var(--hairline);
	margin-top: 18px;
	padding-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.summary {
	margin: 0;
	font-size: 15px;
	color: var(--ink);
}

.summary-label {
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	display: block;
	margin-bottom: 4px;
}

/* ---------------------------------------------------------------------------
 * Sucursales
 * ------------------------------------------------------------------------ */

.loc-cards {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
	margin-top: 26px;
}

.loc {
	background: var(--surface);
	border: 1px solid var(--hairline);
	border-radius: 2px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.loc > img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

.loc-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1 1 auto;
}

.loc-num {
	margin: 0 0 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rojo);
}

.loc-num--azul {
	color: var(--azul);
}

.loc h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.loc address {
	margin: 0;
	color: var(--body);
	font-size: 15.5px;
	font-style: normal;
}

.hours {
	margin: 0;
	display: grid;
	gap: 6px;
	font-size: 15px;
}

.hours > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.hours > div:not(:last-child) {
	border-bottom: 1px solid var(--hairline-soft);
	padding-bottom: 6px;
}

.hours dt {
	color: var(--muted);
}

.hours dd {
	margin: 0;
	font-weight: 600;
}

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

.walk {
	margin-top: 40px;
	background: var(--surface);
	border: 1px solid var(--hairline);
	border-radius: 2px;
	padding: clamp(18px, 3vw, 28px);
	display: grid;
	gap: clamp(20px, 4vw, 36px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	align-items: center;
}

.walk h3 {
	margin: 0;
	font-size: clamp(1.3rem, 3.4vw, 1.7rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.walk p {
	margin: 14px 0 0;
	color: var(--body);
	max-width: 44ch;
}

.walk .muted {
	font-size: 15px;
	color: var(--muted);
}

.walk-video {
	justify-self: center;
	width: 100%;
	max-width: 300px;
}

.walk-video video {
	width: 100%;
	aspect-ratio: 9 / 16;
	background: #000;
	border-radius: 2px;
	border: 1px solid var(--hairline);
}

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

.contact-list {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.contact-list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 16px;
}

.contact-list a.strong {
	font-weight: 700;
}

/* NOT a <form>. See the note in index.html. */
.fields {
	display: grid;
	gap: 16px;
}

.fields label {
	display: grid;
	gap: 7px;
}

/* 16px, not 15: anything smaller makes iOS Safari zoom the page on focus. */
.fields input,
.fields textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 16px;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--input-border);
	border-radius: 2px;
}

.fields textarea {
	resize: vertical;
}

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

.footer {
	background: var(--ink);
	color: var(--on-ink-head);
	margin-top: clamp(48px, 8vw, 96px);
}

/* The 96px bottom is the claim pill's reserve: it sits bottom-left and the chat
 * bubble bottom-right, so both corners stay clear of content. */
.footer-in {
	max-width: 1140px;
	margin: 0 auto;
	padding: clamp(36px, 6vw, 64px) 18px 96px;
}

.footer-cols {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

/* The artwork is dark-on-transparent. A white export would let this go. */
.footer-logo {
	width: 132px;
	height: 132px;
	object-fit: contain;
	filter: invert(1);
}

.footer-tag {
	margin: 16px 0 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: 18px;
	color: var(--on-ink-head);
}

.footer-blurb {
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--on-ink-cap);
	max-width: 30ch;
}

.footer h2 {
	margin: 0 0 14px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--on-ink-cap);
}

.footer address,
.footer-hours {
	margin: 0;
	font-size: 15px;
	color: var(--on-ink-body);
	font-style: normal;
}

.footer address + address {
	margin-top: 14px;
}

.footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.footer-links a {
	color: var(--on-ink-body);
	font-size: 15px;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	text-decoration: none;
}

.footer-links a:hover {
	color: #ffffff;
}

.footer-links a.strong {
	color: #ffffff;
	font-weight: 700;
}

.footer-links a.strong:hover {
	color: var(--on-ink-accent);
}

.footer-legal {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--on-ink-rule);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	align-items: center;
	font-size: 13px;
}

/* 44px tall, which the handoff's own legal-row metrics (13px text, no padding)
 * do not reach — it asks for 44px targets everywhere but the month grid, and
 * these were 20px and 15px. The type and the 10px/22px gaps are unchanged; only
 * the hit area grows, so the row reads the same and is reachable with a thumb. */
.footer-legal a,
.footer-legal button {
	color: var(--on-ink-cap);
	font-size: 13px;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.footer-legal a:hover,
.footer-legal button:hover {
	color: #ffffff;
}

.footer-legal button {
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
