:root {
  --ink: #281e19;
  --muted: #5a4c45;
  --orange: #ff8c00;
  --orange-bar: #fc8a00;
  --gold: #c08c4d;
  --green: #28a745;
  --green-dark: #1e7e34;
  --max: 1170px;
  --font: "Poppins", sans-serif;
  --display: "Raleway", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}

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

a {
  color: #000;
}

p {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  text-transform: capitalize;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--orange);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.site-header {
  background: #fff;
  border-bottom: 2px solid var(--gold);
  position: relative;
  z-index: 20;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  display: block;
  margin-right: auto;
  line-height: 0;
  min-width: 0;
}

.brand picture {
  display: block;
  width: 100px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--orange);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 10px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--orange);
  color: #000;
}

.site-nav a[aria-current="page"] {
  box-shadow: 3px 4px 7px 0 #0a0a0a;
}

.billing {
  margin-left: 10px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  padding: 14px 28px;
  box-shadow: 3px 4px 7px 0 #0a0a0a;
  white-space: nowrap;
}

.billing:hover {
  background: var(--green-dark);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 420px;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 60%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 150px 24px 100px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.8vw, 67px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  text-align: left;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.home-intro {
  margin: 100px auto 50px;
  text-align: center;
}

.home-split {
  display: flex;
  align-items: flex-start;
  text-align: left;
}

.home-visual,
.home-copy {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px;
}

.home-visual {
  text-align: center;
}

.rule {
  width: 60%;
  height: 10px;
  margin: 7px auto;
  background: var(--orange-bar);
  border: 0;
}

.section-title {
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 39px;
  font-weight: 800;
}

.home-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 879;
  margin: 0;
}

.lead {
  margin: 0 0 15px;
  line-height: 2;
}

.specialties {
  margin: 0;
  padding-left: 1.25em;
  line-height: 2.5;
  text-align: left;
}

.specialties li {
  color: var(--muted);
}

.notice {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: large;
  font-weight: 700;
  text-align: center;
}

.page {
  padding: 48px 0 72px;
}

.page h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 49px;
  font-weight: 700;
}

.banned-box {
  max-width: 600px;
  margin: 32px auto;
  padding: 24px;
  border: 1px solid #aaa;
  border-radius: 10px;
  background: #fafbfc;
  font-family: Arial, sans-serif;
  color: var(--ink);
}

.banned-box h1 {
  margin: 0 0 18px;
  color: #b30000;
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  text-align: center;
}

.materials {
  margin: 0 0 0 20px;
  padding: 0;
  font-size: 1.1em;
  list-style-type: disc;
}

.materials > li {
  margin: 0 0 8px;
}

.materials ul {
  margin: 6px 0 0 20px;
  padding: 0;
  font-size: 1em;
  list-style-type: circle;
}

.materials .note,
.materials li span {
  color: #555;
}

.materials .note {
  font-size: 0.95em;
}

.paint-note {
  margin-top: 28px;
  padding: 18px;
  border-left: 5px solid #b30000;
  border-radius: 7px;
  background: #fff6e0;
  color: #222;
}

.paint-label {
  margin: 0 0 8px;
  color: #b30000;
  font-size: 1.15em;
  font-weight: 700;
}

.paint-note p {
  margin: 0 0 1em;
  color: #222;
  font-size: 1em;
  line-height: 1.5;
}

.paint-note p:last-child {
  margin-bottom: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px auto 64px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #eee;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 56px auto 36px;
  text-align: center;
}

.feature-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fbfcfc;
  color: var(--orange);
  box-shadow: 0 0 0 1px #eee;
  transition: transform 400ms;
}

.feature:hover .feature-icon {
  transform: rotate(360deg);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.banned {
  text-decoration: underline;
}

.feature h2 {
  margin: 36px 0 10px;
  color: var(--orange);
  font-size: 22px;
  font-weight: 700;
}

.about-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 70px;
}

.about-split img {
  width: 100%;
  height: auto;
}

.mission-title {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 39px;
  font-weight: 800;
}

.contact-title {
  margin: 28px 0 16px;
  color: #333;
  font-size: 49px;
  font-weight: 700;
  text-align: center;
}

.contact p {
  margin-bottom: 8px;
}

.schedule-wrap {
  padding-top: 36px;
  padding-bottom: 70px;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #42414f;
}

.schedule td {
  width: 50%;
  border: 1px solid #42414f;
  background: #fff;
  padding: 16px 18px;
  vertical-align: top;
}

.schedule tr:nth-child(even) td,
.schedule tr:hover td {
  background: #e3e3e3;
}

.schedule h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
}

.schedule p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: #000;
  color: #fff;
  padding: 50px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  color: var(--orange-bar);
  text-decoration: none;
}

.footer-brand img {
  width: 92px;
  height: auto;
  flex: 0 0 auto;
}

.footer-brand span {
  font-family: var(--display);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--orange-bar);
}

.footer-brand:hover span {
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.footer-contact svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.legal {
  background: var(--orange);
  text-align: center;
  padding: 14px 16px;
}

.legal a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-transform: capitalize;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

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

  .site-nav {
    display: none;
    flex: 1 0 100%;
    margin-top: 8px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .hero h1 {
    text-align: center;
  }

  .hero-copy {
    padding: 100px 20px 72px;
  }

  .features,
  .about-split,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand span {
    font-size: 25px;
  }
}

@media (max-width: 768px) {
  .home-split {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .brand,
  .brand picture {
    width: 68px;
    flex: 0 0 auto;
  }

  .billing {
    flex: 0 0 auto;
    margin-left: 8px;
    font-size: 14px;
    padding: 10px 12px;
  }

  .nav-toggle {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    margin-left: 8px;
  }

  .site-nav {
    flex: 1 0 100%;
  }

  .hero {
    min-height: 260px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-copy {
    padding: 72px 16px 56px;
  }

  .home-intro {
    margin-top: 48px;
  }

  .section-title,
  .page h1,
  .mission-title {
    font-size: 28px;
  }

  .contact-title {
    font-size: 30px;
  }

  .features,
  .about-split,
  .gallery,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .schedule,
  .schedule tbody,
  .schedule tr,
  .schedule td {
    display: block;
    width: 100%;
  }

  .schedule h2 {
    font-size: 22px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand span {
    font-size: 22px;
  }

  p,
  .footer-contact a {
    font-size: 14px;
  }
}

.lang-switch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column-reverse;
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 20px;
  color: #555;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 5px 15px rgb(0 0 0 / 15%);
}

.lang-switch summary {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  color: #333;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch summary::marker {
  content: "";
}

.lang-switch img {
  width: 33px;
  height: auto;
  border-radius: 3px;
}

.lang-code {
  position: relative;
  top: 2px;
  text-transform: uppercase;
}

.lang-arrow {
  display: inline-block;
  width: 15px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'%3E%3Cpath d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' fill='%23666'/%3E%3C/svg%3E") center / 11px no-repeat;
  transform: rotate(-180deg);
  transition: transform 0.3s;
}

.lang-switch[open] .lang-arrow {
  transform: rotate(0deg);
}

.lang-switch:not([open]) > a {
  display: none;
}

.lang-switch[open] > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-switch a {
  padding: 10px 15px;
  color: #444;
  font-weight: 400;
  text-decoration: none;
}

.lang-switch a:hover {
  background: #6070a0;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .lang-arrow {
    transition: none;
  }
}
