/* Lockwood Dental Group — Design DNA
   Mood: Clinical-clean, calm, modern dental clinic — airy and trustworthy,
   not a corporate insurance-broker blue or a warm/earthy trade-shop feel.
   Color: soft clinical white canvas, periwinkle-blue brand + mint accent
   (Committed cool-lane palette — distinct hue from every warm/earthy build
   in this pool, and distinct from the other cool builds in this batch)
   Type: Outfit (display, rounded geometric) + Nunito Sans (body, soft humanist)
   Layout: airy whitespace-heavy hero, rounded card grid for services,
   soft-curve section dividers (no hard grid lines, no split-screen)
   Motion: calm, slow fades — quint easing
   Signature element: a single hand-drawn "smile-curve" line (a continuous
   arc) drawing across the hero, echoed as a recurring soft-curve divider
   between sections
*/

:root {
  --canvas: oklch(98% 0.006 260);
  --canvas-alt: oklch(95% 0.012 270);
  --panel: oklch(99% 0.003 260);
  --ink: oklch(24% 0.02 265);
  --ink-soft: oklch(46% 0.016 265);
  --periwinkle: oklch(52% 0.09 275);
  --periwinkle-dark: oklch(42% 0.09 275);
  --periwinkle-light: oklch(91% 0.02 275);
  --mint: oklch(80% 0.06 175);
  --mint-dark: oklch(62% 0.08 175);
  --line: oklch(90% 0.012 265);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3, .display {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ---- Nav ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-brand { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 700; }
.nav-brand span { color: var(--periwinkle); }
.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { color: var(--ink-soft); transition: color 0.25s ease; }
.nav-links a:hover { color: var(--periwinkle); }
.nav-cta {
  background: var(--periwinkle);
  color: white !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* ---- Hero ---- */
.hero {
  max-width: 780px;
  margin: 40px auto 0;
  padding: 30px 32px 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero .sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 30px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.18s forwards;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.34s forwards; }

.btn-primary {
  background: var(--periwinkle);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  transition: background 0.25s ease;
}
.btn-primary:hover { background: var(--periwinkle-dark); }
.btn-secondary {
  border: 1.5px solid var(--line);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s ease;
}
.btn-secondary:hover { border-color: var(--periwinkle); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Signature element: smile-curve line */
.smile-band {
  max-width: 620px;
  margin: 40px auto 0;
  padding: 0 32px;
}
.smile-svg { width: 100%; height: auto; display: block; }
.smile-line {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: drawSmile 1.6s ease-out 0.4s forwards;
}
@keyframes drawSmile { to { stroke-dashoffset: 0; } }

.curve-divider { width: 100%; height: 48px; display: block; }

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-alt { background: var(--canvas-alt); }
.section-head { text-align: center; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 13px;
  color: var(--periwinkle);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(27px, 3.4vw, 38px); margin-bottom: 16px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; max-width: 560px; margin: 0 auto; }

/* ---- Services: rounded card grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px oklch(52% 0.09 275 / 0.1); }
.service-card .icon-ring { width: 40px; height: 40px; border-radius: 999px; border: 2.5px solid var(--mint-dark); margin-bottom: 16px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; color: var(--ink-soft); }

.spec-list { margin-top: 20px; }
.spec-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.4fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.spec-row .num { font-family: 'Outfit', sans-serif; color: var(--periwinkle); font-weight: 700; }
.spec-row h3 { font-size: 19px; margin-bottom: 6px; }
.spec-row p { color: var(--ink-soft); font-size: 15px; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--periwinkle);
  color: white;
  text-align: center;
  padding: 68px 32px;
  border-radius: 28px;
}
.cta-band h2 { color: white; font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.cta-band p { color: var(--periwinkle-light); margin-bottom: 26px; }
.cta-band .btn-primary { background: white; color: var(--periwinkle-dark); }
.cta-band .btn-primary:hover { background: var(--periwinkle-light); }

/* ---- Footer ---- */
footer {
  padding: 38px 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---- Inner pages ---- */
.page-header { padding: 56px 32px 36px; max-width: 780px; margin: 0 auto; text-align: center; }
.page-header h1 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 14px; }
.page-header p { font-size: 17px; color: var(--ink-soft); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  max-width: 1100px;
  margin: 0 auto 76px;
  padding: 0 32px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  background: var(--panel);
}
.contact-card a.phone { font-family: 'Outfit', sans-serif; font-size: 25px; color: var(--periwinkle); display: block; margin: 8px 0 22px; }
.contact-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-row:last-child { border-bottom: none; }

form.light-form { display: flex; flex-direction: column; gap: 15px; }
form.light-form label { font-size: 14px; font-weight: 600; color: var(--ink); }
form.light-form input, form.light-form select, form.light-form textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--canvas);
}
form.light-form textarea { resize: vertical; min-height: 88px; }
form.light-form button {
  background: var(--periwinkle);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.25s ease;
}
form.light-form button:hover { background: var(--periwinkle-dark); }

@media (max-width: 780px) {
  .services-grid, .contact-layout { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 8px; }
  .nav-links { display: none; }
}
