/* ==========================================================================
   Madre Algodón — sistema de diseño
   Paleta tomada del logo: verde profundo, carmín, ocre y crema.
   ========================================================================== */

:root {
	--teal-950: #072b2d;
	--teal-900: #0a3436;
	--teal: #0e4446;
	--jade: #2a7a72;
	--jade-soft: #d7e8e3;
	--crimson: #a51e45;
	--crimson-700: #861636;
	--crimson-soft: #f6e1e6;
	--ochre: #d97a12;
	--ochre-500: #e59a3c;
	--ochre-soft: #fbe9d2;
	--cream: #fef6ef;
	--sand: #f7eadb;
	--sand-2: #efdcc6;
	--white: #fffdfa;
	--ink: #1d2a2b;
	--muted: #5b6766;
	--line: rgba(14, 68, 70, .14);
	--line-strong: rgba(14, 68, 70, .28);

	--ff-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--ff-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius-s: 10px;
	--radius: 18px;
	--radius-l: 28px;
	--arch: 999px 999px 24px 24px;
	--shadow-s: 0 2px 10px rgba(10, 52, 54, .06);
	--shadow: 0 18px 40px -18px rgba(10, 52, 54, .28);
	--shadow-l: 0 30px 70px -30px rgba(10, 52, 54, .45);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--ff-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--crimson-700); }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; color: var(--teal); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--crimson); font-variation-settings: "SOFT" 100, "WONK" 1; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ochre-soft); color: var(--teal-900); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; background: var(--white); padding: 10px 16px; border-radius: 8px; }

.ma-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ma-main { min-height: 50vh; }

/* ---------- Tipografía utilitaria ---------- */
.ma-h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.ma-eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--ff-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ochre); margin: 0 0 1rem; text-decoration: none;
}
a.ma-eyebrow:hover { color: var(--crimson); }

.ma-ornament { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.ma-ornament i { width: 46px; height: 1.5px; background: var(--ochre); }
.ma-ornament b { width: 10px; height: 10px; background: var(--teal); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--cream), 0 0 0 4.5px var(--crimson); }

/* ---------- Botones ---------- */
.ma-btn, .button, button.button, a.button, input[type="submit"] {
	--bg: var(--teal); --fg: var(--cream); --bd: var(--teal);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .9em 1.6em; border-radius: 999px; border: 1.5px solid var(--bd);
	background: var(--bg); color: var(--fg);
	font-family: var(--ff-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.1;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.ma-btn:hover, .button:hover, input[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg); }
.ma-btn:active { transform: translateY(0); }
.ma-btn .ma-icon { transition: transform .25s var(--ease); }
.ma-btn:hover .ma-icon--arrow { transform: translateX(4px); }
.ma-btn--primary { --bg: var(--crimson); --bd: var(--crimson); --fg: #fff; }
.ma-btn--primary:hover { --bg: var(--crimson-700); --bd: var(--crimson-700); }
.ma-btn--teal { --bg: var(--teal); --bd: var(--teal); }
.ma-btn--teal:hover { --bg: var(--teal-900); }
.ma-btn--ghost { --bg: transparent; --fg: var(--teal); --bd: var(--line-strong); }
.ma-btn--ghost:hover { --bg: var(--teal); --fg: var(--cream); --bd: var(--teal); }
.ma-btn--light { --bg: var(--cream); --fg: var(--teal); --bd: var(--cream); }
.ma-btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.ma-btn--block { width: 100%; }

.ma-link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--teal); text-decoration: none; }
.ma-link-arrow:hover { color: var(--crimson); }
.ma-link-arrow:hover .ma-icon { transform: translateX(4px); }
.ma-link-arrow .ma-icon { transition: transform .25s var(--ease); }

.ma-iconbtn {
	position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: 50%; border: 0; background: transparent; color: var(--teal); cursor: pointer; text-decoration: none;
	transition: background .2s, color .2s;
}
.ma-iconbtn:hover { background: var(--sand); color: var(--crimson); }

/* ---------- Barra de anuncio ---------- */
.ma-announce {
	background: var(--teal-900); color: var(--cream);
	font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; text-align: center;
	padding: 9px 0;
}

/* ---------- Encabezado ---------- */
.ma-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(254, 246, 239, .92);
	backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
