/* Flumen Marketing landing — tokens alineados a flumen.com.ar */
:root {
  --deep: #071a2b;
  --river: #0f7b9e;
  --river-strong: #0b607c;
  --current: #22c3e6;
  --foam: #eaf6fa;
  --sand: #f2a541;
  --sand-strong: #d98b22;
  --ink: #0d1b2a;
  --mist: #5b6b7a;
  --paper: #fff;
  --bg: var(--paper);
  --bg-alt: var(--foam);
  --bg-elev: #fff;
  --fg: var(--ink);
  --fg-muted: var(--mist);
  --line: #d6e6ec;
  --brand: var(--river);
  --brand-fg: #fff;
  --accent: var(--sand);
  --accent-fg: #1a1205;
  --hero-accent-grad: linear-gradient(90deg, var(--river), var(--current));
  --river-line: #0f7b9e2e;
  --river-glow: var(--river);
  --river-node: var(--river);
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #061421;
  --bg-alt: #0a1e30;
  --bg-elev: #0f2739;
  --fg: #e8f1f6;
  --fg-muted: #9db1bf;
  --line: #1b3447;
  --brand: var(--current);
  --brand-fg: #061421;
  --hero-accent-grad: linear-gradient(90deg, #22c3e6, #8fe8f7);
  --river-line: #22c3e638;
  --river-glow: var(--current);
  --river-node: var(--current);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.container-x {
  width: 100%;
  max-width: 75rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container-x {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-x {
    padding-inline: 2rem;
  }
}

.page {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  overflow-x: hidden;
}

.bg-glow {
  position: absolute;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(80% 60% at 70% 20%, rgba(34, 195, 230, 0.14), transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(15, 123, 158, 0.16), transparent 60%),
    var(--bg);
}

.rivers {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.river-flow {
  stroke-dasharray: 14 26;
  animation: flow 14s linear infinite;
}

.river-flow-slow {
  stroke-dasharray: 6 40;
  animation: flow 22s linear infinite reverse;
}

@keyframes flow {
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rise {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.rise:nth-child(2) {
  animation-delay: 80ms;
}

.rise:nth-child(3) {
  animation-delay: 0.16s;
}

.rise:nth-child(4) {
  animation-delay: 0.24s;
}

.rise:nth-child(5) {
  animation-delay: 0.32s;
}

.site-header {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .site-header {
    height: 4.5rem;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang-switch a {
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: var(--fg-muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switch a[aria-current="page"] {
  background: var(--brand);
  color: var(--brand-fg);
}

.lang-switch a:hover {
  color: var(--fg);
}

.icon-btn {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
  background: var(--bg-alt);
  color: var(--fg);
}

.icon-btn .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-btn .icon-sun {
  display: block;
}

[data-theme="dark"] .icon-btn .icon-moon {
  display: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 2.75rem 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero {
    padding-block: 4rem 2.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  backdrop-filter: blur(8px);
}

.eyebrow-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px 2px rgb(34 195 230 / 0.6);
}

.hero h1 {
  margin: 0;
  max-width: 56rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.15rem + 2.2vw, 2.65rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.text-gradient {
  display: block;
  background-image: var(--hero-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  font-size: 1.02rem;
  color: var(--fg-muted);
}

@media (min-width: 640px) {
  .lead {
    font-size: 1.25rem;
  }
}

.cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-sand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.25rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--sand);
  color: #1a1205;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgb(242 165 65 / 0.7);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-sand:hover {
  background: var(--sand-strong);
  transform: translateY(-2px);
}

.btn-sand:active {
  transform: scale(0.98);
}

.cta-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.cta-note a {
  margin-left: 0.25rem;
  font-weight: 600;
  color: var(--brand);
  text-underline-offset: 4px;
}

.cta-note a:hover {
  text-decoration: underline;
}

.offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0.25rem 0 3rem;
}

@media (min-width: 720px) {
  .offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1040px) {
  .offers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  box-shadow: 0 14px 32px -26px #071a2b55;
  min-height: 100%;
}

.offer-media {
  overflow: hidden;
  border-radius: 0.75rem;
  background:
    radial-gradient(80% 70% at 20% 20%, rgba(34, 195, 230, 0.18), transparent 55%),
    var(--bg-alt);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  aspect-ratio: 4 / 3;
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.15rem 0.2rem 0.35rem;
}

.offer-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.offer-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.offer-lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--fg);
}

.offer-note {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--fg-muted);
}


.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

@media (min-width: 640px) {
  .site-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgb(37 211 102 / 0.7);
  transition: transform 0.15s ease;
}

.wa-fab:hover {
  transform: scale(1.05);
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: rgb(37 211 102 / 0.4);
  animation: ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise,
  .river-flow,
  .river-flow-slow,
  .wa-fab::before {
    animation: none;
  }
}
