/* ==========================================================================
   Aloe Farm – estilos principales
   Paleta: verde aloe + arena + dorado cálido
   ========================================================================== */
:root {
	/* Identidad Aloe Farm – Propuesta 01 */
	--af-olive: #344b38;      /* Verde oliva */
	--af-champagne: #c5a46d;  /* Dorado champán */
	--af-ivory: #f6f2e9;      /* Marfil */
	--af-charcoal: #222c24;   /* Verde carbón */

	--af-aloe: var(--af-olive);
	--af-aloe-dark: #26382a;
	--af-deep: var(--af-charcoal);
	--af-aloe-light: #6f8a70;
	--af-aloe-soft: #e8ece2;
	--af-mint: #dfe6d6;
	--af-sand: var(--af-ivory);
	--af-sand-2: #ede5d4;
	--af-gold: var(--af-champagne);
	--af-gold-light: #e2cc9f;
	--af-terracotta: #9c7a52;
	--af-sky: #5f7d78;
	--af-ink: var(--af-charcoal);
	--af-muted: #5f6b61;
	--af-line: #e4ddce;
	--af-surface: #ffffff;

	--af-font: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--af-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;

	--af-radius: 18px;
	--af-radius-lg: 26px;
	--af-shadow: 0 30px 60px -30px rgba(34, 44, 36, .38);
	--af-shadow-sm: 0 10px 30px -15px rgba(34, 44, 36, .25);
	--af-ease: cubic-bezier(.22, 1, .36, 1);
	--af-header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--af-header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--af-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--af-ink);
	background: var(--af-sand);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--af-aloe); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--af-aloe-dark); }
h1, h2, h3, h4 { font-family: var(--af-display); font-weight: 600; line-height: 1.08; margin: 0 0 .6em; letter-spacing: 0; color: var(--af-deep); }
p { margin: 0 0 1em; }
::selection { background: var(--af-gold-light); color: var(--af-deep); }
:focus-visible { outline: 3px solid var(--af-gold); outline-offset: 3px; border-radius: 6px; }

.af-container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.af-skip { position: absolute; left: -9999px; top: 10px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 8px; }
.af-skip:focus { left: 10px; }
.af-icon { width: 1.2em; height: 1.2em; flex: none; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.af-btn {
	--bg: var(--af-aloe);
	--fg: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.5em; border-radius: 999px; border: 0;
	background: var(--bg); color: var(--fg);
	font: 700 .98rem/1 var(--af-font); text-decoration: none; cursor: pointer;
	position: relative; overflow: hidden; isolation: isolate;
	transition: transform .35s var(--af-ease), box-shadow .35s var(--af-ease), background .3s;
	box-shadow: 0 12px 26px -14px rgba(16, 41, 27, .6);
}
.af-btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
	transform: translateX(-120%); transition: transform .7s var(--af-ease);
}
.af-btn:hover { transform: translateY(-3px); color: var(--fg); box-shadow: 0 18px 34px -14px rgba(16, 41, 27, .6); }
.af-btn:hover::after { transform: translateX(120%); }
.af-btn:hover .af-icon { transform: translateX(2px); }
.af-btn .af-icon { transition: transform .3s; }
.af-btn-primary { --bg: linear-gradient(120deg, var(--af-aloe), var(--af-aloe-dark)); background: var(--bg); }
.af-btn-gold { --bg: linear-gradient(120deg, var(--af-gold-light), var(--af-gold)); --fg: var(--af-deep); background: var(--bg); }
.af-btn-glass { --bg: rgba(255, 255, 255, .14); --fg: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.af-btn-glass:hover { --bg: rgba(255, 255, 255, .24); }
.af-btn-lg { padding: 1.05em 1.8em; font-size: 1.05rem; }
.af-link { font-weight: 700; color: var(--af-gold-light); }

/* --------------------------------------------------------------------------
   Barra de progreso + encabezado
   -------------------------------------------------------------------------- */
.af-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.af-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--af-gold), var(--af-aloe-light)); }