.admin-bar .ma-header { top: 32px; }
.ma-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(10, 52, 54, .35); }
.ma-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.ma-header.is-scrolled .ma-header__inner { height: 68px; }
.ma-header__brand { flex: 0 0 auto; }
.ma-logo { display: block; }
.ma-logo img { height: 62px; width: auto; transition: height .3s var(--ease); }
.ma-header.is-scrolled .ma-logo img { height: 50px; }
.ma-header__burger { display: none; }
.ma-header__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.ma-nav { flex: 1; display: flex; justify-content: center; }
.ma-nav .ma-menu, .ma-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ma-nav .ma-menu > li, .ma-nav .menu > li { position: relative; }
.ma-nav a {
	display: block; padding: 10px 14px; border-radius: 999px;
	color: var(--teal); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap;
	transition: color .2s, background .2s;
}
.ma-nav a:hover { color: var(--crimson); background: var(--sand); }
.ma-nav .current-menu-item > a, .ma-nav .current-product_cat-ancestor > a, .ma-nav .current_page_item > a { color: var(--crimson); }
.ma-nav .current-menu-item > a::after, .ma-nav .current_page_item > a::after {
	content: ""; display: block; width: 6px; height: 6px; margin: 3px auto -9px; background: var(--ochre); transform: rotate(45deg);
}
.ma-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 10px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-l); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.ma-nav li:hover > .sub-menu, .ma-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.ma-cart-btn { position: relative; }
.ma-cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 999px; background: var(--crimson); color: #fff;
	font-size: .7rem; font-weight: 700; line-height: 19px; text-align: center;
	box-shadow: 0 0 0 2px var(--cream);
	animation: ma-pop .4s var(--ease);
}
.ma-cart-count.is-empty { display: none; }
@keyframes ma-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* ---------- Overlays: búsqueda y cajones ---------- */
.ma-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(7, 43, 45, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.ma-overlay[hidden] { display: none; }
.ma-overlay.is-open { opacity: 1; }
body.ma-lock { overflow: hidden; }

.ma-search__panel { background: var(--cream); padding: 28px var(--gutter) 22px; transform: translateY(-100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-l); }
.ma-search.is-open .ma-search__panel { transform: none; }
.ma-search__form { max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--teal); padding-bottom: 10px; color: var(--teal); }
.ma-search__form input { flex: 1; border: 0; background: transparent; font-family: var(--ff-display); font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem); color: var(--teal); outline: none; }
.ma-search__hint { max-width: 820px; margin: 14px auto 0; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ma-search__hint a { padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--teal); text-decoration: none; font-size: .85rem; }
.ma-search__hint a:hover { background: var(--teal); color: var(--cream); }

.ma-drawer__panel {
	position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--cream);
	display: flex; flex-direction: column; padding: 18px 22px 22px; overflow-y: auto;
	transition: transform .4s var(--ease); box-shadow: var(--shadow-l);
}
.ma-drawer--right .ma-drawer__panel { right: 0; transform: translateX(100%); }
.ma-drawer--left .ma-drawer__panel { left: 0; transform: translateX(-100%); }
.ma-drawer.is-open .ma-drawer__panel { transform: none; }
.ma-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.ma-drawer__head .ma-logo img { height: 50px; }
.ma-drawer__title { margin: 0; font-size: 1.6rem; }
.ma-drawer__body { flex: 1; }
.ma-drawer__note { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--crimson); font-size: .88rem; margin: 14px 0 0; }
.ma-drawer__colibri { width: 130px; margin: auto auto 0; opacity: .9; padding-top: 24px; }
.ma-mobile-nav .ma-menu, .ma-mobile-nav .menu { list-style: none; margin: 0 0 20px; padding: 0; }
.ma-mobile-nav a { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px dashed var(--line); font-family: var(--ff-display); font-size: 1.35rem; color: var(--teal); text-decoration: none; }
.ma-mobile-nav a:hover { color: var(--crimson); }
.ma-mobile-nav .sub-menu { list-style: none; padding-left: 14px; }
.ma-mobile-nav .sub-menu a { font-size: 1.1rem; }

