/* iCuidate Argentina — elegant redesign v3 */
:root {
  --bg: #f4f1ec;
  --bg-2: #ebe6de;
  --paper: #fffcf7;
  --ink: #14201c;
  --ink-soft: #3d4f48;
  --muted: #66756e;
  --line: #ddd6cb;
  --line-soft: rgba(20, 32, 28, 0.08);
  --brand: #0acf97;
  --brand-2: #08a87b;
  --brand-ink: #043528;
  --brand-soft: #d9f6eb;
  --dark: #0d1613;
  --dark-2: #16241f;
  --radius: 1.5rem;
  --radius-sm: 1rem;
  --radius-xs: 0.65rem;
  --shadow: 0 24px 60px -28px rgba(20, 32, 28, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(20, 32, 28, 0.22);
  --max: 1200px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -5%, rgba(10, 207, 151, 0.12), transparent 55%),
    radial-gradient(700px 360px at 0% 15%, rgba(10, 207, 151, 0.06), transparent 50%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  background-image: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

::selection {
  background: rgba(10, 207, 151, 0.25);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px) saturate(1.15);
  background: rgba(244, 241, 236, 0.78);
  border-bottom: 1px solid transparent;
  transition: 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 252, 247, 0.92);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 40px -28px rgba(20, 32, 28, 0.4);
}

