/* ==========================================================================
   Atlantis Nesos · tema 1.0.0
   Modo oscuro por defecto (html[data-theme="dark"]) y modo claro
   (html[data-theme="light"]). Colores del logo: petróleo #01606C y cian #2CAACE.
   ========================================================================== */

/* ---------- Fuentes (alojadas en el tema, sin llamadas externas) ---------- */
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ubuntu-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ubuntu-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--an-petrol: #01606C;
	--an-cyan: #2CAACE;
	--an-navy: #034264;

	--an-font-body: "Ubuntu", system-ui, sans-serif;
	--an-font-display: "Montserrat", system-ui, sans-serif;
	--an-font-mono: "Ubuntu Mono", ui-monospace, monospace;
	/* Eras Demi: se usa si está instalada en el equipo o si se sube
	   assets/fonts/eras-demi.woff2 con licencia web (ver readme.txt). */
	--an-font-menu: "Eras Web", "Eras Demi ITC", "ITC Eras Demi", "Eras ITC", "Montserrat", system-ui, sans-serif;

	--an-gutter: clamp(16px, 5vw, 64px);
	--an-max: 1280px;
	--an-radius: 24px;
	--an-header-h: 90px;
}

html[data-theme="dark"],
html:not([data-theme]) {
	color-scheme: dark;
	--an-bg: #04252D;
	--an-bar: #021B21;
	--an-bar-text: #9CC3CC;
	--an-header: #04252D;
	--an-line: #12434E;
	--an-nav: #B7D3DA;
	--an-nav-active: #FFFFFF;
	--an-hero: #04252D;
	--an-code: #2CAACE;
	--an-heading: #FFFFFF;
	--an-text: #E6F3F6;
	--an-body: #B7D3DA;
	--an-muted: #9CC3CC;
	--an-btn: #2CAACE;
	--an-btn-text: #03232B;
	--an-outline: #2CAACE;
	--an-outline-text: #FFFFFF;
	--an-ring-fill: #021B21;
	--an-soft-ring: #16505C;
	--an-card: #0A3640;
	--an-border: #16505C;
	--an-icon: #2CAACE;
	--an-circle-fill: #04252D;
	--an-band-btn: #04252D;
	--an-band-btn-text: #FFFFFF;
	--an-chip: #04252D;
	--an-chip-border: #16505C;
	--an-chip-text: #D5EEF4;
	--an-alt: #021B21;
	--an-footer: #04252D;
	--an-foot-text: #9CC3CC;
	--an-link: #2CAACE;
	--an-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] {
	color-scheme: light;
	--an-bg: #F3F8F9;
	--an-bar: #01606C;
	--an-bar-text: #D5EEF4;
	--an-header: #FFFFFF;
	--an-line: #DCE9EC;
	--an-nav: #0E2A33;
	--an-nav-active: #01606C;
	--an-hero: #FFFFFF;
	--an-code: #01606C;
	--an-heading: #01606C;
	--an-text: #0E2A33;
	--an-body: #3A5660;
	--an-muted: #3A5660;
	--an-btn: #01606C;
	--an-btn-text: #FFFFFF;
	--an-outline: #01606C;
	--an-outline-text: #01606C;
	--an-ring-fill: #EAF6FA;
	--an-soft-ring: #BFE3EE;
	--an-card: #FFFFFF;
	--an-border: #DCE9EC;
	--an-icon: #01606C;
	--an-circle-fill: #EAF6FA;
	--an-band-btn: #FFFFFF;
	--an-band-btn-text: #01606C;
	--an-chip: #F3F8F9;
	--an-chip-border: #DCE9EC;
	--an-chip-text: #0E2A33;
	--an-alt: #FFFFFF;
	--an-footer: #034264;
	--an-foot-text: #D5EEF4;
	--an-link: #01606C;
	--an-shadow: 0 18px 40px rgba(1, 96, 108, 0.14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--an-header-h) + 16px); }

body {
	margin: 0;
	background: var(--an-bg);
	color: var(--an-text);
	font-family: var(--an-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: var(--an-link); }
a:hover { color: var(--an-cyan); }

:focus-visible { outline: 3px solid var(--an-cyan); outline-offset: 3px; border-radius: 6px; }

.an-wrap {
	width: 100%;
	max-width: var(--an-max);
	margin-inline: auto;
	padding-inline: var(--an-gutter);
}

.an-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--an-btn);
	color: var(--an-btn-text);
	font-weight: 700;
	text-decoration: none;
}
.an-skip:focus { top: 16px; }

