/* Landing pública — balnearios.com.ar */

:root {
  --landing-ink: #0f2a3a;
  --landing-sea: #1b4b66;
  --landing-sea-deep: #12384d;
  --landing-foam: #eef6fa;
  --landing-sand: #d9c4a0;
  --landing-coral: #e8734a;
}

body.landing-page {
  margin: 0;
  min-height: 100vh;
  color: var(--landing-ink);
  background: var(--landing-foam);
  font-family: Inter, system-ui, sans-serif;
}

.landing-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 1.1rem 1.25rem;
}

.landing-top-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-logo {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #f7fbfd;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.landing-top-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.landing-top-link {
  color: rgba(247, 251, 253, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
}

.landing-top-link:hover {
  color: #fff;
  text-decoration: underline;
}

.landing-contact {
  background:
    linear-gradient(180deg, #e8f1f6 0%, var(--landing-foam) 100%);
  border-top: 1px solid rgba(27, 75, 102, 0.08);
}

.landing-contact-inner {
  max-width: 40rem;
}

.landing-contact-form .form-label {
  color: var(--landing-sea-deep);
  font-weight: 500;
}

.landing-contact-form .form-control {
  border-color: rgba(27, 75, 102, 0.2);
  border-radius: 0.65rem;
  padding: 0.7rem 0.85rem;
}

.landing-contact-form .form-control:focus {
  border-color: var(--landing-sea);
  box-shadow: 0 0 0 0.2rem rgba(27, 75, 102, 0.15);
}

.landing-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.landing-contact .alert {
  border-radius: 0.75rem;
}

.landing-login {
  color: #f7fbfd;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.landing-login:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7fbfd;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 42, 58, 0.25) 0%, rgba(15, 42, 58, 0.55) 42%, rgba(15, 42, 58, 0.82) 100%),
    radial-gradient(ellipse 80% 55% at 70% 20%, rgba(232, 115, 74, 0.28), transparent 55%),
    linear-gradient(135deg, #1b4b66 0%, #2a6b8c 45%, #153d54 100%);
  animation: landing-tide 14s ease-in-out infinite alternate;
}

.landing-hero-bg::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 18vh;
  background:
    radial-gradient(120% 100% at 50% 0%, transparent 42%, rgba(238, 246, 250, 0.12) 43%, transparent 70%),
    linear-gradient(180deg, transparent, rgba(238, 246, 250, 0.2));
  animation: landing-wave 8s ease-in-out infinite alternate;
}

.landing-hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 7rem 1.35rem 4.5rem;
  margin: 0 auto 0 0;
  width: min(100%, 72rem);
  margin-left: max(1.25rem, calc((100% - 72rem) / 2 + 1.25rem));
  margin-right: 1.25rem;
}

.landing-brand {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 1rem;
  animation: landing-rise 0.9s ease both;
}

.landing-headline {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  max-width: 18ch;
  animation: landing-rise 0.9s ease 0.12s both;
}

.landing-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.92;
  margin: 0 0 1.6rem;
  max-width: 36ch;
  animation: landing-rise 0.9s ease 0.22s both;
}

.landing-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: landing-rise 0.9s ease 0.32s both;
}

.landing-btn-primary {
  background: var(--landing-coral);
  border-color: var(--landing-coral);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.landing-btn-primary:hover {
  background: #d4633d;
  border-color: #d4633d;
  color: #fff;
}

.landing-btn-ghost {
  color: #f7fbfd;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
}

.landing-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.landing-section {
  padding: 4.5rem 1.25rem;
  background: var(--landing-foam);
}

.landing-section-inner {
  max-width: 52rem;
  margin: 0 auto;
}

.landing-section h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--landing-sea);
  margin: 0 0 0.75rem;
}

.landing-section-lead {
  margin: 0 0 2rem;
  color: #486581;
  max-width: 40rem;
}

.landing-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.landing-points li {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27, 75, 102, 0.15);
}

.landing-points strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.2rem;
  color: var(--landing-sea-deep);
}

.landing-points span {
  color: #486581;
  line-height: 1.5;
}

.landing-footer {
  padding: 1.5rem 1.25rem 2rem;
  background: var(--landing-sea-deep);
  color: rgba(247, 251, 253, 0.8);
}

.landing-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.landing-footer a {
  color: #f7fbfd;
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

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

@keyframes landing-tide {
  from {
    filter: saturate(1) brightness(1);
  }
  to {
    filter: saturate(1.08) brightness(1.04);
  }
}

@keyframes landing-wave {
  from {
    transform: translateX(-2%) scaleX(1.02);
    opacity: 0.7;
  }
  to {
    transform: translateX(2%) scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 575.98px) {
  .landing-hero-content {
    padding-bottom: 3.5rem;
  }

  .landing-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-ctas .btn {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-brand,
  .landing-headline,
  .landing-lead,
  .landing-ctas,
  .landing-hero-bg,
  .landing-hero-bg::after {
    animation: none;
  }
}
