* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333333;
  background: #ffffff;
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #fed136;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .65rem 1rem;
  color: #333333;
  background: #fed136;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  background: #333333;
  color: #eae9e9;
  font-size: 14px;
}

.topbar-inner,
.header-inner,
.content-width,
.footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: flex-start;
  gap: 1.35rem;
  align-items: center;
  min-height: 42px;
  flex-wrap: wrap;
}

.topbar a {
  color: #eae9e9;
  text-decoration: none;
}

.topbar a:hover {
  color: #fed136;
}

.topbar-icon {
  display: inline-block;
  margin-right: .42rem;
  color: #fed136;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.header-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 134px;
  height: 85px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.main-nav a {
  position: relative;
  padding: 1.1rem .82rem;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: .82rem;
  bottom: .62rem;
  left: .82rem;
  height: 3px;
  background: #fed136;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  padding: .55rem .7rem;
  border: 1px solid #cccccc;
  color: #333333;
  background: #ffffff;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: #ffffff;
  background: #333333;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: hero-fade 14s infinite;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(25, 25, 25, .77), rgba(25, 25, 25, .28) 68%, rgba(25, 25, 25, .18));
  content: "";
}

.hero-slide:first-child {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 7s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 2rem 0;
}

.hero h1 {
  max-width: 700px;
  margin: 0 0 .65rem;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
}

.hero p {
  max-width: 670px;
  margin: 0 0 2rem;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.35;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .55rem 1.25rem;
  border: 2px solid #fed136;
  border-radius: 2px;
  color: #333333;
  background: #fed136;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.button:hover {
  color: #fed136;
  background: transparent;
}

.button.dark {
  color: #ffffff;
  border-color: #333333;
  background: #333333;
}

.button.dark:hover {
  color: #333333;
  background: transparent;
}

.section {
  padding: 88px 0;
}

.section.light {
  background: #f7f7f7;
}

.section-title {
  margin: 0 0 1.2rem;
  color: #333333;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-title span,
.accent {
  color: #fed136;
}

.rule {
  width: 100%;
  height: 1px;
  margin: 0 0 2rem;
  background: #eae9e9;
}

.intro {
  max-width: 890px;
  margin: 0 auto;
}

.intro p {
  margin: 0 0 1.1rem;
}

.section-heading {
  max-width: 890px;
  margin: 0 auto 2.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  min-height: 260px;
  padding: 2rem;
  border-top: 4px solid #fed136;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(51, 51, 51, .08);
}

.service-number {
  display: block;
  margin-bottom: .6rem;
  color: #fed136;
  font-size: 1.5rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 0 0 .75rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  font-size: 1rem;
}

.about {
  position: relative;
  color: #333333;
  background: #eae9e9 url("images/section-background.png") center / cover no-repeat;
  isolation: isolate;
}

.about::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(234, 233, 233, .82);
  content: "";
}

.about .content-width {
  max-width: 890px;
}

.about p {
  font-size: 1.2rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.partner-card {
  display: flex;
  min-height: 230px;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border: 1px solid #eae9e9;
  background: #ffffff;
}

.partner-card img {
  width: min(170px, 100%);
  max-height: 195px;
  object-fit: contain;
}

.partner-card:first-child img {
  width: min(220px, 100%);
}

.partner-card a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.faq-list {
  max-width: 890px;
  margin: 0 auto;
  border-top: 1px solid #cccccc;
}

.faq-list details {
  border-bottom: 1px solid #cccccc;
}

.faq-list summary {
  padding: 1.15rem 2.3rem 1.15rem 0;
  color: #333333;
  font-size: 1.16rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 1.15rem;
  right: .25rem;
  color: #fed136;
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 2rem 1.1rem 0;
}

.faq-answer p {
  margin: 0;
}

.contact-band {
  color: #333333;
  background: #fed136;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 4rem;
  align-items: center;
}

.contact-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-band p {
  margin: 0;
  font-size: 1.15rem;
}

.contact-details {
  display: grid;
  gap: .7rem;
}

.contact-details a {
  font-size: 1.06rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-label {
  display: block;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-footer {
  padding: 48px 0 28px;
  color: #cccccc;
  background: #333333;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.25;
}

.site-footer p {
  margin: 0 0 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  margin-top: 1.5rem;
}

.footer-links a {
  color: #ffffff;
  font-size: .95rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fed136;
}

.footer-badge {
  display: block;
  width: 150px;
  margin-top: 1.25rem;
}

.copyright {
  margin-top: 2.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: #cccccc;
  font-size: .88rem;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 50;
  display: flex;
  max-width: 920px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid #555555;
  color: #ffffff;
  background: #333333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.cookie-banner p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: .6rem;
}

.cookie-actions button {
  min-height: 40px;
  padding: .45rem .95rem;
  border: 1px solid #fed136;
  border-radius: 2px;
  color: #333333;
  background: #fed136;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions button.secondary {
  color: #ffffff;
  background: transparent;
}

.legal-main {
  min-height: calc(100vh - 250px);
  padding: 86px 0;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
}

.legal-copy h2 {
  margin: 2rem 0 .45rem;
  font-size: 1.45rem;
}

.legal-copy p {
  margin: 0 0 1rem;
}

.not-found {
  text-align: center;
}

@keyframes hero-fade {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

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

  .hero-slide {
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }

  .hero-slide:nth-child(2) {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 86px;
  }

  .main-nav a {
    padding-right: .5rem;
    padding-left: .5rem;
    font-size: 12px;
  }

  .main-nav a::after {
    right: .5rem;
    left: .5rem;
  }

  .hero {
    min-height: 560px;
  }
}

@media (max-width: 700px) {
  .topbar-inner,
  .header-inner,
  .content-width,
  .footer-inner,
  .hero-content {
    width: min(100% - 32px, 560px);
  }

  .topbar-inner {
    gap: .35rem .8rem;
    padding: .45rem 0;
    font-size: 12px;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 106px;
    height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: .7rem 1rem 1rem;
    border-top: 1px solid #eae9e9;
    background: #ffffff;
    box-shadow: 0 10px 15px rgba(51, 51, 51, .08);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: .72rem .2rem;
    font-size: 13px;
  }

  .main-nav a::after {
    right: 0;
    bottom: .36rem;
    left: 0;
  }

  .hero {
    min-height: 510px;
  }

  .hero-content {
    padding-top: 1rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .section {
    padding: 62px 0;
  }

  .service-grid,
  .partner-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .partner-card {
    min-height: 180px;
  }

  .about p {
    font-size: 1.05rem;
  }

  .contact-grid {
    gap: 2rem;
  }

  .cookie-banner {
    display: block;
    right: .65rem;
    bottom: .65rem;
    left: .65rem;
    padding: .9rem;
  }

  .cookie-actions {
    margin-top: .75rem;
  }

  .cookie-actions button {
    flex: 1;
  }
}