/* ---------- Secciones ---------- */
.ma-section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.ma-section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.ma-section--sand { background: var(--sand); }
.ma-section--sand::before, .ma-section--sand::after {
	content: ""; position: absolute; left: 0; right: 0; height: 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14 7 7 14 14 21 7 28 14Z' fill='%23fef6ef'/%3E%3C/svg%3E");
	background-size: 28px 14px;
}
.ma-section--sand::before { top: -1px; transform: scaleY(-1); }
.ma-section--sand::after { bottom: -1px; }
.ma-section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.ma-section__head p { color: var(--muted); font-size: 1.06rem; }
.ma-section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; }
.ma-section__head--split .ma-h2 { margin: 0; }

/* ---------- Hero ---------- */
.ma-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 90px) 0 clamp(56px, 7vw, 110px); }
.ma-hero::before {
	content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
	background: radial-gradient(closest-side, rgba(217, 122, 18, .16), transparent 70%); pointer-events: none;
}
.ma-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ma-hero__title { font-size: clamp(2.8rem, 1.6rem + 4.6vw, 5.4rem); line-height: 1.02; margin-bottom: .35em; font-weight: 500; letter-spacing: -.02em; }
.ma-hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 34em; margin-bottom: 2rem; }
.ma-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ma-hero__proof { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 2.4rem 0 0; padding: 1.4rem 0 0; border-top: 1px dashed var(--line-strong); }
.ma-hero__proof li { color: var(--muted); font-size: .92rem; }
.ma-hero__proof strong { display: block; font-family: var(--ff-display); font-size: 1.7rem; font-weight: 500; color: var(--teal); line-height: 1.1; }

.ma-hero__art { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; justify-self: end; width: 100%; }
.ma-hero__arch {
	position: absolute; inset: 0 8% 6% 14%; border-radius: var(--arch); overflow: hidden;
	box-shadow: var(--shadow-l); border: 8px solid var(--white); outline: 1.5px solid var(--ochre); outline-offset: 8px;
}
.ma-hero__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: ma-kenburns 18s ease-in-out infinite alternate; }
@keyframes ma-kenburns { to { transform: scale(1.12) translate(-2%, 1%); } }
.ma-hero__circle {
	position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
	border: 6px solid var(--white); box-shadow: var(--shadow-l);
	animation: ma-float 7s ease-in-out infinite;
}
.ma-hero__circle img { width: 100%; height: 100%; object-fit: cover; }
.ma-hero__colibri { position: absolute; top: -4%; right: -6%; width: 34%; filter: drop-shadow(0 14px 18px rgba(10, 52, 54, .18)); animation: ma-hover 6s ease-in-out infinite; }
.ma-hero__stamp {
	position: absolute; right: 0; bottom: 14%; width: 112px; height: 112px; border-radius: 50%;
	display: grid; place-items: center; text-align: center;
	background: var(--crimson); color: var(--cream); font-family: var(--ff-display); font-style: italic; font-size: 1rem; line-height: 1.15;
	box-shadow: 0 0 0 6px var(--cream), 0 0 0 7.5px var(--crimson), var(--shadow);
	transform: rotate(-10deg);
}
@keyframes ma-float { 50% { transform: translateY(-10px); } }
@keyframes ma-hover { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-8px, -12px) rotate(-3deg); } }

/* ---------- Cinta (marquee) ---------- */
.ma-marquee { background: var(--crimson); color: var(--cream); overflow: hidden; padding: 16px 0; border-block: 4px solid var(--ochre); }
.ma-marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: ma-marquee 38s linear infinite; }
.ma-marquee span { font-family: var(--ff-display); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-style: italic; white-space: nowrap; }
.ma-marquee i { color: var(--ochre-500); font-style: normal; }
@keyframes ma-marquee { to { transform: translateX(-50%); } }

/* ---------- Categorías ---------- */
.ma-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.ma-cat { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition-delay: calc(var(--d, 0) * 80ms); }
.ma-cat__media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--arch); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-s); }
.ma-cat__media::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1.5px solid rgba(254, 246, 239, .7); pointer-events: none; }
.ma-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ma-cat:hover .ma-cat__media img { transform: scale(1.07); }
.ma-cat__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 8px 0; }
.ma-cat__tag { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); font-weight: 700; }
.ma-cat__name { font-family: var(--ff-display); font-size: 1.6rem; color: var(--teal); line-height: 1.2; margin: 4px 0 6px; }
.ma-cat__link { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--crimson); }
.ma-cat__link .ma-icon { transition: transform .25s var(--ease); }
.ma-cat:hover .ma-cat__link .ma-icon { transform: translateX(4px); }

