/* =============================================================================
   ALCAMAR — Hoja de estilos principal
   Mobile-first · Paleta "azul agua" · Sin dependencias
   ========================================================================== */

/* ------------------------------------------------------------- Tipografías -- */
/* Autoalojadas (rendimiento + RGPD, sin Google Fonts CDN). Fuentes variables:
   un solo woff2 por familia cubre todos los pesos. Subconjunto latin → incluye
   los acentos del español (á é í ó ú ñ ü ¿ ¡ €). */
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('../fonts/bricolage-grotesque.woff2') format('woff2');
}
@font-face {
	font-family: 'Hanken Grotesk';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/hanken-grotesk.woff2') format('woff2');
}

/* ----------------------------------------------------------------- Tokens -- */
:root {
	/* Color — base azul petróleo, neutros tintados hacia el tono, acento cálido. */
	--c-bg:        #ffffff;
	--c-bg-alt:    #eaf3f3;
	--c-ink:       #13272d;
	--c-ink-soft:  #4a5e63;
	--c-primary:   #0f6e7d;
	--c-primary-d: #0b5360;
	--c-primary-l: #dcedef;
	--c-navy:      #0b2930;
	--c-navy-soft: #133b44;
	--c-accent:    #d98033; /* ámbar / teja vivo — iconos, barras, fondos */
	--c-accent-d:  #a3561a; /* ámbar oscuro — solo TEXTO pequeño (contraste AA ≥4.5:1) */
	--c-accent-l:  #fbeede;
	--c-wa:        #25d366;
	--c-wa-d:      #1da851;
	--c-line:      #dbe7e7;
	--c-warn:      #bd4a2c;

	--radius:    14px;
	--radius-sm: 10px;
	--radius-lg: 22px;

	--shadow-sm: 0 1px 3px rgba(11, 41, 48, .07);
	--shadow:    0 10px 28px rgba(11, 41, 48, .10);
	--shadow-lg: 0 22px 54px rgba(11, 41, 48, .16);

	/* Escala de espaciado 4pt, semántica. */
	--space-2xs: .25rem;
	--space-xs:  .5rem;
	--space-sm:  .75rem;
	--space-md:  1rem;
	--space-lg:  1.5rem;
	--space-xl:  2rem;
	--space-2xl: 3rem;

	--container: 1140px;
	--gap:       clamp(1rem, 3vw, 1.6rem);
	--sp:        clamp(3.25rem, 7vw, 6rem); /* separación vertical de secciones */

	--font:         'Hanken Grotesk', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;

	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ Reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	font-family: var(--font);
	color: var(--c-ink);
	background: var(--c-bg);
	line-height: 1.65;
	font-size: 1.0625rem;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; }
a { color: var(--c-primary-d); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; color: var(--c-ink); letter-spacing: -.022em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 6.8vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.45rem); font-weight: 700; line-height: 1.2; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--c-navy); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- Layout ----- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2rem, 760px); }
.section { padding-block: var(--sp); }
.section--alt { background: var(--c-bg-alt); }
.center, .prose--center { text-align: center; }
.center { margin-top: 2rem; }

.section__head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section__head--left { text-align: left; margin-left: 0; }
.section__intro { color: var(--c-ink-soft); font-size: 1.1rem; margin-top: .8rem; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .45rem;
	font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--c-accent-d); margin-bottom: .7rem;
}
.eyebrow .ic { color: var(--c-accent); }

/* Subrayado cálido bajo los titulares de sección. */
.section__head h2 { position: relative; }
.section__head h2::after {
	content: ""; display: block; width: 52px; height: 3px; border-radius: 2px;
	background: var(--c-accent); margin: .95rem auto 0;
}
.section__head--left h2::after { margin-inline: 0; }
.note { color: var(--c-ink-soft); font-size: .95rem; font-style: italic; }

