/* ===========================
   DR. QR — Stylesheet
   =========================== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* Variables */
:root {
  --green:       #25D366;
  --green-dark:  #1DAA55;
  --green-light: #E8FBF0;
  --blue:        #0A2540;
  --blue-light:  #1E3A5F;
  --amber:       #F59E0B;
  --amber-light: #FEF3C7;
  --bg:          #FFFFFF;
  --bg-alt:      #F0F9F5;
  --text:        #1E293B;
  --text-muted:  #64748B;
  --border:      #E2E8F0;
  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.12);
  --max-w:       1200px;
  --section-py:  80px;
}

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; color: var(--blue); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; color: var(--blue); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 600; color: var(--blue); }
p { margin-bottom: 0; }

/* Layout */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-py) 0; }
.bg-alt { background: var(--bg-alt); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: all 0.2s; border: 2px solid transparent;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--green); color: white; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); }
.btn-white { background: white; color: var(--green-dark); border-color: white; }
.btn-white:hover { background: #f0fdf4; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: white; border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.navbar-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--blue); }
.navbar-logo img { width: 40px; height: 40px; }
.navbar-logo .dr { color: var(--green-dark); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-weight: 500; transition: color 0.2s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--blue); border-radius: 2px; display: block; transition: all 0.3s; }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: white; z-index: 99; padding: 32px 24px;
  flex-direction: column; gap: 8px; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.15rem; font-weight: 500; color: var(--blue); padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 16px; justify-content: center; }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(150deg, #ffffff 0%, #edf7f2 100%);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green-dark);
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--green-dark); }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-ctas .link { color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 6px; align-self: center; }
.hero-ctas .link:hover { color: var(--blue); }
.trust-signals { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.trust-item { font-size: 0.88rem; color: var(--text-muted); display: flex; align-items: center; gap: 7px; }
.trust-item .check { color: var(--green-dark); font-size: 1rem; }

/* WhatsApp Mockup */
.wa-mockup-wrap { display: flex; justify-content: center; }
.wa-phone {
  width: 300px; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-md), 0 0 0 8px #dde9e4;
  background: #ece5dd; font-family: system-ui, sans-serif; font-size: 14px;
}
.wa-phone-header {
  background: #075E54; color: white; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
}
.wa-phone-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.wa-phone-name { font-weight: 600; font-size: 0.9rem; }
.wa-phone-status { font-size: 0.72rem; opacity: 0.75; }
.wa-messages { padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 3px; }
.wa-msg {
  max-width: 80%; padding: 7px 10px 5px; border-radius: 8px;
  line-height: 1.45; font-size: 0.82rem;
}
.wa-msg.bot  { background: white; align-self: flex-start; border-radius: 0 8px 8px 8px; margin-top: 2px; }
.wa-msg.user { background: #dcf8c6; align-self: flex-end; border-radius: 8px 8px 0 8px; }
.wa-ts { font-size: 0.65rem; color: rgba(0,0,0,0.38); margin: 0 4px 5px; text-align: right; }
.wa-ts.left { text-align: left; }

/* ===== SECTION HEADINGS ===== */
.section-pill {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.pill-amber { background: var(--amber-light); color: #92400E; }
.pill-green { background: var(--green-light); color: var(--green-dark); }
.pill-blue  { background: rgba(10,37,64,0.08); color: var(--blue); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head p { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; margin: 12px auto 0; }

/* ===== PROBLEM CARDS ===== */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.problem-card {
  background: white; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--amber-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; stroke: #D97706; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.problem-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.problem-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; }
.steps-row::before {
  content: ''; position: absolute; top: 27px; left: 16%; right: 16%;
  height: 2px; background: linear-gradient(90deg, var(--green), var(--green-dark)); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--green); color: white;
  font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== CASE STUDY ===== */
.case-study-section { background: var(--blue); color: white; }
.case-inner { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; }
.case-avatar {
  width: 200px; height: 200px; border-radius: 50%; flex-shrink: 0;
  border: 4px solid var(--green);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; overflow: hidden;
}
.case-avatar img { width: 100%; height: 100%; object-fit: cover; }
.case-eyebrow { color: var(--green); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.case-quote { font-size: 1.15rem; line-height: 1.75; font-style: italic; opacity: 0.95; margin-bottom: 18px; }
.case-author { font-weight: 700; color: var(--green); }
.case-place  { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 2px; }
.case-results { display: flex; gap: 32px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); }
.case-stat-val { font-size: 2rem; font-weight: 800; color: var(--green); display: block; }
.case-stat-lbl { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 780px; margin: 0 auto; }
.price-card {
  border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; background: white; position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.price-card.featured { border-color: var(--green); box-shadow: 0 0 0 4px rgba(37,211,102,0.1); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: white; font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 50px; white-space: nowrap;
}
.price-name { font-size: 1.1rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.price-setup { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.price-monthly { font-size: 2.75rem; font-weight: 800; color: var(--blue); line-height: 1; }
.price-monthly small { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.price-features { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.price-feat { display: flex; align-items: flex-start; gap: 8px; font-size: 0.92rem; }
.price-feat::before { content: '✓'; color: var(--green-dark); font-weight: 700; flex-shrink: 0; }
.pricing-note { text-align: center; margin-top: 28px; font-size: 0.9rem; color: var(--text-muted); }

/* ===== CALCULATOR ===== */
.calc-box {
  background: white; border: 2px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; max-width: 680px; margin: 0 auto; box-shadow: var(--shadow);
}
.calc-box h3 { font-size: 1.3rem; margin-bottom: 6px; }
.calc-box > p { color: var(--text-muted); margin-bottom: 32px; font-size: 0.95rem; }
.calc-q { margin-bottom: 28px; }
.calc-lbl {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--blue); margin-bottom: 10px; font-size: 0.92rem;
}
.calc-lbl span { color: var(--green-dark); font-weight: 700; }
input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 3px; background: var(--border); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); cursor: pointer; box-shadow: 0 2px 8px rgba(37,211,102,0.4);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); cursor: pointer; border: none;
}
.calc-result {
  display: none; background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: white; border-radius: var(--radius); padding: 28px 24px;
  text-align: center; margin-top: 24px;
}
.calc-result.show { display: block; }
.calc-amount { font-size: 3rem; font-weight: 800; color: var(--green); display: block; margin-bottom: 4px; }
.calc-result-sub { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 16px; }
.calc-note {
  background: rgba(255,255,255,0.1); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 0.88rem; color: rgba(255,255,255,0.88);
  margin-bottom: 20px; line-height: 1.55;
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: white; overflow: hidden; }
details[open] { box-shadow: var(--shadow); border-color: var(--green); }
details summary {
  padding: 18px 20px; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; color: var(--blue); user-select: none;
  gap: 12px;
}
details summary::-webkit-details-marker { display: none; }
details summary .plus { font-size: 1.5rem; color: var(--green-dark); flex-shrink: 0; }
details[open] summary .plus { display: none; }
details:not([open]) summary .minus { display: none; }
details summary .minus { font-size: 1.5rem; color: var(--green-dark); flex-shrink: 0; }
.faq-ans { padding: 0 20px 18px; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ===== FINAL CTA ===== */
.final-cta { background: linear-gradient(135deg, #1A9648, #25D366); color: white; text-align: center; padding: var(--section-py) 0; }
.final-cta h2 { color: white; margin-bottom: 10px; }
.final-cta p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; }

/* ===== FOOTER ===== */
.footer { background: var(--blue); color: rgba(255,255,255,0.65); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-logo img { width: 36px; height: 36px; }
.footer-logo span { font-weight: 700; font-size: 1.05rem; color: white; }
.footer-desc { font-size: 0.88rem; line-height: 1.65; margin-bottom: 16px; }
.footer h4 { color: white; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-row { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; }
.footer-contact-row a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact-row a:hover { color: var(--green); }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,0.65); transition: all 0.2s;
}
.footer-social a:hover { background: var(--green); color: white; }
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--green); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: auto;
  max-width: 420px; background: var(--blue); color: white;
  border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow-md); z-index: 9999;
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.hide { transform: translateY(150%); opacity: 0; pointer-events: none; }
.cookie-banner p { font-size: 0.85rem; color: rgba(255,255,255,0.82); margin-bottom: 14px; }
.cookie-banner a { color: var(--green); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.btn-accept { background: var(--green); color: white; border: none; padding: 8px 20px; border-radius: 50px; font-weight: 600; cursor: pointer; font-size: 0.88rem; }
.btn-decline { background: transparent; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.2); padding: 8px 18px; border-radius: 50px; font-weight: 600; cursor: pointer; font-size: 0.88rem; }

/* ===== INNER PAGE LAYOUT ===== */
.page-hero { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: white; padding: 56px 0; }
.page-hero h1 { color: white; font-size: clamp(1.6rem, 4vw, 2.25rem); margin-bottom: 6px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.page-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.page-updated { display: inline-block; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; padding: 5px 14px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; }
.page-body h2 { font-size: 1.2rem; color: var(--blue); margin: 32px 0 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.page-body h2:first-of-type { border-top: none; margin-top: 0; }
.page-body h3 { font-size: 1rem; color: var(--blue); margin: 18px 0 6px; }
.page-body p, .page-body li { color: var(--text); line-height: 1.78; font-size: 0.95rem; margin-bottom: 8px; }
.page-body ul { list-style: disc; margin-left: 20px; margin-bottom: 12px; }
.page-body a { color: var(--green-dark); text-decoration: underline; }
.placeholder { background: #fff8e1; border: 1px dashed var(--amber); border-radius: 4px; padding: 2px 8px; font-weight: 600; color: #92400E; font-size: 0.88rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 22px; height: 22px; stroke: var(--green-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 3px; }
.contact-item-value { font-weight: 600; color: var(--blue); }
.contact-item-value a { color: var(--blue); }
.contact-item-value a:hover { color: var(--green-dark); }
.contact-schedule { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.contact-schedule h3 { margin-bottom: 16px; }
.schedule-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.schedule-row:last-child { border: none; }

/* ===== WA FLOAT BUTTON ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
  background: var(--green); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 50; transition: transform 0.2s, box-shadow 0.2s; color: white;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.65); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-py: 52px; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .wa-mockup-wrap { order: -1; }
  .wa-phone { width: 270px; }
  .cards-3 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .case-inner { grid-template-columns: 1fr; text-align: center; }
  .case-avatar { margin: 0 auto; }
  .case-results { justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .cookie-banner { left: 12px; right: 12px; max-width: none; }
}
@media (max-width: 480px) {
  .hero { padding: 48px 0 36px; }
  .footer-grid { grid-template-columns: 1fr; }
  .calc-box { padding: 24px 18px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
}
