* {
  box-sizing: border-box;
}

:root {
  --primary: #24529c;
  --primary-soft: #eef5ff;
  --accent: #6ba8ff;
  --text: #1f2937;
  --muted: #667085;
  --line: #d9e5f4;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(36, 82, 156, 0.10);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 84px 0 60px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(36, 82, 156, 0.11), transparent 34%),
    radial-gradient(circle at top right, rgba(107, 168, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow);
}

h1 {
  margin: 18px 0 8px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  color: var(--primary);
}

h2,
h3,
p {
  margin-top: 0;
}

.subtitle {
  margin-bottom: 0;
  font-size: clamp(1.08rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slogan {
  max-width: 720px;
  margin: 14px auto 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(36, 82, 156, 0.22);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section {
  padding: 34px 0;
}

.panel,
.service-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 30px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  margin-bottom: 24px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 130px;
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.service-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-bottom: 14px;
}

.two-columns {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 20px;
  align-items: center;
}

.highlight,
.signature {
  font-weight: 700;
  color: var(--primary);
}

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.contact-number,
.site-footer a {
  color: var(--text);
}

.contact-number a,
.site-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.closing-panel {
  text-align: center;
}

.site-footer {
  padding: 28px 0 44px;
  text-align: center;
  color: var(--muted);
}

.bg-circle {
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bg-circle-1 {
  top: 70px;
  left: -90px;
  background: radial-gradient(circle, rgba(36, 82, 156, 0.10), rgba(36, 82, 156, 0));
}

.bg-circle-2 {
  right: -90px;
  bottom: 110px;
  background: radial-gradient(circle, rgba(107, 168, 255, 0.14), rgba(107, 168, 255, 0));
}

.tooth-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.tooth {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 54px;
  background: #ffffff;
  border: 3px solid var(--primary);
  border-radius: 46% 46% 32% 32% / 38% 38% 58% 58%;
  box-shadow: 0 10px 20px rgba(36, 82, 156, 0.12);
}

.tooth::before,
.tooth::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 14px;
  height: 18px;
  background: #ffffff;
  border: 3px solid var(--primary);
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.tooth::before {
  left: 6px;
  transform: rotate(7deg);
}

.tooth::after {
  right: 6px;
  transform: rotate(-7deg);
}

.tooth-large {
  width: 88px;
  height: 100px;
}

.tooth-large::before,
.tooth-large::after {
  width: 24px;
  height: 28px;
  bottom: -16px;
}

.tooth-large::before {
  left: 12px;
}

.tooth-large::after {
  right: 12px;
}

.tooth-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: var(--primary-soft);
  border-radius: 20px;
  padding: 18px;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-columns,
  .contact-panel,
  .details-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 64px 0 52px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .service-card {
    padding: 22px 18px;
  }

  .container {
    width: min(1120px, calc(100% - 24px));
  }
}