/* -------------------------------------------------------------- Botones ---- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	font-weight: 700; font-size: 1rem; line-height: 1;
	padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
	cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
	text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .05s; }
.btn .ic { flex: none; }
.btn--sm { padding: .6rem 1rem; font-size: .92rem; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-primary-d); box-shadow: var(--shadow); color: #fff; }
.btn--wa { background: var(--c-wa); color: #06310f; }
.btn--wa:hover { background: var(--c-wa-d); color: #fff; }
.btn--light { background: #fff; color: var(--c-primary-d); }
.btn--light:hover { background: #f0fbff; color: var(--c-primary-d); }
.btn--ghost { background: transparent; color: var(--c-primary-d); border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary-l); color: var(--c-primary-d); }

.price-pill {
	display: inline-flex; align-items: center; font-weight: 800;
	background: var(--c-primary-l); color: var(--c-primary-d);
	padding: .5rem .9rem; border-radius: 999px; font-size: 1.05rem;
}

/* ------------------------------------------------------------- Cabecera ---- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 66px; }

.brand__text { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--c-navy); }
.brand__text:hover { text-decoration: none; }
.brand__mark {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: linear-gradient(150deg, var(--c-primary), var(--c-primary-d)); color: #fff;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.brand__name { display: flex; flex-direction: column; line-height: 1; letter-spacing: -.03em; }
.brand__sub {
	font-family: var(--font); font-weight: 600; font-size: .62rem; letter-spacing: .18em;
	text-transform: uppercase; color: var(--c-accent-d); margin-top: .18rem;
}
.brand__text--footer { color: #fff; }
.brand__text--footer .brand__sub { color: var(--c-accent); }

.main-nav { margin-left: auto; }
.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 11px;
	background: #fff; cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars i { display: block; width: 20px; height: 2px; background: var(--c-navy); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu { display: flex; flex-direction: column; gap: .2rem; list-style: none; margin: 0; }
.menu a { display: block; padding: .8rem .2rem; color: var(--c-navy); font-weight: 600; border-radius: 8px; }
.menu a:hover { color: var(--c-primary-d); text-decoration: none; }
.menu .current-menu-item > a { color: var(--c-primary-d); }

.header-cta { display: none; }

/* Menú móvil desplegable */
#primary-menu {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; border-bottom: 1px solid var(--c-line);
	padding: .6rem 1rem 1.2rem; box-shadow: var(--shadow);
	max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
	transition: max-height .3s var(--ease), opacity .2s;
}
#primary-menu.is-open { max-height: 70vh; opacity: 1; pointer-events: auto; overflow-y: auto; }

/* --------------------------------------------------------- Breadcrumbs ----- */
.breadcrumbs { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line); font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: .65rem 0; color: var(--c-ink-soft); }
.breadcrumbs li::after { content: "›"; margin-left: .4rem; color: var(--c-line); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs li[aria-current] { color: var(--c-ink); font-weight: 600; }

/* -------------------------------------------------------------- HERO ------- */
.hero { position: relative; padding-block: clamp(2.4rem, 6vw, 4.5rem);
	background:
		radial-gradient(120% 90% at 100% 0%, var(--c-primary-l) 0%, transparent 55%),
		linear-gradient(180deg, #fbfeff 0%, var(--c-bg) 100%);
}
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.hero__title { margin-bottom: 1rem; }
.hero__hl { display: block; color: var(--c-primary-d); }
.hero__lead { font-size: 1.12rem; color: var(--c-ink-soft); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.5rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--c-navy); }
.hero__badges .ic { color: var(--c-primary); }

.hero__card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero__card img { width: 100%; aspect-ratio: 4 / 3; }
.hero__card figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .9rem;
	color: #fff; font-weight: 600;
	background: linear-gradient(180deg, transparent, rgba(8,42,58,.85));
	display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
}
.price-tag {
	display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: 1.05rem;
	background: var(--c-primary); color: #fff; padding: .4rem .8rem; border-radius: 999px;
}