/* ---------- Historia ---------- */
.ma-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ma-story__media { position: relative; aspect-ratio: 1 / 1.05; }
.ma-story__img { position: absolute; overflow: hidden; box-shadow: var(--shadow-l); }
.ma-story__img img { width: 100%; height: 100%; object-fit: cover; }
.ma-story__img--a { inset: 0 18% 14% 0; border-radius: var(--radius-l); }
.ma-story__img--b { right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: var(--arch); border: 6px solid var(--cream); }
.ma-story__greca { position: absolute; left: 4%; bottom: -2%; width: 42%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .12)); }
.ma-story__copy p { color: var(--muted); }
.ma-process { list-style: none; padding: 0; margin: 2rem 0 2.2rem; display: grid; gap: 18px; }
.ma-process li { display: flex; gap: 16px; align-items: flex-start; }
.ma-process li > span { flex: 0 0 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--jade-soft); color: var(--teal); border: 1.5px dashed var(--jade); }
.ma-process li:nth-child(2) > span { background: var(--ochre-soft); color: var(--ochre); border-color: var(--ochre); }
.ma-process li:nth-child(3) > span { background: var(--crimson-soft); color: var(--crimson); border-color: var(--crimson); }
.ma-process strong { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 1.2rem; color: var(--teal); }
.ma-process div { color: var(--muted); font-size: .96rem; line-height: 1.5; }

/* ---------- Ediciones especiales ---------- */
.ma-editions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.ma-edition { position: relative; display: block; min-height: 480px; border-radius: var(--radius-l); overflow: hidden; color: var(--cream); text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.ma-edition img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.ma-edition::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 43, 45, 0) 25%, rgba(7, 43, 45, .88) 100%); }
.ma-edition--xmas::before { background: linear-gradient(180deg, rgba(134, 22, 54, 0) 25%, rgba(110, 16, 42, .92) 100%); }
.ma-edition:hover img { transform: scale(1.06); }
.ma-edition__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ma-edition__kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ochre-500); }
.ma-edition__title { font-family: var(--ff-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1; font-style: italic; }
.ma-edition__text { max-width: 30em; opacity: .9; margin-bottom: 10px; }
.ma-edition:hover { color: var(--cream); }

/* ---------- Pieza destacada ---------- */
.ma-spotlight { background: var(--teal); color: var(--cream); overflow: hidden; }
.ma-spotlight::before { content: ""; position: absolute; inset: 0; background: url("../img/greca.png") no-repeat right -60px top -40px / 380px; opacity: .08; pointer-events: none; }
.ma-spotlight .ma-h2 { color: var(--cream); }
.ma-spotlight__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.ma-spotlight__copy p { color: rgba(254, 246, 239, .82); }
.ma-spotlight__price { font-family: var(--ff-display); font-size: 1.8rem; color: var(--cream) !important; }
.ma-spotlight__price .ma-from { font-family: var(--ff-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.ma-spotlight__price .amount { color: var(--ochre-500); }
.ma-swatches { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 1.4rem 0; }
.ma-swatches li { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--teal), 0 0 0 4.5px rgba(254, 246, 239, .5); }
.ma-spotlight__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ma-spotlight__gallery > div { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.ma-spotlight__gallery > div:nth-child(2) { transform: translateY(28px); }
.ma-spotlight__gallery > div:nth-child(4) { transform: translateY(28px); }
.ma-spotlight__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ma-spotlight__gallery > div:hover img { transform: scale(1.06); }

/* ---------- CTA final ---------- */
.ma-cta { padding: clamp(64px, 8vw, 110px) 0; text-align: center; }
.ma-cta__inner { display: flex; flex-direction: column; align-items: center; max-width: 760px; }
.ma-cta__greca { width: 200px; margin-bottom: 20px; }
.ma-cta p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.8rem; }
.ma-cta .ma-hero__ctas { justify-content: center; }

/* ---------- Valores ---------- */
.ma-values { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.ma-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ma-value { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.ma-value__icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--teal); color: var(--crimson); margin-bottom: 8px; position: relative; }
.ma-value__icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed var(--ochre); }
.ma-value strong { font-family: var(--ff-display); font-weight: 500; font-size: 1.15rem; color: var(--crimson); text-transform: uppercase; letter-spacing: .06em; }
.ma-value span:last-child { color: var(--muted); font-size: .92rem; max-width: 22em; line-height: 1.5; }

/* ---------- Pie ---------- */
.ma-footer { position: relative; color: rgba(254, 246, 239, .82); margin-top: 20px; }
.ma-footer__wave { display: block; width: 100%; height: clamp(60px, 8vw, 120px); margin-bottom: -1px; }
.ma-footer__body { background: var(--teal-900); padding: 40px 0 0; }
.ma-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.ma-footer .ma-logo img { height: 92px; }
.ma-footer__brand p { margin: 18px 0; max-width: 26em; font-size: .95rem; }
.ma-footer h3 { color: var(--ochre-500); font-family: var(--ff-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.ma-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ma-footer a { color: var(--cream); text-decoration: none; }
.ma-footer a:hover { color: var(--ochre-500); }
.ma-footer__contact li { display: flex; align-items: center; gap: 10px; }
.ma-footer__contact .ma-icon { color: var(--ochre-500); flex: 0 0 auto; }
.ma-social { display: flex; gap: 10px; }
.ma-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(254, 246, 239, .3); transition: .25s; }
.ma-social a:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; transform: translateY(-3px); }
.ma-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(254, 246, 239, .14); font-size: .85rem; }
.ma-footer__love { display: inline-flex; align-items: center; gap: 6px; }
.ma-footer__love .ma-icon { color: var(--crimson); fill: var(--crimson); }