.an-visually-hidden,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.an-kicker {
	margin: 0;
	font-family: var(--an-font-mono);
	font-size: 15px;
	line-height: 1.5;
	color: var(--an-code);
}

.an-h2 {
	margin: 0;
	font-family: var(--an-font-display);
	font-weight: 700;
	font-size: clamp(26px, 3.2vw, 38px);
	line-height: 1.15;
	color: var(--an-heading);
}

.an-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3DDC97;
}

/* ---------- Botones ---------- */
.an-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--an-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.15s ease, background-color 0.15s ease;
}
.an-btn:hover { filter: brightness(1.08); }
.an-btn--primary { background: var(--an-btn); color: var(--an-btn-text); }
.an-btn--primary:hover { color: var(--an-btn-text); }
.an-btn--outline { border-color: var(--an-outline); color: var(--an-outline-text); background: transparent; }
.an-btn--outline:hover { color: var(--an-outline-text); }
.an-btn--lg { min-height: 58px; padding: 16px 28px; font-size: 17px; }
.an-btn--block { display: flex; width: 100%; }
.an-btn--band { background: var(--an-band-btn); color: var(--an-band-btn-text); }
.an-btn--band:hover { color: var(--an-band-btn-text); }
.an-btn--band .an-icon { color: var(--an-cyan); }
.an-btn--ghost { border-color: #A9E3F2; color: #FFFFFF; font-weight: 600; }
.an-btn--ghost:hover { color: #FFFFFF; }

/* ---------- Círculos (detalle de marca) ---------- */
.an-circle {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border: 4px solid var(--an-cyan);
	border-radius: 50%;
	background: var(--an-circle-fill);
	color: var(--an-icon);
}
.an-circle--sm { width: 44px; height: 44px; border-width: 3px; background: transparent; color: inherit; }
.an-circle--lg { width: 84px; height: 84px; border-width: 3px; background: var(--an-card); }
.an-circle--fill { border: 0; background: var(--an-cyan); color: #03232B; }

/* ---------- Barra superior ---------- */
.an-topbar {
	background: var(--an-bar);
	color: var(--an-bar-text);
	font-family: var(--an-font-body);
	font-size: 14px;
}
.an-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}
.an-status { display: inline-flex; align-items: center; gap: 8px; }
.an-status__state { font-weight: 700; color: #FFFFFF; }
html[data-theme="light"] .an-status__state { color: #FFFFFF; }
.an-status.is-closed .an-dot { background: #F2994A; }
.an-status.is-open .an-dot { box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.18); }
.an-topbar__contact { display: inline-flex; gap: 28px; }
.an-topbar a { color: inherit; text-decoration: none; }
.an-topbar a:hover { color: var(--an-cyan); }

/* ---------- Cabecera ---------- */
.an-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--an-header);
	border-bottom: 1px solid var(--an-line);
}
.admin-bar .an-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .an-header { top: 0; } }

.an-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 88px;
}

.an-brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.an-brand__dark { display: inline-flex; align-items: center; gap: 14px; }
.an-brand__light { display: none; }
html[data-theme="light"] .an-brand__dark { display: none; }
html[data-theme="light"] .an-brand__light { display: inline-flex; }
.an-brand__img { display: block; width: auto; height: 38px; max-width: 340px; }
.an-brand__ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 3px solid var(--an-cyan);
	border-radius: 50%;
	font-family: var(--an-font-display);
	font-weight: 700;
	font-size: 16px;
	color: #FFFFFF;
}
.an-brand__text { display: flex; flex-direction: column; gap: 2px; }
.an-brand__name { font-family: var(--an-font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; color: #FFFFFF; line-height: 1.2; }
.an-brand__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--an-cyan); line-height: 1.2; }