.af-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--af-header-h);
	display: flex; align-items: center;
	background: rgba(246, 239, 227, .86);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid rgba(16, 41, 27, .06);
	transition: height .35s var(--af-ease), background .35s, box-shadow .35s, transform .4s var(--af-ease);
}
.af-has-hero .af-header { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.af-has-hero .af-header:not(.is-scrolled) .af-brand,
.af-has-hero .af-header:not(.is-scrolled) .af-menu > li > a { color: #fff; }
.af-has-hero .af-header:not(.is-scrolled) .af-burger span { background: #fff; }
.af-header.is-scrolled { --af-header-h: 68px; background: rgba(246, 239, 227, .9) !important; backdrop-filter: saturate(1.4) blur(14px) !important; -webkit-backdrop-filter: saturate(1.4) blur(14px) !important; box-shadow: 0 10px 30px -20px rgba(16, 41, 27, .5); border-color: rgba(16, 41, 27, .06) !important; }
.af-header.is-hidden { transform: translateY(-100%); }
.admin-bar .af-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .af-header { top: 46px; } }

.af-header-inner { display: flex; align-items: center; gap: 24px; }
.af-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--af-deep); font-family: var(--af-display); font-size: 1.45rem; font-weight: 700; transition: color .3s; }
.af-brand:hover { color: inherit; }
.af-logo-img { height: 56px; width: auto; transition: height .35s var(--af-ease), opacity .3s; }
.af-header.is-scrolled .af-logo-img { height: 46px; }
.af-logo-light { display: none; }
.af-has-hero .af-header:not(.is-scrolled) .af-logo-dark { display: none; }
.af-has-hero .af-header:not(.is-scrolled) .af-logo-light { display: block; }
.af-menu-open .af-header .af-logo-light { display: none !important; }
.af-menu-open .af-header .af-logo-dark { display: block !important; }
.af-footer-logo { height: 72px; width: auto; margin-bottom: 18px; }
@media (max-width: 600px) { .af-logo-img { height: 44px; } }
.af-logo-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--af-aloe-light), var(--af-aloe-dark)); box-shadow: 0 8px 18px -8px var(--af-aloe); transition: transform .5s var(--af-ease); }
.af-brand:hover .af-logo-mark { transform: rotate(-10deg) scale(1.06); }
.af-logo-mark .af-icon { width: 24px; height: 24px; }

.af-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.af-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.af-menu a { display: block; padding: .55em .95em; border-radius: 999px; color: var(--af-ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; transition: color .25s, background .25s; }
.af-menu a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; border-radius: 2px; background: var(--af-gold); transition: width .3s var(--af-ease), left .3s var(--af-ease); }
.af-menu a:hover::after, .af-menu a.is-active::after, .af-menu .current-menu-item > a::after { width: 40%; left: 30%; }
.af-menu .sub-menu { display: none; }
.af-nav-cta { display: none; }
.af-header-cta .af-icon { width: 1.05em; height: 1.05em; }

