/* NUTINFIT — landing page styles */

:root {
  --teal: #03989e;
  --teal-dark: #027478;
  --yellow: #ffd600;
  --ink: #10262a;
  --gray: #5b6b6d;
  --bg: #ffffff;
  --bg-soft: #f4fbfb;
  --radius: 14px;
  --max-w: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}

p {
  margin: 0 0 16px;
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.btn-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--yellow);
  color: var(--ink);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  border-radius: 999px;
  padding: 18px 28px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 0 #d1ad00;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-cta:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #d1ad00;
}

.btn-cta:visited {
  color: var(--ink);
}

/* Header */
.site-header {
  padding: 24px 0 8px;
  text-align: center;
}

.logo {
  max-width: 170px;
  margin: 0 auto;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 36px 0 40px;
  text-align: center;
}

.hero h1 {
  /* Fluido en móvil para que MICROENTRENAMIENTOS no toque los bordes */
  font-size: clamp(0.95rem, 4.8vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: 0.5px;
  margin: 30px 0 68px;
  color: var(--teal-dark);
  overflow-wrap: break-word;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-cta {
  margin-top: 22px;
}

.microcopy {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 10px;
}

/* Section spacing */
section {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--teal-dark);
  margin-bottom: 28px;
}

/* What you get - cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid #e3f2f2;
}

.card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  border-radius: 50%;
}

.card .icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
}

.card h3 {
  font-size: 1.05rem;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* Social proof */
.proof {
  background: var(--bg-soft);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 560px) {
  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-item {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e3f2f2;
}

.proof-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.proof-item .caption {
  padding: 12px 12px 16px;
  text-align: center;
}

.proof-item .name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: var(--teal-dark);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.proof-item .result {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.35;
}

.proof-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 24px;
  font-style: italic;
}

/* Form */
.form-section {
  background: var(--teal);
  color: #fff;
  border-radius: 24px 24px 0 0;
}

.form-section .section-title {
  color: #fff;
}

.form-section .lead {
  text-align: center;
  color: #e6fbfb;
  margin-bottom: 24px;
}

form.signup {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #cfe4e4;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  color: var(--ink);
  background: #fbfefe;
}

.field input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 18px;
  text-align: left;
}

.consent input {
  margin: 3px 0 0;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.consent label {
  font-size: 0.82rem;
  color: #3a4a4c;
  line-height: 1.4;
}

.consent a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #e6fbfb;
  margin-top: 14px;
  margin-bottom: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px 0 32px;
  font-size: 0.78rem;
  color: var(--gray);
  background: var(--teal);
}

footer a {
  color: #fff;
}

/* Thank-you page */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 20px;
}

.thanks-card {
  max-width: 480px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 28px;
  border: 1px solid #e3f2f2;
}

.thanks-card .icon-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-card .icon-check svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  fill: none;
}

.thanks-card h1 {
  font-size: 1.6rem;
  color: var(--teal-dark);
}

.thanks-card p {
  color: var(--gray);
}

.thanks-card .community {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #e3f2f2;
}

.thanks-card .community h2 {
  font-size: 1.35rem;
  color: var(--teal-dark);
}

.btn-teal,
.btn-teal:visited {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 0 var(--teal-dark);
}

.btn-teal:active {
  box-shadow: 0 2px 0 var(--teal-dark);
}

.thanks-card .community-note {
  font-size: 0.82rem;
  margin: 14px 0 0;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 48px;
  }

  /* Contenedor más ancho solo en el hero para que el titular quepa en 3 líneas */
  .hero .wrap {
    max-width: 1000px;
  }

  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 72px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
