/* =====================================================================
   Inspire Altea — main.css
   Diseño mediterráneo: oliva + crema + ocre. Serif display + sans limpio.
   ===================================================================== */

:root {
	--olive-900: #2f3618;
	--olive-800: #3e4720;
	--olive-700: #4f5a2a;   /* verde header */
	--olive-600: #5e6b33;
	--olive-300: #aab18a;
	--sand-50:  #faf7f0;    /* fondo crema */
	--sand-100: #f4efe3;
	--sand-200: #ece4d2;
	--sand-300: #e3d8be;
	--sand-pill:#e8dfa9;    /* botón pálido */
	--ocre-600: #c06a2c;    /* acento terracota */
	--ocre-700: #a85827;
	--ink-900:  #28261f;
	--ink-700:  #423f36;
	--ink-500:  #6f6a5d;
	--ink-300:  #9a9485;
	--line:     #e2dac9;
	--white:    #ffffff;
	--wa:       #25d366;

	--ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--ff-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--container: 1180px;
	--header-h: 82px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 2px 10px rgba(40,38,31,.06);
	--shadow: 0 14px 40px rgba(40,38,31,.10);
	--shadow-lg: 0 24px 60px rgba(40,38,31,.16);
	--ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ff-sans);
	font-weight: 400;
	color: var(--ink-700);
	background: var(--sand-50);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocre-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ocre-600); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--ink-900); font-weight: 600; line-height: 1.1; margin: 0 0 .4em; letter-spacing: .2px; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--ocre-600); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--olive-700); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-900); }
