/* =============================================
   Hammaskitti – stylesheet
   ============================================= */

@font-face {
  font-family: 'Archia';
  src: url('fonts/archia-regular-webfont.woff2') format('woff2'),
       url('fonts/archia-regular-webfont.woff') format('woff'),
       url('fonts/archia-regular-webfont.ttf') format('truetype'),
       url('fonts/archia-regular-webfont.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --green-dark: #1e2e16;
  --green-sage: #8ca57e;
  --white: #ffffff;
  --font-display: 'Poppins', Arial, sans-serif;
  --font-body: 'Poppins', Arial, sans-serif;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: bold;
  background: #8ca57e;
}

/* ── TOP SECTION ─────────────────────────────── */

.top-section {
  background-color: var(--green-dark);
}

/* ── HEADER ─────────────────────────────────── */

.site-header {
  background-color: var(--green-dark);
  padding: 2.5rem 1.5rem 2.8rem;
  text-align: center;
  color: var(--white);
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 144px;
  height: auto;
}

.logo-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.86rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

/* Contact info */
.contact-info {
  font-style: normal;
  line-height: 1.65;
}

.contact-info p {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--white);
}

.clinic-name {
  font-size: 1.28rem !important;
}

.contact-info a {
  color: var(--white);
  text-decoration: none;
}

.contact-info a:hover,
.contact-info a:focus {
  text-decoration: underline;
}

/* ── HERO ────────────────────────────────────── */

.hero {
  position: relative;
  width: calc(100% - 80px);
  max-width: 1280px;
  margin: 0 auto;
  background-color: #b8cdd6;
  background-image: url('images/hero.webp');
  background-size: cover;
  background-position: center center;
  aspect-ratio: 4 / 2.6;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5.63rem;
  line-height: 1.24;
  letter-spacing: 0.124em;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
}

/* ── BOTTOM SECTION ──────────────────────────── */

.bottom-section {
  background-color: #8ca57e;
  width: 100%;
  height: 400px;
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 1200px) {
  .hero-title {
    font-size: clamp(1.96rem, 6.44vw, 5.63rem);
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 2rem 1rem 2.2rem;
  }

  .logo-img {
    width: 120px;
  }

  .contact-info p,
  .clinic-name {
    font-size: 1.04rem !important;
  }

  .hero {
    width: calc(100% - 40px);
    aspect-ratio: unset;
    min-height: 240px;
    height: 55vw;
  }

  .hero-title {
    font-size: clamp(1.6rem, 8.5vw, 2.8rem);
  }

  .bottom-section {
    aspect-ratio: unset;
    min-height: 90px;
    height: 28vw;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: clamp(1.3rem, 9vw, 2rem);
  }
}