.nav {
  min-height: 4.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.logo img {
  height: 2.85rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.28rem;
  gap: 0.1rem;
  align-items: center;
  background: rgba(255, 252, 247, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 14px -8px rgba(20, 32, 28, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-grid;
  place-items: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -5.5px; }
.menu-toggle span::after { top: 5.5px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before {
  top: 0; transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span::after {
  top: 0; transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 0.5rem 1.25rem 1.2rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 252, 247, 0.98);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.mobile-nav a.is-active,
.mobile-nav a:hover {
  background: var(--brand-soft);
  color: var(--ink);
}
.mobile-nav .btn { width: 100%; margin-top: 0.4rem; }

/* ========== Buttons ========== */
button.btn,
a.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  border: 0 !important;
  outline: none;
  background-image: none !important;
  box-shadow: none !important;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, filter 0.2s;
  white-space: nowrap;
}
button.btn:hover,
a.btn:hover {
  transform: translateY(-1px);
}
button.btn:focus-visible,
a.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-primary,
button.btn-primary,
a.btn-primary {
  background: #0acf97 !important;
  background-color: #0acf97 !important;
  background-image: none !important;
  color: #043528 !important;
  box-shadow: none !important;
  border: 0 !important;
}
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
  background: #0bbf8c !important;
  background-color: #0bbf8c !important;
  box-shadow: none !important;
}

.btn-dark,
button.btn-dark,
a.btn-dark {
  background: #14201c !important;
  background-color: #14201c !important;
  color: #f7f5f1 !important;
  box-shadow: none !important;
  border: 0 !important;
}
.btn-dark:hover,
button.btn-dark:hover,
a.btn-dark:hover {
  background: #0a1210 !important;
}

.btn-ghost,
button.btn-ghost,
a.btn-ghost {
  background: #fffcf7 !important;
  background-color: #fffcf7 !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  border: 1px solid var(--line) !important;
}
.btn-ghost:hover,
button.btn-ghost:hover,
a.btn-ghost:hover {
  background: #fff !important;
  border-color: #cfc6b8 !important;
}

.btn-lg {
  min-height: 3.2rem;
  padding-inline: 1.5rem;
  font-size: 1rem;
}

/* ========== Type ========== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(10, 207, 151, 0.12);
  border: 1px solid rgba(10, 207, 151, 0.22);
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(10, 207, 151, 0.16);
}

.section-kicker {
  margin: 0 0 0.65rem;
  color: var(--brand-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-sm { padding: clamp(2rem, 5vw, 3.25rem) 0; }

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ========== Hero ========== */
.hero {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 0;
}

.hero-top {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.hero-copy h1 {
  margin: 0.85rem 0 1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 14ch;
}

.hero-copy .lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Full-bleed banner carousel — natural 2880x1350 (~2.13:1) */
.hero-stage {
  position: relative;
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  background: #101916;
  box-shadow: var(--shadow);
}

.hero-swiper {
  width: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  aspect-ratio: 2880 / 1350;
  background: #101916;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* banners already match this ratio → no crop */
  object-position: center;
}

.hero-swiper .slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 12, 0.55) 0%, rgba(8, 14, 12, 0.12) 42%, transparent 70%),
    linear-gradient(0deg, rgba(8, 14, 12, 0.35), transparent 40%);
  pointer-events: none;
}

.hero-swiper .slide-caption {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  max-width: min(28rem, 70%);
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
}

.hero-swiper .slide-caption strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.hero-swiper .slide-caption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-controls {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-nav-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  transition: 0.2s;
}
.hero-nav-btn:hover { background: #fff; transform: scale(1.04); }
.hero-nav-btn svg { width: 1rem; height: 1rem; }

.hero-pagination {
  display: flex;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-pagination .swiper-pagination-bullet {
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 !important;
  opacity: 1;
  background: rgba(20, 32, 28, 0.2);
  border-radius: 999px;
  transition: 0.25s var(--ease);
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 1.35rem;
  background: var(--brand);
}

/* ========== Product showcase (no crop) ========== */
.showcase {
  display: grid;
  gap: 1.25rem;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
}

.showcase-card .media {
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(500px 280px at 70% 20%, rgba(10, 207, 151, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f3ec, #efe8dd);
  min-height: 280px;
}

.showcase-card .media img {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain; /* full product shot, never cropped */
  filter: drop-shadow(0 24px 40px rgba(20, 32, 28, 0.18));
}

.showcase-card .body {
  padding: 1.35rem 1.4rem 1.5rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 252, 247, 0.9);
}

.showcase-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.showcase-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.showcase-card .link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--brand-2);
}
.showcase-card .link-more:hover { color: var(--ink); }

/* ========== Dark panel ========== */
.panel-dark {
  border-radius: calc(var(--radius) + 0.2rem);
  padding: clamp(1.6rem, 4vw, 2.75rem);
  background:
    radial-gradient(700px 260px at 100% 0%, rgba(10, 207, 151, 0.2), transparent 55%),
    linear-gradient(155deg, #163128 0%, var(--dark) 55%, #0a120f 100%);
  color: #f4f7f5;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.5rem;
}
.panel-dark h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.panel-dark p {
  margin: 0;
  color: rgba(244, 247, 245, 0.72);
  font-size: 1.02rem;
  max-width: 36rem;
}
.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.panel-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.panel-list .mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 800;
}

/* ========== Values ========== */
.values {
  display: grid;
  gap: 1rem;
}
.value-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.value-card.accent {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(10, 207, 151, 0.18), transparent 60%),
    linear-gradient(165deg, var(--dark-2), var(--dark));
  color: #f4f7f5;
  border-color: transparent;
  box-shadow: var(--shadow);
}
.value-card.accent p { color: rgba(244, 247, 245, 0.72); }
.value-card .idx {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.value-card.accent .idx { color: #9cf0d3; }
.value-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.value-card p {
  margin: 0;
  color: var(--muted);
}

/* ========== Marquee logos ========== */
.logos-band {
  padding: 1.75rem 0;
  background: rgba(255, 252, 247, 0.55);
  border-block: 1px solid var(--line-soft);
}

.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 45s linear infinite;
  align-items: center;
}
.marquee:hover { animation-play-state: paused; }

.logo-chip {
  flex: 0 0 auto;
  width: 7.5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  padding: 0.65rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 8px 20px -16px rgba(20, 32, 28, 0.35);
}
.logo-chip img {
  max-width: 100%;
  max-height: 3.1rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== Feature items ========== */
.feature-list {
  display: grid;
  gap: 0.9rem;
}
.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: 0.2s var(--ease);
}
.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-item .icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  border: 1px solid rgba(10, 207, 151, 0.15);
}
.feature-item .icon img {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
}
.feature-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========== Page hero (inner) — correct banner ratio ========== */
.page-hero {
  width: min(100% - 2.5rem, var(--max));
  margin: 1.25rem auto 0;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  position: relative;
  aspect-ratio: 2880 / 1350;
  background: #101916;
  box-shadow: var(--shadow);
}
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* eyebrow arriba */
  align-items: flex-start;
  padding: clamp(1rem, 2.8vw, 1.6rem);
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(8, 14, 12, 0.55) 0%,
      rgba(8, 14, 12, 0.18) 28%,
      transparent 55%
    );
}
.page-hero-overlay .eyebrow {
  pointer-events: auto;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--brand-2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}