/* Menú principal (escritorio) */
.an-nav { margin-left: auto; }
.an-menu {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--an-font-menu);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.an-menu li { position: relative; }
.an-menu a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; color: var(--an-nav); text-decoration: none; white-space: nowrap; }
.an-menu a:hover,
.an-menu .current-menu-item > a,
.an-menu .current-menu-ancestor > a { color: var(--an-nav-active); }
.an-menu .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--an-cyan); }
.an-nav .an-has-sub > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.an-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -18px;
	z-index: 10;
	display: none;
	min-width: 240px;
	margin: 0;
	padding: 10px;
	list-style: none;
	border: 1px solid var(--an-border);
	border-radius: 18px;
	background: var(--an-card);
	box-shadow: var(--an-shadow);
	letter-spacing: 0.04em;
	font-size: 14px;
}
.an-nav .an-has-sub:hover > .sub-menu,
.an-nav .an-has-sub:focus-within > .sub-menu { display: block; }
.an-nav .sub-menu a { display: flex; padding: 10px 12px; border-radius: 10px; color: var(--an-text); }
.an-nav .sub-menu a:hover { background: var(--an-chip); color: var(--an-heading); }

.an-header__actions { display: flex; align-items: center; gap: 14px; }
.an-header__cta { white-space: nowrap; }

/* Botón de modo */
.an-mode {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--an-cyan);
	border-radius: 50%;
	background: transparent;
	color: var(--an-icon);
	cursor: pointer;
}
.an-mode__moon { display: none; }
.an-mode__sun, .an-mode__moon { line-height: 0; }
html[data-theme="light"] .an-mode__sun { display: none; }
html[data-theme="light"] .an-mode__moon { display: inline; }

/* Hamburguesa y panel móvil */
.an-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--an-btn);
	color: var(--an-btn-text);
	cursor: pointer;
}
.an-burger__close { display: none; }
.an-burger span { line-height: 0; }
.an-burger[aria-expanded="true"] .an-burger__open { display: none; }
.an-burger[aria-expanded="true"] .an-burger__close { display: inline; }

.an-drawer {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: calc(100vh - var(--an-header-h));
	height: calc(100dvh - var(--an-header-h));
	overflow-x: hidden;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 28px var(--an-gutter) 40px;
	background: var(--an-bg);
	border-top: 1px solid var(--an-line);
}
.an-drawer[hidden] { display: none; }
.an-drawer__ring {
	position: absolute;
	right: -210px;
	bottom: -150px;
	width: 420px;
	height: 420px;
	border: 14px solid var(--an-cyan);
	border-radius: 50%;
	background: var(--an-ring-fill);
	pointer-events: none;
}
.an-drawer__nav, .an-drawer__cta, .an-drawer__contact { position: relative; }
.an-drawer .an-menu { flex-direction: column; align-items: stretch; gap: 0; font-size: 20px; }
.an-drawer .an-menu > li > a { display: flex; justify-content: space-between; padding: 18px 4px; border-bottom: 1px solid var(--an-line); }
.an-drawer .an-menu .current-menu-item > a { box-shadow: none; }
.an-drawer .an-menu .current-menu-item > a::after {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--an-cyan);
}
.an-drawer .sub-menu { margin: 0; padding: 4px 0 8px 16px; list-style: none; border-bottom: 1px solid var(--an-line); font-size: 15px; }
.an-drawer .sub-menu a { padding: 10px 4px; color: var(--an-body); }
.an-drawer__cta { min-height: 56px; font-size: 17px; }
.an-drawer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.an-drawer__contact a { color: var(--an-body); text-decoration: none; }
.an-drawer__contact .an-drawer__phone { font-size: 20px; font-weight: 700; color: var(--an-heading); }
body.an-menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.an-hero {
	position: relative;
	overflow: hidden;
	background: var(--an-hero);
}
.an-hero__arc {
	position: absolute;
	top: -70px;
	right: calc(50% - 870px);
	width: 760px;
	height: 760px;
	border: 16px solid var(--an-cyan);
	border-radius: 50%;
	background: var(--an-ring-fill);
	pointer-events: none;
}
.an-hero__arc2 {
	position: absolute;
	top: 50px;
	right: calc(50% - 750px);
	width: 520px;
	height: 520px;
	border: 2px solid var(--an-soft-ring);
	border-radius: 50%;
	pointer-events: none;
}
.an-hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 48px;
	min-height: 620px;
	padding-block: 64px;
}
.an-hero__copy { flex: 1 1 auto; display: flex; flex-direction: column; gap: 26px; max-width: 700px; }
.an-hero__title {
	margin: 0;
	font-family: var(--an-font-display);
	font-weight: 700;
	font-size: clamp(34px, 4.6vw, 58px);
	line-height: 1.06;
	letter-spacing: -0.01em;
	color: var(--an-heading);
}
.an-hero__text { margin: 0; max-width: 600px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--an-body); }
.an-hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.an-quick { flex: 0 0 340px; display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 0; list-style: none; }
.an-quick__item { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.an-quick__text { display: flex; flex-direction: column; gap: 2px; }
.an-quick__title { font-size: 20px; font-weight: 700; color: var(--an-heading); line-height: 1.3; }
.an-quick__sub { font-size: 15px; color: var(--an-body); }
.an-quick__item:hover .an-circle { transform: scale(1.04); }
.an-quick .an-circle { transition: transform 0.15s ease; }

/* ---------- Secciones ---------- */
.an-section { padding-block: clamp(56px, 7vw, 96px); }
.an-section--band { padding-block: 24px 0; }
.an-section--band + .an-section { padding-top: clamp(56px, 7vw, 88px); }
.an-section--alt { background: var(--an-alt); border-block: 1px solid var(--an-line); }
.an-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}
.an-section__head .an-kicker { margin-bottom: 12px; }

