:root {
  --navy: #092d4b;
  --blue: #147fba;
  --sky: #58badf;
  --ice: #eaf7fb;
  --ink: #163247;
  --muted: #60788a;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8fcfd;
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

.demo-bar {
  padding: 9px 16px;
  text-align: center;
  background: var(--navy);
  color: #d7eef7;
  font-size: 12px;
  letter-spacing: .04em;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  background: rgba(248,252,253,.92);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(145deg, var(--blue), var(--sky));
  color: white; font-weight: 800; font-size: 21px;
  box-shadow: 0 9px 24px rgba(20,127,186,.2);
}
.brand strong { display: block; color: var(--navy); font-size: 17px; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--blue); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #0b689e);
  color: white; font-weight: 750; font-size: 14px;
  box-shadow: 0 13px 28px rgba(20,127,186,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(20,127,186,.28); }
.button-small { min-height: 42px; padding: 0 18px; }

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 28px 72px;
}
.hero-copy { max-width: 610px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
h1 { margin: 0; max-width: 640px; color: var(--navy); font-size: clamp(43px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -.045em; }
.hero-text { max-width: 550px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.text-link { color: var(--navy); font-size: 14px; font-weight: 750; }
.benefit-list { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 32px 0 0; list-style: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.benefit-list li { display: flex; align-items: center; gap: 7px; }
.benefit-list span { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--ice); color: var(--blue); font-weight: 900; }

.hero-visual { position: relative; min-height: 550px; }
.hero-glow { position: absolute; inset: 8px 0 58px 30px; border-radius: 48% 52% 38% 62%; background: radial-gradient(circle at 60% 35%, #dff6fc, #b9e5f2 65%, #82cadd); transform: rotate(-3deg); }
.clinic-scene {
  position: absolute; inset: 24px 4px 76px 46px;
  overflow: hidden; border-radius: 46px 150px 46px 46px;
  background: url('/hero-dentista.png') 67% 42% / cover no-repeat;
  box-shadow: 0 24px 80px rgba(9,45,75,.18);
}
.hero-summary { position: absolute; z-index: 3; left: 18px; right: 0; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 18px 44px rgba(9,45,75,.14); }
.hero-summary > div { display: flex; align-items: center; gap: 11px; }
.hero-summary strong, .hero-summary small { display: block; }
.hero-summary strong { color: var(--navy); font-size: 13px; }
.hero-summary small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.summary-rating { padding-left: 18px; border-left: 1px solid #dcecef; }
.summary-rating strong { color: #e79b18; font-size: 18px; }
.tooth-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ice); color: var(--blue); }

.trust-strip { max-width: 1124px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 0 auto 40px; border-radius: 22px; overflow: hidden; background: #dcebef; box-shadow: 0 18px 45px rgba(9,45,75,.08); }
.trust-strip div { padding: 25px 32px; background: white; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: var(--navy); font-size: 17px; }
.trust-strip span { margin-top: 4px; color: var(--muted); font-size: 12px; }

.section { max-width: 1180px; margin: 0 auto; padding: 100px 28px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
h2 { margin: 0; color: var(--navy); font-size: clamp(34px, 4.3vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p, .about-copy > p, .contact-section > div > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.treatment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.treatment-card { padding: 28px; border: 1px solid #dcecef; border-radius: 22px; background: white; box-shadow: 0 14px 40px rgba(9,45,75,.06); transition: transform .2s ease, border-color .2s ease; }
.treatment-card:hover { transform: translateY(-5px); border-color: #9fd2e3; }
.treatment-card > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: var(--ice); color: var(--blue); font-size: 22px; }
.treatment-card h3 { margin: 22px 0 10px; color: var(--navy); font-size: 18px; }
.treatment-card p { min-height: 88px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.treatment-card a { color: var(--blue); font-size: 12px; font-weight: 800; }

.about-section { max-width: 1180px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 78px; align-items: center; margin: 40px auto 0; padding: 95px 28px; }
.about-photo { min-height: 520px; border-radius: 34px 140px 34px 34px; background: linear-gradient(rgba(9,45,75,.08),rgba(20,127,186,.1)), url('/hero-dentista.png') 76% center / cover no-repeat; box-shadow: 0 26px 65px rgba(9,45,75,.16); }
.about-copy h2 { margin-bottom: 24px; }
.stats { display: flex; gap: 48px; margin: 34px 0; padding: 24px 0; border-block: 1px solid #dcecef; }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--blue); font-size: 25px; }
.stats span { margin-top: 4px; color: var(--muted); font-size: 11px; }

.testimonial-section { margin: 40px 20px 0; padding: 95px 24px; text-align: center; border-radius: 36px; background: var(--navy); color: white; }
.testimonial-section .eyebrow { color: #7ed0ed; }
.testimonial-section blockquote { max-width: 850px; margin: 28px auto; font-size: clamp(25px, 3.4vw, 42px); line-height: 1.35; letter-spacing: -.02em; }
.testimonial-author { color: #b9d2df; font-size: 12px; }

.contact-section { max-width: 1124px; display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; margin: 0 auto; padding: 110px 28px; }
.contact-section h2 { margin-bottom: 20px; }
.contact-card { padding: 32px; border-radius: 24px; background: white; box-shadow: 0 22px 60px rgba(9,45,75,.12); }
.contact-card strong, .contact-card span, .contact-card small { display: block; }
.contact-card strong { color: var(--navy); font-size: 18px; }
.contact-card span { margin-top: 7px; color: var(--muted); font-size: 12px; }
.contact-card button { width: 100%; min-height: 50px; margin-top: 24px; border: 0; border-radius: 14px; background: #22a96b; color: white; font: inherit; font-weight: 800; cursor: pointer; }
.contact-card small { margin-top: 10px; color: #8aa0ad; text-align: center; font-size: 10px; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 36px max(28px, calc((100vw - 1124px)/2)); background: #eaf4f7; }
footer p { color: var(--muted); text-align: center; font-size: 11px; }
footer > a { color: var(--blue); font-size: 12px; font-weight: 800; }

.download-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 15% 15%, rgba(88,186,223,.28), transparent 34%),
    radial-gradient(circle at 88% 85%, rgba(20,127,186,.18), transparent 35%),
    var(--navy);
}
.download-panel {
  width: min(100%, 680px);
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 32px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.download-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }
.download-brand strong, .download-brand small { display: block; }
.download-brand strong { color: var(--navy); font-size: 18px; }
.download-brand small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.download-panel h1 { max-width: 560px; font-size: clamp(38px, 7vw, 58px); }
.download-description { max-width: 560px; margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.download-button {
  width: 100%;
  min-height: 58px;
  margin-top: 32px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), #0b689e);
  color: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(20,127,186,.24);
}
.download-button:disabled { cursor: wait; opacity: .72; }
.download-status { min-height: 42px; margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.download-back { display: inline-block; margin-top: 12px; color: var(--blue); font-size: 13px; font-weight: 800; }

@media (max-width: 820px) {
  .site-header { min-height: 70px; padding: 0 18px; }
  nav, .site-header > .button { display: none; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding: 48px 20px 50px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .text-link { text-align: center; }
  .hero-visual { min-height: 470px; }
  .hero-glow { inset: 8px 0 72px 18px; }
  .clinic-scene { inset: 18px 0 90px 24px; border-radius: 34px 105px 34px 34px; background-position: 68% 42%; }
  .hero-summary { left: 0; min-height: 76px; padding: 12px 14px; gap: 12px; }
  .hero-summary strong { font-size: 11px; }
  .hero-summary small { font-size: 9px; }
  .summary-rating { padding-left: 12px; }
  .summary-rating strong { font-size: 15px; }
  .tooth-icon { width: 34px; height: 34px; }
  .trust-strip { grid-template-columns: 1fr; margin: 0 20px 32px; }
  .section { padding: 76px 20px; }
  .section-heading, .about-section, .contact-section { grid-template-columns: 1fr; gap: 34px; }
  .treatment-grid { grid-template-columns: 1fr; }
  .treatment-card p { min-height: auto; margin-bottom: 18px; }
  .about-section { padding: 55px 20px 80px; }
  .about-photo { min-height: 410px; border-radius: 28px 100px 28px 28px; }
  .stats { gap: 28px; }
  .testimonial-section { padding: 72px 20px; border-radius: 28px; }
  .contact-section { padding: 82px 20px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  footer p { margin: 0; }
  .download-page { padding: 18px; }
  .download-panel { border-radius: 24px; }
  .download-brand { margin-bottom: 38px; }
}