.page-hero-overlay .eyebrow::before {
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(10, 207, 151, 0.16);
}

/* Título debajo de la portada, ancho cómodo */
.page-intro {
  padding-top: 1.6rem;
  padding-bottom: 0.15rem;
}
.page-intro h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 22ch;
  color: var(--ink);
  text-wrap: balance;
}

/* Contenido de páginas internas: mismo eje izquierdo que page-intro */
.page-content .content-title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 34ch;
  text-wrap: balance;
}
.page-content h2 {
  margin: 2.1rem 0 0.75rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-content > p,
.page-content > ul {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 68ch;
}
.page-content > ul {
  padding-left: 1.15rem;
}
.page-content li {
  margin-bottom: 0.5rem;
}
.page-content li strong {
  color: var(--ink-soft);
}
.page-content .cta-band {
  max-width: 68ch;
}

/* ========== Split ========== */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split-media {
  border-radius: var(--radius);
  background:
    radial-gradient(420px 240px at 60% 30%, rgba(10, 207, 151, 0.12), transparent 65%),
    linear-gradient(180deg, #f7f3ec, #ebe4d8);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  place-items: center;
  min-height: 300px;
}
.split-media img {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(20, 32, 28, 0.16));
}
.split-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.split-copy p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 1.04rem;
}

/* ========== Stats ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.stat {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--brand-2);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}
.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========== CTA / prose ========== */
.cta-band {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,252,247,.75), rgba(255,252,247,.4)),
    var(--brand-soft);
  border: 1px solid rgba(10, 207, 151, 0.18);
  box-shadow: var(--shadow-soft);
}
.cta-band h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
}
.cta-band p { margin: 0; color: var(--muted); }

.prose { max-width: min(100%, 58rem); }
.prose h2 {
  margin: 2.1rem 0 0.7rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
}
.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
}
.prose li { margin-bottom: 0.45rem; }
.prose li strong { color: var(--ink-soft); }

.instagram { text-align: center; }
.instagram h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.instagram p { margin: 0 0 1.15rem; color: var(--muted); }

/* ========== Footer ========== */
.site-footer {
  margin-top: 1rem;
  padding: 3.25rem 0 1.5rem;
  background:
    radial-gradient(700px 240px at 0% 0%, rgba(10, 207, 151, 0.12), transparent 50%),
    var(--dark);
  color: rgba(244, 247, 245, 0.7);
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
.footer-brand img {
  height: 1.8rem;
  width: auto;
  margin-bottom: 0.9rem;
  opacity: 0.95;
}
.footer-brand p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
}
.footer-col h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: rgba(244, 247, 245, 0.68);
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(244, 247, 245, 0.48);
}

/* WhatsApp */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 16px 32px -12px rgba(37, 211, 102, 0.7);
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.06) translateY(-2px); }
.wa-float img { width: 1.55rem; height: 1.55rem; }