.ma-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); transition: transform .25s var(--ease); }
.ma-wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Encabezados de página ---------- */
.ma-pagehead { padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 52px); text-align: center; background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); position: relative; }
.ma-pagehead__title { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.8rem); margin-bottom: .3em; }
.ma-pagehead__desc { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.ma-pagehead__desc p:last-child { margin: 0; }
.ma-pagehead__meta { color: var(--muted); }
.ma-pagehead--shop { text-align: left; }
.ma-pagehead--shop .ma-pagehead__desc { margin: 0; }
.ma-pagehead__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.ma-pagehead.has-img .ma-pagehead__grid { grid-template-columns: 1.2fr .8fr; }
.ma-pagehead__img { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); max-height: 300px; justify-self: end; width: 100%; max-width: 420px; }
.ma-pagehead__img img { width: 100%; height: 100%; object-fit: cover; }

.ma-breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.ma-breadcrumb a { color: var(--muted); text-decoration: none; }
.ma-breadcrumb a:hover { color: var(--crimson); }
.ma-breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* ---------- Prosa (páginas legales, nosotros, blog) ---------- */
.ma-prose-wrap { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.ma-prose { max-width: 780px; margin: 0 auto; font-size: 1.06rem; }
.ma-prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-top: 1.8em; }
.ma-prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.ma-prose ul, .ma-prose ol { padding-left: 1.3em; }
.ma-prose li { margin-bottom: .4em; }
.ma-prose li::marker { color: var(--ochre); }
.ma-prose blockquote { margin: 2em 0; padding: 1em 1.5em; border-left: 3px solid var(--crimson); background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--ff-display); font-size: 1.25rem; font-style: italic; color: var(--teal); }
.ma-prose img { border-radius: var(--radius); }
.ma-prose .alignwide { max-width: 1100px; margin-inline: auto; }
.ma-prose .alignfull { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); max-width: none; }
.ma-prose details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; background: var(--white); transition: box-shadow .2s; }
.ma-prose details[open] { box-shadow: var(--shadow-s); }
.ma-prose summary { cursor: pointer; padding: 18px 0; font-family: var(--ff-display); font-size: 1.15rem; color: var(--teal); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ma-prose summary::-webkit-details-marker { display: none; }
.ma-prose summary::after { content: "+"; color: var(--crimson); font-size: 1.5rem; line-height: 1; transition: transform .25s; }
.ma-prose details[open] summary::after { transform: rotate(45deg); }
.ma-prose details > *:not(summary) { margin-top: 0; }

/* Componentes para páginas (Nosotros / Contacto) */
.ma-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin: 2.5em 0; }
.ma-split img { border-radius: var(--arch); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ma-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 2em 0; }
.ma-cards3 > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.ma-cards3 strong { display: block; font-family: var(--ff-display); font-weight: 500; color: var(--crimson); font-size: 1.2rem; margin-bottom: 6px; }
.ma-cards3 p { margin: 0; color: var(--muted); font-size: .95rem; }
.ma-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ma-contact__info { background: var(--teal); color: var(--cream); border-radius: var(--radius-l); padding: 32px; position: relative; overflow: hidden; }
.ma-contact__info h2, .ma-contact__info h3 { color: var(--cream); margin-top: 0; }
.ma-contact__info a { color: var(--ochre-500); }
.ma-contact__info ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.ma-contact__info li { display: flex; gap: 12px; align-items: center; }
.ma-contact__info img { position: absolute; right: -30px; bottom: -20px; width: 160px; opacity: .25; }
.ma-wide { max-width: 1100px !important; }