/* Franja */
.an-band {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 40px 44px;
	border-radius: var(--an-radius);
	background: var(--an-petrol);
	color: #FFFFFF;
}
.an-band__copy { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; }
.an-band__label { margin: 0; font-family: var(--an-font-mono); font-size: 14px; color: #A9E3F2; }
.an-band__title { margin: 0; font-family: var(--an-font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; color: #FFFFFF; }
.an-band__actions { display: flex; flex-shrink: 0; gap: 12px; }

.an-steps { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 4px 0 0; padding: 0; list-style: none; }
.an-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #D8F0F5; }
.an-steps__num {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 3px solid var(--an-cyan);
	border-radius: 50%;
	font-weight: 700;
	color: #FFFFFF;
}

/* Tarjetas de servicio */
.an-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.an-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	border: 1px solid var(--an-border);
	border-radius: var(--an-radius);
	background: var(--an-card);
}
.an-card__head { display: flex; align-items: center; gap: 16px; }
.an-card__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--an-heading); }
.an-card__title a { color: inherit; text-decoration: none; }
.an-card__title a:hover { color: var(--an-cyan); }
.an-card__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--an-body); }
.an-card__text p { margin: 0; }
.an-card__media img { display: block; width: 100%; border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; }
.an-card--post { gap: 12px; }

.an-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.an-chip {
	padding: 6px 12px;
	border: 1px solid var(--an-chip-border);
	border-radius: 999px;
	background: var(--an-chip);
	font-size: 13px;
	line-height: 1.3;
	color: var(--an-chip-text);
}

/* Bienvenida */
.an-welcome { display: flex; align-items: center; gap: 48px; }
.an-welcome__copy { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; }
.an-welcome__text { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.7; color: var(--an-body); }
.an-welcome__text strong { color: var(--an-heading); }
.an-medals { display: flex; flex-shrink: 0; gap: 24px; }
.an-medal {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 200px;
	height: 200px;
	padding: 16px;
	border: 6px solid var(--an-cyan);
	border-radius: 50%;
	background: var(--an-circle-fill);
	text-align: center;
}
.an-medal__value { font-family: var(--an-font-display); font-weight: 700; font-size: 36px; line-height: 1.1; color: var(--an-heading); }
.an-medal__label { max-width: 120px; font-size: 15px; line-height: 1.35; color: var(--an-body); }