.af-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 12px; }
.af-burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--af-deep); transition: transform .35s var(--af-ease), opacity .2s, top .35s var(--af-ease); }
.af-burger span:nth-child(1) { top: 16px; } .af-burger span:nth-child(2) { top: 22px; } .af-burger span:nth-child(3) { top: 28px; }
.af-menu-open .af-burger span { background: var(--af-deep) !important; }
.af-menu-open .af-burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.af-menu-open .af-burger span:nth-child(2) { opacity: 0; }
.af-menu-open .af-burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1000px) {
	.af-burger { display: block; z-index: 3; }
	.af-header-cta { display: none; }
	.af-nav {
		position: fixed; inset: 0; z-index: 2;
		flex-direction: column; justify-content: center; gap: 28px;
		background: radial-gradient(circle at 80% 10%, var(--af-mint), transparent 40%), var(--af-sand);
		clip-path: circle(0 at calc(100% - 44px) 42px);
		transition: clip-path .7s var(--af-ease);
		visibility: hidden;
	}
	.af-menu-open .af-nav { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
	.af-menu { flex-direction: column; align-items: center; gap: 6px; }
	.af-menu > li > a, .af-has-hero .af-header:not(.is-scrolled) .af-menu > li > a { font-family: var(--af-display); font-size: 2rem; color: var(--af-deep); }
	.af-menu > li { opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--af-ease); }
	.af-menu-open .af-menu > li { opacity: 1; transform: none; }
	.af-menu-open .af-menu > li:nth-child(2) { transition-delay: .05s; } .af-menu-open .af-menu > li:nth-child(3) { transition-delay: .1s; }
	.af-menu-open .af-menu > li:nth-child(4) { transition-delay: .15s; } .af-menu-open .af-menu > li:nth-child(5) { transition-delay: .2s; }
	.af-menu-open .af-menu > li:nth-child(6) { transition-delay: .25s; } .af-menu-open .af-menu > li:nth-child(7) { transition-delay: .3s; }
	.af-nav-cta { display: inline-flex; }
	.af-menu-open { overflow: hidden; }
	.af-menu-open .af-brand { color: var(--af-deep) !important; position: relative; z-index: 3; }
}

/* --------------------------------------------------------------------------
   Secciones base
   -------------------------------------------------------------------------- */
.af-section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.af-section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.af-section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.af-head-split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.af-kicker {
	display: inline-flex; align-items: center; gap: .5em;
	text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800;
	color: var(--af-aloe); margin-bottom: 1rem;
}
.af-kicker::before { content: ""; width: 28px; height: 2px; background: var(--af-gold); border-radius: 2px; }
.af-kicker .af-icon { display: none; }
.af-title { font-size: clamp(2.3rem, 5vw, 3.9rem); }
.af-lead { font-size: 1.12rem; color: var(--af-muted); }
.af-admin-note { font-size: .85rem; background: #fff8e6; border: 1px dashed var(--af-gold); padding: 8px 14px; border-radius: 12px; max-width: 420px; margin: 0; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.af-hero {
	position: relative; min-height: 100svh; min-height: 100vh;
	display: flex; align-items: center;
	color: #fff; overflow: hidden; isolation: isolate;
	padding: calc(var(--af-header-h) + 40px) 0 120px;
	background: var(--af-deep);
}
@supports (min-height: 100svh) { .af-hero { min-height: 100svh; } }
.af-hero-art, .af-hero-photo { position: absolute; inset: 0; z-index: -2; }
.af-hero-photo { background-size: cover; background-position: center; inset: -8% 0; transform: scale(1.08); animation: af-zoom 14s ease-out forwards; }
@keyframes af-zoom { to { transform: scale(1); } }
.af-layer { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.af-sun { transform-origin: 1120px 340px; animation: af-pulse 6s ease-in-out infinite; }
@keyframes af-pulse { 50% { transform: scale(1.08); opacity: .85; } }
.af-aloes g use { transform-box: fill-box; transform-origin: bottom center; }
.af-aloes g { animation: af-sway 7s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
.af-aloes g + g { animation-duration: 9s; animation-direction: alternate-reverse; }
@keyframes af-sway { 50% { transform: skewX(1.4deg); } }
.af-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(26, 34, 28, .82) 0%, rgba(26, 34, 28, .5) 45%, rgba(26, 34, 28, .05) 78%), linear-gradient(0deg, rgba(26, 34, 28, .55), transparent 35%), linear-gradient(180deg, rgba(26, 34, 28, .45), transparent 22%); }
.af-hero:not(.has-photo) .af-hero-shade { background: linear-gradient(100deg, rgba(10, 32, 20, .7) 0%, rgba(10, 32, 20, .35) 45%, transparent 70%); }

