/* ==========================================================================
   Bright Molar SG — design tokens
   ========================================================================== */

:root {
  --radius: 1rem;

  --background: oklch(97.28% 0.0057 264.53);
  --foreground: oklch(27.44% 0.0625 264.78);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(22% 0.065 256);
  --primary: oklch(60.96% 0.1432 253.21);
  --primary-foreground: oklch(100% 0 0);
  --secondary: oklch(95.4% 0.024 251);
  --secondary-foreground: oklch(22% 0.065 256);
  --muted: oklch(96% 0.013 246);
  --muted-foreground: oklch(48% 0.035 253);
  --accent: oklch(82.82% 0.0549 251.04);
  --accent-foreground: oklch(22% 0.065 256);
  --border: oklch(88% 0.025 246);
  --input: oklch(88% 0.025 246);
  --ring: oklch(60.96% 0.1432 253.21);

  --navy: oklch(27.44% 0.0625 264.78);
  --navy-soft: oklch(22% 0.055 266);
  --sky: oklch(60.96% 0.1432 253.21);
  --sky-pale: oklch(95% 0.035 242);
  --ivory: oklch(97% 0.027 87);
  --cream: oklch(65.96% 0.0703 74.3);

  /* WhatsApp brand green, for the click-to-chat button. Not part of the
     Bright Molar palette — it belongs to the destination, not the site. */
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* Radii, matching the compiled scale of the original */
  --r-input: 14px;
  --r-card: 30px;
  --r-pill: 9999px;

  --shadow-card: 0 16px 40px -24px color-mix(in oklab, var(--navy) 35%, transparent);
  --shadow-form: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

em {
  font-style: italic;
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring);
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.section-shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}

