@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20C4; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("../fonts/dmsans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("../fonts/dmsans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20C4; }

/* Paleta: principal #FBB400, secundario #000 */
:root {
	--c-primary: #FBB400;
	--c-primary-dark: #d99800;
	--c-btn: #E6A100;
	--c-secondary: #000000;
	--c-bg: #ffffff;
	--c-soft: #fff8e1;
	--c-text: #555555;   /* párrafos */
	--c-muted: #777777;  /* textos secundarios: etiquetas, metadatos, ayudas */

	/* Escala de espaciado (base 8): usar siempre estos valores */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 72px;

	/* Escala tipográfica */
	--fs-xs: .8125rem;
	--fs-sm: .9rem;
	--fs-base: 1.0625rem;
	--fs-md: 1.125rem;
	--fs-lg: 1.25rem;
	--fs-xl: clamp(1.75rem, 3vw, 2.5rem);
	--fs-2xl: clamp(2.1rem, 5vw, 3.6rem);
	--c-line: #e8e2d0;
	--radius: 10px;
	--font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--container: 1440px;
	--reading: 780px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.7; color: var(--c-text); background: var(--c-bg); }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--c-secondary); text-decoration-color: var(--c-primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--c-secondary); margin: 1.6em 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-top: 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding-top: 48px; padding-bottom: 48px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 14px; }

.btn, .button, button.single_add_to_cart_button, .wp-block-button__link {
	display: inline-block; background: var(--c-btn); color: var(--c-secondary); padding: 12px 26px; border: 0; border-radius: var(--radius);
	font-family: var(--font-heading); font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s;
}
.btn:hover, .button:hover { background: var(--c-secondary); color: var(--c-primary); }