.af-fireflies i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff3b8; box-shadow: 0 0 12px 3px rgba(255, 230, 140, .7); left: calc(var(--i) * 7% + 3%); opacity: 0; animation: af-firefly calc(6s + var(--i) * .45s) ease-in-out calc(var(--i) * -.8s) infinite; }
@keyframes af-firefly { 0%, 100% { opacity: 0; transform: translate(0, 0); } 30% { opacity: .9; } 50% { transform: translate(30px, -60px); } 70% { opacity: .6; } 90% { transform: translate(-20px, -110px); opacity: 0; } }

.af-hero-content { position: relative; max-width: 1200px; }
.af-hero .af-kicker { color: var(--af-gold-light); }
.af-hero .af-kicker::before { background: var(--af-gold-light); }
.af-hero-title { color: #fff; font-size: clamp(3rem, 7vw, 6rem); max-width: 14ch; line-height: .98; font-weight: 600; margin-bottom: .4em; }
.af-hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.af-hero-title .w > span { display: inline-block; transform: translateY(105%); animation: af-rise .9s var(--af-ease) forwards; animation-delay: calc(.25s + var(--wi) * .07s); }
.af-hero-title em { font-style: italic; color: var(--af-gold-light); }
@keyframes af-rise { to { transform: none; } }
.af-hero-text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: rgba(255, 255, 255, .88); }
.af-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.6rem; }

.af-anim { opacity: 0; transform: translateY(24px); animation: af-in .9s var(--af-ease) forwards; animation-delay: var(--d, 0s); }
@keyframes af-in { to { opacity: 1; transform: none; } }

.af-hero-card {
	display: inline-flex; align-items: center; gap: 28px;
	padding: 14px 14px 14px 26px; border-radius: 24px;
	background: rgba(255, 255, 255, .12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 20px 50px -20px rgba(0, 0, 0, .5);
}
.af-hero-card div { display: grid; line-height: 1.2; }
.af-hero-card div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.af-hero-card small { font-size: .75rem; opacity: .75; text-transform: uppercase; letter-spacing: .08em; }
.af-hero-card strong { font-size: 1.7rem; font-family: var(--af-display); }
.af-hero-card-cta { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: var(--af-deep); background: var(--af-gold-light); transition: transform .3s var(--af-ease), background .3s; }
.af-hero-card-cta:hover { transform: rotate(-8deg) scale(1.06); color: var(--af-deep); background: #fff; }

.af-scroll { position: absolute; left: 50%; bottom: 34px; width: 28px; height: 46px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .6); transform: translateX(-50%); }
.af-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: #fff; animation: af-scroll 1.8s ease-in-out infinite; }
@keyframes af-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 640px) {
	.af-hero-card { gap: 16px; padding-left: 18px; }
	.af-hero-card div + div { padding-left: 16px; }
	.af-scroll { display: none; }
}

/* Marquesina */
.af-marquee { background: var(--af-deep); color: var(--af-sand); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(255, 255, 255, .06); }
.af-marquee-track { display: flex; gap: 32px; width: max-content; animation: af-marquee 32s linear infinite; font-family: var(--af-display); font-size: clamp(1.3rem, 2.4vw, 2rem); font-style: italic; }
.af-marquee i { color: var(--af-gold); font-style: normal; }
.af-marquee:hover .af-marquee-track { animation-play-state: paused; }
@keyframes af-marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Cifras
   -------------------------------------------------------------------------- */
