/* ==========================================================================
   Casa Santiago · Vacanza — estilos globales
   Un solo archivo. Cada sector cambia de color con la clase del <body>:
   .tema-hotel (bordó) · .tema-hosp (verde) · .tema-camp (grafito)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;

  --text: #2b2427;
  --muted: #615a5d;
  --line: #ebe5e7;
  --bg: #ffffff;
  --bg-gray: #f4f4f4;
  --dark: #1a1a1a;
  --white: #ffffff;
  --wa: #25d366;

  /* Hotelería (por defecto) */
  --brand: #c23558;
  --brand-hover: #a8294a;
  --ink: #5c2535;           /* títulos */
  --soft: #fbf0f4;          /* fondos suaves */
  --soft-line: #f0d7e0;
  --hero-from: #ba3455;
  --hero-to: #622837;
  --line-from: #89406d;     /* bloque Línea Vacanza */
  --line-to: #5f2939;
  --accent: #8a3f6c;        /* números, kickers secundarios */

  /* Otros sectores (para cruces) */
  --hotel: #c23558;
  --hotel-soft: #fbf0f4;
  --hosp: #077232;
  --hosp-ink: #0b4d26;
  --hosp-soft: #eef8f0;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(30, 10, 20, .05), 0 8px 24px rgba(30, 10, 20, .06);
  --shadow-lg: 0 18px 50px rgba(30, 10, 20, .14);
  --wrap: 1200px;
  --gutter: clamp(16px, 3vw, 24px);
  --header-h: 80px;
}

.tema-hosp {
  --brand: #077232;
  --brand-hover: #055a27;
  --ink: #0b4d26;
  --soft: #eef8f0;
  --soft-line: #cfe9d6;
  --hero-from: #046e30;
  --hero-to: #04491f;
  --line-from: #0b7a38;
  --line-to: #064a22;
  --accent: #0f8a3f;
}