/* --------------------------------------------------------- Tira confianza -- */
.trust { border-block: 1px solid var(--c-line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; padding-block: clamp(1.6rem, 4vw, 2.4rem); }
.trust__item { display: flex; gap: .8rem; align-items: flex-start; }
.trust__item .ic { color: var(--c-primary); flex: none; }
.trust__item strong { display: block; font-size: 1rem; color: var(--c-navy); }
.trust__item span { font-size: .9rem; color: var(--c-ink-soft); }

/* -------------------------------------------------------------- Split ------ */
.split { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
.split__text h3 { margin-bottom: 1rem; }
.split__actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.split__media { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.split__media--single { grid-template-columns: 1fr; }

.ticklist { display: grid; gap: .7rem; margin-top: 1rem; }
.ticklist li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; }
.ticklist .ic { color: var(--c-primary); flex: none; margin-top: .15rem; }
.ticklist--no .ic { color: var(--c-warn); }
.ticklist--sm li { font-size: .95rem; }

.ba { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.ba img { width: 100%; aspect-ratio: 4 / 3; }
.ba__tag {
	position: absolute; top: .7rem; left: .7rem; font-size: .72rem; font-weight: 800;
	text-transform: uppercase; letter-spacing: .05em; padding: .3rem .65rem; border-radius: 999px; color: #fff;
}
.ba__tag--before { background: var(--c-warn); }
.ba__tag--after  { background: var(--c-wa-d); }
.ba__tag--work   { background: var(--c-primary-d); }
.ba figcaption { position: absolute; inset: 0; pointer-events: none; }

/* -------------------------------------------------------------- Steps ------ */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
	position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	padding: 1.6rem 1.3rem 1.3rem; box-shadow: var(--shadow-sm);
}
.step__n {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
	background: var(--c-primary-l); color: var(--c-primary-d); font-weight: 800; font-size: 1.2rem; margin-bottom: .8rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--c-ink-soft); font-size: .98rem; }

/* ------------------------------------------------------------ Galería ------ */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.gallery__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.gallery__item img { width: 100%; aspect-ratio: 1 / 1; transition: transform .4s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; inset: 0; pointer-events: none; }

/* -------------------------------------------------------------- Cards ------ */
.cards { display: grid; gap: 1.2rem; }
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c-primary-l); color: var(--c-primary-d); margin-bottom: 1rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--c-ink-soft); font-size: .98rem; }
.card--feature { border-top: 3px solid var(--c-primary); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap; }

.readmore { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.readmore .ic { transition: transform .2s var(--ease); }
.readmore:hover .ic { transform: translateX(3px); }

/* -------------------------------------------------------------- Servicios -- */
.services { display: grid; gap: 1.2rem; }
.service { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); }
.service__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--c-primary-l); color: var(--c-primary-d); margin-bottom: 1rem; }
.service__title { margin-bottom: .5rem; }
.service__desc { color: var(--c-ink-soft); }