.af-stats { background: var(--af-surface); padding: 46px 0; box-shadow: var(--af-shadow-sm); position: relative; z-index: 2; }
.af-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.af-stat { text-align: center; padding: 6px 10px; }
.af-stat + .af-stat { border-left: 1px solid var(--af-line); }
.af-stat strong { display: block; font-family: var(--af-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; background: linear-gradient(120deg, var(--af-aloe), var(--af-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.af-stat span { color: var(--af-muted); font-weight: 600; }
@media (max-width: 760px) {
	.af-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.af-stat:nth-child(3) { border-left: 0; }
}

/* --------------------------------------------------------------------------
   La casa
   -------------------------------------------------------------------------- */
.af-about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.af-about-media { position: relative; padding: 0 12% 18% 0; }
.af-about-img, .af-about-img2 { border-radius: var(--af-radius-lg); overflow: hidden; box-shadow: var(--af-shadow); }
.af-about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.af-about-img2 { position: absolute; right: 0; bottom: 0; width: 52%; border: 8px solid var(--af-sand); }
.af-about-img2 img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.af-badge-spin { position: absolute; top: 6%; right: 2%; width: 128px; height: 128px; border-radius: 50%; background: var(--af-gold-light); display: grid; place-items: center; box-shadow: var(--af-shadow-sm); }
.af-badge-spin svg { position: absolute; inset: 0; animation: af-rotate 18s linear infinite; }
.af-badge-spin text { font: 800 9.5px var(--af-font); letter-spacing: .26em; fill: var(--af-deep); }
.af-badge-spin span { color: var(--af-aloe-dark); }
.af-badge-spin .af-icon { width: 34px; height: 34px; }
@keyframes af-rotate { to { transform: rotate(360deg); } }
.af-checks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: 12px; }
.af-checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.af-checks .af-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--af-aloe-soft); color: var(--af-aloe); }
@media (max-width: 900px) { .af-about-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Amenidades
   -------------------------------------------------------------------------- */
.af-amenities { background: linear-gradient(180deg, var(--af-sand), #fff 60%); overflow: hidden; }
.af-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.af-blob-1 { width: 520px; height: 520px; right: -160px; top: 40px; background: radial-gradient(circle, var(--af-mint), transparent 70%); animation: af-float 14s ease-in-out infinite; }
@keyframes af-float { 50% { transform: translate(-60px, 40px) scale(1.1); } }
.af-amen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; position: relative; }
.af-amen {
	background: rgba(255, 255, 255, .75); backdrop-filter: blur(6px);
	border: 1px solid var(--af-line); border-radius: var(--af-radius);
	padding: 26px 22px; transition: transform .45s var(--af-ease), box-shadow .45s var(--af-ease), border-color .3s;
	transform-style: preserve-3d;
}
.af-amen:hover { box-shadow: var(--af-shadow); border-color: transparent; }
.af-amen h3 { font-family: var(--af-font); font-size: 1.05rem; margin: 16px 0 6px; color: var(--af-ink); }
.af-amen p { color: var(--af-muted); font-size: .93rem; margin: 0; }
.af-amen-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: linear-gradient(140deg, var(--af-aloe-light), var(--af-aloe)); box-shadow: 0 10px 20px -10px var(--af-aloe); transition: transform .5s var(--af-ease); }
.af-amen:nth-child(3n + 2) .af-amen-icon { background: linear-gradient(140deg, var(--af-gold-light), var(--af-gold)); box-shadow: 0 10px 20px -10px var(--af-gold); }
.af-amen:nth-child(3n) .af-amen-icon { background: linear-gradient(140deg, #e9a07f, var(--af-terracotta)); box-shadow: 0 10px 20px -10px var(--af-terracotta); }
.af-amen:hover .af-amen-icon { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.af-amen-icon .af-icon { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   Galería
   -------------------------------------------------------------------------- */
.af-gallery { background: #fff; }
.af-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; grid-auto-flow: dense; }
.af-gal-item { position: relative; overflow: hidden; border-radius: var(--af-radius); display: block; background: var(--af-aloe-soft); }
.af-gal-item:nth-child(9n + 1) { grid-column: span 2; grid-row: span 2; }
.af-gal-item:nth-child(9n + 4), .af-gal-item:nth-child(9n + 7), .af-gal-item:nth-child(9n + 8), .af-gal-item:nth-child(9n + 9) { grid-column: span 2; }
.af-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--af-ease), filter .6s; }
.af-gal-item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.af-gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 32, 20, .65), transparent 50%); opacity: 0; transition: opacity .4s; }
.af-gal-item:hover::after { opacity: 1; }
.af-gal-cap { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-weight: 700; transform: translateY(12px); opacity: 0; transition: .45s var(--af-ease); }
.af-gal-zoom { position: absolute; right: 16px; top: 16px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--af-deep); transform: scale(.4); opacity: 0; transition: .45s var(--af-ease); }
.af-gal-item:hover .af-gal-cap, .af-gal-item:hover .af-gal-zoom { opacity: 1; transform: none; }
@media (max-width: 900px) { .af-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 520px) { .af-gallery-grid { grid-auto-rows: 140px; gap: 10px; } }