/* ---------- Pie ---------- */
.an-footer { background: var(--an-footer); color: var(--an-foot-text); border-top: 1px solid var(--an-line); }
.an-footer__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px 40px;
	flex-wrap: wrap;
	padding-block: 64px;
}
.an-footer__main { display: flex; flex-direction: column; gap: 14px; }
.an-footer__title { margin: 0; font-family: var(--an-font-display); font-size: 28px; font-weight: 700; color: #FFFFFF; }
.an-footer__phone { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: #FFFFFF; text-decoration: none; }
.an-footer__phone .an-circle { color: #FFFFFF; }
.an-footer__phone:hover { color: #FFFFFF; }
.an-footer__line { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; font-size: 16px; }
.an-footer a { color: var(--an-foot-text); }
.an-footer a:hover { color: #FFFFFF; }
.an-footer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 14px; }
.an-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.an-footer__copy { margin: 0; }

/* ---------- Páginas interiores ---------- */
.an-pagehead {
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 6vw, 80px);
	background: var(--an-hero);
	border-bottom: 1px solid var(--an-line);
}
.an-pagehead__ring {
	position: absolute;
	top: -180px;
	right: calc(50% - 820px);
	width: 460px;
	height: 460px;
	border: 12px solid var(--an-cyan);
	border-radius: 50%;
	background: var(--an-ring-fill);
	pointer-events: none;
}
.an-pagehead .an-wrap { position: relative; display: flex; flex-direction: column; gap: 14px; }
.an-pagehead__title {
	margin: 0;
	max-width: 860px;
	font-family: var(--an-font-display);
	font-weight: 700;
	font-size: clamp(30px, 4vw, 50px);
	line-height: 1.1;
	color: var(--an-heading);
}

.an-content { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px); }

.an-prose { max-width: 820px; color: var(--an-body); font-size: 18px; line-height: 1.7; }
.an-content--wide .an-prose { margin-inline: auto; }
.an-prose > * { margin-block: 0 1.1em; }
.an-prose h2, .an-prose h3, .an-prose h4 { color: var(--an-heading); line-height: 1.2; margin-top: 1.6em; }
.an-prose h2 { font-family: var(--an-font-display); font-size: clamp(24px, 2.6vw, 30px); }
.an-prose h3 { font-size: 22px; }
.an-prose h4 { font-size: 19px; }
.an-prose strong { color: var(--an-text); }
.an-prose a { color: var(--an-link); text-underline-offset: 3px; }
.an-prose ul, .an-prose ol { padding-left: 1.3em; }
.an-prose li { margin-bottom: 0.4em; }
.an-prose li::marker { color: var(--an-cyan); }
.an-prose img { border-radius: 16px; }
.an-prose figure { margin-inline: 0; }
.an-prose figcaption { font-size: 14px; color: var(--an-muted); }
.an-prose blockquote {
	margin-inline: 0;
	padding: 20px 24px;
	border: 1px solid var(--an-border);
	border-radius: 18px;
	background: var(--an-card);
	color: var(--an-text);
}
.an-prose hr { border: 0; border-top: 1px solid var(--an-line); }
.an-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.an-prose th, .an-prose td { padding: 10px 12px; border-bottom: 1px solid var(--an-line); text-align: left; }
.an-prose th { color: var(--an-heading); }
.an-prose code, .an-prose pre { font-family: var(--an-font-mono); font-size: 0.9em; }
.an-prose pre { overflow-x: auto; padding: 16px; border-radius: 14px; background: var(--an-card); }
.an-prose .alignwide { max-width: 1100px; }
.an-prose .aligncenter { margin-inline: auto; }
.an-prose .alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.an-prose .alignright { float: right; margin: 0.3em 0 1em 1.5em; }

/* Bloques de WordPress */
.an-prose .wp-block-button__link,
.an-prose .wp-element-button,
.an-prose input[type="submit"],
.an-prose button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--an-btn);
	color: var(--an-btn-text);
	font-family: var(--an-font-body);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.an-prose .is-style-outline .wp-block-button__link { border: 2px solid var(--an-outline); background: transparent; color: var(--an-outline-text); }
.an-prose input[type="text"],
.an-prose input[type="email"],
.an-prose input[type="tel"],
.an-prose input[type="url"],
.an-prose input[type="search"],
.an-prose input[type="number"],
.an-prose select,
.an-prose textarea,
.an-search__input {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--an-border);
	border-radius: 14px;
	background: var(--an-card);
	color: var(--an-text);
	font: inherit;
	font-size: 16px;
}
.an-prose label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--an-text); }

.an-search { display: flex; gap: 10px; max-width: 520px; }
.an-search__btn { flex-shrink: 0; width: 48px; padding: 0; }

