:root {
  --brand-color: #cf4427;
  --text-color: #111111;
  --muted-color: #5f6368;
  --surface-color: #ffffff;
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --radius-md: 1rem;
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);
}

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

html {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-color);
  background: var(--surface-color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
.site-main,
.site-footer {
  width: 100%;
}

#slider-container {
  position: relative;
  width: 100%;
  height: 200px;
  margin: 0;
  overflow: hidden;
}

.slider {
  position: absolute;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  will-change: margin-left;
}

.slider-instant {
  transition: none;
}

.slider-animate {
  margin-left: 0;
}

.slider-extra {
  display: flex;
  flex-flow: row nowrap;
  flex: 0 0 auto;
}

.slider-last {
  min-width: auto;
  max-width: none;
  overflow: visible;
}


.slider span {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}

.slider .slider-extra {
  margin-right: 0;
}

.slideshow-img {
  width: auto;
  height: 200px;
  max-width: 400px;
  max-height: 400px;
  object-fit: contain;
}

.hero {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.5rem) 1rem 2rem;
  text-align: center;
}

.brand-title {
  margin: 0.5rem 0 0;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  color: var(--brand-color);
  letter-spacing: -0.03em;
  font-weight: 900;
}

.hero-figure {
  margin: 0.75rem auto 0;
  width: min(100%, 1200px);
}

.img-main {
  width: 100%;
  height: auto;
  max-width: min(92vw, 760px);
  margin: 0 auto;
}

.contact-block {
  margin: 1.75rem auto 0;
}

.contact-line {
  margin: 0.6rem 0 0;
  font-size: clamp(1.1rem, 2.75vw, 1.875rem);
  line-height: 1.35;
  font-style: normal;
  font-weight: 400;
}

.contact-line a {
  color: inherit;
  text-decoration: none;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.seo-content {
  width: min(100% - 2rem, 960px);
  margin: 1.5rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.seo-content h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.seo-content p {
  margin: 0;
  font-size: clamp(0.98rem, 1.65vw, 1.0625rem);
  line-height: 1.6;
  color: var(--muted-color);
}

.site-footer {
  margin-top: 1.5rem;
  padding: 0 1rem 1.5rem;
}

.footer-copy {
  margin: 0;
  text-align: center;
  color: var(--muted-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #slider-container {
    height: 150px;
  }

  .slider span {
    margin-right: 1rem;
  }

  .slideshow-img {
    height: 150px;
    max-width: 300px;
  }

  .hero {
    padding: 0.75rem 0.75rem 1.5rem;
  }

  .brand-title {
    margin-top: 0.25rem;
  }

  .contact-block {
    margin-top: 1.1rem;
  }

  .seo-content {
    width: min(100% - 1rem, 960px);
    padding: 0.95rem 1rem;
  }
}

@media (max-width: 409px) {
  .contact-line {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slider {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    margin-left: 0 !important;
    padding: 0.75rem 0;
  }

  .slider span {
    margin-right: 0;
  }
}