/* ==========================================================================
   Acuamaro – Estilos principales
   Identidad: azul marino #343F64 + naranja #FF8040 / #FF9900, tipografía Comfortaa
   ========================================================================== */

:root {
	--navy: #343f64;
	--navy-900: #1d2440;
	--navy-800: #253055;
	--orange: #ff8040;
	--amber: #ff9900;
	--wood: #a8774b;
	--wood-light: #e9dccd;
	--cream: #f7f3ee;
	--text: #2b2f3a;
	--muted: #646b7a;
	--line: #e4e1dc;
	--white: #fff;
	--wa: #13c656;
	--wa-dark: #0ea34a;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 10px 30px rgba(29, 36, 64, .10);
	--shadow-lg: 0 24px 60px rgba(29, 36, 64, .18);
	--font-head: "Comfortaa", "Trebuchet MS", sans-serif;
	--font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
	--container: 1200px;
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--navy-900); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; box-shadow: 0 8px 22px rgba(255, 128, 64, .35); }
.btn--primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(255, 128, 64, .45); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(19, 198, 86, .3); }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--orange); text-decoration: none; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Encabezados de sección ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--cream); }
.section--dark { background: radial-gradient(1200px 600px at 10% 0%, var(--navy-800), var(--navy-900)); color: #d9ddea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--amber); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #c6cbe0; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; gap: 1.6rem; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
.topbar__item .ico { color: var(--amber); width: 1.05em; height: 1.05em; }
a.topbar__item:hover { color: #fff; }
.topbar__social { margin-left: auto; display: flex; gap: .4rem; }
.social-link { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: inherit; transition: background .2s, color .2s; }
.social-link svg { width: 15px; height: 15px; }
.social-link:hover { background: var(--orange); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(29, 36, 64, .08); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.site-logo img { height: 58px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.main-nav .menu { display: flex; gap: .2rem; }
.main-nav .menu a { display: block; padding: .55em .85em; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--navy-900); text-decoration: none; transition: background .2s, color .2s; }
.main-nav .menu a:hover { background: var(--cream); color: var(--orange); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--orange); background: #fff3ec; }
.main-nav .sub-menu { display: none; position: absolute; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: .5rem; min-width: 220px; }
.main-nav .menu li { position: relative; }
.main-nav .menu li:hover > .sub-menu { display: block; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--cream); border-radius: 12px; cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero portada ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transform: scale(1.05); animation: heroZoom 18s ease-out forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(29, 36, 64, .95) 0%, rgba(37, 48, 85, .85) 45%, rgba(52, 63, 100, .45) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--amber), var(--wood)); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; padding: clamp(60px, 9vw, 110px) 22px; }
.hero__title { color: #fff; margin-bottom: .5em; }
.hero__text { font-size: 1.2rem; color: #dfe3f0; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.hero__badges { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .8rem 2rem; }
.hero__badges li { display: flex; align-items: center; gap: .55em; font-weight: 600; color: #fff; }
.hero__badges .ico { color: var(--amber); width: 1.4em; height: 1.4em; }
.hero__card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); position: relative; }
.hero__card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--orange), transparent 40%, transparent 60%, var(--amber)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero__card-title { font-size: 1.45rem; margin-bottom: .2em; }
.hero__card-text { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }

