:root {
  --navy: #173f78;
  --blue: #087fc4;
  --cyan: #17bdc8;
  --cyan-strong: #09aebe;
  --light-blue: #eaf8fd;
  --lighter-blue: #f8fcff;
  --text: #29476e;
  --muted: #6b7f9b;
  --border: #dfebf3;
  --white: #fff;
  --gradient: linear-gradient(135deg, #087fc4 0%, #18c2c8 100%);
  --shadow: 0 10px 28px rgba(36, 92, 130, .075);
  --radius: 20px;
  --shell: 1030px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}
.skip-link:focus { transform: none; }

.shell { width: min(calc(100% - 20px), var(--shell)); margin-inline: auto; }
.panel {
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(218, 234, 243, .95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 8px;
  z-index: 100;
  min-height: 70px;
  margin-top: 8px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 30px rgba(35, 91, 132, .09);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--navy); font-size: 24px; font-weight: 600; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand strong { color: var(--cyan-strong); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 31px; }
.main-nav a { position: relative; padding: 24px 0 21px; color: var(--navy); font-size: 14px; font-weight: 500; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 0; height: 2px; border-radius: 2px; background: var(--blue); transform: translateX(-50%); transition: width .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { width: 24px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 0; border-radius: 18px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary, .button-whatsapp { color: #fff; background: var(--gradient); box-shadow: 0 9px 20px rgba(9, 154, 191, .20); }
.button-whatsapp svg { fill: currentColor; stroke: none; }
.button-outline { color: var(--blue); border: 1.5px solid var(--blue); background: #fff; }
.header-cta { min-height: 44px; padding-inline: 19px; font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--navy); }

.hero {
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 465px;
  padding: 34px 25px 0;
  overflow: visible;
}
.hero-copy { position: relative; z-index: 3; padding-top: 20px; }
.hero-copy h1 { margin: 0 0 14px; font-size: clamp(50px, 5.15vw, 66px); line-height: .98; letter-spacing: -2.8px; font-weight: 700; color: var(--navy); }
.hero-copy h1 span { display: block; white-space: nowrap; }
.hero-copy h1 span:nth-child(2) { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { max-width: 390px; margin: 14px 0 22px; color: #50698c; font-size: 14.5px; }
.hero-kicker { display: flex; align-items: center; width: 210px; gap: 11px; margin: 0 0 9px; opacity: .8; }
.hero-kicker span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.hero-kicker span:last-child { background: linear-gradient(90deg, var(--cyan), transparent); }
.hero-kicker img { width: 20px; height: 20px; }
.hero-actions { display: flex; align-items: center; gap: 10px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 25px; max-width: 405px; }
.quick-card { min-height: 82px; padding: 11px 10px; display: grid; grid-template-columns: 37px 1fr; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(35, 92, 132, .055); }
.quick-card strong { display: block; color: var(--navy); font-size: 11.8px; line-height: 1.25; }
.quick-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 10.3px; line-height: 1.25; }
.icon-bubble { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; background: #eaf8fd; color: var(--cyan-strong); }
.icon-bubble svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; min-height: 435px; isolation: isolate; }
.blob { position: absolute; z-index: -2; }
.blob-one { inset: 0 10px 5px 15px; border-radius: 44% 56% 48% 52% / 35% 42% 58% 65%; background: linear-gradient(145deg, #c5efff 0%, #72d9f3 48%, #19bdcb 100%); }
.blob-two { right: -4px; bottom: 5px; width: 270px; height: 210px; border-radius: 46% 54% 65% 35% / 44% 31% 69% 56%; background: rgba(82, 202, 226, .42); transform: rotate(-8deg); }
.hero-doctor { position: absolute; left: 14px; bottom: -1px; z-index: 1; width: 340px; height: 450px; object-fit: cover; object-position: center 10%; border-radius: 45% 55% 46% 54% / 39% 42% 58% 61%; filter: drop-shadow(0 14px 22px rgba(28, 94, 133, .08)); }
.watermark-tooth { position: absolute; right: 42px; top: 18px; z-index: -1; width: 56px; opacity: .36; }
.spark { position: absolute; z-index: 3; width: 18px; fill: #fff; }
.spark-one { right: 135px; top: 92px; }
.spark-two { right: 86px; top: 132px; width: 12px; }
.raki-card { position: absolute; right: 0; bottom: 50px; z-index: 5; width: 270px; min-height: 206px; padding: 21px 103px 16px 19px; overflow: hidden; border: 1px solid rgba(198, 226, 240, .95); border-radius: 21px; background: rgba(255,255,255,.9); box-shadow: 0 14px 34px rgba(28, 93, 134, .12); backdrop-filter: blur(8px); }
.raki-card-copy { position: relative; z-index: 2; }
.raki-card-copy > span { color: var(--navy); font-size: 16px; }
.raki-card-copy > strong { display: block; margin: -2px 0 2px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 42px; line-height: 1; letter-spacing: -1.5px; }
.raki-card-copy > b { display: block; color: var(--navy); font-size: 14px; line-height: 1.35; }
.raki-card-copy > small { display: block; margin-top: 12px; color: #607691; font-size: 11.2px; line-height: 1.35; }
.raki-card img { position: absolute; right: -8px; bottom: -2px; z-index: 1; width: 126px; height: 198px; object-fit: contain; object-position: center bottom; }

.split-row { display: grid; grid-template-columns: 35% 65%; gap: 10px; margin-top: 5px; }
.about-panel, .specialties-panel { min-width: 0; min-height: 198px; padding: 18px 22px; overflow: hidden; position: relative; }
h2 { margin: 0; color: var(--navy); font-size: 21px; line-height: 1.2; letter-spacing: -.35px; }
h2 span { color: var(--cyan-strong); }
.title-spark { font-weight: 400; color: var(--cyan); }
.about-panel p { max-width: 285px; margin: 7px 0 17px; font-size: 11.5px; line-height: 1.45; }
.mini-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; z-index: 2; }
.mini-features > div { text-align: center; }
.line-icon { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 5px; color: var(--cyan-strong); }
.line-icon svg { width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.mini-features strong { display: block; color: var(--navy); font-size: 10.4px; line-height: 1.25; }
.panel-watermark { position: absolute; right: -8px; bottom: -10px; width: 110px; opacity: .065; }
.specialties-panel { padding-right: 19px; }
.specialties-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.specialty { min-width: 0; min-height: 124px; padding: 13px 6px 10px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: 0 8px 20px rgba(35, 92, 132, .055); text-align: center; }
.specialties-panel h2 { font-size: 23px; }
.specialty strong { color: var(--navy); font-size: 12.5px; line-height: 1.25; }
.specialty-icon { position: relative; display: grid; place-items: center; width: 54px; height: 58px; color: var(--cyan-strong); font-size: 42px; }
.specialty-icon-image { width: 58px; height: 58px; object-fit: contain; }
.tooth-icon::before { content: ""; width: 34px; height: 43px; border: 2px solid currentColor; border-radius: 47% 49% 34% 35% / 34% 34% 65% 66%; box-shadow: inset 0 -11px 0 -10px currentColor; }
.braces-icon::before { content: ""; width: 37px; height: 43px; border: 2px solid currentColor; border-radius: 47% 49% 34% 35% / 34% 34% 65% 66%; }
.implant-icon::before { content: ""; width: 18px; height: 25px; border: 2px solid currentColor; border-radius: 4px 4px 8px 8px; box-shadow: 0 8px 0 -5px currentColor, 0 14px 0 -6px currentColor; }
.child-icon { width: 54px; height: 58px; border-radius: 50%; font-size: 44px; line-height: 1; }

/* Specialty icons rebuilt as blue linear drawings, matching the approved row. */
.sparkle-tooth::after { content: ""; position: absolute; top: 1px; right: 1px; width: 15px; height: 15px; background: linear-gradient(45deg, transparent 43%, currentColor 44% 56%, transparent 57%), linear-gradient(-45deg, transparent 43%, currentColor 44% 56%, transparent 57%); }
.shine-tooth::after { content: ""; position: absolute; top: 10px; left: 8px; width: 19px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-12deg); }
.braces-icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 24px; height: 7px; border: 2px solid currentColor; border-radius: 4px; box-shadow: 11px 0 0 -2px #fff, 11px 0 0 0 currentColor, 22px 0 0 -2px #fff, 22px 0 0 0 currentColor; }
.child-icon { font-size: 0; }
.child-icon::before { content: ""; position: absolute; top: 4px; left: 12px; width: 28px; height: 28px; border: 2px solid currentColor; border-radius: 50%; }
.child-icon::after { content: ""; position: absolute; left: 9px; bottom: 4px; width: 34px; height: 19px; border: 2px solid currentColor; border-bottom: 0; border-radius: 20px 20px 0 0; }

.raki-section { min-height: 179px; margin-top: 11px; display: grid; grid-template-columns: 25% 35% 40%; overflow: hidden; }
.raki-art { position: relative; min-height: 179px; overflow: hidden; }
.raki-art-blob { position: absolute; inset: 12px 12px -20px 12px; border-radius: 44% 56% 0 0 / 40% 48% 0 0; background: linear-gradient(145deg, #8bdff3, #19b8c8); }
.raki-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 25%, rgba(255,255,255,.9) 0 2px, transparent 3px), radial-gradient(circle at 75% 45%, rgba(255,255,255,.8) 0 2px, transparent 3px); }
.raki-art img { position: absolute; left: 18px; bottom: -80px; z-index: 2; width: 180px; height: 280px; object-fit: contain; object-position: center top; }
.raki-intro { align-self: center; padding: 22px 25px 22px 26px; border-right: 1px solid var(--border); }
.raki-intro h2 { display: flex; align-items: baseline; gap: 7px; font-size: 24px; }
.raki-intro h2 strong { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 44px; line-height: 1; letter-spacing: -1px; }
.raki-intro h2 span { font-size: 17px; }
.raki-intro p { margin: 14px 0 0; font-size: 12px; line-height: 1.5; }
.raki-capabilities { align-content: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 11px; padding: 20px 22px; }
.raki-capabilities article { min-width: 0; display: grid; grid-template-columns: 38px 1fr; gap: 9px; align-items: start; }
.raki-capabilities strong { display: block; color: var(--navy); font-size: 11.5px; line-height: 1.25; }
.raki-capabilities small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.3; }

.lower-row { grid-template-columns: 53% 47%; gap: 10px; margin-top: 11px; }
.payment-panel, .faq-panel { min-height: 190px; padding: 18px 22px; }
.payment-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.payment-grid > div { min-height: 91px; padding: 10px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(35, 92, 132, .05); text-align: center; }
.payment-grid .line-icon { width: 42px; height: 42px; margin: 0 0 4px; }
.payment-grid .line-icon svg { width: 31px; height: 31px; }
.payment-grid strong { color: var(--navy); font-size: 10.7px; }
.pix-mark { color: #49b8cc; font-size: 38px; line-height: 1; transform: rotate(45deg); }
.panel-note { margin: 12px 0 0; font-size: 10.8px; }
.accordion { display: grid; gap: 6px; margin-top: 13px; }
.accordion-item { overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.accordion-item button { width: 100%; min-height: 28px; padding: 4px 12px; display: flex; justify-content: space-between; align-items: center; border: 0; background: transparent; color: var(--navy); font-size: 11.2px; font-weight: 500; text-align: left; cursor: pointer; }
.accordion-item button b { color: var(--blue); font-size: 16px; transition: transform .2s ease; }
.accordion-item button[aria-expanded="true"] b { transform: rotate(180deg); }
.accordion-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.accordion-content > p { overflow: hidden; margin: 0; padding: 0 12px; color: var(--muted); font-size: 10.5px; }
.accordion-item.open .accordion-content { grid-template-rows: 1fr; }
.accordion-item.open .accordion-content > p { padding-bottom: 8px; }

.contact-panel { min-height: 155px; margin-top: 11px; padding: 12px; display: grid; grid-template-columns: 48% 52%; align-items: stretch; }
.contact-info { padding: 6px 25px 0; }
.contact-info h2 { margin-bottom: 10px; text-align: center; }
.contact-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.contact-columns p { position: relative; margin: 7px 0; padding-left: 28px; font-size: 11.3px; line-height: 1.4; }
.contact-columns small { font-size: 10px; }
.contact-icon { position: absolute; left: 0; top: -3px; width: 21px; height: 21px; display: grid; place-items: center; color: var(--cyan-strong); font-size: 21px; }
.map-card { position: relative; min-height: 130px; overflow: hidden; border-radius: 16px; }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-button { position: absolute; right: 18px; bottom: 12px; min-height: 35px; padding-inline: 24px; font-size: 13px; }

.site-footer { margin-top: 10px; padding-bottom: 0; }
.footer-main { min-height: 112px; padding: 16px 55px; display: grid; grid-template-columns: 1.15fr .9fr 1.35fr; align-items: center; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: none; }
.footer-brand { padding-right: 35px; border-right: 1px solid var(--border); }
.footer-brand .brand { font-size: 23px; }
.footer-brand p { margin: 7px 0 0; font-size: 10.4px; line-height: 1.4; }
.footer-social { text-align: center; }
.footer-social > span { display: block; margin-bottom: 9px; font-size: 12px; }
.footer-social div { display: flex; justify-content: center; gap: 9px; }
.footer-social a { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
.footer-cta { padding-left: 35px; border-left: 1px solid var(--border); text-align: center; }
.footer-cta .button { width: 100%; min-height: 38px; }
.footer-cta small { display: block; margin-top: 7px; color: var(--muted); font-size: 10.5px; }
.footer-bottom { min-height: 38px; padding: 0 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-radius: 0 0 21px 21px; background: var(--gradient); color: #fff; font-size: 9.8px; }
.footer-bottom span:last-child { text-align: right; }
.footer-bottom img { width: 24px; filter: brightness(0) invert(1); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .menu-toggle { display: block; justify-self: end; order: 2; }
  .header-cta { justify-self: end; order: 3; }
  .main-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; padding: 13px; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 11px; text-align: center; }
  .main-nav a::after { bottom: 7px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 20px; }
  .hero-visual { min-height: 430px; }
  .hero-doctor { left: 15%; }
  .split-row, .lower-row { grid-template-columns: 1fr; }
  .raki-section { grid-template-columns: 32% 68%; }
  .raki-capabilities { grid-column: 1 / -1; }
  .contact-panel { grid-template-columns: 1fr; }
  .map-card { min-height: 190px; }
}

@media (max-width: 650px) {
  .shell { width: min(calc(100% - 16px), var(--shell)); }
  .site-header { min-height: 64px; padding: 0 14px; gap: 8px; }
  .brand { font-size: 19px; }
  .brand img { width: 31px; height: 31px; }
  .header-cta { width: 44px; padding: 0; }
  .header-cta span { display: none; }
  .hero { padding: 23px 8px 0; }
  .hero-copy h1 { font-size: clamp(40px, 11vw, 52px); letter-spacing: -2px; }
  .hero-copy h1 span { white-space: nowrap; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .quick-grid { grid-template-columns: 1fr; max-width: none; }
  .quick-card { min-height: 66px; }
  .hero-visual { min-height: 410px; margin-top: 8px; }
  .hero-doctor { left: 0; width: 300px; height: 395px; }
  .raki-card { right: 0; bottom: 30px; width: 235px; min-height: 175px; padding-right: 88px; }
  .raki-card img { width: 105px; height: 170px; }
  .raki-card-copy > strong { font-size: 36px; }
  .about-panel, .specialties-panel, .payment-panel, .faq-panel { padding: 17px; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .raki-section { grid-template-columns: 1fr; }
  .raki-art { min-height: 230px; }
  .raki-art img { left: 50%; bottom: -60px; width: 210px; transform: translateX(-50%); }
  .raki-intro { border-right: 0; border-bottom: 1px solid var(--border); text-align: center; }
  .raki-intro h2 { justify-content: center; flex-wrap: wrap; }
  .raki-capabilities { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info { padding: 5px 10px 12px; }
  .contact-columns { grid-template-columns: 1fr; gap: 0; }
  .footer-main { padding: 20px; grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .footer-brand, .footer-cta { padding: 0; border: 0; }
  .footer-brand .brand { justify-content: center; }
  .footer-bottom { min-height: auto; padding: 12px; grid-template-columns: 1fr; gap: 7px; text-align: center; }
  .footer-bottom span:last-child { text-align: center; }
  .footer-bottom img { margin: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
