/* ===================================================
   Widy Agency — Landing
   =================================================== */

:root {
  --verde:        #16a34a;
  --verde-cta:    #22c55e;
  --verde-osc:    #06281a;
  --verde-mid:    #0f3d29;
  --verde-claro:  #86efac;
  --tinta:        #1c2520;
  --gris:         #5b6660;
  --crema:        #f4f6f3;
  --linea:        #e3e8e3;
  --blanco:       #ffffff;
  --radio:        14px;
  --ancho:        1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--tinta);
  background: var(--blanco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 760px; }
.center { text-align: center; }

em { font-style: normal; color: var(--verde); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 40, 26, 0.96);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--blanco);
  text-decoration: none;
}
.logo span { color: var(--verde-claro); }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: #cfe3d6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav a:hover { color: var(--blanco); }
.nav-cta {
  background: var(--verde-cta);
  color: var(--verde-osc) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--verde-claro); }

/* ---------- HERO ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 80% -10%, #14532d 0%, transparent 60%),
    var(--verde-osc);
  color: var(--blanco);
  padding: 76px 0 92px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--verde-claro);
  margin-bottom: 16px;
}
.eyebrow.center { text-align: center; }
.hero h1 {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--verde-claro); }
.hero-sub {
  font-size: 18.5px;
  color: #cfe3d6;
  margin-bottom: 30px;
  max-width: 560px;
}
.trust {
  font-size: 13.5px;
  color: #8fae9b;
  margin-top: 16px;
}

/* ---------- HERO CARD ---------- */
.hero-card { display: flex; justify-content: center; }
.guide-mock {
  background: linear-gradient(160deg, #14532d, #0a3420);
  border: 1px solid #1f5e3b;
  border-radius: 18px;
  padding: 40px 32px;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.guide-tag {
  align-self: flex-start;
  background: var(--verde-claro);
  color: var(--verde-osc);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 999px;
}
.guide-title {
  font-family: 'Sora', sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--blanco);
}
.guide-meta { font-size: 13.5px; color: #8fae9b; }

/* ---------- FORM ---------- */
.form { margin-top: 6px; }
.form-center { margin: 26px auto 0; max-width: 560px; }
.form-row {
  display: flex;
  gap: 10px;
}
.form input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 16px;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--blanco);
  color: var(--tinta);
  outline: none;
}
.form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(134,239,172,.55);
}
.btn {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--verde-cta);
  color: var(--verde-osc);
  padding: 15px 28px;
}
.btn-primary:hover { background: var(--verde-claro); }
.btn-primary:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  font-size: 13px;
  color: #a9c4b3;
}
.consent input { margin-top: 3px; accent-color: var(--verde-cta); flex-shrink: 0; }
.consent a { color: var(--verde-claro); }

.form-msg {
  font-size: 14.5px;
  margin-top: 14px;
  min-height: 1px;
  font-weight: 500;
}
.form-msg.ok { color: var(--verde-claro); }
.form-msg.error { color: #fca5a5; }

/* CTA section forms sit on cream — recolor consent text */
.cta-section .consent { color: var(--gris); }
.cta-section .consent a { color: var(--verde); }
.cta-section .form input[type="email"] {
  border-color: var(--linea);
}
.cta-section .form-msg.ok { color: var(--verde); }
.cta-section .form-msg.error { color: #dc2626; }
.cta-section .trust { color: var(--gris); }

/* ---------- SECTIONS ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--crema); }
.section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
}
.section-lead {
  font-size: 18px;
  color: var(--gris);
  max-width: 640px;
  margin: 0 auto 8px;
}
h2.center + .section-lead { margin-top: 6px; }

/* ---------- CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.card {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 30px 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(6,40,26,.4);
}
.section-alt .card { background: var(--blanco); }
.card-num {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--verde);
  background: var(--crema);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.section-alt .card-num { background: var(--crema); }
.card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p { color: var(--gris); font-size: 15.5px; }

/* ---------- CHECK LIST ---------- */
.check-list {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
.check-list li {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 18px 22px 18px 52px;
  position: relative;
  font-size: 16px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 17px;
  width: 22px;
  height: 22px;
  background: var(--verde);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- TEAM ---------- */
.team {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.member {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  padding: 32px 40px;
  text-align: center;
  min-width: 240px;
}
.avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--verde-osc);
  color: var(--verde-claro);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member h3 { font-size: 20px; font-weight: 700; }
.member p { color: var(--gris); font-size: 14.5px; }

/* ---------- CTA SECTION ---------- */
.cta-section { background: var(--crema); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--verde-osc);
  color: #cfe3d6;
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid #14402b;
}
.footer-brand .logo { font-size: 24px; }
.footer-brand p { margin-top: 8px; font-size: 14.5px; color: #8fae9b; }
.footer-contact a {
  color: var(--verde-claro);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.footer-legal { padding-top: 26px; }
.footer-legal p { font-size: 12.5px; color: #7e9888; line-height: 1.7; }
.footer-legal .copyright { margin-top: 14px; color: #5f7a6b; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .hero-card { order: -1; }
  .guide-mock { max-width: 260px; aspect-ratio: auto; padding: 28px 24px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 28px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .form-row { flex-direction: column; }
  .btn-primary { width: 100%; padding: 16px; }
  .nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 31px; }
  .guide-title { font-size: 21px; }
}