.tema-camp {
  --brand: #2a2d30;
  --brand-hover: #15171a;
  --ink: #2a2d30;
  --soft: #f1f4f2;
  --soft-line: #d9e2dc;
  --hero-from: #2a2d30;
  --hero-to: #1b1d1f;
  --line-from: #3a3f43;
  --line-to: #22262a;
  --accent: #4f9a63;
  --camp-accent: #82c392;
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--soft { background: var(--soft); }
.section--gray { background: var(--bg-gray); }
.section--line { border-top: 1px solid var(--line); }

.kicker {
  display: block;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}
.tema-camp .kicker { color: var(--accent); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--muted); max-width: 62ch; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { margin: 0; color: var(--muted); max-width: 60ch; }

/* ---------- Botones y links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: .98rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--soft-line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--soft); }
.btn--outline-white { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 800; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }
.tema-camp .link-arrow { color: var(--ink); }

/* ---------- Barra de sectores ---------- */
.sector-bar { background: var(--dark); color: #fff; font-size: .82rem; }
.sector-bar .wrap { display: flex; align-items: stretch; justify-content: space-between; min-height: 44px; gap: 12px; }
.sector-tabs { display: flex; }
.sector-tabs a { display: flex; align-items: center; padding: 0 18px; color: #e8e8e8; text-decoration: none; font-weight: 600; }
.sector-tabs a:hover { color: #fff; background: rgba(255,255,255,.06); }
.sector-tabs a[aria-current="true"] { color: #fff; font-weight: 800; }
.sector-tabs a.is-hotel[aria-current="true"] { background: var(--hotel); }
.sector-tabs a.is-hosp[aria-current="true"] { background: var(--hosp); }
.sector-tabs a.is-camp[aria-current="true"] { background: #3a3f43; box-shadow: inset 0 -3px 0 #82c392; }
.sector-bar__right { display: flex; align-items: center; gap: 24px; }
.sector-bar__right a { color: #fff; text-decoration: none; }
.sector-bar__right a:hover { text-decoration: underline; }
.retail-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-serif); font-size: .98rem; }
.retail-link svg { height: 18px; width: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.tema-camp .site-header { background: #2a2d30; border-bottom-color: #2a2d30; color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand svg { height: 56px; width: auto; }
.brand__sector { padding-left: 14px; border-left: 1px solid var(--line); color: var(--brand); font-weight: 800; letter-spacing: .1em; font-size: .82rem; text-transform: uppercase; }
.tema-camp .brand__sector { color: #82c392; border-left-color: rgba(255,255,255,.25); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.main-nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav__links a { text-decoration: none; font-weight: 700; font-size: .98rem; color: var(--text); padding: 6px 0; position: relative; }
.tema-camp .main-nav__links a { color: #fff; }
.main-nav__links a:hover, .main-nav__links a[aria-current="page"] { color: var(--brand); }
.tema-camp .main-nav__links a:hover, .tema-camp .main-nav__links a[aria-current="page"] { color: #82c392; }
.main-nav__cta { display: flex; gap: 12px; align-items: center; }
.btn--cross { background: #fff; border: 1.5px solid currentColor; min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.btn--cross.to-hosp { color: var(--hosp); }
.btn--cross.to-hotel { color: var(--hotel); }
.btn--cross:hover { background: var(--soft); }
.tema-camp .btn--primary { background: #82c392; color: #16201a; }
.tema-camp .btn--primary:hover { background: #95d0a3; }

.quote-pill { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; background: #fff; }
.quote-pill svg { width: 20px; height: 20px; }
.quote-pill__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.quote-pill[data-count="0"] .quote-pill__count { display: none; }
.tema-camp .quote-pill__count { background: #82c392; color: #16201a; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; color: inherit; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s, opacity .25s; }
.nav-toggle span:first-child::before, .nav-toggle span:first-child::after { content: ""; position: absolute; left: 0; }
.nav-toggle span:first-child::before { top: -7px; }
.nav-toggle span:first-child::after { top: 7px; }
.nav-open .nav-toggle span:first-child { background: transparent; }
.nav-open .nav-toggle span:first-child::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--soft); padding: clamp(48px, 7vw, 88px) 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__text p { font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--muted); max-width: 56ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; }
.hero__img { aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: #e9e3e5; box-shadow: var(--shadow-lg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -28px; bottom: 32px; max-width: 260px;
  background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--brand);
}
.hero__badge strong { display: block; color: var(--ink); font-size: 1.15rem; line-height: 1.3; margin-bottom: 6px; }
.hero__badge span { font-size: .86rem; color: var(--muted); }
.hero__badge .kicker { font-size: .7rem; margin-bottom: 6px; }

.hero--color { background: linear-gradient(100deg, var(--hero-from), var(--hero-to)); color: #fff; }
.hero--color h1, .hero--color .kicker { color: #fff; }
.hero--color .kicker { opacity: .9; }
.hero--color .hero__text p { color: rgba(255,255,255,.9); }
.hero--color .hero__img { background: rgba(255,255,255,.12); }

.breadcrumb { font-size: .84rem; margin-bottom: 18px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { font-weight: 700; color: var(--text); }
.hero--color .breadcrumb, .hero--color .breadcrumb [aria-current] { color: #fff; }

/* Hero simple (páginas internas) */
.page-hero { background: var(--soft); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-hero p { color: var(--muted); max-width: 62ch; font-size: 1.08rem; margin: 0; }

/* ---------- Franja de cruce entre sectores ---------- */
.cross-band { border-top: 3px solid var(--hosp); background: var(--hosp-soft); }
.cross-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.cross-band p { margin: 0; }
.cross-band strong { color: var(--hosp); }
.cross-band .btn { background: var(--hosp); color: #fff; min-height: 44px; }
.cross-band .btn:hover { background: #055a27; }
.cross-band.to-hotel { border-top-color: var(--hotel); background: var(--hotel-soft); }
.cross-band.to-hotel strong { color: var(--hotel); }
.cross-band.to-hotel .btn { background: var(--hotel); }
.cross-band.to-hotel .btn:hover { background: #a8294a; }

/* ---------- Datos clave ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.stat strong { display: block; font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: var(--ink); font-weight: 800; line-height: 1.2; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Por qué elegirnos ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.feature__num { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.feature h3 { color: var(--ink); margin: 8px 0 8px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.features-logo { margin-bottom: 12px; }
.features-logo svg { height: 72px; width: auto; }

/* ---------- Tarjetas de categoría ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--soft-line); }
.cat-card__img { aspect-ratio: 4 / 3; background: #ece8e9; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card__body { padding: 18px 20px 22px; }
.cat-card__body h3 { color: var(--text); margin: 0 0 4px; font-size: 1.05rem; }
.cat-card__body span { font-size: .85rem; color: var(--muted); }

/* ---------- Tarjetas de producto ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--soft-line); }
.product-card__img { aspect-ratio: 4 / 3; background: #ece8e9; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.tema-camp .product-card__cat { color: var(--accent); }
.product-card h3 { font-size: 1.02rem; color: var(--text); margin: 0 0 6px; line-height: 1.3; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta clickeable */
.product-card__meta { font-size: .84rem; color: var(--muted); margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__more { margin-top: auto; font-size: .88rem; font-weight: 800; color: var(--accent); }
.product-card__more::after { content: " →"; }
.product-card__add { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.product-card__add svg { width: 18px; height: 18px; }
.product-card__add:hover { background: var(--brand); color: #fff; }
.product-card__add[aria-pressed="true"] { background: var(--brand); color: #fff; }
.tema-camp .product-card__add[aria-pressed="true"] { background: #82c392; color: #16201a; }

/* ---------- Catálogo ---------- */
.catalog-tools { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: 16px 0; }
.catalog-tools .wrap { display: flex; gap: 16px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 32px; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; white-space: nowrap; min-height: 38px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--soft-line); background: #fff; font-size: .88rem; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.search { position: relative; flex: none; width: 260px; }
.search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); padding: 0 16px 0 40px; background: #fafafa; }
.search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.catalog-section { padding-top: 48px; }
.catalog-section[hidden] { display: none; }
.catalog-section .section-head { margin-bottom: 20px; align-items: center; }
.catalog-section h2 { font-size: 1.6rem; margin: 0; }
.catalog-empty { padding: 48px 0; text-align: center; color: var(--muted); }

/* ---------- Línea Vacanza (bloque degradé) ---------- */
.line-block { background: linear-gradient(100deg, var(--line-from), var(--line-to)); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.line-block .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.line-block h1, .line-block h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.line-block .kicker { color: rgba(255,255,255,.85); }
.line-block p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin: 0; }
.line-block .logo-white svg { height: 64px; width: auto; margin-bottom: 14px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px 22px; }
.tile strong { display: block; font-size: 1.45rem; margin-bottom: 6px; }
.tile span { font-size: .9rem; color: rgba(255,255,255,.85); line-height: 1.45; display: block; }

/* ---------- Split (imagen + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.split__img { aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: #ece8e9; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split p { color: var(--muted); font-size: 1.04rem; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; }
.step__n { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 14px; display: block; }
.step h3 { color: var(--text); margin-bottom: 8px; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid transparent; transition: border-color .2s; }
.section:not(.section--soft) .faq details { border-color: var(--line); }
.faq details[open] { border-color: var(--soft-line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 24px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 24px 20px; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- Guía (texto largo con índice) ---------- */
.guide { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.guide__toc { position: sticky; top: calc(var(--header-h) + 24px); }
.guide__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.guide__toc a { text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--muted); }
.guide__toc a:hover { color: var(--brand); }
.prose { font-size: 1.04rem; color: var(--muted); max-width: 78ch; }
.prose h2, .prose h3 { color: var(--ink); }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .6em; }
.prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .table th { background: var(--soft); color: var(--ink); text-align: left; padding: 12px; font-weight: 800; }
.prose td, .table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- CTA ---------- */
.cta-box { background: var(--ink); color: #fff; border-radius: 16px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-box h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-box p { margin: 0; color: rgba(255,255,255,.85); }
.tema-camp .cta-box { background: #2a2d30; }

/* ---------- Formulario de cotización ---------- */
.quote { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote__info p { color: var(--muted); }
.quote__info .contact-line { color: var(--text); margin-bottom: 12px; }
.quote__info .contact-line strong { color: var(--text); }
.quote__info .contact-line.is-wa strong { color: var(--brand); }
.quote__info a { color: var(--brand); }
.form-card { background: var(--soft); border-radius: 16px; padding: clamp(22px, 3vw, 32px); }
.section--soft .form-card { background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--soft-line); background: #fff; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 1rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.field .hint { font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 700; }
.form-status.is-ok { color: var(--hosp); }
.form-status.is-error { color: #b42318; }
.quote-list { margin: 0 0 6px; padding: 12px 14px; background: #fff; border: 1px dashed var(--soft-line); border-radius: var(--radius-sm); font-size: .9rem; }
.quote-list ul { margin: 6px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.quote-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.quote-list button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .82rem; text-decoration: underline; }

/* ---------- Otros canales ---------- */
.channels h2 { font-size: 1.3rem; color: #4a4a4a; margin-bottom: 18px; }
.channels__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.channel { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 240px; padding: 32px; border-radius: var(--radius); color: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.channel h3 { color: #fff; font-size: 1.35rem; margin: 0 0 4px; }
.channel p { margin: 0 0 8px; color: rgba(255,255,255,.88); font-size: .95rem; }
.channel .kicker { color: rgba(255,255,255,.9); margin-bottom: 4px; font-size: .74rem; }
.channel__go { font-weight: 800; }
.channel__go::after { content: " →"; }
.channel > svg:first-child { height: 52px; width: auto; margin-bottom: 10px; flex: none; align-self: flex-start; }
.channel--hosp { background: var(--hosp); }
.channel--hotel { background: var(--hotel); }
.channel--camp { background: #2a2d30; }
.channel--camp .kicker { color: #82c392; }
.channel--retail { background: #000; border-radius: 0; flex-direction: row; align-items: center; gap: 28px; }
.channel--retail > svg:first-child { height: 104px; width: auto; flex: none; }
.channel--retail em { font-family: var(--font-serif); font-size: 1.15rem; display: block; }
.channel--retail strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.85rem; display: block; line-height: 1.2; margin-bottom: 8px; }
.channel--retail .channel__go { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.channels__grid--3 { grid-template-columns: repeat(3, 1fr); }
.channels__grid--3 .channel--retail { flex-direction: column; align-items: flex-start; gap: 12px; }
.channels__grid--3 .channel--retail > svg:first-child { height: 64px; }

/* ---------- Ficha de producto ---------- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.gallery__main { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: #f1eeef; border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; list-style: none; padding: 0; }
.gallery__thumbs button { display: block; width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: #f1eeef; cursor: pointer; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.product__desc { color: var(--muted); font-size: 1.02rem; }
.product__desc p:empty { display: none; }
.specs { margin: 24px 0; display: grid; gap: 16px; }
.spec dt { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.spec dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec dd span { padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: .88rem; font-weight: 700; color: var(--ink); }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.product__note { display: flex; gap: 12px; padding: 16px 18px; background: var(--soft); border-radius: var(--radius); font-size: .92rem; color: var(--text); }
.product__note svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; background: #fff; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/10; background: #ece8e9; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 24px; }
.post-card time { font-size: .82rem; color: var(--muted); }
.post-card h2 { font-size: 1.2rem; margin: 6px 0 10px; color: var(--text); }

/* ---------- Contacto ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { margin: 0 0 12px; color: var(--muted); font-size: .94rem; }
.contact-card a.big { font-weight: 800; color: var(--brand); text-decoration: none; font-size: 1.08rem; }
.contact-card.is-hosp h3, .contact-card.is-hosp a.big { color: var(--hosp); }
.contact-card.is-camp h3, .contact-card.is-camp a.big { color: #2a2d30; }
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); background: #eee; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfcfcf; padding: 64px 0 0; font-size: .92rem; }
.site-footer a { color: #e6e6e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-brand svg { height: 60px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0 0 8px; max-width: 36ch; }
.site-footer h3 { color: #fff; font-size: .95rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-retail { font-family: var(--font-serif); font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; color: #9a9a9a; flex-wrap: wrap; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Toast ---------- */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120%); z-index: 70; background: var(--dark); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .92rem; font-weight: 700; box-shadow: var(--shadow-lg); transition: transform .3s; display: flex; gap: 12px; align-items: center; }
.toast.is-visible { visibility: visible; transform: translate(-50%, 0); }
.toast a { color: #fff; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: clamp(3rem, 8vw, 5rem); }

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav__links { gap: 18px; }
  .brand__sector { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand svg { height: 46px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-header { backdrop-filter: none; background: #fff; }
  .gallery__thumbs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72px; overflow-x: auto; scrollbar-width: thin; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 24px; margin: 0;
    background: #fff; padding: 24px var(--gutter) 88px; overflow-y: auto; border-top: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .tema-camp .main-nav { background: #2a2d30; }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  html:has(body.nav-open) { overflow: hidden; }
  .main-nav__links { flex-direction: column; gap: 0; }
  .main-nav__links a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .tema-camp .main-nav__links a { border-bottom-color: rgba(255,255,255,.12); }
  .main-nav__cta { flex-direction: column; align-items: stretch; }
  .main-nav__cta .btn { width: 100%; }
  .quote-pill { order: -1; align-self: flex-start; }
  .site-header .quote-pill--mobile { display: inline-flex; }

  .hero .wrap, .split, .quote, .product, .line-block .wrap { grid-template-columns: 1fr; }
  .hero__badge { left: 16px; bottom: 16px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .guide { grid-template-columns: 1fr; gap: 24px; }
  .guide__toc { position: static; }
  .guide__toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .guide__toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .post-grid, .contact-cards, .channels__grid--3 { grid-template-columns: 1fr 1fr; }
  .catalog-tools .wrap { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .sector-bar__right .sector-bar__wa { display: none; }
  .sector-tabs a { padding: 0 12px; }
  .retail-link span { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { position: relative; left: auto; bottom: auto; margin: -40px 16px 0; max-width: none; }
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding-right: 0; }
  .cat-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card__body, .cat-card__body { padding: 14px 14px 16px; }
  .product-card h3, .cat-card__body h3 { font-size: .94rem; }
  .product-card__meta { display: none; }
  .product-card__add { width: 34px; height: 34px; top: 8px; right: 8px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px; }
  .tile strong { font-size: 1.2rem; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .channels__grid, .channels__grid--3, .post-grid, .contact-cards { grid-template-columns: 1fr; }
  .channel { min-height: 0; padding: 28px 24px; }
  .channel--retail { gap: 18px; }
  .channel--retail > svg:first-child { height: 72px; }
  .channel--retail strong { font-size: 1.45rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box .btn { width: 100%; }
  .cross-band .btn { width: 100%; }
  .catalog-section { padding-top: 36px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