/* Lightbox */
.af-lightbox { position: fixed; inset: 0; z-index: 500; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; background: rgba(8, 22, 14, .92); backdrop-filter: blur(8px); animation: af-fadein .3s; }
.af-lightbox[hidden] { display: none; }
@keyframes af-fadein { from { opacity: 0; } }
.af-lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
.af-lightbox img { max-height: 82vh; max-width: 100%; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: af-pop .4s var(--af-ease); }
@keyframes af-pop { from { transform: scale(.94); opacity: 0; } }
.af-lightbox figcaption { color: #fff; font-weight: 600; }
.af-lightbox button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; cursor: pointer; justify-self: center; display: grid; place-items: center; transition: background .2s; }
.af-lightbox button:hover { background: rgba(255, 255, 255, .25); }
.af-lb-close { position: absolute; top: 18px; right: 18px; }

/* --------------------------------------------------------------------------
   Reserva
   -------------------------------------------------------------------------- */
.af-booking { color: #fff; overflow: hidden; isolation: isolate; }
.af-booking-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 10% 20%, rgba(127, 191, 142, .35), transparent 40%), radial-gradient(circle at 90% 90%, rgba(217, 164, 65, .3), transparent 40%), linear-gradient(150deg, var(--af-aloe-dark), var(--af-deep)); }
.af-booking-bg.has-photo { background: linear-gradient(150deg, rgba(38, 56, 42, .93), rgba(34, 44, 36, .88)), var(--af-bg) center / cover no-repeat; }
.af-booking-bg.has-photo::after { display: none; }
.af-booking-bg::after { content: ""; position: absolute; inset: 0; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1'%3E%3Cpath d='M12 21V11M12 13c-1-4-4-7-8-8 1 4 3 7 8 9M12 13c1-4 4-7 8-8-1 4-3 7-8 9'/%3E%3C/svg%3E"); }
.af-booking-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.af-booking .af-title { color: #fff; }
.af-booking .af-lead { color: rgba(255, 255, 255, .8); }
.af-kicker-light { color: var(--af-gold-light); }
.af-booking-copy { position: sticky; top: calc(var(--af-header-h) + 30px); }
.af-perks { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: 14px; }
.af-perks li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.af-perks span { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--af-gold-light); }
.af-booking-widget .afr-booking { max-width: none; color: var(--af-ink); }
.af-booking-widget .afr-form { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); }
@media (max-width: 960px) { .af-booking-grid { grid-template-columns: 1fr; } .af-booking-copy { position: static; } }

/* --------------------------------------------------------------------------
   Experiencias
   -------------------------------------------------------------------------- */
