/* Helia Dental — professional navy clinic */
.demo-float-home {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: #0c2340;
  color: #fff !important;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(12, 35, 64, 0.28);
  transition: transform 0.15s, background 0.2s;
}
.demo-float-home:hover {
  transform: translateY(-2px);
  background: #2f6fed;
}

.demo-helia {
  --navy: #0c2340;
  --navy-soft: #1a3558;
  --blue: #2f6fed;
  --blue-soft: #e8f0fe;
  --ink: #152033;
  --muted: #5c6b7a;
  --line: #e2e8f0;
  --bg: #f5f7fa;
  --white: #ffffff;
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
.demo-helia *,
.demo-helia *::before,
.demo-helia *::after { box-sizing: border-box; }
.demo-helia img { display: block; max-width: 100%; height: auto; }
.demo-helia a { color: inherit; text-decoration: none; }
.demo-helia h1,
.demo-helia h2,
.demo-helia h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--navy);
}

.hl-wrap { width: min(1100px, 92%); margin-inline: auto; }

/* Header */
.hl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.hl-header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 72px;
}
.hl-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.hl-logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
}
.hl-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.hl-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 550;
}
.hl-nav a { color: var(--muted); }
.hl-nav a:hover { color: var(--navy); }
.hl-nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 6px;
}
.hl-nav-cta:hover { background: #1f5bd6 !important; color: #fff !important; }
.hl-header-phone {
  display: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  white-space: nowrap;
}
@media (min-width: 1100px) {
  .hl-header-phone { display: inline; }
}

/* Buttons */
.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.hl-btn:hover { transform: translateY(-1px); }
.hl-btn-primary { background: var(--blue); color: #fff !important; }
.hl-btn-primary:hover { background: #1f5bd6; }
.hl-btn-secondary {
  background: var(--white);
  color: var(--navy) !important;
  border: 1.5px solid var(--line);
}
.hl-btn-secondary:hover { border-color: var(--blue); color: var(--blue) !important; }
.hl-btn-block { width: 100%; }

/* Section heads */
.hl-section-head {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}
.hl-section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.hl-section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}
.hl-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* 1. Hero */
.hl-hero {
  padding: 3.5rem 0 4rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hl-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.hl-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.hl-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  max-width: 16ch;
}
.hl-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40ch;
  line-height: 1.6;
}
.hl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hl-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hl-hero-facts strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.hl-hero-facts span {
  font-size: 0.8rem;
  color: var(--muted);
}
.hl-hero-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--blue-soft);
  box-shadow: 0 20px 48px rgba(12, 35, 64, 0.12);
}
.hl-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. How it works */
.hl-how {
  padding: 4.5rem 0;
  background: var(--bg);
}
.hl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}
.hl-steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
}
.hl-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 750;
  font-size: 1rem;
  border-radius: 50%;
}
.hl-steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.hl-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 3. Treatments */
.hl-treatments {
  padding: 4.5rem 0;
  background: var(--white);
}
.hl-price-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}
.hl-price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.hl-price-row:last-child { border-bottom: none; }
.hl-price-row:hover { background: var(--blue-soft); }
.hl-price-row h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.hl-price-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.hl-price {
  font-weight: 750;
  font-size: 1.15rem;
  color: var(--navy);
  white-space: nowrap;
}
.hl-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue) !important;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  border: 1.5px solid transparent;
}
.hl-link:hover {
  border-color: var(--blue);
  background: var(--white);
}

/* 4. Why */
.hl-why {
  padding: 4.5rem 0;
  background: var(--navy);
  color: #dce6f2;
}
.hl-why h2,
.hl-why h3 { color: #fff; }
.hl-why .hl-section-head p { color: rgba(220, 230, 242, 0.75); }
.hl-why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hl-why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
.hl-why-list article {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.hl-why-list h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}
.hl-why-list p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(220, 230, 242, 0.72);
  line-height: 1.5;
}
.hl-why-photo {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hl-why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 5. Doctors */
.hl-doctors {
  padding: 4.5rem 0;
  background: var(--bg);
}
.hl-doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.hl-doc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}
.hl-doc img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.hl-doc-body {
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hl-doc-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
}
.hl-doc-role {
  margin: 0 0 0.75rem !important;
  font-size: 0.85rem !important;
  font-weight: 650;
  color: var(--blue) !important;
}
.hl-doc-body > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 6. Reviews */
.hl-reviews {
  padding: 4.5rem 0;
  background: var(--white);
}
.hl-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.hl-reviews blockquote {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 10px;
  border-top: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}
.hl-reviews blockquote p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}
.hl-reviews footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hl-reviews footer strong {
  font-size: 0.92rem;
  color: var(--navy);
}
.hl-reviews footer span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* 7. Book */
.hl-book {
  padding: 4.5rem 0 3rem;
  background: var(--bg);
}
.hl-book-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}
.hl-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.hl-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}
.hl-full { grid-column: 1 / -1; }
.hl-form input,
.hl-form select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s, background 0.15s;
}
.hl-form input:focus,
.hl-form select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.hl-form .hl-btn { grid-column: 1 / -1; margin-top: 0.25rem; }
.hl-form-note {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.hl-book-aside { display: grid; gap: 1rem; }
.hl-aside-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.hl-aside-card h3 {
  margin: 0 0 1.15rem;
  font-size: 1.25rem;
}
.hl-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.hl-meta li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.hl-meta li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hl-meta strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.hl-meta span,
.hl-meta a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
}
.hl-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 240px;
}
.hl-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

/* Footer */
.hl-footer {
  padding: 1.75rem 0 5rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 0.9rem;
}
.hl-footer strong { color: #fff; }
.hl-demo { margin: 0.35rem 0 0; font-size: 0.8rem; opacity: 0.55; }

/* Responsive */
@media (max-width: 900px) {
  .hl-nav a:not(.hl-nav-cta) { display: none; }
  .hl-hero-grid,
  .hl-why-grid,
  .hl-doc-grid,
  .hl-book-grid,
  .hl-steps,
  .hl-review-grid {
    grid-template-columns: 1fr;
  }
  .hl-doc { grid-template-columns: 1fr; }
  .hl-doc img { min-height: 220px; aspect-ratio: 16 / 10; }
  .hl-why-list { grid-template-columns: 1fr; }
  .hl-hero-facts { grid-template-columns: 1fr; gap: 0.85rem; }
  .hl-price-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'info price'
      'info book';
  }
  .hl-price-row > div { grid-area: info; }
  .hl-price { grid-area: price; align-self: start; }
  .hl-link { grid-area: book; justify-self: start; }
}

@media (max-width: 560px) {
  .hl-form { grid-template-columns: 1fr; padding: 1.25rem; }
  .hl-actions { flex-direction: column; }
  .hl-actions .hl-btn { width: 100%; }
}