.an-featured { margin: 0 0 32px; }
.an-featured img { display: block; width: 100%; border-radius: var(--an-radius); }
.an-meta { font-family: var(--an-font-mono); font-size: 13px; color: var(--an-code); }
.an-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.an-postnav { display: flex; justify-content: space-between; gap: 16px; max-width: 820px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--an-line); }
.an-postnav a { text-decoration: none; font-weight: 600; }

.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 2px solid var(--an-border);
	border-radius: 999px;
	color: var(--an-text);
	text-decoration: none;
	font-weight: 600;
}
.nav-links .page-numbers.current { border-color: var(--an-cyan); color: var(--an-heading); }

.an-comments { margin-top: 56px; }
.an-comments__list { padding-left: 0; list-style: none; }
.an-comments__list .comment-body { padding: 20px; margin-bottom: 16px; border: 1px solid var(--an-border); border-radius: 18px; background: var(--an-card); }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1180px) {
	.an-quick { flex-basis: 290px; }
	.an-hero__arc { right: -300px; }
	.an-hero__arc2 { right: -180px; }
}

@media (max-width: 1180px) {
	.an-nav, .an-header__cta { display: none; }
	.an-burger { display: inline-flex; }
	.an-header__inner { min-height: 72px; }
	:root { --an-header-h: 72px; }
}

@media (max-width: 1080px) {

	.an-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.an-hero__arc { width: 440px; height: 440px; top: -250px; right: -230px; border-width: 14px; }
	.an-hero__arc2 { width: 300px; height: 300px; top: -170px; right: -170px; }
	.an-hero__copy { max-width: 600px; }
	.an-hero__inner { flex-direction: column; align-items: stretch; min-height: 0; padding-block: 48px; }
	.an-quick { flex-basis: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 8px; }
	.an-quick__item { flex-direction: column; text-align: center; gap: 10px; }
	.an-quick .an-circle--lg { width: 72px; height: 72px; }
	.an-quick__title { font-size: 15px; }
	.an-quick__sub { font-size: 13px; }

	.an-band { flex-direction: column; align-items: stretch; }
	.an-band__actions { flex-wrap: wrap; }

	.an-welcome { flex-direction: column; align-items: stretch; }
	.an-medals { justify-content: center; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.an-topbar__inner { justify-content: center; }
	.an-topbar__contact { display: none; }

	.an-brand__ring { width: 38px; height: 38px; font-size: 13px; }
	.an-brand__dark { gap: 10px; }
	.an-brand__name { font-size: 14px; letter-spacing: 0.05em; }
	.an-brand__tag { font-size: 8px; letter-spacing: 0.12em; }
	.an-brand__img { height: 26px; }
	.an-header__actions { gap: 8px; }

	.an-hero__arc { width: 320px; height: 320px; top: -170px; right: -200px; border-width: 12px; }
	.an-hero__arc2 { width: 220px; height: 220px; top: -110px; right: -150px; }
	.an-hero__copy .an-kicker { max-width: 230px; font-size: 13px; }
	.an-hero__buttons { flex-direction: column; }
	.an-hero__buttons .an-btn { width: 100%; }

	.an-grid { grid-template-columns: minmax(0, 1fr); }
	.an-card { padding: 24px 20px; }
	.an-card .an-circle { width: 52px; height: 52px; }
	.an-card__title { font-size: 20px; }

	.an-section__head .an-btn { width: 100%; }

	.an-band { padding: 28px 22px; gap: 22px; }
	.an-steps { flex-direction: column; }
	.an-steps li { font-size: 16px; gap: 12px; }
	.an-band__actions { flex-direction: column; }
	.an-band__actions .an-btn { width: 100%; }

	.an-welcome__text { font-size: 16px; }
	.an-medals { gap: 16px; }
	.an-medal { width: 150px; height: 150px; border-width: 5px; }
	.an-medal__value { font-size: 28px; }
	.an-medal__label { font-size: 13px; }

	.an-footer__inner { flex-direction: column; align-items: flex-start; padding-block: 44px; }
	.an-footer__side { align-items: flex-start; }
	.an-footer__line--contact { flex-direction: column; gap: 4px; }
	.an-footer__line--contact > span[aria-hidden] { display: none; }

	.an-pagehead__ring { width: 300px; height: 300px; top: -150px; right: -150px; }
	.an-prose { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
}