/* Reserva */
.reserva-page { padding: 1.5rem 0 2.5rem; }
.reserva-intro {
  max-width: 38rem;
  margin: 0 auto 1.35rem;
  text-align: center;
}
.reserva-intro h1 {
  margin: 0.6rem 0 0.55rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
}
.reserva-intro p { margin: 0; color: var(--muted); }
#iframe-container {
  margin: 0 auto;
  width: min(100% - 1.5rem, 1036px);
  max-width: 1036px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100vh;
}
#icuidate-booking {
  display: block;
  width: 100%;
  height: 100vh;
  border: 0;
  background: #fff;
}

.mt-0 { margin-top: 0; }

.hero-aside {
  margin: 1rem 0 0;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ========== Responsive ========== */
@media (min-width: 820px) {
  .hero-top {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 { max-width: none; }
  .showcase {
    grid-template-columns: 1fr 1fr;
  }
  .values {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
  .feature-list.two-col {
    grid-template-columns: 1fr 1fr;
  }
  .panel-dark.has-side {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split.reverse { grid-template-columns: 0.95fr 1.05fr; }
  .split.reverse .split-media { order: 2; }
  .cta-band {
    grid-template-columns: 1.4fr auto;
  }
  .footer-grid {
    grid-template-columns: 1.45fr 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-controls {
    right: 1.25rem;
    bottom: 1.25rem;
  }
}

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .nav-actions .btn-primary-desktop { display: inline-flex; }
}

@media (max-width: 979px) {
  .nav-actions .btn-primary-desktop { display: none; }
}

/* ---- Tablet / phone shared ---- */
@media (max-width: 819px) {
  .container {
    width: min(100% - 1.35rem, var(--max));
  }

  .section {
    padding: 2.75rem 0;
  }
  .section-sm {
    padding: 1.75rem 0;
  }

  .hero {
    padding-top: 1.1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 9.5vw, 2.85rem);
    max-width: none;
  }

  .hero-copy .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .hero-actions .btn,
  .hero-actions .btn-lg {
    width: 100%;
    min-height: 3.15rem;
  }

  .hero-aside {
    font-size: 0.95rem;
  }

  /* Carrusel: sin caption encima (tapaba la imagen) */
  .hero-swiper .slide-caption {
    display: none;
  }
  .hero-swiper .slide-shade {
    background: linear-gradient(0deg, rgba(8, 14, 12, 0.28), transparent 45%);
  }
  .hero-swiper .swiper-slide {
    aspect-ratio: 16 / 10;
  }
  .hero-stage {
    border-radius: 1.15rem;
  }

  /* Controles del carrusel a la izquierda para no chocar con WhatsApp */
  .hero-controls {
    left: 0.7rem;
    right: auto;
    bottom: 0.7rem;
  }

  .hero-nav-btn {
    width: 2.45rem;
    height: 2.45rem;
  }

  .panel-dark {
    padding: 1.35rem 1.15rem;
    border-radius: 1.2rem;
  }

  .panel-dark h2 {
    font-size: clamp(1.55rem, 6.5vw, 1.9rem);
  }

  .panel-dark .btn,
  .cta-band .btn,
  .split-copy .btn {
    width: 100%;
  }

  .cta-band {
    padding: 1.35rem 1.15rem;
    border-radius: 1.2rem;
  }

  .cta-band h2 {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
  }

  .section-head h2,
  .split-copy h2,
  .showcase-card h3 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .showcase-card .media {
    min-height: 220px;
    padding: 1.1rem;
  }

  .showcase-card .body {
    padding: 1.15rem 1.1rem 1.3rem;
  }

  .split-media {
    min-height: 240px;
    padding: 1.1rem;
  }

  .feature-item {
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    padding: 1rem;
  }

  .values {
    gap: 0.8rem;
  }

  .value-card {
    padding: 1.2rem 1.1rem;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .stat {
    padding: 0.95rem 0.9rem;
  }

  /* Portadas internas */
    .page-hero {
      width: min(100% - 1.35rem, var(--max));
      margin-top: 0.85rem;
      aspect-ratio: 16 / 10;
      border-radius: 1.15rem;
    }
    .page-hero img {
      object-position: center center;
    }
    .page-hero-overlay {
      padding: 0.85rem;
    }
    .page-intro {
      padding-top: 1.2rem;
    }
    .page-intro h1 {
      font-size: clamp(1.7rem, 7.2vw, 2.2rem);
      max-width: none;
    }
    .page-content .content-title {
      max-width: none;
      font-size: clamp(1.45rem, 6.2vw, 1.9rem);
    }

  .prose,
  .prose-wide {
    max-width: none;
  }

  .prose p,
  .prose-wide p {
    font-size: 1rem;
  }

  .unique-grid li {
    padding: 1rem;
  }

  /* Reserva iframe */
  .reserva-page {
    padding: 1rem 0 1.5rem;
  }
  .reserva-intro {
    margin-bottom: 1rem;
    padding-inline: 0.15rem;
  }
  .reserva-intro h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.15rem);
  }
  .reserva-intro p {
    font-size: 0.98rem;
  }
  #iframe-container {
    width: min(100% - 1.1rem, 1036px);
    border-radius: 1rem;
    min-height: 78vh;
  }
  #icuidate-booking {
    height: 78vh;
  }

  /* Modal contacto a full-bleed inferior en móvil */
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  .modal-panel.contact-panel {
    width: 100%;
    max-height: min(94vh, 760px);
    border-radius: 1.15rem 1.15rem 0 0;
  }
  .contact-body {
    padding: 1.1rem 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }
  .contact-head {
    padding: 1rem 2.75rem 1rem 1.1rem;
  }
  .contact-head h2 {
    font-size: 0.95rem;
  }

  /* WhatsApp: no tapa controles ni CTAs */
  .wa-float {
    right: 0.85rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    width: 3.15rem;
    height: 3.15rem;
  }

  .video-block {
    border-radius: 1.1rem;
  }

  .logo-chip {
    width: 6.4rem;
    height: 4.4rem;
  }

  .footer-brand p,
  .footer-col a,
  .footer-col p {
    font-size: 0.95rem;
  }

  .site-footer {
    padding: 2.4rem 0 calc(1.4rem + env(safe-area-inset-bottom, 0px));
  }

  .menu-toggle {
    width: 2.85rem;
    height: 2.85rem;
  }

  .mobile-nav a {
    min-height: 3.15rem;
    font-size: 1rem;
  }
  .mobile-nav .btn {
    min-height: 3.15rem;
  }
}

