@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --bg: #f4f1ea;
  --surface: #fcfaf6;
  --surface-strong: #ffffff;
  --surface-dark: #e9e1d4;
  --ink: #17202b;
  --ink-soft: #4d5a68;
  --ink-faint: #7b8794;
  --brand: #0f5c4b;
  --brand-strong: #0a4639;
  --brand-soft: rgba(15, 92, 75, 0.1);
  --accent: #b4823c;
  --border: rgba(23, 32, 43, 0.12);
  --border-strong: rgba(23, 32, 43, 0.2);
  --shadow: 0 20px 45px rgba(28, 38, 49, 0.08);
  --shadow-soft: 0 14px 30px rgba(28, 38, 49, 0.06);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(180, 130, 60, 0.14), transparent 28%),
    linear-gradient(180deg, #f8f4ed 0%, #f2ede4 48%, #ebe5da 100%);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

a:hover {
  color: var(--brand-strong);
}

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

header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(23, 32, 43, 0.08);
  background: rgba(252, 250, 246, 0.88);
  backdrop-filter: blur(18px);
}

.nav-container,
.container,
.footer-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-container {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo-link,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-link {
  font-size: 1.35rem;
}

.logo-link:hover,
.footer-logo:hover {
  color: var(--ink);
}

.logo-link img {
  width: auto;
  height: 56px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a:hover {
  color: var(--ink);
}

.nav-lang-btn {
  padding: 10px 16px;
  font-size: 0.92rem;
  border-radius: 999px;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn:hover,
button.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.btn-download-nav {
  background: linear-gradient(135deg, var(--brand) 0%, #146b57 100%);
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(15, 92, 75, 0.2);
}

.btn-primary:hover,
.btn-download-nav:hover {
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
  color: #fff !important;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-color: rgba(23, 32, 43, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: var(--surface-strong);
  color: var(--ink);
  text-decoration: none;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(233, 225, 212, 0.65) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(23, 32, 43, 0.05);
}

.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
    url('../images/fondo.png') no-repeat center center / cover;
  opacity: 0.2;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -8% -15% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 92, 75, 0.18) 0%, rgba(15, 92, 75, 0) 72%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 56px;
}

.hero-copy,
.hero-image,
.section-header,
.feature-card,
.step-card,
.faq-item,
.contact-container,
.download-container,
.legal-sidebar,
.legal-content section {
  animation: rise-in 0.8s ease both;
}

.hero-copy {
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 16px;
  border: 1px solid rgba(15, 92, 75, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title,
.section-header h2,
.legal-content h1 {
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.03em;
}

.hero-title {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 0.97;
  color: #101820;
}

.hero-subtitle {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 1.14rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-trust span {
  padding: 10px 14px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-image {
  justify-self: end;
  position: relative;
}

.hero-image-shell {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(233, 225, 212, 0.8));
  box-shadow: var(--shadow);
}

.hero-image img {
  width: min(100%, 410px);
  filter: drop-shadow(0 18px 30px rgba(15, 92, 75, 0.16));
  animation: heartbeat-logo 2.4s ease-in-out infinite, float-soft 6s ease-in-out infinite;
  transform-origin: center;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
  color: #121920;
}

.section-header p {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.about-copy {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.features-grid,
.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card,
.step-card {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.feature-card:hover,
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 92, 75, 0.2);
  box-shadow: 0 18px 35px rgba(15, 92, 75, 0.11);
}

.feature-icon,
.contact-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 92, 75, 0.14), rgba(180, 130, 60, 0.12));
  color: var(--brand-strong);
  font-size: 1.45rem;
}

.feature-icon {
  margin-bottom: 22px;
}

.feature-card h3,
.step-card h3,
.contact-info h3,
.legal-content h2,
.sidebar-title {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-card p,
.step-card p,
.faq-answer,
.contact-info p,
.legal-content p,
.last-updated {
  color: var(--ink-soft);
}

.step-card {
  text-align: left;
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.step-number {
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(23, 32, 43, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item {
  padding: 22px 26px;
  border-bottom: 1px solid rgba(23, 32, 43, 0.08);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 800;
}

.faq-symbol {
  color: var(--brand);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-answer {
  margin-top: 10px;
  font-size: 0.98rem;
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  padding: 36px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(249, 246, 240, 0.92));
  box-shadow: var(--shadow);
}

.contact-info p {
  margin: 14px 0 26px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(23, 32, 43, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(15, 92, 75, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 92, 75, 0.08);
  background: #fff;
}

.contact-submit {
  margin-top: 8px;
}

.download-section {
  text-align: center;
}

.download-container {
  max-width: 700px;
  padding: 40px 32px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(240, 233, 220, 0.82));
  box-shadow: var(--shadow);
}

.download-title {
  margin-bottom: 16px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.download-text {
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.store-buttons {
  justify-content: center;
  gap: 18px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(23, 32, 43, 0.12);
  border-radius: 20px;
  background: #111;
  box-shadow: var(--shadow-soft);
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(17, 17, 17, 0.14);
}

.store-badge img {
  height: 40px;
  width: auto;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  padding: 32px 0;
}

.legal-sidebar,
.legal-content {
  border: 1px solid rgba(23, 32, 43, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.legal-sidebar {
  position: sticky;
  top: 108px;
  height: fit-content;
  padding: 24px;
}

.sidebar-title {
  margin-bottom: 18px;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li + li {
  margin-top: 10px;
}

.sidebar-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-weight: 700;
}

.sidebar-menu a:hover,
.sidebar-menu .active {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.legal-content {
  padding: 32px;
}

.legal-content h1 {
  margin-bottom: 8px;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
}

.last-updated {
  margin-bottom: 26px;
  font-size: 0.92rem;
}

.legal-content section {
  margin-bottom: 34px;
}

.legal-content h2 {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 32, 43, 0.08);
}

.legal-content ul {
  margin: 0 0 18px 20px;
  color: var(--ink-soft);
}

.legal-content li + li {
  margin-top: 8px;
}

.disclaimer-box {
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(180, 130, 60, 0.28);
  border-radius: 18px;
  background: rgba(180, 130, 60, 0.1);
  color: #835d22;
  font-size: 0.94rem;
  font-weight: 800;
}

footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(23, 32, 43, 0.08);
  background: rgba(250, 246, 239, 0.78);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--ink-soft);
}

.footer-logo img {
  width: auto;
  height: 44px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--ink);
}

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

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

@keyframes heartbeat-logo {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 18px 30px rgba(15, 92, 75, 0.16));
  }
  12% {
    transform: scale(1.045);
    filter: drop-shadow(0 22px 34px rgba(15, 92, 75, 0.22));
  }
  24% {
    transform: scale(1);
    filter: drop-shadow(0 18px 30px rgba(15, 92, 75, 0.16));
  }
  36% {
    transform: scale(1.085);
    filter: drop-shadow(0 26px 42px rgba(15, 92, 75, 0.26));
  }
  48% {
    transform: scale(1);
    filter: drop-shadow(0 18px 30px rgba(15, 92, 75, 0.16));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 992px) {
  .nav-container,
  .container,
  .footer-container {
    width: min(1200px, calc(100% - 28px));
  }

  .hero {
    min-height: auto;
    padding: 72px 0;
  }

  .hero-grid,
  .contact-container,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-image,
  .section-header,
  .download-section {
    text-align: center;
  }

  .hero-title,
  .hero-subtitle {
    max-width: none;
  }

  .hero-buttons,
  .hero-trust,
  .store-buttons {
    justify-content: center;
  }

  .hero-image {
    justify-self: center;
  }

  .legal-sidebar {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    gap: 12px 14px;
  }

  .section {
    padding: 72px 0;
  }

  .about-copy,
  .contact-container,
  .download-container,
  .legal-content {
    padding: 24px;
  }

  .feature-card,
  .step-card {
    padding: 24px;
  }
}