.brand__mark {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border: 1.5px solid currentColor; border-radius: 50%;
	font-family: var(--ff-display); font-weight: 600; font-size: 18px; letter-spacing: 1px;
}
.brand__name {
	font-family: var(--ff-display); font-size: 20px; font-weight: 600;
	letter-spacing: 3px; text-transform: uppercase;
}
.brand--footer { color: #fff; }
/* Logo imagen (lockup horizontal IA + INSPIRE ALTEA, negro sobre transparente) */
.brand__logo { height: 46px; width: auto; display: block; transition: filter .3s var(--ease); }
.brand--footer .brand__logo { height: 62px; filter: brightness(0) invert(1); }
body.has-hero .site-header:not(.is-stuck) .brand__logo { filter: brightness(0) invert(1); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: var(--ff-sans); font-weight: 500; font-size: 15px; letter-spacing: .4px;
	padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
	cursor: pointer; text-align: center; transition: all .25s var(--ease); white-space: nowrap;
}
.btn--accent { background: var(--ocre-600); color: #fff; box-shadow: 0 8px 22px rgba(192,106,44,.28); }
.btn--accent:hover { background: var(--ocre-700); color: #fff; transform: translateY(-2px); }
.btn--olive { background: var(--olive-700); color: #fff; }
.btn--olive:hover { background: var(--olive-800); color: #fff; transform: translateY(-2px); }
.btn--sand { background: var(--sand-pill); color: var(--olive-900); }
.btn--sand:hover { background: #efe7b4; color: var(--olive-900); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--ink-300); color: var(--ink-900); }
.btn--outline:hover { border-color: var(--olive-700); color: var(--olive-700); }
.btn--ghost-light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }
.btn--pill { padding: 16px 34px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn--arrow .arr { transition: transform .25s var(--ease); display: inline-block; }
.btn--arrow:hover .arr { transform: translateX(5px); }
.btn--google { background: #fff; color: var(--ink-900); border-color: var(--line); box-shadow: var(--shadow-sm); padding: 13px 26px; }
.btn--google:hover { color: var(--ink-900); border-color: var(--ink-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn--google svg { flex: 0 0 auto; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(250,247,240,.0);
	transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
	padding: 10px 0;
}
.site-header.is-stuck { background: rgba(250,247,240,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
/* Offset cuando la barra de administración de WordPress está visible */
.admin-bar .site-header { top: 32px; }
/* En páginas sin hero oscuro, el header siempre va sólido */
body:not(.has-hero) .site-header { background: rgba(250,247,240,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* Velo oscuro degradado bajo el header sobre el hero (mejora la lectura del menú sin oscurecer toda la foto) */
body.has-hero .site-header::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 180%; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(18,22,10,.62) 0%, rgba(18,22,10,.30) 55%, rgba(18,22,10,0) 100%);
	opacity: 1; transition: opacity .3s var(--ease);
}
body.has-hero .site-header.is-stuck::before { opacity: 0; }

/* Header sobre hero: texto claro hasta scroll + sombra para legibilidad */
body.has-hero .site-header:not(.is-stuck) .brand,
body.has-hero .site-header:not(.is-stuck) .main-nav__link,
body.has-hero .site-header:not(.is-stuck) .lang-switch a,
body.has-hero .site-header:not(.is-stuck) .nav-toggle span { color: #fff; }
body.has-hero .site-header:not(.is-stuck) .main-nav__link,
body.has-hero .site-header:not(.is-stuck) .lang-switch a,
body.has-hero .site-header:not(.is-stuck) .brand__name { text-shadow: 0 1px 10px rgba(0,0,0,.45); }
body.has-hero .site-header:not(.is-stuck) .brand__mark { border-color: rgba(255,255,255,.85); }

.main-nav__list { display: flex; align-items: center; gap: 4px; }
.main-nav__link {
	display: inline-flex; align-items: center; gap: 5px;
	color: var(--ink-700); font-size: 16px; font-weight: 500; letter-spacing: .3px;
	padding: 10px 13px; border-radius: 8px; position: relative;
}
.main-nav__link .caret { font-size: 10px; opacity: .8; }
.main-nav__link::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px;
	background: var(--ocre-600); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav__link:hover::after, .main-nav__link.is-active::after { transform: scaleX(1); }
.main-nav__link:hover, .main-nav__link.is-active { color: var(--ocre-700); }
body.has-hero .site-header:not(.is-stuck) .main-nav__link:hover,
body.has-hero .site-header:not(.is-stuck) .main-nav__link.is-active { color: #fff; }

/* Dropdown */
.has-sub { position: relative; }
.sub-nav {
	position: absolute; top: 100%; left: 0; min-width: 200px;
	background: #fff; border-radius: 12px; box-shadow: var(--shadow);
	padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .2s var(--ease); border: 1px solid var(--line);
}
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-nav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink-700); font-size: 15px; }
.sub-nav a:hover { background: var(--sand-100); color: var(--ocre-700); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: 1px; color: var(--ink-500); }
.lang-switch a { color: inherit; padding: 2px 2px; }
.lang-switch a.is-active { color: var(--ocre-700); font-weight: 600; }
body.has-hero .site-header:not(.is-stuck) .lang-switch a.is-active { color: var(--sand-pill); }

/* Toggle móvil (icono SVG, siempre visible) */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 40px; background: none; border: 0; cursor: pointer; padding: 0; }
.nav-toggle__ico { color: var(--ink-900); display: block; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* Menú móvil tipo burbuja flotante (fixed al viewport; el JS fija el top bajo el header) */
.mobile-nav {
	position: fixed; top: 70px; right: 12px;
	width: min(290px, calc(100vw - 24px));
	max-height: calc(100vh - 120px); overflow-y: auto;
	background: #fff; border: 1px solid var(--line); border-radius: 18px;
	box-shadow: var(--shadow-lg); padding: 10px; z-index: 9995;
	transform-origin: top right; animation: ia-pop .18s var(--ease);
	-webkit-overflow-scrolling: touch;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav::before {
	content: ""; position: absolute; top: -7px; right: 20px; width: 14px; height: 14px;
	background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
	transform: rotate(45deg);
}
@keyframes ia-pop { from { opacity: 0; transform: translateY(-8px) scale(.96); } to { opacity: 1; transform: none; } }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1px; }
.mobile-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink-900); font-size: 15.5px; font-weight: 500; transition: background .15s var(--ease), color .15s var(--ease); }
.mobile-nav a:hover, .mobile-nav a:focus { background: var(--sand-100); color: var(--ocre-700); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 10px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.mobile-nav__logo { height: 30px; width: auto; }
.lang-switch--menu { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: 1px; color: var(--ink-500); }
.lang-switch--menu a { color: inherit; padding: 2px; }
.lang-switch--menu a.is-active { color: var(--ocre-700); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(580px, 82vh, 840px); display: flex; align-items: center; color: #fff; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 3vh) 0 5vh; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,22,9,.62) 0%, rgba(18,22,9,.46) 45%, rgba(14,18,7,.82) 100%); }
.hero__inner { max-width: 720px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 4px; font-size: 12px; font-weight: 500; opacity: .95; margin-bottom: 18px; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.04; margin-bottom: .35em; text-shadow: 0 2px 24px rgba(0,0,0,.48); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 560px; opacity: .97; margin-bottom: 2em; font-weight: 300; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--sand { background: var(--sand-100); }
.section--olive { background: var(--olive-700); color: #fff; }
.section--olive h1, .section--olive h2, .section--olive h3 { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 3px; font-size: 12.5px; font-weight: 500; color: var(--ocre-700); margin-bottom: 14px; }
.section--olive .eyebrow { color: var(--sand-pill); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); }
.section-sub { color: var(--ink-500); font-size: 1.08rem; }
.section--olive .section-sub { color: rgba(255,255,255,.85); }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media.is-wide img { aspect-ratio: 5/4; }
.split__body .eyebrow { margin-bottom: 12px; }

/* ---------- Cards grid (experiencias / blog) ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
	background: #fff; border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-sm); border: 1px solid var(--line);
	display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	background: rgba(255,255,255,.92); color: var(--olive-800);
	font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500;
	padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.4rem; line-height: 1.18; margin-bottom: 8px; }
.card__title a { color: var(--ink-900); }
.card__title a:hover { color: var(--ocre-700); }
.card__excerpt { color: var(--ink-500); font-size: .98rem; margin-bottom: 18px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card__price { font-family: var(--ff-display); font-size: 1.45rem; font-weight: 600; color: var(--olive-700); }
.card__price small { font-size: .7em; color: var(--ink-300); font-family: var(--ff-sans); }
.card__meta { font-size: 13px; color: var(--ink-300); letter-spacing: .3px; }
.card__link { font-size: 14px; font-weight: 500; color: var(--ocre-700); display: inline-flex; align-items: center; gap: 6px; }
.card__link .arr { transition: transform .25s var(--ease); }
.card__link:hover .arr { transform: translateX(4px); }

/* ---------- Filtros experiencias ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter {
	font-family: var(--ff-sans); font-size: 14px; letter-spacing: .4px;
	padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line);
	background: #fff; color: var(--ink-700); cursor: pointer; transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--olive-300); }
.filter.is-active { background: var(--olive-700); border-color: var(--olive-700); color: #fff; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit { text-align: center; padding: 8px; }
.benefit__media { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.benefit__media img { width: 100%; height: 100%; object-fit: cover; }
.benefit h3 { font-size: 1.5rem; margin-bottom: 6px; }
.benefit p { color: var(--ink-500); font-size: .98rem; margin: 0; }

/* ---------- Pilares (iconos texto) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.pillar__num { font-family: var(--ff-display); font-size: 2.4rem; color: var(--sand-300); line-height: 1; margin-bottom: 10px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pillar p { color: var(--ink-500); font-size: .95rem; margin: 0; }

/* ---------- Lista chequeada ---------- */
.checklist { display: grid; gap: 12px; margin: 8px 0 28px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-700); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--ocre-600); box-shadow: 0 0 0 4px rgba(192,106,44,.16); }
.section--olive .checklist li { color: rgba(255,255,255,.92); }

/* ---------- Testimonials ---------- */
.quote-card { max-width: 760px; margin: 0 auto; text-align: center; }
.quote-card__stars { color: #e0a52e; letter-spacing: 3px; margin-bottom: 18px; font-size: 18px; }
.quote-card blockquote { font-family: var(--ff-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.32; color: var(--ink-900); margin: 0 0 20px; font-style: italic; }
.section--olive .quote-card blockquote { color: #fff; }
.quote-card__author { display: inline-flex; align-items: center; gap: 12px; }
.quote-card__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-card__author b { display: block; font-weight: 500; color: var(--ink-900); }
.section--olive .quote-card__author b { color: #fff; }
.quote-card__author span { font-size: 14px; color: var(--ink-300); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--ff-display); font-size: 1.3rem; color: var(--ink-900); }
.faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--ocre-600); transition: transform .25s var(--ease); font-family: var(--ff-sans); }
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 0 22px; color: var(--ink-500); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--olive-700); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band__inner { text-align: center; }
.cta-band__title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 28px; }
.cta-band__title span { color: var(--sand-pill); }

/* ---------- Inline banner (WhatsApp prompt) ---------- */
.banner { background: var(--sand-200); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.banner h3 { font-size: 1.7rem; margin: 0; }
.banner p { margin: 6px 0 0; color: var(--ink-500); }

/* ---------- Page hero (interior, verde) ---------- */
.page-hero { background: var(--olive-700); color: #fff; padding: clamp(64px,9vw,120px) 0 clamp(48px,6vw,80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.05); }
.page-hero__inner { max-width: 720px; position: relative; }
.page-hero .eyebrow { color: var(--sand-pill); }
.page-hero__title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero__sub { color: rgba(255,255,255,.9); font-size: 1.15rem; font-weight: 300; max-width: 560px; }
.page-hero__cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero interior con imagen de fondo */
.page-hero--img { background: var(--olive-900); }
.page-hero--img .page-hero__bg { position: absolute; inset: 0; }
.page-hero--img .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero--img::after { display: none; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose p { color: var(--ink-700); }
.prose .lead { font-size: 1.25rem; color: var(--ink-900); font-family: var(--ff-display); line-height: 1.5; }
.prose h2 { margin-top: 1.6em; }

/* ---------- Single article ---------- */
.article-hero { aspect-ratio: 21/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; gap: 14px; align-items: center; color: var(--ink-300); font-size: 14px; margin-bottom: 16px; letter-spacing: .4px; }
.article-meta .tag { background: var(--sand-200); color: var(--olive-800); padding: 4px 12px; border-radius: 999px; text-transform: uppercase; font-size: 11.5px; letter-spacing: 1px; }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/7; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; box-shadow: var(--shadow-sm); }
.contact-card .ico { font-size: 26px; margin-bottom: 12px; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.contact-card a { color: var(--ink-700); }
.contact-card a:hover { color: var(--ocre-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-800); color: rgba(255,255,255,.82); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; padding: clamp(56px,7vw,84px) 24px; }
.site-footer__col h3 { color: #fff; font-size: 1.25rem; margin-bottom: 18px; }
.site-footer__col ul li { margin-bottom: 10px; }
.site-footer__col a { color: rgba(255,255,255,.82); }
.site-footer__col a:hover { color: var(--sand-pill); }
.site-footer__brand p { font-size: .96rem; max-width: 340px; margin: 18px 0 22px; }
.contact-list li { margin-bottom: 12px; display: flex; gap: 10px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; }
.social a:hover { background: var(--sand-pill); color: var(--olive-900); }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: 13.5px; }
.site-footer__bar .container { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.site-footer__bar p { margin: 0; color: rgba(255,255,255,.6); }
.legal-line { font-size: 12.5px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center-btn { display: flex; justify-content: center; margin-top: 44px; }
.lead-list { display: grid; gap: 6px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Páginas legales ---------- */
.legal-prose { max-width: 820px; }
.legal-prose h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.legal-prose p { color: var(--ink-700); }
.legal-list { display: grid; gap: 8px; margin: 0 0 1.2em; }
.legal-list li { position: relative; padding-left: 18px; }
.legal-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--ocre-600); }
.legal-table { width: 100%; border-collapse: collapse; margin: .6em 0 1.4em; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--sand-100); color: var(--ink-900); font-weight: 500; font-family: var(--ff-sans); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-updated { margin-top: 2em; color: var(--ink-300); font-size: .9rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-bottom: 8px; }
.legal-nav a { color: rgba(255,255,255,.78); font-size: 13px; }
.legal-nav a:hover { color: var(--sand-pill); }

/* ---------- Carrusel ---------- */
.carousel { position: relative; }
.carousel__track {
	display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
	scroll-behavior: smooth; padding: 6px 2px 20px; -webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 auto; width: 342px; max-width: 84vw; }
/* Dentro del carrusel las tarjetas se ven siempre (el reveal es vertical) */
.carousel__track .reveal { opacity: 1; transform: none; }
.carousel__nav {
	position: absolute; top: 38%; transform: translateY(-50%); z-index: 6;
	width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line);
	background: #fff; color: var(--ink-900); font-size: 26px; line-height: 1; cursor: pointer;
	box-shadow: var(--shadow); display: grid; place-items: center; transition: all .2s var(--ease);
}
.carousel__nav:hover { background: var(--olive-700); color: #fff; border-color: var(--olive-700); transform: translateY(-50%) scale(1.05); }
.carousel__nav--prev { left: -24px; }
.carousel__nav--next { right: -24px; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Reseñas Google ---------- */
.reviews-head { text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.reviews-head__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--ink-700); font-size: 1.05rem; }
.reviews-head__score { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.reviews-head__score strong { font-family: var(--ff-display); font-size: 2.6rem; color: var(--ink-900); line-height: 1; }
.reviews-head__stars { color: #e7a300; font-size: 1.5rem; letter-spacing: 2px; }
.reviews-head__count { color: var(--ink-500); font-size: .95rem; margin: 0; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; height: 100%; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__head > div { flex: 1; min-width: 0; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 19px; flex: 0 0 auto; }
.review__name { display: block; color: var(--ink-900); font-weight: 500; }
.review__date { font-size: 13px; color: var(--ink-300); }
.review__g { margin-left: auto; display: grid; place-items: center; flex: 0 0 auto; }
.review__stars { color: #e7a300; letter-spacing: 2px; font-size: 1.05rem; }
.review__text { color: var(--ink-700); font-size: .98rem; margin: 0; }

/* ---------- About me (landing) ---------- */
.about__media { position: relative; }
.about__media img { aspect-ratio: 4/5; }
.about__badge {
	position: absolute; right: -16px; bottom: 28px; background: var(--ocre-600); color: #fff;
	border-radius: 16px; padding: 14px 20px; display: flex; flex-direction: column; align-items: center;
	line-height: 1.05; box-shadow: var(--shadow); font-size: 12.5px; letter-spacing: .3px; text-align: center;
}
.about__badge-num { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; padding: 0; }
.chips li { list-style: none; background: var(--sand-200); color: var(--olive-800); border-radius: 999px; padding: 8px 16px; font-size: 14px; }

/* ---------- Responsive ---------- */
/* ============ RESPONSIVE ============ */

/* Tablet grande */
@media (max-width: 1080px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.pillars { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr; gap: 36px 32px; }
	.site-footer__brand { grid-column: 1 / -1; }
	.carousel__nav--prev { left: -10px; }
	.carousel__nav--next { right: -10px; }
}

/* Tablet / móvil: SIN barra de header. Solo la hamburguesa como burbuja flotante. */
@media (max-width: 920px) {
	.main-nav, .header-cta { display: none; }
	.header-actions .lang-switch { display: none; }   /* el idioma va dentro del menú */
	.site-header .brand { display: none; }             /* sin logo en el top (va dentro del menú) */
	.nav-toggle { display: flex; }

	/* Header transparente: nada de franja que corte la pantalla */
	.site-header,
	.site-header.is-stuck,
	body:not(.has-hero) .site-header,
	body.has-hero .site-header { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
	body.has-hero .site-header::before { display: none; }
	.site-header__inner { justify-content: flex-end; }

	/* Hamburguesa = burbuja redonda flotante, visible sobre cualquier fondo */
	.nav-toggle {
		width: 50px; height: 50px; padding: 15px; border-radius: 50%;
		background: rgba(255,255,255,.95); box-shadow: var(--shadow); backdrop-filter: blur(5px);
	}
	.nav-toggle__ico,
	body.has-hero .site-header:not(.is-stuck) .nav-toggle__ico { color: var(--ink-900) !important; }

	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.benefits { grid-template-columns: repeat(2, 1fr); }
	.split { gap: 36px; }
}

/* Barra admin móvil */
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

/* Móvil grande */
@media (max-width: 720px) {
	:root { --header-h: 70px; }
	body { font-size: 16px; }
	.container { padding: 0 20px; }
	.section { padding: 56px 0; }
	.brand__logo { height: 44px; }
	.brand--footer .brand__logo { height: 72px; }

	/* Todo a una columna */
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.contact-cards { grid-template-columns: 1fr; }

	/* Splits apilan; la imagen siempre arriba */
	.split { grid-template-columns: 1fr; gap: 28px; }
	.split--reverse .split__media { order: -1; }
	.split__body { order: 0; }
	.split__media img, .split__media.is-wide img, .about__media img { aspect-ratio: 16/10; }

	/* Header móvil más limpio */
	.site-header { padding: 8px 0; }
	.header-actions { gap: 12px; }
	.nav-toggle { width: 42px; height: 38px; border-radius: 10px; }
	.nav-toggle[aria-expanded="true"] { background: var(--sand-100); }

	/* Hero */
	.hero { min-height: 78vh; padding-bottom: 4vh; }
	.hero__eyebrow { letter-spacing: 2px; font-size: 11px; }
	.hero__title { font-size: clamp(2.4rem, 9.5vw, 3.2rem); text-wrap: balance; }
	.hero__cta { width: 100%; }
	.hero__cta .btn { flex: 1 1 100%; }

	/* Page hero (quien-soy usa split dentro) */
	.page-hero .split { align-items: start; }
	.page-hero__cta .btn { flex: 1 1 auto; }

	/* About badge no se sale de pantalla */
	.about__badge { right: 12px; bottom: 12px; padding: 10px 14px; }
	.about__badge-num { font-size: 1.5rem; }

	/* Carrusel: swipe natural, una tarjeta + asomo de la siguiente, sin flechas */
	.carousel__nav { display: none; }
	.carousel__track { gap: 16px; padding-bottom: 14px; scroll-padding-left: 0; }
	.carousel__track > * { width: 82vw; max-width: 340px; }

	/* Footer móvil: una columna centrada, ancho y ritmo coherentes (sin columna Explora) */
	.site-footer__col--explore { display: none; }
	.site-footer .site-footer__grid { grid-template-columns: 1fr; gap: 0; padding: 56px 24px 16px; text-align: center; max-width: 400px; margin: 0 auto; }
	.site-footer__brand { grid-column: auto; display: flex; flex-direction: column; align-items: center; }
	.brand--footer { justify-content: center; }
	.brand--footer .brand__logo { height: 54px; }
	.site-footer__brand p { margin: 16px 0 20px; max-width: none; }
	.social { justify-content: center; }
	/* La columna de Contacto: separador y espaciado coherentes */
	.site-footer__col:not(.site-footer__brand) { margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
	.site-footer__col h3 { margin-bottom: 16px; }
	.contact-list { display: flex; flex-direction: column; gap: 12px; text-align: center; }
	.contact-list li { justify-content: center; }
	.site-footer__col .btn { margin-top: 20px; }
	.site-footer__bar { padding: 22px 24px; }
	.site-footer__bar .container { gap: 8px; max-width: 400px; }
	.legal-nav { margin-bottom: 4px; }

	/* Banner apila */
	.banner { flex-direction: column; align-items: flex-start; text-align: left; }
	.banner .btn { width: 100%; }

	/* FAQ y títulos */
	.faq__q { font-size: 1.15rem; padding-right: 38px; }
	.quote-card blockquote { font-size: 1.4rem; }
	.map-wrap { aspect-ratio: 4/3; }
}

/* Móvil pequeño */
@media (max-width: 420px) {
	.container { padding: 0 16px; }
	.hero__cta .btn, .page-hero__cta .btn { width: 100%; flex: 1 1 100%; }
	.page-hero__cta { display: flex; flex-direction: column; }
	.carousel__track > * { width: 86vw; max-width: none; }
	.lang-switch { font-size: 12px; }
	.header-actions { gap: 10px; }
	.benefit__media { max-width: 320px; margin-inline: auto; }
}