/* ---- Phones small ---- */
@media (max-width: 400px) {
  .container {
    width: min(100% - 1.1rem, var(--max));
  }

  .logo img {
    height: 2.45rem;
  }

  .hero-copy h1 {
    font-size: 2.05rem;
    line-height: 1.02;
  }

  .eyebrow {
      font-size: 0.66rem;
      padding: 0.32rem 0.65rem;
    }

    .hero-swiper .swiper-slide {
      aspect-ratio: 5 / 4;
    }

    .stats {
      grid-template-columns: 1fr;
    }
  }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
  button.btn,
  a.btn,
  .feature-item { transition: none; }
}

/* ========== Contact modal ========== */
.modal[hidden],
.video-modal[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.is-open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 14, 0.55);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
  border-radius: 1.15rem;
  background: #f3f1ee;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.45);
}

.contact-head {
  background: #474747;
  color: #fff;
  padding: 1.1rem 3rem 1.1rem 1.35rem;
  text-align: center;
}
.contact-head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.contact-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form .field input,
.contact-form .field textarea {
  width: 100%;
  border: 0;
  border-radius: 0.35rem;
  background: #fff;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(20, 32, 28, 0.06);
  transition: box-shadow 0.2s;
}
.contact-form .field input:focus,
.contact-form .field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 207, 151, 0.22), inset 0 0 0 1px rgba(10, 207, 151, 0.35);
}
.contact-form .field textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-submit {
  width: 100%;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0.45rem;
}