.af-exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.af-exp { --tone: var(--af-aloe); position: relative; overflow: hidden; padding: 34px 28px 30px; border-radius: var(--af-radius-lg); background: #fff; box-shadow: var(--af-shadow-sm); transition: transform .5s var(--af-ease), box-shadow .5s var(--af-ease); }
.af-exp::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -90px; top: -90px; background: var(--tone); opacity: .12; transition: transform .7s var(--af-ease); }
.af-exp:hover { transform: translateY(-10px); box-shadow: var(--af-shadow); }
.af-exp:hover::before { transform: scale(2.6); }
.af-tone-gold { --tone: var(--af-gold); } .af-tone-terracotta { --tone: var(--af-terracotta); } .af-tone-sky { --tone: var(--af-sky); }
.af-exp-num { position: absolute; right: 24px; top: 18px; font-family: var(--af-display); font-size: 3rem; color: var(--tone); opacity: .25; }
.af-exp-icon { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: #fff; margin-bottom: 22px; }
.af-exp-icon .af-icon { width: 28px; height: 28px; }
.af-exp h3 { position: relative; font-size: 1.45rem; }
.af-exp p { position: relative; color: var(--af-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Ubicación
   -------------------------------------------------------------------------- */
.af-location { background: linear-gradient(180deg, var(--af-sand), var(--af-sand-2)); }
.af-location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.af-address { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--af-aloe-dark); }
.af-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 16px; }
.af-steps li { display: flex; gap: 14px; align-items: flex-start; }
.af-steps span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: var(--af-deep); background: var(--af-gold-light); }
.af-map { border-radius: var(--af-radius-lg); overflow: hidden; box-shadow: var(--af-shadow); aspect-ratio: 4 / 3; background: var(--af-aloe-soft); border: 8px solid #fff; }
.af-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9) hue-rotate(-8deg); }
@media (max-width: 900px) { .af-location-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.af-faq { background: #fff; }
.af-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.af-faq-head { position: sticky; top: calc(var(--af-header-h) + 30px); }
.af-accordion { display: grid; gap: 12px; }
.af-accordion details { border: 1px solid var(--af-line); border-radius: 20px; background: var(--af-sand); transition: background .3s, box-shadow .3s, border-color .3s; }
.af-accordion details[open] { background: #fff; box-shadow: var(--af-shadow-sm); border-color: transparent; }
.af-accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.05rem; }
.af-accordion summary::-webkit-details-marker { display: none; }
.af-plus { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--af-aloe-soft); position: relative; transition: transform .4s var(--af-ease), background .3s; }
.af-plus::before, .af-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--af-aloe-dark); border-radius: 2px; transition: transform .4s var(--af-ease); }
.af-plus::after { transform: rotate(90deg); }
details[open] .af-plus { transform: rotate(180deg); background: var(--af-gold-light); }
details[open] .af-plus::after { transform: rotate(0); }
.af-answer { padding: 0 24px 20px; color: var(--af-muted); animation: af-in .5s var(--af-ease); }
.af-answer p { margin: 0; }
@media (max-width: 900px) { .af-faq-grid { grid-template-columns: 1fr; } .af-faq-head { position: static; } }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.af-cta { padding-top: 0; background: #fff; }
.af-cta-box { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); border-radius: 40px; color: #fff; background: linear-gradient(120deg, var(--af-aloe), var(--af-aloe-dark) 55%, var(--af-deep)); background-size: 200% 200%; animation: af-gradient 12s ease infinite; }
@keyframes af-gradient { 50% { background-position: 100% 50%; } }
.af-cta-box.has-photo { background: linear-gradient(110deg, rgba(34, 44, 36, .88), rgba(52, 75, 56, .62)), var(--af-bg) center / cover no-repeat; animation: none; }
.af-cta-box .af-title { color: #fff; max-width: 18ch; margin-inline: auto; }
.af-cta-box .af-lead { color: rgba(255, 255, 255, .85); }
.af-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 2rem; }
.af-cta-deco { position: absolute; right: -40px; bottom: -60px; color: rgba(255, 255, 255, .08); animation: af-float 10s ease-in-out infinite; }
.af-cta-deco .af-icon { width: 340px; height: 340px; }

/* --------------------------------------------------------------------------
   Pie de página
   -------------------------------------------------------------------------- */
.af-footer { position: relative; background: var(--af-deep); color: rgba(255, 255, 255, .72); padding: 100px 0 30px; margin-top: 60px; }
.af-footer-wave { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: 80px; transform: translateY(-99%); fill: var(--af-deep); }
.af-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 50px; }
.af-footer .af-brand { color: #fff; margin-bottom: 16px; }
.af-footer h4 { color: #fff; font-family: var(--af-font); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.2rem; }
.af-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.af-footer a:hover { color: var(--af-gold-light); }
.af-footer-menu, .af-footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.af-footer-contact li { display: flex; gap: 10px; align-items: center; }
.af-footer-contact .af-icon { color: var(--af-gold-light); }
.af-social { display: flex; gap: 10px; margin-top: 20px; }
.af-social a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s, transform .3s var(--af-ease); }
.af-social a:hover { background: var(--af-gold); color: var(--af-deep); transform: translateY(-4px); }
.af-footer .af-btn { margin-bottom: 1rem; }
.af-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; font-size: .88rem; }
@media (max-width: 900px) { .af-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .af-footer-grid { grid-template-columns: 1fr; } }

