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

:root {
  --navy: #0A1628;
  --navy-mid: #112240;
  --navy-light: #1B3A5C;
  --blue-accent: #2E6DB4;
  --blue-bright: #3B82F6;
  --blue-glow: #60A5FA;
  --gold: #C8A84E;
  --gold-light: #E0C878;
  --white: #FFFFFF;
  --gray-100: #F1F5F9;
  --gray-200: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-600: #64748B;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TOP NAV ── */
.top-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10,22,40,0.95);
  border-bottom: 1px solid rgba(46,109,180,0.12);
  backdrop-filter: blur(10px);
}

.top-nav img {
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(200,168,78,0.2));
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-bright));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(59,130,246,0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(59,130,246,0.45);
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 4rem 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(46,109,180,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #0D1F3C 100%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46,109,180,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,109,180,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-container { margin-bottom: 2rem; }

.logo-container img {
  height: 180px;
  filter: drop-shadow(0 0 30px rgba(200,168,78,0.3));
}

.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--blue-accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 1.5rem;
  background: rgba(46,109,180,0.1);
  animation: fadeUp 1s ease-out 0.2s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease-out 0.35s both;
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-200);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeUp 1s ease-out 0.5s both;
}

.cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-bright));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 25px rgba(59,130,246,0.35);
  animation: fadeUp 1s ease-out 0.65s both;
}

.cta-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(59,130,246,0.5);
}

.cta-hero svg { width: 18px; height: 18px; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(46,109,180,0.15);
  border-bottom: 1px solid rgba(46,109,180,0.15);
  padding: 2.5rem 2rem;
}

.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ── SECTION COMMON ── */
.section-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.3;
}

/* ── FORM SECTION ── */
.form-section {
  padding: 4rem 2rem;
  position: relative;
}

.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(46,109,180,0.08) 0%, transparent 70%);
}

.form-wrapper {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(17,34,64,0.7);
  border: 1px solid rgba(46,109,180,0.2);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.form-wrapper h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-subtitle {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10,22,40,0.8);
  border: 1px solid rgba(46,109,180,0.2);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(46,109,180,0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-group select option { background: var(--navy); color: var(--white); }
.form-group select option[disabled] { display: none; }
.form-group select:invalid { color: var(--gray-600); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.file-upload-area {
  border: 2px dashed rgba(46,109,180,0.3);
  border-radius: 10px;
  padding: 1.8rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(10,22,40,0.5);
  position: relative;
}

.file-upload-area:hover {
  border-color: var(--blue-accent);
  background: rgba(46,109,180,0.06);
}

.file-upload-area.dragover {
  border-color: var(--blue-bright);
  background: rgba(46,109,180,0.1);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon { color: var(--blue-glow); margin-bottom: 0.5rem; }

.upload-text { font-size: 0.9rem; color: var(--gray-200); font-weight: 500; }

.upload-hint { font-size: 0.78rem; color: var(--gray-600); margin-top: 0.3rem; }

.file-name {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  display: none;
}

.file-name.visible { display: block; }

.btn-submit {
  width: 100%;
  padding: 1.05rem;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-bright));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
  margin-top: 0.5rem;
  letter-spacing: 0.3px;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.45);
}

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--gray-600);
}

.form-trust svg { width: 14px; height: 14px; color: var(--gray-400); }

/* ── PAIN POINTS ── */
.pain-section {
  padding: 5rem 2rem;
  position: relative;
}

.pain-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--blue-accent), transparent);
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pain-card {
  background: rgba(17,34,64,0.6);
  border: 1px solid rgba(46,109,180,0.12);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.pain-card:hover {
  border-color: rgba(46,109,180,0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  background: rgba(46,109,180,0.12);
  border: 1px solid rgba(46,109,180,0.2);
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.pain-card p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.steps-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.steps-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-accent), transparent);
  z-index: 0;
}

.step { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-accent), var(--navy-light));
  border: 2px solid rgba(96,165,250,0.3);
  box-shadow: 0 0 30px rgba(46,109,180,0.2);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* ── SPECIALIST SECTION ── */
.specialist-section {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.specialist-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(46,109,180,0.1) 0%, transparent 70%);
}

.specialist-grid {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.specialist-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  border: 1px solid rgba(46,109,180,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.specialist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.specialist-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,22,40,0.7), transparent);
}

.specialist-info .section-label { text-align: left; }

.specialist-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.specialist-title {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.specialist-bio {
  font-size: 0.95rem;
  color: var(--gray-200);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.specialist-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.spec-stat {
  padding: 1rem;
  background: rgba(17,34,64,0.6);
  border: 1px solid rgba(46,109,180,0.12);
  border-radius: 10px;
  text-align: center;
}

.spec-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.spec-stat-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specialist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.specialist-tag {
  padding: 0.4rem 1rem;
  border: 1px solid rgba(46,109,180,0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-200);
  background: rgba(46,109,180,0.08);
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .specialist-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .specialist-photo {
    max-width: 320px;
    margin: 0 auto;
  }
  .specialist-info .section-label { text-align: center; }
  .specialist-name { text-align: center; }
  .specialist-title { text-align: center; }
  .specialist-bio { text-align: center; }
  .specialist-tags { justify-content: center; }
  .specialist-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── FOOTER ── */
footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(46,109,180,0.1);
  text-align: center;
}

.footer-logo img {
  height: 50px;
  opacity: 0.6;
  margin-bottom: 1rem;
}

footer p { font-size: 0.78rem; color: var(--gray-600); line-height: 1.7; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.72rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps-grid::before { display: none; }
  .form-wrapper { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .pain-cards { grid-template-columns: 1fr; }
  .logo-container img { height: 120px; }
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success.active { display: block; }

.form-success svg {
  width: 64px;
  height: 64px;
  color: #22C55E;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.form-success p { color: var(--gray-400); font-size: 0.92rem; }

.form-fields { transition: opacity 0.3s; }
.form-fields.hidden { display: none; }
