/* EyeFixCare landing — clean medical aesthetic */
:root {
  --bg: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F1F5F9;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --text: #1E293B;
  --text-muted: #64748B;
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --success: #10B981;
  --success-dark: #059669;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 40px rgba(59, 130, 246, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; height: auto; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 720px) { .container { padding: 0 18px; } }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--success));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.brand-name { font-size: 18px; }
.brand-name .accent { color: var(--primary); }

.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
@media (max-width: 880px) { .nav-links { display: none; } }

.nav .cta-mini {
  background: var(--primary); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px;
  border: none; cursor: pointer;
  transition: background .15s ease, transform .08s ease;
}
.nav .cta-mini:hover { background: var(--primary-dark); color: #fff; }
.nav .cta-mini:active { transform: translateY(1px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 16px;
  border: none; cursor: pointer;
  transition: background .15s ease, transform .08s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  text-decoration: none;
}
.btn-whatsapp:hover { background: #1FB855; color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35); }
.btn-whatsapp:active { transform: translateY(1px); }
.btn-large { padding: 16px 28px; font-size: 17px; }

/* hero */
.hero { padding: 80px 0 90px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
}
h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08; margin: 0 0 20px;
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--text);
}
.hero .lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-muted);
  max-width: 560px; margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 540px) {
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; }
}
.hero-trust {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 14px;
  padding: 10px 14px; background: var(--bg-soft);
  border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.hero-trust svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

.hero-visual {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #EFF6FF 0%, #ECFDF5 100%);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
}
.hero-visual img { border-radius: var(--radius); }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { section { padding: 56px 0; } }

.eyebrow {
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary); font-weight: 700;
}
h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 12px 0 14px;
  line-height: 1.15; font-weight: 800; letter-spacing: -0.015em;
  color: var(--text);
}
.section-lead {
  color: var(--text-muted); max-width: 720px;
  margin: 0 0 36px; font-size: 17px;
}

/* problem */
.problem-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 48px; align-items: start;
}
@media (max-width: 880px) { .problem-grid { grid-template-columns: 1fr; gap: 32px; } }
.problem-list { list-style: none; padding: 0; margin: 24px 0 0; }
.problem-list li {
  padding: 16px 18px 16px 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg-card);
  position: relative;
  font-weight: 500;
  transition: border-color .15s, box-shadow .15s;
}
.problem-list li:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.problem-list li::before {
  content: "?"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(59,130,246,0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}

/* solution */
.solution-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 880px) { .solution-grid { grid-template-columns: 1fr; gap: 32px; } .solution-visual { order: -1; } }
.solution-visual {
  background: linear-gradient(160deg, #ECFDF5 0%, #EFF6FF 100%);
  padding: 32px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.solution-bullets { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.solution-bullets li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.solution-bullets li svg { width: 22px; height: 22px; color: var(--success); flex-shrink: 0; margin-top: 1px; }

/* how */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 880px) { .how-steps { grid-template-columns: 1fr; } }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--success));
  color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}
.step-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.step-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* procedures */
.proc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 980px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .proc-grid { grid-template-columns: 1fr; } }
.proc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.proc-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.proc-card .proc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(59,130,246,0.10); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.proc-card .proc-icon svg { width: 20px; height: 20px; }
.proc-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.proc-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
.proc-footer {
  margin-top: 24px; padding: 18px 22px;
  border-radius: var(--radius);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.18);
  color: var(--text);
  font-size: 14.5px;
  display: flex; align-items: flex-start; gap: 12px;
}
.proc-footer svg { width: 20px; height: 20px; color: var(--success-dark); flex-shrink: 0; margin-top: 2px; }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 880px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.trust-card .check {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(16,185,129,0.12); color: var(--success-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.trust-card .check svg { width: 16px; height: 16px; }
.trust-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.trust-card p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* education */
.edu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.edu-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .edu-grid, .edu-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .edu-grid, .edu-grid-3 { grid-template-columns: 1fr; } }
.video-embed { position: relative; aspect-ratio: 16/9; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { margin: 6px 0 0; font-size: 12px; color: var(--text-muted); letter-spacing: 0.02em; }
.edu-disclaimer { margin-top: 24px; text-align: center; font-size: 13px; color: var(--text-muted); font-style: italic; max-width: 720px; margin-left: auto; margin-right: auto; }
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.video-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #DBEAFE, #D1FAE5);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.video-thumb .play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.video-thumb .play svg { width: 22px; height: 22px; color: var(--primary); margin-left: 3px; }
.video-thumb .badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.9); color: var(--text-muted);
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  padding: 4px 8px; border-radius: 6px; text-transform: uppercase;
}
.video-card .video-body { padding: 16px 18px; }
.video-card h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); }
.edu-cta { margin-top: 32px; text-align: center; }

/* form CTA */
.form-cta {
  background: linear-gradient(135deg, #EFF6FF 0%, #ECFDF5 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.form-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.form-cta-inner h2 { margin-bottom: 14px; }
.form-cta-inner .section-lead { margin-left: auto; margin-right: auto; }
.form-cta-inner .btn { margin-top: 14px; }

/* modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%; max-width: 640px;
  margin: 24px 0;
  box-shadow: 0 24px 60px rgba(15,23,42,0.25);
  overflow: hidden;
}
.modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { margin: 0; font-size: 19px; font-weight: 700; }
.modal-close {
  background: transparent; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--bg-soft); color: var(--text); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 24px 26px; }
.modal-footer {
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.progress {
  display: flex; gap: 6px; padding: 14px 26px 0;
}
.progress span {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--line);
  transition: background .2s;
}
.progress span.active { background: var(--primary); }
.progress span.done { background: var(--success); }

/* form fields */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.field .hint { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff; color: var(--text);
  font-family: inherit; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.field textarea { min-height: 80px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.radio-group, .check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label, .check-group label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer; font-weight: 500; font-size: 14px;
  transition: border-color .15s, background .15s;
  margin-bottom: 0;
}
.radio-group label:hover, .check-group label:hover { border-color: var(--primary); }
.radio-group input, .check-group input {
  accent-color: var(--primary);
}
.radio-group label:has(input:checked),
.check-group label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(59,130,246,0.06);
}
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 13.5px; line-height: 1.5;
  color: var(--text);
}
.consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }

.thanks-screen { text-align: center; padding: 16px 4px; }
.thanks-screen .icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(16,185,129,0.15); color: var(--success-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.thanks-screen .icon svg { width: 30px; height: 30px; }
.thanks-screen h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; }
.thanks-screen p { color: var(--text-muted); margin: 8px 0; font-size: 15px; }
.thanks-screen .small { font-size: 13px; color: var(--text-muted); margin-top: 18px; }

/* footer */
footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; margin-bottom: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand p { color: var(--text-muted); margin: 14px 0 0; }
.disclaimers h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 16px; font-weight: 700; }
.disclaimer-block { margin-bottom: 18px; }
.disclaimer-block h5 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--text); }
.disclaimer-block p { margin: 0; color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }
.copyright { padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 13px; }

/* utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.error-msg { color: #DC2626; font-size: 13px; margin-top: 4px; display: none; }
.error-msg.show { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #DC2626; }

/* lang switch */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700;
}
.lang-switch a {
  padding: 4px 8px; border-radius: 6px;
  border: 1px solid transparent;
  color: var(--text-muted);
}
.lang-switch a.active {
  color: var(--text); border-color: var(--line);
  background: var(--bg-soft);
}
.lang-switch a:not(.active):hover { color: var(--primary); }
.lang-sep { opacity: 0.4; }