.form-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--soft, #8a9892);
  text-align: center;
}

.form-success {
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  background: var(--brand-soft);
  border: 1px solid rgba(10, 207, 151, 0.25);
  color: var(--brand-ink);
  font-weight: 600;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ========== Video block ========== */
.video-block {
  position: relative;
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  background: #0b1210;
  box-shadow: var(--shadow);
  cursor: pointer;
  isolation: isolate;
}
.video-block video,
.video-block .video-thumb {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0b1210;
}
.video-block .play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(8,14,12,0.05), rgba(8,14,12,0.35));
  transition: background 0.25s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.video-block:hover .play-overlay {
  background: linear-gradient(180deg, rgba(8,14,12,0.08), rgba(8,14,12,0.45));
}
.play-btn {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s var(--ease);
}
.video-block:hover .play-btn { transform: scale(1.06); }
.play-btn svg { width: 1.4rem; height: 1.4rem; margin-left: 0.15rem; }

.video-caption {
  margin-top: 0.9rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.is-open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
}
.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100vw, 1200px);
  height: min(100vh, 100%);
  display: grid;
  place-items: center;
  padding: 2.5rem 1rem 1rem;
}
.video-modal-panel video {
  width: 100%;
  max-height: calc(100vh - 3rem);
  background: #000;
  border-radius: 0.5rem;
}
.video-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.22); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Footer logo stays light */
.footer-brand img {
  filter: none;
  opacity: 0.95;
}


/* Conocenos: lectura más ancha y aireada */
.prose-wide {
  max-width: min(100%, 64rem);
}
.prose-wide > h2:first-of-type,
.prose-wide .mt-0 {
  max-width: 28ch;
}
.prose-grid {
  display: grid;
  gap: 1.5rem 2.5rem;
  margin-top: 0.5rem;
}
.prose-grid .prose-col p:last-child { margin-bottom: 0; }
.unique-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.unique-grid li {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
}
.unique-grid li strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1.02rem;
}
@media (min-width: 820px) {
  .prose-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .unique-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== Mobile final overrides (cascade last) ========== */
@media (max-width: 819px) {
  .modal.is-open {
    padding: 0;
    align-items: flex-end;
  }
  .modal-panel,
  .modal-panel.contact-panel {
    width: 100%;
    max-width: none;
    max-height: min(94vh, 760px);
    border-radius: 1.15rem 1.15rem 0 0;
  }
  .contact-body {
    padding: 1.1rem 1rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
  }
  .contact-submit {
    min-height: 3.15rem;
  }
  .video-modal-panel {
    padding: 3rem 0.65rem 0.85rem;
  }
  .video-modal-panel video {
    border-radius: 0.65rem;
    max-height: calc(100vh - 3.5rem);
  }
  .hero-swiper .slide-caption {
    display: none !important;
  }
  .hero-actions .btn,
  .panel-dark .btn,
  .cta-band .btn,
  .split-copy .btn {
    width: 100%;
  }
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.footer-legal a {
  color: rgba(244, 247, 245, 0.68);
}
.footer-legal a:hover { color: var(--brand); }
.footer-legal span {
  margin: 0 0.4rem;
  color: rgba(244, 247, 245, 0.32);
}

.legal-content {
  padding-bottom: 3.25rem;
}
.legal-content h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}
.legal-content p,
.legal-content li {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 68ch;
  text-align: justify;
}
.legal-content ul {
  padding-left: 1.15rem;
  margin: 0 0 1rem;
  max-width: 68ch;
}
.legal-content a {
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.legal-content dl {
  margin: 0 0 1.25rem;
  max-width: 68ch;
}
.legal-content dt {
  font-weight: 650;
  color: var(--ink);
  margin-top: 0.65rem;
}
.legal-content dd {
  margin: 0;
  color: var(--muted);
}
.legal-content table {
  width: 100%;
  max-width: 68ch;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.legal-content th,
.legal-content td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
}
.legal-content th {
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 650;
}