/* -------------------------------------------------------------- FAQ -------- */
.faq { display: grid; gap: .7rem; }
.faq__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item summary {
	list-style: none; cursor: pointer; padding: 1.1rem 1.2rem; font-weight: 700; color: var(--c-navy);
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { flex: none; color: var(--c-primary); transition: transform .25s var(--ease); transform: rotate(90deg); }
.faq__item[open] summary .ic { transform: rotate(-90deg); }
.faq__a { padding: 0 1.2rem 1.2rem; color: var(--c-ink-soft); }

/* -------------------------------------------------------------- CTA final -- */
.cta-final {
	background:
		radial-gradient(130% 100% at 100% 0%, rgba(15, 110, 125, .55) 0%, transparent 55%),
		radial-gradient(120% 120% at 0% 100%, rgba(217, 128, 51, .16) 0%, transparent 50%),
		var(--c-navy);
	color: #fff; padding-block: var(--sp);
}
.cta-final__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-final h2 { color: #fff; }
.cta-final h2::after { content: ""; display: block; width: 52px; height: 3px; border-radius: 2px; background: var(--c-accent); margin: .95rem auto 0; }
.cta-final p { color: #cfe1e6; margin-top: 1rem; font-size: 1.12rem; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }

/* -------------------------------------------------------- Páginas internas - */
.page-hero { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line); padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero__title { margin-top: .3rem; }
.page-hero__lead { margin-top: .9rem; color: var(--c-ink-soft); font-size: 1.12rem; max-width: 60ch; }

.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .4rem; }
.prose a { text-decoration: underline; }

/* -------------------------------------------------------------- Contacto --- */
.contact { display: grid; gap: clamp(1.6rem, 4vw, 2.6rem); }
.contact-form { display: grid; gap: 1.1rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(1.3rem, 4vw, 2rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1.1rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--c-navy); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; color: var(--c-ink);
	padding: .8rem .9rem; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: #fcfeff;
	transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-l);
}
.field textarea { resize: vertical; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; font-size: .92rem; color: var(--c-ink-soft); }
.checkbox input { width: auto; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__hint { font-size: .85rem; color: var(--c-ink-soft); }
.contact-form__error { background: #fdecec; color: var(--c-warn); border-radius: 8px; padding: .7rem .9rem; font-size: .92rem; font-weight: 600; }

.contact-card { background: var(--c-navy); color: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2rem); position: sticky; top: 84px; }
.contact-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: 1.2rem; }
.contact-card__list { display: grid; gap: 1.1rem; }
.contact-card__list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-card__list .ic { color: #7fd6e8; flex: none; margin-top: .15rem; }
.contact-card__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #9fc2cf; }
.contact-card__list a, .contact-card__list span { color: #fff; font-weight: 600; }
.contact-card__list a:hover { color: #7fd6e8; }
.contact-card__cta { display: grid; gap: .7rem; margin-top: 1.6rem; }

/* ----------------------------------------------------- Blog / estados ------ */
.post-list { display: grid; gap: 1.4rem; }
.post-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-card__thumb img { width: 100%; aspect-ratio: 16 / 9; }
.post-card__body { padding: 1.3rem 1.4rem; }
.post-card__title { font-size: 1.3rem; margin-bottom: .4rem; }
.post-card__meta { font-size: .85rem; color: var(--c-ink-soft); margin-bottom: .6rem; }
.empty-state { text-align: center; padding-block: 2rem; }
.empty-state__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.error-code { font-size: clamp(3.5rem, 14vw, 6rem); font-weight: 900; color: var(--c-primary-l); line-height: 1; }
.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem; border: 1px solid var(--c-line); border-radius: 10px; font-weight: 700; color: var(--c-navy); background: #fff; }
.page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
a.page-numbers:hover { background: var(--c-primary-l); text-decoration: none; }

/* -------------------------------------------------------------- Footer ----- */
.site-footer { background: var(--c-navy); color: #c5d8e0; padding-top: clamp(2.6rem, 6vw, 4rem); }
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2.4rem; }
.brand__text--footer { color: #fff; }
.site-footer__tagline { margin-top: .8rem; max-width: 32ch; font-size: .96rem; }
.site-footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer__list { display: grid; gap: .6rem; }
.site-footer__list a { color: #c5d8e0; }
.site-footer__list a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: .6rem; align-items: center; }
.site-footer__contact .ic { color: #7fd6e8; flex: none; }
.social { display: flex; gap: 1rem; margin-top: 1.2rem; }
.social a { color: #7fd6e8; font-weight: 600; font-size: .9rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; padding-block: 1.3rem; font-size: .86rem; }
.site-footer__legal { display: flex; gap: 1.2rem; list-style: none; margin: 0; }
.site-footer__legal a { color: #c5d8e0; }
.site-footer__credit { flex-basis: 100%; margin: 0; text-align: center; font-size: .8rem; color: #8fa9b4; }
.site-footer__credit a { color: #c5d8e0; }

/* ---------------------------------------------------- Barra móvil fija ----- */
.mobile-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: #fff; border-top: 1px solid var(--c-line);
	box-shadow: 0 -6px 20px rgba(10,42,58,.10);
	padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__btn {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
	padding: .55rem .3rem; font-size: .72rem; font-weight: 700; color: var(--c-navy);
}
.mobile-bar__btn:hover { text-decoration: none; }
.mobile-bar__btn .ic { color: var(--c-primary); }
.mobile-bar__btn--wa .ic { color: var(--c-wa-d); }
.mobile-bar__btn + .mobile-bar__btn { border-left: 1px solid var(--c-line); }
body { padding-bottom: 64px; } /* hueco para la barra en móvil */

/* =========================================================================
   BREAKPOINTS
   ====================================================================== */
@media (min-width: 600px) {
	.field-row { grid-template-columns: 1fr 1fr; }
	.trust__grid { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.cards { grid-template-columns: repeat(3, 1fr); }
	.services { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
	.hero__inner { grid-template-columns: 1.05fr .95fr; }
	.split { grid-template-columns: 1fr 1fr; }
	.split--reverse .split__text { order: 2; }
	.steps { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.cards--two { grid-template-columns: 1fr 1fr; }
	.contact { grid-template-columns: 1.4fr .9fr; align-items: start; }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }

	/* Menú horizontal en escritorio */
	.nav-toggle { display: none; }
	#primary-menu {
		position: static; display: flex; flex-direction: row; align-items: center; gap: .4rem;
		max-height: none; opacity: 1; pointer-events: auto; overflow: visible;
		background: transparent; border: 0; box-shadow: none; padding: 0;
	}
	.menu a { padding: .5rem .8rem; }
	.header-cta { display: inline-flex; }

	/* La barra móvil desaparece en escritorio */
	.mobile-bar { display: none; }
	body { padding-bottom: 0; }
}

@media (min-width: 1024px) {
	.cards { grid-template-columns: repeat(3, 1fr); }
	.services { grid-template-columns: repeat(2, 1fr); }
}
