/* Aluma Dental — modern dental clinic landing demo (NEXT) */

:root {
  --white: #ffffff;
  --mist: #f2f8fa;
  --aqua: #dceef2;
  --teal: #0e7c86;
  --teal-deep: #0a5b62;
  --ink: #14252b;
  --gray: #5b6f76;
  --line: #d7e5e9;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Assistant", sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { width: 1.35rem; height: 1.35rem; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.4rem; padding-block: 0.75rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 12px;
  background: var(--teal); color: #fff;
}
.brand-text { font-weight: 800; font-size: 1.3rem; line-height: 1.1; display: flex; flex-direction: column; }
.brand-sub { font-size: 0.72rem; font-weight: 400; color: var(--gray); letter-spacing: 0.14em; }

.header-phone {
  margin-inline-start: auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--teal-deep); text-decoration: none; font-weight: 600;
}
.header-phone svg { width: 1.1rem; height: 1.1rem; }

.btn {
  display: inline-block; text-align: center; text-decoration: none;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 0.75rem 1.7rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 124, 134, 0.55); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-block { width: 100%; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--mist), #fff 85%); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset-inline-start: -12rem; top: -12rem;
  width: 34rem; height: 34rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(14, 124, 134, 0.12), transparent);
}
.hero-grid {
  position: relative; display: grid; gap: 3rem;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; } }

.chip {
  display: inline-block; margin-bottom: 1rem;
  background: var(--aqua); color: var(--teal-deep);
  font-size: 0.82rem; font-weight: 600;
  padding: 0.35rem 0.9rem; border-radius: 999px;
}
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; }
.accent { color: var(--teal); }
.hero-sub { margin-top: 1.1rem; font-size: 1.1rem; color: var(--gray); max-width: 34rem; }

.hero-points { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.55rem; }
.hero-points li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.hero-points li::before {
  content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}
.hero-actions { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Lead card */
.lead-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: 0 30px 60px -30px rgba(10, 91, 98, 0.35);
  scroll-margin-top: 6rem;
}
.lead-card h2 { font-size: 1.4rem; font-weight: 800; }
.lead-sub { color: var(--gray); font-size: 0.95rem; margin-top: 0.2rem; }
.lead-form { margin-top: 1.3rem; display: grid; gap: 1rem; }
.lead-form label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
.lead-form input, .lead-form select {
  font-family: inherit; font-size: 1rem;
  padding: 0.7rem 0.9rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--mist);
  transition: border-color 0.2s;
}
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-note { font-size: 0.78rem; color: var(--gray); text-align: center; }
.form-success {
  background: var(--aqua); color: var(--teal-deep);
  padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.9rem; text-align: center;
}

.hero-photo {
  height: 16rem;
  background: url("images/clinic.jpg") center 35% / cover no-repeat;
}
@media (min-width: 980px) {
  .hero-photo { height: 21rem; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
}

/* Trust strip */
.trust { background: var(--teal-deep); color: #fff; padding: 1.4rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 800px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; font-weight: 600; justify-content: center; }
.trust-item svg { color: #8fd6dc; flex-shrink: 0; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 2.8rem; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.25; }

/* Services */
.services { background: #fff; }
.services-grid { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px); background: #fff;
  box-shadow: 0 20px 40px -24px rgba(10, 91, 98, 0.35);
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--teal-deep); }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* About / steps */
.about { background: var(--mist); }
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .about-grid { grid-template-columns: 0.9fr 1.1fr; } }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.steps { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: 1.3rem; }
.steps li { display: flex; gap: 1rem; }
.step-num {
  flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.steps p { color: var(--gray); font-size: 0.95rem; }

/* FAQ */
.faq-inner { max-width: 44rem; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.3rem; margin-bottom: 0.8rem; background: #fff;
}
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--teal); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.7rem; color: var(--gray); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center;
}
.cta-inner p { margin: 0.7rem 0 1.8rem; color: rgba(255, 255, 255, 0.85); }

/* Footer */
.site-footer { padding: 2.4rem 0; text-align: center; border-top: 1px solid var(--line); }
.footer-brand { font-weight: 800; color: var(--teal-deep); }
.demo-note { margin: 0.8rem auto 0; max-width: 34rem; font-size: 0.82rem; color: var(--gray); }

/* Mobile call button */
.mobile-call {
  position: fixed; bottom: 14px; inset-inline-end: 14px; z-index: 90;
  background: var(--teal); color: #fff; text-decoration: none; font-weight: 700;
  padding: 0.8rem 1.5rem; border-radius: 999px;
  box-shadow: 0 12px 26px -10px rgba(10, 91, 98, 0.6);
}
@media (min-width: 980px) { .mobile-call { display: none; } }

/* NEXT badge */
.next-badge {
  position: fixed; bottom: 14px; inset-inline-start: 14px; z-index: 90;
  background: #111; color: #fff; text-decoration: none;
  font-size: 0.78rem; padding: 0.5rem 0.95rem; border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.5);
  opacity: 0.92; transition: opacity 0.2s, transform 0.2s;
}
.next-badge:hover { opacity: 1; transform: translateY(-2px); }
.next-badge strong { letter-spacing: 0.06em; }

/* Small screens */
@media (max-width: 640px) {
  .header-cta { display: none; }
  .header-phone { font-size: 0.9rem; }
}
