:root {
  --cream: #f8f2e4;
  --cream-dark: #efe2c3;
  --sand: #d6b872;
  --wood: #8c6b3b;
  --ink: #2f2418;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cream) 0%, #fcf7ed 100%);
  line-height: 1.7;
  -webkit-touch-callout: none;
}

body.welcome-open {
  overflow: hidden;
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(47, 36, 24, 0.72);
  backdrop-filter: blur(8px);
}

.welcome-screen.active {
  display: flex;
}

.welcome-card {
  width: min(560px, 100%);
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(248, 242, 228, 0.97) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: welcomeFadeIn 0.65s ease;
}

.welcome-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.welcome-lang-switcher {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.welcome-lang-switcher .lang-btn {
  min-width: 56px;
  padding: 0.45rem 0.75rem;
}

.welcome-subtext {
  margin-top: 0.5rem;
  color: var(--wood);
  font-weight: 600;
}

.welcome-btn {
  margin-top: 1.2rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  background: var(--sand);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.welcome-btn:hover {
  background: var(--wood);
  color: var(--white);
  transform: translateY(-2px);
}

@keyframes welcomeFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

img {
  max-width: 100%;
  -webkit-user-drag: none;
}

a {
  -webkit-user-select: none;
  user-select: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 242, 228, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(140, 107, 59, 0.15);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  position: relative;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--wood);
  text-transform: uppercase;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img {
  width: 12rem;
  height: auto;
  min-width: 12rem;
  transition: width 0.3s ease;
}

@media (max-width: 1024px) {
  .logo-img {
    width: 9rem;
    min-width: 9rem;
  }
}

@media (max-width: 768px) {
  .logo-img {
    width: 7.2rem;
    min-width: 7.2rem;
  }
}

@media (max-width: 640px) {
  .logo-img {
    width: 6.2rem;
    min-width: 6.2rem;
  }
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  transition: background 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  background: rgba(140, 107, 59, 0.1);
}

@media (max-width: 768px) {
  .nav-links {
    gap: 0.6rem;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }
}

.language-switcher {
  display: flex;
  gap: 0.4rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(140, 107, 59, 0.2);
}

.lang-btn {
  padding: 0.4rem 0.7rem;
  background: transparent;
  border: 1px solid rgba(140, 107, 59, 0.3);
  border-radius: 0.4rem;
  color: var(--wood);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.lang-btn:hover {
  border-color: var(--wood);
  background: rgba(140, 107, 59, 0.05);
}

.lang-btn.active {
  background: var(--wood);
  color: var(--white);
  border-color: var(--wood);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    position: absolute;
    left: 0;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(140, 107, 59, 0.18);
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.95);
    box-shadow: 0 8px 18px rgba(140, 107, 59, 0.12);
  }

  .nav-bar {
    flex-wrap: nowrap;
    justify-content: center;
    min-height: 3.8rem;
    padding: 0.7rem 0;
  }

  .logo-link {
    margin: 0 auto;
    z-index: 1;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(248, 242, 228, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(140, 107, 59, 0.15);
    order: unset;
    width: 100%;
    margin-top: 0;
  }

  .nav-links.active {
    max-height: 500px;
    padding-bottom: 0.35rem;
    box-shadow: 0 12px 30px rgba(140, 107, 59, 0.14);
    border-radius: 0 0 1rem 1rem;
  }

  .nav-links a {
    border-bottom: 1px solid rgba(140, 107, 59, 0.1);
    padding: 0.8rem 1rem;
    text-align: left;
    justify-content: flex-start;
    min-height: 50px;
    font-size: 1rem;
    font-weight: 600;
  }

  .nav-links a:last-of-type {
    border-bottom: none;
  }

  .language-switcher {
    border-left: none;
    border-top: 1px solid rgba(140, 107, 59, 0.2);
    padding: 0.8rem 1rem;
    margin-left: 0;
    padding-left: 1rem;
    gap: 0.5rem;
    justify-content: flex-start;
  }

  .lang-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
}

.hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 20%;
  width: 200px;
  height: 200px;
  background: url('car_picture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: -100px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: url('shipping_picture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-card-container {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--wood);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3.7rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.3rem);
}

.lead {
  font-size: 1.08rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.button:hover {
  background: var(--wood);
  color: var(--white);
  transform: scale(1.02);
}

.button:active {
  transform: scale(0.98);
}

@media (max-width: 640px) {
  .button {
    width: 100%;
    margin-top: 1.2rem;
  }
}

.hero-card,
.panel,
.card,
.contact-box {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(140, 107, 59, 0.15);
  box-shadow: 0 15px 35px rgba(140, 107, 59, 0.08);
}

.hero-card {
  padding: 1.6rem;
  border-radius: 1.25rem;
}

.hero-card ul,
.panel ul {
  padding-left: 1.1rem;
}

.section {
  padding: 4rem 0;
  position: relative;
}

.alt-bg {
  background: rgba(239, 226, 195, 0.35);
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.panel {
  padding: 1.5rem;
  border-radius: 1.2rem;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 2rem;
}

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

.card {
  padding: 1.25rem;
  border-radius: 1rem;
}

.contact-box {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
}

.contact-details {
  min-width: 240px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(140, 107, 59, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 253, 248, 0.95);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(140, 107, 59, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  padding: 0.8rem;
  margin: 0;
  font-weight: 600;
  color: var(--wood);
  text-align: center;
  font-size: 0.95rem;
}

.certificate-box {
  max-width: 400px;
  margin: 2rem auto;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(140, 107, 59, 0.15);
}

.certificate-img {
  width: 100%;
  height: auto;
  display: block;
}

.section-accent-img {
  position: absolute;
  border-radius: 0.8rem;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.section-accent-img.small {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.section-accent-img.medium {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

@media (max-width: 760px) {
  .hero-content,
  .two-column,
  .card-grid,
  .gallery-grid,
  .contact-box {
    grid-template-columns: 1fr;
    display: block;
  }

  .nav-bar {
    flex-direction: column;
    gap: 0.7rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero-card,
  .panel,
  .card,
  .contact-box {
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(140, 107, 59, 0.1);
  }

  .contact-box {
    display: block;
  }

  .gallery-item img {
    height: 160px;
  }

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

  .section-accent-img {
    display: none !important;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .card {
    padding: 1rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .panel {
    padding: 1.2rem;
  }

  body {
    font-size: 15px;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .lead {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem);
  }

  .nav-bar {
    padding: 0.65rem 0;
    gap: 0.4rem;
  }

  .logo-img {
    width: 6.4rem !important;
    min-width: 6.4rem !important;
  }

  .nav-links a {
    padding: 0.5rem 0.4rem;
    font-size: 0.8rem;
    min-height: 40px;
  }

  .lang-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
    min-height: 36px;
  }

  h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  h2 {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .button {
    padding: 0.7rem 1rem;
    min-height: 40px;
  }

  .hero-text {
    padding: 0;
  }

  .section {
    padding: 2rem 0;
  }

  .hero-card {
    padding: 1.1rem;
  }

  .panel {
    padding: 1.1rem;
  }

  .contact-box {
    padding: 1.15rem;
  }

  .contact-details {
    min-width: auto;
  }

  .gallery-item p {
    padding: 0.6rem;
    font-size: 0.85rem;
  }

  .card-grid {
    gap: 0.8rem;
  }

  .two-column {
    gap: 1rem;
  }
}