section {
  padding-block: 96px;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow--accent {
  color: var(--accent);
}

.eyebrow--faint {
  color: color-mix(in oklab, var(--primary-foreground) 45%, transparent);
}

.section-title {
  margin-top: 16px;
  max-width: 48rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.04;
  text-wrap: balance;
}

/* Every section title in the original breaks before the italic phrase. Left to
   natural wrapping this sits right on the boundary and flips with font metrics,
   so make the break explicit. */
.section-title em {
  display: block;
  font-weight: 500;
  color: var(--primary);
}

.section-lead {
  margin-top: 20px;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Decorative backgrounds ---------------------------------------------------- */

.glow-bg {
  background-image:
    radial-gradient(circle at 82% 20%, color-mix(in oklab, var(--primary) 32%, transparent), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
}

.shade-strip {
  height: 12px;
  background-image: linear-gradient(
    90deg,
    oklch(0.62 0.09 70),
    oklch(0.73 0.08 75),
    oklch(0.82 0.06 80),
    oklch(0.9 0.04 85),
    oklch(0.96 0.02 90),
    oklch(0.99 0.008 95)
  );
}

.subtle-grid {
  background-image:
    linear-gradient(color-mix(in oklab, var(--border) 45%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--border) 45%, transparent) 1px, transparent 1px);
  background-size: 52px 52px, 52px 52px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.animate-rise {
  animation: rise 0.65s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .animate-rise {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  border-radius: var(--r-pill);
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  pointer-events: none;
}

.btn--primary {
  height: 44px;
  padding-inline: 20px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn--primary:hover {
  background-color: color-mix(in oklab, var(--primary) 90%, transparent);
}

.btn--lg {
  height: 52px;
  padding-inline: 28px;
}

.btn--ghost-light {
  height: 52px;
  padding-inline: 28px;
  background-color: transparent;
  color: var(--primary-foreground);
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 40%, transparent);
}

.btn--ghost-light:hover {
  background-color: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
}

.btn--outline {
  height: 48px;
  padding-inline: 16px;
  background-color: var(--background);
  border: 1px solid var(--input);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn--outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn--block {
  width: 100%;
  height: 52px;
  font-size: 1rem;
}

.btn--whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
}

.btn--whatsapp:hover {
  background-color: var(--whatsapp-dark);
}

.btn--whatsapp svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background-color: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-header .section-shell {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.brand__mark svg {
  width: 16px;
  height: 16px;
}

.brand__accent {
  color: var(--primary);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 760px;
  color: var(--primary-foreground);
  padding-block: 0;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  opacity: 0.65;
  mix-blend-mode: luminosity;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    var(--navy) 0%,
    color-mix(in oklab, var(--navy) 90%, transparent) 50%,
    color-mix(in oklab, var(--navy) 15%, transparent) 100%
  );
}

.hero .section-shell {
  position: relative;
  display: flex;
  min-height: 760px;
  align-items: center;
  padding-block: 96px;
}

.hero__inner {
  max-width: 48rem;
}

.hero h1 {
  margin-top: 24px;
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 0.93;
  text-wrap: balance;
}

.hero h1 em {
  font-weight: 500;
  color: var(--accent);
}

.hero__lead {
  margin-top: 28px;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 42rem;
  border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent);
  padding-top: 24px;
}

.hero__stats strong {
  display: block;
  font-size: 1.25rem;
}

.hero__stats span {
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--primary-foreground) 65%, transparent);
}

.hero__strip {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
}

/* ==========================================================================
   How it works
   ========================================================================== */

.steps {
  position: relative;
  margin-top: 64px;
  display: grid;
  gap: 16px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 32px;
  height: 1px;
  background-color: var(--border);
  display: none;
}

.step {
  position: relative;
  border-radius: var(--r-card);
  background-color: var(--card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
}

.step h3 {
  margin-top: 28px;
  font-size: 1.25rem;
  font-weight: 700;
}

.step p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Results
   ========================================================================== */

.results {
  background-color: var(--secondary);
}

.cases {
  margin-top: 56px;
  display: grid;
  gap: 24px;
}

.case {
  display: grid;
  gap: 28px;
  border-radius: var(--r-card);
  background-color: var(--card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.case__profile h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
}

.case__profile dl {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  font-size: 0.875rem;
}

.case__profile dl > div {
  display: flex;
  gap: 8px;
}

.case__profile dt {
  font-weight: 700;
  white-space: nowrap;
}

.case__profile dt::after {
  content: ":";
}

.case__profile dd {
  color: var(--muted-foreground);
}

.case__stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stage {
  overflow: hidden;
  border-radius: var(--r-input);
  background-color: var(--secondary);
}

.stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 364 / 272;
  object-fit: cover;
}

.stage figcaption {
  padding: 8px 4px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing {
  position: relative;
}

.offer-wrap {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.offer {
  position: relative;
  width: 100%;
  max-width: 34rem;
  border: 1px solid var(--primary);
  border-radius: var(--r-card);
  background-color: var(--navy);
  color: var(--primary-foreground);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-2xl);
}

.offer__badge {
  display: inline-block;
  border-radius: var(--r-pill);
  background-color: var(--primary);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.offer__label {
  margin-top: 24px;
  font-size: 1.125rem;
  font-weight: 700;
}

.offer__price {
  margin-top: 8px;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
}

.offer__was {
  margin-top: 12px;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
}

.offer__was s {
  text-decoration-thickness: 2px;
}

.offer__features {
  margin: 32px auto 0;
  display: grid;
  gap: 16px;
  width: fit-content;
  text-align: left;
  font-size: 0.875rem;
}

.offer__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.offer__features svg {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

.offer .btn {
  margin-top: 32px;
}

.disclaimer {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  border-radius: var(--r-card);
  background-color: var(--ivory);
  padding: 20px;
  font-size: 0.875rem;
  line-height: 1.625;
}

.disclaimer svg {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  background-color: var(--navy);
  color: var(--primary-foreground);
}

.testimonials__grid {
  display: grid;
  gap: 48px;
}

.testimonials .section-title {
  line-height: 1.25;
}

.testimonials .section-title em {
  color: var(--accent);
}

.testimonials__photo {
  margin-top: 40px;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  object-fit: cover;
  background-color: var(--navy-soft);
}

.testimonials__caption {
  margin-top: 12px;
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--primary-foreground) 55%, transparent);
}

.quotes {
  display: grid;
  align-content: center;
  gap: 16px;
}

.quote {
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 15%, transparent);
  border-radius: var(--r-card);
  background-color: color-mix(in oklab, var(--primary-foreground) 5%, transparent);
  padding: 24px;
}

.quote__stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
}

.quote__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.quote blockquote {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.625;
}

.quote__author {
  margin-top: 16px;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
}

.quote__tag {
  margin-top: 16px;
  display: inline-block;
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq .section-shell {
  display: grid;
  gap: 48px;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding-block: 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}

.accordion__trigger::-webkit-details-marker {
  display: none;
}

.accordion__trigger svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}

.accordion__item[open] .accordion__trigger svg {
  transform: rotate(180deg);
}

.accordion__panel > div {
  max-width: 42rem;
  padding-bottom: 24px;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.accordion__item[open] .accordion__panel {
  animation: reveal 0.22s ease-out;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Booking
   ========================================================================== */

.booking {
  background-color: var(--secondary);
}

.booking .section-shell {
  display: grid;
  gap: 56px;
}

.booking__lead {
  margin-top: 20px;
  max-width: 28rem;
  color: var(--muted-foreground);
}

.booking__details {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

.booking__details p {
  display: flex;
  gap: 12px;
}

.booking__details svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
}

.booking__cta {
  align-self: center;
  border-radius: var(--r-card);
  background-color: var(--card);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-form);
}

.booking__cta-badge {
  display: inline-block;
  border-radius: var(--r-pill);
  background-color: var(--navy);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-foreground);
}

.booking__cta-lead {
  margin-top: 20px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.booking__cta .btn {
  margin-top: 24px;
}

.booking__cta-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--navy);
  color: var(--primary-foreground);
  padding-top: 64px;
  padding-bottom: 96px;
}