/* Formularios del tema */
.ma-form { display: grid; gap: 16px; }
.ma-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ma-form__hp { position: absolute; left: -9999px; }
.ma-field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--teal); }
.ma-field em { font-weight: 400; color: var(--muted); font-style: normal; }
.ma-field input, .ma-field select, .ma-field textarea,
.ma-main input[type="text"], .ma-main input[type="email"], .ma-main input[type="tel"], .ma-main input[type="password"], .ma-main input[type="number"], .ma-main input[type="search"], .ma-main select, .ma-main textarea {
	width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong);
	background: var(--white); font-size: 1rem; font-weight: 400; color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}
.ma-main input:focus, .ma-main select:focus, .ma-main textarea:focus, .ma-field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42, 122, 114, .15); }
.ma-alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; }
.ma-alert--ok { background: var(--jade-soft); color: var(--teal); }
.ma-alert--error { background: var(--crimson-soft); color: var(--crimson-700); }

/* ---------- Blog ---------- */
.ma-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ma-post-card { background: var(--white); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ma-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ma-post-card__media { display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.ma-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ma-post-card__body { padding: 22px 24px 26px; }
.ma-post-card time { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ochre); font-weight: 700; }
.ma-post-card h2 { font-size: 1.4rem; margin: 6px 0 10px; }
.ma-post-card h2 a { color: var(--teal); text-decoration: none; }
.ma-post-card p { color: var(--muted); font-size: .96rem; }
.ma-post-hero { margin: 0 auto 40px; max-width: 1000px; border-radius: var(--radius-l); overflow: hidden; }
.ma-post-cta { max-width: 780px; margin: 56px auto 0; text-align: center; padding: 36px; background: var(--sand); border-radius: var(--radius-l); }
.ma-post-cta img { width: 140px; margin: 0 auto 12px; }
.ma-pagination { margin-top: 40px; text-align: center; }
.ma-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border-radius: 50%; margin: 0 3px; color: var(--teal); text-decoration: none; }
.ma-pagination .page-numbers.current { background: var(--teal); color: var(--cream); }
.ma-empty { text-align: center; padding: 40px 0; }

/* ---------- 404 ---------- */
.ma-404 { text-align: center; padding: clamp(56px, 8vw, 110px) 0; }
.ma-404 img { margin: 0 auto 10px; animation: ma-hover 6s ease-in-out infinite; }
.ma-404 p { color: var(--muted); margin-bottom: 1.6rem; }
.ma-404 .ma-hero__ctas { justify-content: center; }

