/* Vera — Landing Page Styles */

:root {
  --green-primary: #25D366;
  --green-dark: #1A6B5A;
  --green-light: #D4EFDF;
  --text-primary: #1C2833;
  --text-secondary: #4A5568;
  --white: #FFFFFF;
  --coral: #E07B54;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { font-size: 1rem; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ── Navbar ── */
.navbar {
  background: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #E8F5E9;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.5px;
}

/* ── Hero ── */
.hero {
  background: var(--green-light);
  text-align: center;
  padding: 80px 0 60px;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero h1 span {
  color: var(--green-dark);
}

.hero .sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* WhatsApp mockup */
.whatsapp-mockup {
  background: #ECE5DD;
  border-radius: 16px;
  padding: 20px 16px;
  max-width: 360px;
  margin: 0 auto 40px;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.whatsapp-mockup .chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #D0C8BE;
  margin-bottom: 14px;
}

.whatsapp-mockup .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.whatsapp-mockup .contact-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.whatsapp-mockup .contact-status {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.bubble {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
  max-width: 85%;
  position: relative;
}

.bubble.dulce {
  background: var(--white);
  border-radius: 0 12px 12px 12px;
  color: var(--text-primary);
}

.bubble.user {
  background: #DCF8C6;
  border-radius: 12px 0 12px 12px;
  margin-left: auto;
  color: var(--text-primary);
}

.bubble .time {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-align: right;
  margin-top: 4px;
}

/* ── CTA Form ── */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

.cta-form input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  border: 2px solid #C8E6C9;
  border-radius: 12px;
  outline: none;
  color: var(--text-primary);
  transition: border-color 0.2s;
  font-family: inherit;
  min-height: 48px;
}

.cta-form input:focus {
  border-color: var(--green-primary);
}

.cta-form input::placeholder {
  color: #9E9E9E;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 18px 32px;
  background: var(--green-primary);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
  min-height: 56px;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  background: #1ebe58;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.microcopy {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: -4px;
}

/* ── Value Props ── */
.value-props {
  background: var(--white);
  text-align: center;
}

.value-props h2 {
  margin-bottom: 48px;
  color: var(--text-primary);
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.prop-card {
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--green-light);
  text-align: center;
}

.prop-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.prop-card h3 {
  color: var(--green-dark);
  margin-bottom: 10px;
}

.prop-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── Social Proof ── */
.social-proof {
  background: var(--green-light);
  text-align: center;
  padding: 60px 0;
}

.social-proof p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  font-style: italic;
}

/* ── CTA Final ── */
.cta-final {
  background: var(--green-dark);
  text-align: center;
  padding: 80px 0;
}

.cta-final h2 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .sub {
  color: #A8D8C8;
  margin-bottom: 40px;
  font-size: 1rem;
}

.cta-final .cta-form input {
  border-color: #A8D8C8;
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.cta-final .cta-form input::placeholder {
  color: #A8D8C8;
}

.cta-final .btn-secondary {
  display: block;
  width: 100%;
  padding: 18px 32px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
  min-height: 56px;
}

.cta-final .btn-secondary:hover {
  background: #f0faf4;
  transform: translateY(-1px);
}

.cta-final .microcopy {
  color: #A8D8C8;
}

/* ── Footer ── */
footer {
  background: var(--text-primary);
  color: #9E9E9E;
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
}

footer a {
  color: #9E9E9E;
  text-decoration: none;
}

/* ── Survey Page ── */
.survey-hero {
  background: var(--green-light);
  text-align: center;
  padding: 60px 0 40px;
}

.survey-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 12px;
}

.survey-hero .sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.survey-section {
  padding: 60px 0;
}

.survey-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.question-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.question-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.question-number {
  display: inline-block;
  background: var(--green-dark);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 8px;
  flex-shrink: 0;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.95rem;
  min-height: 56px;
}

.option-label:hover {
  border-color: var(--green-primary);
  background: #f0fdf4;
}

.option-label input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--green-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.option-label input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--green-dark);
}

.option-label:has(input:checked) {
  border-color: var(--green-primary);
  background: #f0fdf4;
}

.submit-wrapper {
  text-align: center;
  padding-top: 8px;
}

.submit-wrapper .btn-primary {
  max-width: 320px;
  margin: 0 auto;
}

/* ── Success / Thank you ── */
.success-message {
  display: none;
  text-align: center;
  padding: 60px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.success-message .check {
  font-size: 3rem;
  margin-bottom: 16px;
}

.success-message h2 {
  color: var(--green-dark);
  margin-bottom: 12px;
}

.success-message p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.success-message .whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--green-primary);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Progress bar (survey) ── */
.progress-bar {
  height: 4px;
  background: #E2E8F0;
  border-radius: 2px;
  margin-bottom: 40px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--green-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .hero { padding: 60px 0 40px; }
  .whatsapp-mockup { margin-bottom: 32px; }
  .props-grid { grid-template-columns: 1fr; gap: 20px; }
}