/* Header: barra superior amarilla + barra principal blanca */
.topbar { background: var(--c-primary); color: #fff; font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 46px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg, .btn-phone svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }

/* Barra de administración de WordPress: el header fijo queda debajo de ella */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	/* En pantallas muy pequeñas la barra de WP deja de ser fija */
	.admin-bar .site-header { top: 0; }
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.site-title { font-family: var(--font-heading); color: var(--c-secondary); font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.custom-logo { max-height: 56px; width: auto; display: block; }
.primary-nav { margin-left: auto; margin-right: auto; }
.primary-nav .menu, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.primary-nav a { font-family: var(--font-heading); font-size: .95rem; color: #3b3b3b; text-decoration: none; padding: 10px 12px; display: flex; align-items: center; gap: 6px; border-radius: 6px; font-weight: 500; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--c-secondary); background: var(--c-soft); }
.primary-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.primary-nav li { position: relative; }
.primary-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--c-line); border-top: 3px solid var(--c-primary); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 12px 30px rgba(0, 0, 0, .1); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.btn-phone { display: inline-flex; align-items: center; gap: 8px; background: var(--c-btn); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: .9rem; padding: 12px 28px; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.btn-phone:hover { background: var(--c-secondary); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 26px; height: 3px; background: var(--c-secondary); border-radius: 2px; position: relative; margin: 0 auto; content: ""; }
.nav-toggle__bar::before { position: absolute; top: -8px; left: 0; }
.nav-toggle__bar::after { position: absolute; top: 8px; left: 0; }

/* Cabecera del aside, botón de submenú y velo: solo se ven en móvil */
.primary-nav__head, .submenu-toggle, .nav-overlay { display: none; }

@media (max-width: 1000px) {
	.nav-toggle { display: block; margin-left: auto; }
	.site-header__inner > .btn-phone { display: none; }

	/* Aside lateral derecho */
	.primary-nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 1001; width: min(86vw, 360px); margin: 0; padding: 0 20px 24px; background: #fff; box-shadow: -12px 0 32px rgba(0, 0, 0, .18); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
	.primary-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
	.nav-overlay { position: fixed; inset: 0; z-index: 1000; display: block; background: rgba(0, 0, 0, .5); }
	.nav-overlay[hidden] { display: none; }
	body.nav-open { overflow: hidden; }
	.admin-bar .primary-nav, .admin-bar .nav-overlay { top: 32px; }

	.primary-nav__head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; margin-bottom: 8px; border-bottom: 1px solid var(--c-line); }
	.primary-nav__title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--c-secondary); }
	.primary-nav__close { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--c-secondary); cursor: pointer; }

	/* Lista vertical con n niveles */
	.primary-nav .menu { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
	.primary-nav li { position: relative; border-bottom: 1px solid #f0ebdf; }
	.primary-nav li li { border-bottom: 0; }
	.primary-nav a { padding: 14px 44px 14px 4px; border-radius: 0; background: none; }
	.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { background: none; color: var(--c-primary-dark); }
	.primary-nav .menu-item-has-children > a::after { display: none; }

	.submenu-toggle { position: absolute; top: 0; right: 0; display: block; width: 44px; height: 49px; border: 0; background: none; cursor: pointer; }
	.submenu-toggle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -7px 0 0 -5px; border-right: 2px solid var(--c-secondary); border-bottom: 2px solid var(--c-secondary); transform: rotate(45deg); transition: transform .25s, margin .25s; }
	li.is-expanded > .submenu-toggle::before { margin-top: -2px; transform: rotate(-135deg); }

	/* Submenús: cerrados hasta pulsar el botón; cada nivel se sangra */
	.primary-nav .sub-menu, .primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: none; position: static; min-width: 0; margin: 0 0 8px; padding: 0 0 0 16px; border: 0; border-left: 2px solid var(--c-primary); border-radius: 0; box-shadow: none; }
	.primary-nav li.is-expanded > .sub-menu { display: block; }
	.primary-nav .sub-menu a { padding: 11px 44px 11px 4px; font-size: .92rem; }
	.primary-nav .sub-menu .submenu-toggle { height: 44px; }

	.primary-nav .btn-phone--mobile { display: flex; justify-content: center; margin-top: 20px; padding: 14px 24px; color: #fff; background: var(--c-btn); border-radius: 8px; }
	.primary-nav .btn-phone--mobile:hover { color: #fff; background: var(--c-secondary); }
}

@media (max-width: 782px) { .admin-bar .primary-nav, .admin-bar .nav-overlay { top: 46px; } }
/* Con el menú abierto, el widget de WhatsApp queda debajo del aside */
body.nav-open .wa-widget { z-index: 40; }

/* Menú de escritorio con el aspecto de la barra de navegación de Bootstrap (navbar + dropdown) */
.primary-nav a, .primary-nav .sub-menu a { font-weight: 500; }
@media (min-width: 1001px) {
	.primary-nav .menu { gap: 0; flex-wrap: nowrap; }
	.primary-nav .menu > li > a { padding: .5rem .85rem; border-radius: 0; background: none; color: rgba(0, 0, 0, .65); font-size: .95rem; transition: color .15s ease-in-out; }
	.primary-nav .menu > li > a:hover, .primary-nav .menu > li > a:focus-visible, .primary-nav .menu > .current-menu-item > a, .primary-nav .menu > .current-menu-ancestor > a, .primary-nav .menu > li:hover > a { background: none; color: rgba(0, 0, 0, .9); }
	.primary-nav .menu > .current-menu-item > a, .primary-nav .menu > .current-menu-ancestor > a { color: #000; box-shadow: inset 0 -2px 0 var(--c-primary); }

	/* Flecha del dropdown: igual a .dropdown-toggle::after de Bootstrap */
	.primary-nav .menu-item-has-children > a::after { width: 0; height: 0; margin-left: .255em; border: 0; border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent; transform: none; vertical-align: .255em; }

	/* Menú desplegable: .dropdown-menu */
	.primary-nav li.menu-item-has-children { position: relative; }
	.primary-nav .sub-menu { top: 100%; left: 0; right: auto; width: auto; min-width: 12rem; margin-top: 0; padding: .5rem 0; border: 1px solid rgba(0, 0, 0, .15); border-radius: .375rem; background: #fff; box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15); }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
	.primary-nav .sub-menu a { padding: .4rem 1rem; border-radius: 0; font-size: .9rem; color: #212529; white-space: nowrap; }
	.primary-nav .sub-menu a:hover, .primary-nav .sub-menu a:focus-visible, .primary-nav .sub-menu .current-menu-item > a { background: #f8f9fa; color: #000; }
	.primary-nav .sub-menu .current-menu-item > a { background: var(--c-soft); }

	/* Niveles más profundos: se abren a la derecha (.dropend) */
	.primary-nav .sub-menu .sub-menu { top: -.5rem; left: 100%; margin-left: 0; }
	.primary-nav .sub-menu .menu-item-has-children > a { justify-content: space-between; }
	.primary-nav .sub-menu .menu-item-has-children > a::after { margin-left: 1rem; border-top: .3em solid transparent; border-right: 0; border-bottom: .3em solid transparent; border-left: .3em solid; vertical-align: 0; }
}
@media (min-width: 1001px) { .primary-nav .btn-phone--mobile { display: none; } }
@media (max-width: 640px) {
	.topbar__inner { gap: 6px 18px; padding-top: 6px; padding-bottom: 6px; font-size: .8rem; }
	.topbar__item--location { display: none; }
}

/* Hero */
.hero { background: var(--c-secondary); border-bottom: 6px solid var(--c-primary); color: #fff; padding: 90px 0; text-align: center; }
.hero h1 { color: #fff; max-width: 900px; margin: 0 auto 16px; }
.hero p { max-width: 640px; margin: 0 auto 28px; font-size: 1.2rem; opacity: .92; }

/* Cards */
.archive-header { margin-bottom: 32px; }
.section__title { margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .09); transform: translateY(-2px); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body p { margin: 0; color: var(--c-muted); font-size: .98rem; }
.card__title { font-size: 1.2rem; margin: 0; }
.card__title a { color: var(--c-secondary); text-decoration: none; }
.card__meta { font-size: .85rem; }
.card__more { margin-top: auto; font-family: var(--font-heading); font-weight: 700; text-decoration: none; }

/* Pagination */
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 6px; text-decoration: none; }
.page-numbers.current { background: var(--c-primary); color: var(--c-secondary); border-color: var(--c-primary); font-weight: 700; }

/* Artículo (Yoast verde: párrafos cortos, buena lectura) */
.article { max-width: calc(var(--reading) + 40px); }
.article__meta, .breadcrumbs { color: var(--c-muted); font-size: .9rem; }
.breadcrumbs { margin-bottom: 18px; }
.breadcrumbs a { color: var(--c-muted); }
.article__image { margin: 24px 0 32px; }
.article__image img { border-radius: var(--radius); width: 100%; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: .88rem; color: var(--c-muted); text-align: center; margin-top: 6px; }
.entry-content strong { color: var(--c-secondary); }
.entry-content h2 { border-bottom: 3px solid var(--c-primary); padding-bottom: 8px; }

/* Índice */
.aex-toc { background: var(--c-soft); border-left: 4px solid var(--c-primary); border-radius: var(--radius); padding: 18px 24px; margin: 0 0 32px; }
.aex-toc ol { margin: 10px 0 0; padding-left: 1.2em; }
.aex-toc a { text-decoration: none; }

/* Cita de experto */
.aex-quote { margin: 2em 0; padding: 24px 28px; background: var(--c-soft); border-left: 5px solid var(--c-primary); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; font-style: italic; }
.aex-quote p { margin: 0 0 12px; }
.aex-quote cite { font-style: normal; font-weight: 700; color: var(--c-secondary); }
.aex-quote cite span { font-weight: 400; color: var(--c-muted); }
.aex-quote cite span::before { content: "— "; }

/* Caja de autoridad */
.aex-authority { margin: 2em 0; padding: 22px 26px; border: 2px solid var(--c-secondary); border-radius: var(--radius); background: var(--c-soft); }
.aex-authority h3 { margin: 0 0 10px; display: inline-block; background: var(--c-primary); padding: 4px 12px; border-radius: 6px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.aex-authority p:last-child { margin-bottom: 0; }

/* CTA */
.aex-cta { margin: 2.2em 0; padding: 28px; background: var(--c-secondary); color: #fff; border-radius: var(--radius); text-align: center; border-bottom: 5px solid var(--c-primary); }
.aex-cta p { margin: 0 0 16px; font-size: 1.15rem; }

/* Tablas comparativas */
.aex-table-wrap { overflow-x: auto; margin: 2em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.entry-content th { font-family: var(--font-heading); background: var(--c-secondary); color: var(--c-primary); text-align: left; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--c-line); vertical-align: top; }
.entry-content tbody tr:nth-child(even) { background: var(--c-soft); }

/* FAQ */
.aex-faq { margin-top: 3em; }
.aex-faq__item { border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.aex-faq__item summary { cursor: pointer; padding: 16px 20px; font-family: var(--font-heading); font-weight: 600; color: var(--c-secondary); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.aex-faq__item summary::-webkit-details-marker { display: none; }
.aex-faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--c-primary-dark); }
.aex-faq__item[open] summary::after { content: "−"; }
.aex-faq__item > div { padding: 0 20px 16px; }

/* Comentarios */
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], input[type="password"], textarea, select {
	width: 100%; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 6px; font: inherit;
}

/* WooCommerce */
.woo-wrap .woocommerce-breadcrumb { display: none; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { margin: 0; width: auto; float: none; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px; }
.woocommerce ul.products li.product img { border-radius: 8px; }
.woocommerce-loop-product__title { font-family: var(--font-heading); font-size: 1.1rem; color: var(--c-secondary); }
.woocommerce .price, .woocommerce div.product p.price { color: var(--c-secondary); font-weight: 700; }
.woocommerce div.product div.images { max-width: 100%; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--c-primary); }
.woocommerce span.onsale { background: var(--c-primary); color: var(--c-secondary); }


/* Footer */
.site-footer { background: var(--c-secondary); border-top: 3px solid var(--c-primary); color: #fff; margin-top: 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.footer-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--c-primary); margin: 0 0 18px; }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { max-width: 230px; height: auto; display: block; }
.footer-logo--white img { filter: brightness(0) invert(1); }
.footer-logo--text { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; color: var(--c-primary); text-decoration: none; }
.footer-brand p { margin: 0 0 18px; line-height: 1.65; }
.footer-social, .footer-links, .footer-badges, .footer-legal { list-style: none; margin: 0; padding: 0; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); color: var(--c-secondary); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.footer-social a:hover { background: #fff; }
.footer-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: #d6d6d6; text-decoration: none; }
.site-footer a:hover { color: var(--c-primary); }
.footer-links--icons li { display: flex; gap: 12px; align-items: flex-start; color: #fff; }
.footer-links--icons svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--c-primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-links--icons a { color: #fff; }
.footer-links--icons a:hover { color: var(--c-primary); }
.footer-links--icons span { word-break: break-word; }

.footer-bar { border-top: 1px solid #2b2b2b; }
.footer-bar__inner { display: flex; justify-content: center; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-badges { display: flex; gap: 8px 22px; flex-wrap: wrap; font-family: var(--font-heading); font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.footer-badges li { text-transform: uppercase; }
.footer-badges li + li { border-left: 1px solid #555; padding-left: 22px; }
.footer-legal { display: flex; justify-content: flex-start; gap: 10px 0; flex-wrap: wrap; }
.footer-legal li { border-left: 1px solid #fff; padding: 0 8px; line-height: 1.2; }
.footer-legal li:last-child { border-right: 1px solid #fff; }
.site-footer .footer-legal a { color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .01em; }
.site-footer .footer-legal a:hover { color: var(--c-primary); }
.footer-copy { margin: 0 auto; text-align: center; font-size: 1.05rem; color: #9a9a9a; }

/* Enlaces legales y copyright en una sola línea (escritorio) */
@media (min-width: 1101px) {
	.footer-bar__inner { flex-wrap: nowrap; gap: 24px; }
	.footer-legal { flex-wrap: nowrap; flex: none; }
	.site-footer .footer-legal a { font-size: .72rem; white-space: nowrap; }
}
.not-found { text-align: center; }

@media (max-width: 1000px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
	.footer-bar__inner { justify-content: center; flex-direction: column; text-align: center; }
	.footer-legal { justify-content: center; }
	.footer-copy { text-align: center; }
	.footer-badges li + li { border-left: 0; padding-left: 0; }
}

@media (max-width: 600px) {
	body { font-size: 1rem; }
	.hero { padding: 60px 0; }
	.aex-quote { padding: 18px; }
}