/* Flotantes */
.af-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--af-ease); }
.af-wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #25d366; z-index: -1; animation: af-ping 2.4s ease-out infinite; }
@keyframes af-ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.af-wa-float .af-icon { width: 28px; height: 28px; }
.af-wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--af-ease); }
.af-wa-float:hover { color: #fff; transform: translateY(-3px); }
.af-wa-float:hover span { max-width: 200px; padding-right: 6px; }
.af-to-top { position: fixed; right: 26px; bottom: 96px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--af-deep); box-shadow: var(--af-shadow-sm); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .4s var(--af-ease); }
.af-to-top .af-icon { transform: rotate(180deg); }
.af-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Páginas internas
   -------------------------------------------------------------------------- */
.af-page-hero { position: relative; padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 90px); background: radial-gradient(circle at 85% 0%, var(--af-mint), transparent 45%), radial-gradient(circle at 0% 100%, rgba(217, 164, 65, .22), transparent 40%), var(--af-sand); overflow: hidden; }
.af-page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 0; max-width: 20ch; }
.af-page-hero-sm { padding: clamp(50px, 7vw, 80px) 0 clamp(30px, 4vw, 50px); }
.af-404 { min-height: 70vh; display: flex; align-items: center; }
.af-prose { max-width: 820px; }
.af-prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.af-prose img { border-radius: var(--af-radius); }
.af-woo { max-width: 1100px; }
.af-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.af-card { background: #fff; border-radius: var(--af-radius); overflow: hidden; box-shadow: var(--af-shadow-sm); }
.af-card-body, .af-card-pad { padding: 24px; }
.af-card h2 { font-size: 1.4rem; }
.af-card h2 a { color: inherit; text-decoration: none; }
.af-card time { font-size: .85rem; color: var(--af-muted); }

/* --------------------------------------------------------------------------
   Animaciones al hacer scroll
   -------------------------------------------------------------------------- */
.af-js .af-reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--af-ease), transform .9s var(--af-ease); transition-delay: var(--d, 0s); }
.af-js .af-reveal.is-in { opacity: 1; transform: none; }
.af-js .af-reveal-img { clip-path: inset(12% 12% 12% 12% round var(--af-radius-lg)); opacity: 0; transition: clip-path 1.2s var(--af-ease), opacity .8s; transition-delay: var(--d, 0s); }
.af-js .af-reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--af-radius-lg)); opacity: 1; }
.af-js .af-gal-item.af-reveal-img { clip-path: inset(10% 10% 10% 10% round var(--af-radius)); }
.af-js .af-gal-item.af-reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--af-radius)); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.af-js .af-reveal, .af-js .af-reveal-img, .af-anim { opacity: 1; transform: none; clip-path: none; }
	.af-hero-title .w > span { transform: none; }
}
