@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --bg-page: #eef6f6;
  --bg-page-2: #e4f0f0;
  --surface: #ffffff;
  --panel: #f6fcfc;
  --card: #ffffff;
  --muted: #5c6b7a;
  --text: #0f172a;
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.14);
  --accent-2: #dc2626;
  --accent-2-soft: rgba(220, 38, 38, 0.12);
  --outline: rgba(15, 23, 42, 0.07);
  --shadow-1: 0 24px 56px rgba(15, 23, 42, 0.09), 0 0 0 1px rgba(13, 148, 136, 0.06);
  --shadow-2: 0 10px 28px rgba(15, 23, 42, 0.07);
  --shadow-glow: 0 0 80px rgba(13, 148, 136, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
  --font-display: "Outfit", "Montserrat", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ink-dark: #042f2e;
  --ink-mid: #0c4a48;
}

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

body {
  margin: 0;
  font-family: "Inter", "Montserrat", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(ellipse 90% 60% at 0% -10%, rgba(13, 148, 136, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(220, 38, 38, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(13, 148, 136, 0.1), transparent 55%),
    linear-gradient(165deg, var(--bg-page) 0%, #e0f2f1 40%, var(--bg-page-2) 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
}

/* Textura tipo "escamas" suave (eco packaging) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(13, 148, 136, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Grano fino + marca lateral (solo escritorio) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

@media (min-width: 1100px) {
  html::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    z-index: 100;
    background: linear-gradient(180deg, #5eead4 0%, #0d9488 38%, #134e4a 72%, #9f1239 100%);
    pointer-events: none;
    box-shadow: 4px 0 24px rgba(13, 148, 136, 0.15);
  }
}

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

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

main {
  display: block;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  backdrop-filter: blur(18px) saturate(1.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 252, 252, 0.88) 100%);
  border-bottom: 1px solid rgba(13, 148, 136, 0.1);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.06);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, rgba(13, 148, 136, 0.45) 35%, rgba(220, 38, 38, 0.25) 65%, transparent 95%);
  opacity: 0.85;
  pointer-events: none;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, #14b8a6 0%, var(--accent-dark) 55%, #0d4f4a 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.15rem;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 14px 36px rgba(13, 148, 136, 0.45), var(--shadow-glow);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text span:first-child {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.brand-text span:last-child {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-2);
}

.nav-link {
  position: relative;
  padding: 9px 14px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-dark);
  background: rgba(13, 148, 136, 0.08);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, var(--accent-dark));
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.38);
}

.contact-inline {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  display: none;
}

.button,
button {
  appearance: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.45);
}

.button.ghost {
  border: 1px solid var(--outline);
  color: var(--text);
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--surface);
}

.button.ghost:hover {
  border-color: rgba(13, 148, 136, 0.35);
  color: var(--accent-dark);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.pill--accent {
  background: var(--accent-2-soft);
  border-color: rgba(220, 38, 38, 0.25);
  color: #b91c1c;
}

@keyframes mq-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mq-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes mq-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.page-home .hero,
.page-home main .section {
  animation: mq-fade-up 0.75s ease backwards;
}

.page-home .hero {
  animation-delay: 0.04s;
}

.page-home main .section:nth-of-type(2) {
  animation-delay: 0.08s;
}
.page-home main .section:nth-of-type(3) {
  animation-delay: 0.11s;
}
.page-home main .section:nth-of-type(4) {
  animation-delay: 0.14s;
}
.page-home main .section:nth-of-type(5) {
  animation-delay: 0.17s;
}
.page-home main .section:nth-of-type(6) {
  animation-delay: 0.2s;
}
.page-home main .section:nth-of-type(7) {
  animation-delay: 0.23s;
}
.page-home main .section:nth-of-type(8) {
  animation-delay: 0.26s;
}
.page-home main .section:nth-of-type(9) {
  animation-delay: 0.29s;
}

.hero {
  padding: 56px 0 40px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  right: -8%;
  top: -12%;
  background: radial-gradient(circle closest-side, rgba(13, 148, 136, 0.16), transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.hero-card {
  background: linear-gradient(155deg, #ffffff 0%, var(--panel) 55%, rgba(224, 242, 241, 0.35) 100%);
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-card:hover {
  box-shadow: var(--shadow-1), 0 0 0 1px rgba(13, 148, 136, 0.1), var(--shadow-glow);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -25%;
  width: 65%;
  height: 95%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12), transparent 68%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #5eead4, var(--accent-2));
  background-size: 200% 100%;
  animation: mq-shimmer 8s ease infinite alternate;
  opacity: 0.9;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 2.6vw + 1rem, 3rem);
  margin: 14px 0 12px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0c1f1e;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 {
    background: linear-gradient(115deg, #0f172a 0%, #115e59 42%, #134e4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-tagline {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: none;
}

.lead {
  color: #334155;
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bullet-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(13, 148, 136, 0.04);
  border: 1px solid var(--outline);
  padding: 10px 14px;
  border-radius: 12px;
}

.bullet-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}

.hero-visual {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 255, 255, 0.95), rgba(224, 242, 241, 0.5)),
    linear-gradient(145deg, rgba(13, 148, 136, 0.15) 0%, rgba(13, 148, 136, 0.05) 50%, rgba(220, 38, 38, 0.04) 100%);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: var(--radius-lg);
  overflow: visible;
  min-height: 400px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: mq-float 7s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg 8deg, rgba(13, 148, 136, 0.04) 8deg 16deg);
  opacity: 0.5;
  pointer-events: none;
  animation: mq-shimmer 25s linear infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px dashed rgba(13, 148, 136, 0.22);
  border-radius: calc(var(--radius-md) + 2px);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: rotate(3deg);
  animation: mq-fade-up 0.8s ease 0.3s backwards;
}

.hero-visual img {
  width: 78%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.15));
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-visual:hover img {
  transform: scale(1.04) translateY(-4px);
}

.section {
  padding: 28px 0;
}

.panel {
  background: linear-gradient(180deg, var(--surface) 0%, var(--panel) 100%);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.panel:hover {
  box-shadow: var(--shadow-1), 0 0 0 1px rgba(13, 148, 136, 0.08);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.9vw + 0.65rem, 2.1rem);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #5eead4);
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.35);
}

.panel > .section-title:first-child,
.content-card > .section-title:first-child,
.content-card > h1:first-of-type {
  display: block;
}

.panel > .section-title:first-child::after,
.content-card > .section-title:first-child::after {
  left: 0;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 900px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(13, 148, 136, 0.2);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), #5eead4);
  border-radius: 4px 0 0 4px;
  opacity: 0.9;
}

.feature-card h3,
.card h3 {
  margin: 8px 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.muted {
  color: var(--muted);
}

.stat-card {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.06), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(13, 148, 136, 0.18);
}

.info-block {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(220, 38, 38, 0.04));
  border: 1px solid var(--outline);
}

.image-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--outline);
  background: var(--surface);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.lifestyle-grid .image-frame {
  aspect-ratio: 4/3;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.lifestyle-grid > div:first-child .image-frame {
  transform: rotate(-2deg);
}

.lifestyle-grid > div:last-child .image-frame {
  transform: rotate(2deg);
}

.lifestyle-grid .image-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 20px 48px rgba(13, 148, 136, 0.18);
  z-index: 2;
}

.lifestyle-grid .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(13, 148, 136, 0.04);
  border: 1px solid var(--outline);
  border-radius: 14px;
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.callout {
  background: var(--panel);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  padding: 18px;
}

.order-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.14) 0%, rgba(255, 255, 255, 0.98) 45%, rgba(254, 226, 226, 0.35) 100%);
  border: 1px solid rgba(13, 148, 136, 0.22);
  box-shadow: var(--shadow-1), 0 0 60px rgba(13, 148, 136, 0.1);
  overflow: hidden;
}

.order-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.07), transparent 65%);
  pointer-events: none;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.input:focus {
  outline: none;
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.footer {
  margin-top: 40px;
  padding: 36px 0 44px;
  border-top: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(224, 242, 241, 0.55) 100%);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.35), rgba(220, 38, 38, 0.2), transparent);
  opacity: 0.9;
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-dark), #991b1b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.92;
  user-select: none;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 28px;
  }

  .footer-brand {
    font-size: 2.65rem;
  }
}

.footer a {
  color: var(--text);
  font-weight: 600;
}

.footer a:hover {
  color: var(--accent-dark);
}

.footer small,
.footer .legal-line {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.content-page {
  padding: 40px 0 24px;
}

.content-card {
  background: linear-gradient(165deg, var(--surface) 0%, var(--panel) 100%);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-1);
}

.content-card h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.content-card h1,
.content-card h2 {
  margin-top: 0;
}

.content-card p {
  margin: 0 0 16px;
}

.list-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: var(--panel);
  font-weight: 600;
  color: var(--muted);
}

.legal-text p {
  color: #334155;
}

.legal-text p strong {
  color: var(--accent-dark);
}

.page-home .hero h1 .accent-word {
  color: var(--accent-dark);
}

/* Separador ondulado entre hero y contenido */
.wave-divider {
  height: 56px;
  margin: -4px 0 8px;
  background:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(13, 148, 136, 0.14), transparent 55%),
    linear-gradient(180deg, transparent, rgba(224, 242, 241, 0.4));
  clip-path: polygon(0 40%, 12% 25%, 28% 45%, 44% 18%, 60% 38%, 76% 12%, 92% 35%, 100% 22%, 100% 100%, 0 100%);
  pointer-events: none;
}

/* Secciones con índice editorial gigante */
.section--indexed {
  position: relative;
  padding-top: 8px;
}

.section--indexed::before {
  content: attr(data-index);
  position: absolute;
  top: 0;
  left: clamp(12px, 4vw, 48px);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 7rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(13, 148, 136, 0.06);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.section--indexed .container {
  position: relative;
  z-index: 1;
}

.section--band.section--indexed::before {
  color: rgba(255, 255, 255, 0.06);
}

/* Banda oscura — contraste “laboratorio” */
.section--band {
  padding: 36px 0;
  margin: 8px 0;
  background: linear-gradient(180deg, transparent, rgba(4, 47, 46, 0.04) 30%, rgba(4, 47, 46, 0.04) 70%, transparent);
}

.panel--dark {
  background: linear-gradient(145deg, var(--ink-mid) 0%, var(--ink-dark) 48%, #063635 100%) !important;
  border: 1px solid rgba(94, 234, 212, 0.18) !important;
  box-shadow: 0 32px 64px rgba(4, 47, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  color: #ecfdf5;
}

.panel--dark .section-title {
  color: #f0fdfa;
}

.panel--dark .section-title::after {
  background: linear-gradient(90deg, #5eead4, #f87171);
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.4);
}

.panel--dark .muted {
  color: rgba(226, 245, 243, 0.78) !important;
}

.panel--dark .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.panel--dark .feature-card::before {
  background: linear-gradient(180deg, #5eead4, #fb7185);
}

.panel--dark .feature-card h3 {
  color: #99f6e4;
}

.panel--dark .feature-card:hover {
  border-color: rgba(94, 234, 212, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.panel--dark:hover {
  box-shadow: 0 32px 64px rgba(4, 47, 46, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

@media (max-width: 719px) {
  .footer-brand {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 4px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer .list-inline {
    justify-content: center;
  }
}

/* Tipografía técnica */
.pill,
.hero-badge,
.pill--accent {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

/* Hero: radios asimétricos + foto con recorte */
.hero-card {
  border-radius: 32px 8px 32px 28px !important;
}

.hero-visual {
  border-radius: 8px 36px 22px 36px !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%, 0 92%);
}

.hero-visual--plain {
  clip-path: none;
  border-radius: var(--radius-lg) !important;
}

/* Navegación: subrayado animado */
.nav-link:not(.active)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #5eead4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-link:not(.active):hover::after {
  transform: scaleX(1);
}

/* Panel “galería” — borde en gradiente respetando radios */
#lifestyle .panel {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--panel) 100%) padding-box,
    linear-gradient(135deg, rgba(13, 148, 136, 0.45), rgba(220, 38, 38, 0.18), rgba(13, 148, 136, 0.35)) border-box;
  background-clip: padding-box, border-box;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }

  .site-header .inner {
    flex-wrap: wrap;
  }

  .contact-inline {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-visual {
    animation: none;
  }
}

@media (max-width: 640px) {
  :root {
    --radius-lg: 22px;
    --radius-md: 14px;
  }

  body {
    background: var(--bg-page);
  }

  body::before {
    opacity: 0.5;
  }

  .hero {
    padding-top: 36px;
  }

  .lifestyle-grid > div:first-child .image-frame,
  .lifestyle-grid > div:last-child .image-frame {
    transform: none;
  }

  .hero-visual:not(.hero-visual--plain) {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    border-radius: var(--radius-lg) !important;
  }

  .hero-card {
    border-radius: var(--radius-lg) !important;
  }

  html::before {
    width: 3px;
  }

  .panel,
  .hero-card,
  .hero-visual,
  .content-card {
    padding: 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
  }
}
