/* Dental Practice Template | Elliott's AI | Preset: dental-v1 */

/* -- Google Fonts ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Karla:wght@400;500;600&display=swap');

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

/* -- Design Tokens ----------------------------------------------- */
:root {
  /* Colors */
  --bg:           #FFFFFF;
  --bg-alt:       #F4F9FC;
  --dark:         #1A2D3D;
  --text:         #1A2D3D;
  --text-muted:   #6B7F8E;
  --accent:       #4A9BD9;
  --accent-hover: #3A86C4;
  --mint:         #3DB89A;
  --mint-hover:   #32A387;
  --border:       #E2EAF0;
  --white:        #FFFFFF;
  --sky-light:    #E8F4FD;
  --mint-light:   #E6F7F2;

  /* Typography */
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Karla', system-ui, sans-serif;

  /* Spacing */
  --space-xs:     8px;
  --space-sm:     16px;
  --space-md:     24px;
  --space-lg:     48px;
  --space-xl:     80px;
  --space-2xl:    120px;

  /* Dark section text */
  --dark-text: #F0F0F5;
  --dark-text-muted: rgba(240, 240, 245, 0.6);
  --dark-border: rgba(255, 255, 255, 0.08);

  /* Layout */
  --max-width:    1200px;
  --max-w:        1160px;
  --content-w:    720px;
  --page-pad:     clamp(20px, 5vw, 80px);

  /* Radius */
  --radius:       8px;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --radius-btn:   6px;

  /* Easing */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* -- Base -------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* -- Element Resets ---------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
}

input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* -- Scroll Reveal ----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
