/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg-alt);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-full { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon { font-size: 1.5rem; }
.logo-text span { color: var(--primary); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.2s;
}

/* ===== Hero ===== */
.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(165deg, #f0fdfa 0%, #ffffff 45%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
}
.trust-item strong {
  font-size: 0.95rem;
  color: var(--text);
}
.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Card / Form */
.hero-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-header {
  background: var(--bg-dark);
  color: white;
  padding: 1.25rem 1.5rem;
}
.card-header h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.card-header p {
  font-size: 0.875rem;
  opacity: 0.8;
}
.card-header a {
  color: #5eead4;
  font-weight: 600;
}

.lead-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-group input.error,
.form-group select.error {
  border-color: #ef4444;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.25rem;
}

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

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-header.light h2,
.section-header.light p { color: white; }
.section-header.light p { opacity: 0.85; }

/* Pain */
.pain { background: var(--bg-alt); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pain-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pain-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.pain-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.pain-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
  transition: border-color 0.2s;
}
.benefit-card:hover { border-color: var(--primary); }

.benefit-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.benefit-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* Process */
.process {
  background: var(--bg-dark);
  color: white;
}

.process-photo {
  margin: 0 auto 2.5rem;
  max-width: 860px;
}
.process-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.process-photo figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.75;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.step {
  text-align: center;
  padding: 0 1rem;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.55;
}

.process-cta { text-align: center; }

.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.clinic-gallery figure {
  margin: 0;
}
.clinic-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}
.clinic-gallery figcaption {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}
@media (max-width: 768px) {
  .clinic-gallery {
    grid-template-columns: 1fr;
  }
  .clinic-gallery img {
    height: 240px;
  }
}

/* Testimonials */
.testimonials { background: var(--bg-alt); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  flex: 1;
  font-size: 0.975rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.author strong {
  display: block;
  font-size: 0.95rem;
}
.author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  padding: 1.75rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat {
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}
.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.price-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.price-card ul {
  text-align: left;
  margin-bottom: 1.75rem;
}
.price-card li {
  padding: 0.4rem 0;
  font-size: 0.925rem;
  color: var(--text-muted);
  padding-left: 1.4rem;
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Book / Final CTA */
.book {
  background: linear-gradient(165deg, #f0fdfa 0%, #e0f2fe 100%);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.book-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.book-content > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.book-benefits {
  margin-bottom: 2rem;
}
.book-benefits li {
  padding: 0.4rem 0;
  font-weight: 500;
  font-size: 0.975rem;
}

.contact-info {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
}
.contact-info .phone a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}
.contact-info .hours {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.book-form-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 2rem;
}
.book-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a,
.footer-contact p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  text-align: center;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.modal-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.modal-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.975rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid,
  .book-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid,
  .process-steps,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }

  .mobile-toggle { display: flex; }

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

  .stats-bar { gap: 2rem; }
}

@media (max-width: 560px) {
  .pain-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

/* Floating contact bar (mobile) */
.float-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
  padding: 0.65rem 0.75rem;
  gap: 0.5rem;
}
.float-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.float-call {
  background: var(--primary);
  color: white;
}
.float-whatsapp {
  background: #25D366;
  color: white;
}
@media (max-width: 768px) {
  .float-bar { display: flex; }
  body { padding-bottom: 70px; }
}

/* Desktop WhatsApp / Call buttons in hero area optional */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.btn-whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: white;
}
