/* LUMEN DENTAL — Modern Clean Dental Care Stylesheet */
:root {
  --bg-primary: #FFFFFF;
  --bg-zone: #EDF5FA;
  --bg-card: #FFFFFF;
  --text-title: #16354D;
  --text-body: #2B4354;
  --text-muted: #5F7A8D;
  --primary: #245F87;
  --primary-hover: #194665;
  --accent: #B85347;
  --border-subtle: #D3E5F0;
  --border-card: rgba(22, 53, 77, 0.08);
  --font-brand: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
  --container-max: 1200px;
  --header-height: 80px;
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-body);
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 10px;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common */
section {
  padding: 92px 0;
  scroll-margin-top: var(--header-height);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  border-radius: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-secondary {
  background-color: var(--bg-primary);
  color: var(--primary);
  border-color: var(--border-subtle);
}
.btn-secondary:hover {
  border-color: var(--primary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-title);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 2px;
}

.badge-demo {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--bg-zone);
  color: var(--primary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  margin-left: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-title);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--primary);
  min-width: 44px;
  min-height: 44px;
}

/* Hero Section */
.hero-section {
  background: var(--bg-primary);
  padding: 64px 0 92px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 36px rgba(22, 53, 77, 0.06);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services-section {
  background-color: var(--bg-zone);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(22, 53, 77, 0.06);
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

/* Timeline / Visit Section */
.visit-section {
  background-color: var(--bg-primary);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.timeline-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  background: var(--bg-primary);
  padding: 0 16px;
}

.timeline-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-zone);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

/* Gallery Section */
.gallery-section {
  background-color: var(--bg-zone);
}

.lumen-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.lumen-gallery-item {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease;
  cursor: pointer;
  display: block;
}

.lumen-gallery-item:hover {
  transform: translateY(-4px);
}

.lumen-gallery-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* FAQ Native Details */
.faq-section {
  background-color: var(--bg-primary);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

details.faq-item {
  background: var(--bg-zone);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 20px 24px;
  cursor: pointer;
}

details.faq-item summary {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-title);
  outline: none;
}

details.faq-item p {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact Section & Demo Form */
.contact-section {
  background-color: var(--bg-zone);
  border-top: 1px solid var(--border-subtle);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(22, 53, 77, 0.04);
}

.demo-banner {
  background: #EBF3F8;
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-title);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-title);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-feedback {
  margin-top: 20px;
  padding: 16px;
  background: #EBF8F2;
  border: 1px solid #286957;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #193D35;
  display: none;
}

/* Footer */
.site-footer {
  background-color: #0E2435;
  color: #FFFFFF;
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.88rem;
  color: #A4C5DC;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-disclaimer {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #8CAABF;
  max-width: 800px;
  margin-bottom: 32px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #6E8E9E;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 36, 53, 0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-modal[aria-hidden="false"] {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  margin-top: 16px;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .timeline-grid::before {
    display: none;
  }
  .lumen-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
  }
  .site-nav.active {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