.site-footer__grid {
  display: grid;
  gap: 40px;
  border-bottom: 1px solid color-mix(in oklab, var(--primary-foreground) 15%, transparent);
  padding-bottom: 48px;
}

.site-footer__brand {
  font-size: 1.25rem;
  font-weight: 800;
}

.site-footer__brand + p {
  margin-top: 12px;
  font-size: 0.875rem;
  color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
}

.site-footer__accent {
  color: var(--accent);
}

.site-footer address,
.site-footer__grid a,
.site-footer__grid p.hours {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.625;
}

.site-footer .eyebrow + * {
  margin-top: 12px;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
}

/* Plain small-text leading for the nav links, not the relaxed leading used by
   the address and contact blocks. */
.site-footer nav a {
  line-height: 1.4286;
}

.site-footer__fine {
  margin-top: 32px;
  max-width: 56rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--primary-foreground) 50%, transparent);
}

/* Floating chat action ------------------------------------------------------ */

.fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background-color: var(--whatsapp);
  color: #fff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  transition: transform 0.15s, background-color 0.15s;
}

.fab svg {
  width: 28px;
  height: 28px;
}

.fab:hover {
  transform: scale(1.05);
  background-color: var(--whatsapp-dark);
}

.fab:focus-visible {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--ring) 40%, transparent);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 640px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .case {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
    align-items: center;
  }

  .case__profile dl {
    gap: 8px;
  }

  .section-shell {
    padding-inline: 40px;
  }

  section {
    padding-block: 128px;
  }

  .hero {
    min-height: 820px;
    padding-block: 0;
  }

  .hero .section-shell {
    min-height: 820px;
  }

  .hero h1 {
    font-size: 6.6rem;
  }

  .hero__lead {
    font-size: 1.25rem;
  }

  .site-nav {
    display: flex;
  }

  .section-title {
    font-size: 3.75rem;
  }

  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .steps::before {
    display: block;
  }

  .booking__form {
    padding: 40px;
  }

  .site-footer {
    padding-bottom: 40px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {


  .testimonials__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .faq .section-shell {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }

  .booking .section-shell {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}