/* ---------- Franja de confianza ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.trust__item { padding: 1.8rem 1rem; text-align: center; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); }
.trust__item span { color: var(--muted); font-size: .92rem; }

/* ---------- Tarjetas de servicio ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.service-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; border: 1px solid var(--line); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29, 36, 64, .55), transparent 55%); }
.service-card__icon { position: absolute; left: 1.5rem; bottom: -28px; z-index: 2; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; box-shadow: 0 10px 24px rgba(255, 128, 64, .4); }
.service-card__icon .ico { width: 30px; height: 30px; }
.service-card__body { padding: 2.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.service-card__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wood); }
.service-card h3 { font-size: 1.45rem; margin: .3em 0 .4em; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card p { color: var(--muted); }
.service-card .link-arrow { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .2rem 0 1.4rem; }
.chips li { background: var(--cream); color: var(--navy); border: 1px solid var(--wood-light); padding: .3em .85em; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.chips--lg li { font-size: .95rem; padding: .5em 1.1em; background: #fff; }

.extras { margin-top: 4rem; }
.extras__title { text-align: center; font-size: 1.4rem; margin-bottom: 1.6rem; }
.extras__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.extra { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.extra img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.extra:hover img { transform: scale(1.06); }
.extra figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; background: linear-gradient(to top, rgba(29, 36, 64, .9), transparent); color: #fff; font-family: var(--font-head); font-weight: 700; }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__media { position: relative; padding: 0 0 70px 0; }
.about__img { border-radius: var(--radius-lg); object-fit: cover; }
.about__img--main { width: 88%; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.about__img--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--navy-900); }
.about__badge { position: absolute; left: -10px; bottom: 30px; background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; border-radius: 18px; padding: 1rem 1.3rem; display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow-lg); }
.about__badge strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.about__badge span { font-weight: 700; line-height: 1.2; font-size: .9rem; }
.why { display: grid; gap: 1.3rem; margin: 1.8rem 0 2.2rem; }
.why li { display: flex; gap: 1rem; }
.why__icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 153, 0, .12); color: var(--amber); }
.why__icon .ico { width: 24px; height: 24px; }
.why h3 { font-size: 1.08rem; margin-bottom: .2em; }
.why p { margin: 0; font-size: .97rem; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; border-top: 2px dashed var(--wood-light); }
.step { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.step__num { position: absolute; top: 14px; right: 18px; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--cream); line-height: 1; }
.step__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 1rem; position: relative; }
.step__icon .ico { width: 28px; height: 28px; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.2rem; }
.filter { border: 2px solid var(--line); background: #fff; color: var(--navy-900); border-radius: 999px; padding: .55em 1.3em; font-weight: 700; font-family: var(--font-body); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--orange); color: var(--orange); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.gallery-item:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.gallery-item:hover img { transform: scale(1.08); filter: brightness(.8); }
.gallery-item__label { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); color: var(--navy-900); font-size: .8rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; opacity: 0; transform: translateY(8px); transition: all .3s; }
.gallery-item:hover .gallery-item__label { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }

/* ---------- Texto SEO ---------- */
.seo-text__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; }
.seo-text__body { color: var(--muted); }
.seo-text__body a { color: var(--navy); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 1rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.2rem 3.5rem 1.2rem 1.5rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--orange); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; transition: transform .3s; }
.faq__item[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.faq__answer { padding: 0 1.5rem 1.2rem; color: var(--muted); }

/* ---------- Contacto / formulario ---------- */
.contact-block__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-list { display: grid; gap: 1.2rem; margin: 1.8rem 0 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ico { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: #fff3ec; color: var(--orange); }
.contact-list strong { display: block; color: var(--navy-900); }
.contact-list span, .contact-list a { color: var(--muted); text-decoration: none; }
.card { background: #fff; border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.card__title { font-size: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 700; color: var(--navy-900); border: 0; padding: 0; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.quote-form--compact .form-grid { grid-template-columns: 1fr; gap: .75rem; }
.quote-form input[type="text"], .quote-form input[type="tel"], .quote-form input[type="email"], .quote-form input[type="number"], .quote-form select, .quote-form textarea { width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; font-size: 1rem; color: var(--text); background: #fbfaf8; transition: border-color .2s, box-shadow .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 128, 64, .15); background: #fff; }
.measures { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.measures legend { margin-bottom: .35rem; padding: 0; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 1rem 0; }
.consent input { margin-top: .3em; accent-color: var(--orange); }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.quote-form--compact .form-actions .btn { flex: 1 1 100%; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: .9rem 1.1rem; border-radius: 10px; font-weight: 600; }
.form-notice--ok { background: #e7f8ee; color: #136c38; }
.form-notice--err { background: #fdecec; color: #9b1c1c; }

.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--amber)); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(100deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.5rem 22px; }
.cta-band__title { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; font-size: 1.1rem; color: #fff7ef; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; flex-shrink: 0; }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(29, 36, 64, .96), rgba(37, 48, 85, .78) 60%, rgba(52, 63, 100, .5)); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--orange), var(--amber), var(--wood)); }
.page-hero__inner { padding: clamp(56px, 8vw, 100px) 22px; }
.page-hero--simple .page-hero__inner { padding: clamp(46px, 6vw, 72px) 22px; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero__lead { font-size: 1.15rem; color: #dfe3f0; max-width: 680px; }
.breadcrumbs { font-size: .9rem; color: #b9c0d8; margin-bottom: 1.2rem; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber); }

.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.intro__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lead { font-size: 1.15rem; color: var(--muted); }
.intro__content a, .seo-text__body a { color: var(--navy); font-weight: 700; }
.intro__content img, .seo-text__body img { border-radius: var(--radius); height: auto; }
.checklist { display: grid; gap: .7rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .7rem; align-items: center; font-weight: 600; }
.checklist .ico { color: #fff; background: var(--wa); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.feature { background: #fff; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #fff3ec; color: var(--orange); margin-bottom: 1rem; }
.feature__icon .ico { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.types { margin-top: 3rem; text-align: center; }
.types .chips { justify-content: center; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.related-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.related-card:hover img { transform: scale(1.07); }
.related-card__body { position: absolute; inset: auto 0 0 0; padding: 3rem 1.4rem 1.2rem; background: linear-gradient(to top, rgba(29, 36, 64, .95), transparent); color: #fff; display: flex; flex-direction: column; gap: .2rem; }
.related-card__body strong { font-family: var(--font-head); font-size: 1.15rem; }
.related-card .link-arrow { color: var(--amber); font-size: .92rem; }

.entry-content { font-size: 1.08rem; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.entry-content img, .entry-thumb { border-radius: var(--radius); margin-bottom: 1.5rem; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post-card__media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 1.5rem; }
.post-card time { font-size: .85rem; color: var(--wood); font-weight: 700; }
.post-card h2 { font-size: 1.25rem; margin-top: .3em; }
.post-card h2 a { color: inherit; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aab1c9; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 3rem; padding: 4.5rem 22px 3rem; }
.footer-logo img { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 1.2rem; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--orange); }
.footer-links { display: grid; gap: .55rem; }
.site-footer a { color: #d3d8ea; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-contact { display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .ico { color: var(--amber); margin-top: .25em; }
.footer-social { display: flex; gap: .5rem; }
.footer-social .social-link { background: rgba(255, 255, 255, .08); width: 38px; height: 38px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 22px; flex-wrap: wrap; }

/* ---------- WhatsApp flotante y barra móvil ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: .6rem; background: var(--wa); color: #fff; border-radius: 999px; padding: 14px; box-shadow: 0 10px 30px rgba(19, 198, 86, .45); text-decoration: none; animation: waPulse 2.6s infinite; }
.wa-float:hover { color: #fff; background: var(--wa-dark); }
.wa-float .ico { width: 32px; height: 32px; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; transition: max-width .4s, padding .4s; }
.wa-float:hover .wa-float__label { max-width: 240px; padding-right: .4rem; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(19, 198, 86, .5), 0 10px 30px rgba(19, 198, 86, .4); } 50% { box-shadow: 0 0 0 14px rgba(19, 198, 86, 0), 0 10px 30px rgba(19, 198, 86, .4); } }
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 19, 35, .94); display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; max-width: min(1100px, 92vw); width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__caption { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: #cfd4e6; margin: 0; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--orange); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Animación de aparición ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.main-nav .menu a { padding: .5em .6em; font-size: .9rem; }
	.nav-cta { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.steps::before { display: none; }
	.gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
	:root { --header-h: 70px; }
	.site-logo img { height: 46px; }
	.nav-toggle { display: block; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; flex-direction: column; align-items: stretch; padding: 1.5rem 22px 6rem; gap: 1rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; }
	.main-nav .menu a { font-size: 1.1rem; padding: .9em 1em; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .sub-menu { position: static; display: block; box-shadow: none; padding-left: 1rem; }
	.nav-cta { display: inline-flex; }
	.hero__inner, .about__grid, .contact-block__grid, .intro__grid, .seo-text__grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.service-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
	.extras__grid { grid-template-columns: 1fr 1fr 1fr; gap: .8rem; }
	.cta-band__inner { flex-direction: column; text-align: center; }
	.cta-band__actions { justify-content: center; }
	.about__media { max-width: 560px; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; padding-bottom: 64px; }
	.hide-sm, .topbar__social { display: none; }
	.topbar__inner { justify-content: center; gap: 1rem; font-size: .78rem; }
	.hero__badges { grid-template-columns: 1fr 1fr; gap: .6rem 1rem; font-size: .9rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__card { padding: 1.5rem; }
	.service-grid, .feature-grid, .form-grid, .extras__grid { grid-template-columns: 1fr; }
	.trust__grid { grid-template-columns: 1fr 1fr; }
	.trust__item { border-bottom: 1px solid var(--line); }
	.steps { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 8px; }
	.card { padding: 1.4rem; }
	.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
	.wa-float { display: none; }
	.mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(29, 36, 64, .1); }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; font-size: .78rem; font-weight: 700; color: var(--navy-900); text-decoration: none; min-height: 60px; }
	.mobile-bar .ico { width: 22px; height: 22px; color: var(--orange); }
	.mobile-bar .is-wa { background: var(--wa); color: #fff; }
	.mobile-bar .is-wa .ico { color: #fff; }
}