/* ---------- Animación de aparición ---------- */
.ma-js .ma-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.ma-js .ma-reveal.is-in { opacity: 1; transform: none; }
.ma-hero .ma-reveal:nth-child(2) { transition-delay: .08s; }
.ma-hero .ma-reveal:nth-child(3) { transition-delay: .16s; }
.ma-hero .ma-reveal:nth-child(4) { transition-delay: .24s; }
.ma-hero .ma-reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ma-js .ma-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.ma-nav a { padding: 10px 10px; font-size: .9rem; }
}
@media (max-width: 1024px) {
	:root { --header-h: 72px; }
	.ma-nav { display: none; }
	.ma-header__burger { display: inline-grid; }
	.ma-header__inner { gap: 8px; }
	.ma-header__brand { position: absolute; left: 50%; transform: translateX(-50%); }
	.ma-logo img { height: 52px; }
	.ma-header.is-scrolled .ma-logo img { height: 44px; }
	.ma-cats { grid-template-columns: repeat(2, 1fr); }
	.ma-values__grid { grid-template-columns: repeat(2, 1fr); }
	.ma-footer__grid { grid-template-columns: 1fr 1fr; }
	.ma-posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.ma-hero__grid, .ma-story__grid, .ma-spotlight__grid, .ma-editions, .ma-split, .ma-contact { grid-template-columns: 1fr; }
	.ma-hero__art { justify-self: center; max-width: 460px; order: -1; }
	.ma-hero { padding-top: 24px; }
	.ma-hero__copy { text-align: center; }
	.ma-hero__ctas, .ma-hero__proof { justify-content: center; }
	.ma-hero .ma-eyebrow { justify-content: center; }
	.ma-story__media { max-width: 520px; margin: 0 auto; width: 100%; }
	.ma-edition { min-height: 400px; }
	.ma-section__head--split { flex-direction: column; align-items: flex-start; }
	.ma-pagehead.has-img .ma-pagehead__grid { grid-template-columns: 1fr; }
	.ma-pagehead__img { display: none; }
	.ma-cards3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.ma-announce { font-size: .68rem; letter-spacing: .08em; }
	.ma-hide-sm { display: none !important; }
	.ma-hero__stamp { width: 88px; height: 88px; font-size: .85rem; }
	.ma-hero__proof { gap: 18px; }
	.ma-hero__proof strong { font-size: 1.35rem; }
	.ma-cats { gap: 12px; }
	.ma-cat__name { font-size: 1.25rem; }
	.ma-cat__tag { font-size: .66rem; }
	.ma-values__grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
	.ma-value__icon { width: 60px; height: 60px; }
	.ma-value strong { font-size: .95rem; }
	.ma-value span:last-child { font-size: .84rem; }
	.ma-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.ma-posts { grid-template-columns: 1fr; }
	.ma-form__row { grid-template-columns: 1fr; }
	.ma-btn--lg { padding: .95em 1.4em; }
	.ma-spotlight__gallery { gap: 10px; }
	.ma-wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}
@media (max-width: 782px) { .admin-bar .ma-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ma-header { top: 0; } }

/* ---------- Ajustes finos ---------- */
.ma-section__head p.ma-eyebrow, .ma-story__copy p.ma-eyebrow, .ma-spotlight__copy p.ma-eyebrow { color: var(--ochre); font-size: .78rem; }
.ma-spotlight__copy p.ma-eyebrow { color: var(--ochre-500); }
.ma-edition__kicker { color: var(--cream); opacity: .85; }
.ma-edition::before { background: linear-gradient(180deg, rgba(7, 43, 45, 0) 20%, rgba(7, 43, 45, .55) 50%, rgba(7, 43, 45, .92) 100%); }
.ma-edition--xmas::before { background: linear-gradient(180deg, rgba(110, 16, 42, 0) 20%, rgba(110, 16, 42, .55) 50%, rgba(96, 12, 36, .94) 100%); }
.ma-logo img { height: 70px; }

/* Aviso de cookies (CookieAdmin) con los colores de la marca */
.cookieadmin_law_container, .cookieadmin_cookie_modal .cookieadmin_preference, [class*="cookieadmin_consent_inside"] {
	font-family: var(--ff-body) !important; border-radius: var(--radius) !important;
}
#cookieadmin_notice { background: var(--white) !important; color: var(--ink) !important; box-shadow: var(--shadow-l) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; }
#cookieadmin_notice .cookieadmin_law_container, #cookieadmin_notice .cookieadmin_desc { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.cookieadmin_law_container .cookieadmin_header, .cookieadmin_law_container h2, .cookieadmin_law_container h3 { font-family: var(--ff-display) !important; color: var(--teal) !important; font-weight: 500 !important; }
.cookieadmin_btn { border-radius: 999px !important; font-family: var(--ff-body) !important; font-weight: 600 !important; border: 1.5px solid var(--line-strong) !important; background: transparent !important; color: var(--teal) !important; }
.cookieadmin_btn.cookieadmin_accept_btn, .cookieadmin_btn.cookieadmin_save_btn { background: var(--teal) !important; border-color: var(--teal) !important; color: var(--cream) !important; }
.cookieadmin_btn:hover { border-color: var(--teal) !important; }
#cookieadmin_notice .cookieadmin_notice_con, #cookieadmin_notice .cookieadmin_consent_inside, #cookieadmin_notice p, #cookieadmin_notice div:not(.cookieadmin_consent_btns) { border: 0 !important; background-color: transparent !important; box-shadow: none !important; }
