:root {
  --color-bg: #faf9f7;
  --color-bg-alt: #f3f1ed;
  --color-text: #1a1a1a;
  --color-text-muted: #555;
  --color-text-light: #777;
  --color-accent: #1a1a1a;
  --color-accent-hover: #333;
  --color-border: #e0ddd6;
  --color-card: #fff;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --max-width: 1280px;
  --section-gap: 6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  color: var(--color-text);
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.site-footer .logo img {
  height: 40px;
  width: auto;
}

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

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.main-nav a:hover {
  opacity: 0.6;
}

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  opacity: 1 !important;
}

.lang-switch {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  line-height: 1;
  transition: all 0.2s;
}

.lang-switch:hover {
  background: var(--color-accent);
  color: #fff !important;
  border-color: var(--color-accent);
  opacity: 1 !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

.mobile-menu {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
}

.mobile-menu .mobile-lang {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s;
  border: 2px solid transparent;
}

.btn-primary {
  background: #fff;
  color: var(--color-text);
}

.btn-primary:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Features */
.features {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
}

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

.feature h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--color-text-muted);
}

/* Styles slider */
.styles {
  padding: var(--section-gap) 0;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.styles .container {
  position: relative;
}

.slider-wrapper {
  position: relative;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1.5rem;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track .style-card {
  flex: 0 0 auto;
  width: clamp(260px, 28vw, 320px);
  scroll-snap-align: start;
}

.slider-track .style-custom {
  min-height: auto;
  aspect-ratio: 4/5;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}

.slider-btn:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.slider-btn.prev {
  left: -24px;
}

.slider-btn.next {
  right: -24px;
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dot.active {
  background: var(--color-accent);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.style-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.style-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.style-card:hover .style-image img {
  transform: scale(1.03);
}

.style-card h3,
.style-custom h3 {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1.25rem 1.25rem 0.5rem;
}

.style-card ul {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.style-card ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
}

.style-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-text-light);
}

.style-custom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  min-height: 100%;
}

.style-custom h3 {
  padding: 0 0 0.5rem;
}

.style-custom p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 1280px) {
  .slider-btn.prev {
    left: 0;
  }
  .slider-btn.next {
    right: 0;
  }
}

@media (max-width: 768px) {
  .slider-btn {
    display: none;
  }

  .slider-track .style-card {
    width: 78vw;
  }
}

/* CTA Banner */
.cta-banner {
  padding: var(--section-gap) 0;
  background: var(--color-bg);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.cta-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.cta-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Ethos */
.ethos {
  padding: var(--section-gap) 0;
  background: var(--color-bg-alt);
}

.ethos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ethos-image {
  border-radius: var(--radius);
  overflow: hidden;
  order: 1;
}

.ethos-text {
  order: 2;
}

.ethos-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.ethos-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

/* Inner page */
.page-header {
  padding: 5rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-content {
  padding-bottom: var(--section-gap);
}

.page-content .container {
  max-width: 760px;
}

.catalog-slider {
  padding-top: 1rem;
}

.catalog-slider .container {
  max-width: var(--max-width);
}

.page-content p,
.page-content ul,
.page-content address {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.page-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover {
  opacity: 0.7;
}

.contact-box {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.contact-box p {
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
}

.contact-box a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Careers */
.careers-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.careers-card h2 {
  margin-top: 0 !important;
}

/* Footer */
.site-footer {
  background: var(--color-accent);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 1.5rem;
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand address {
  font-style: normal;
  line-height: 1.7;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}

.footer-links h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: rgba(255,255,255,0.85);
}

/* Responsive */
@media (max-width: 1024px) {
  .cta-inner,
  .ethos-inner {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slider-track .style-card {
    width: 78vw;
  }

  .cta-inner,
  .ethos-inner {
    grid-template-columns: 1fr;
  }

  .ethos-image {
    order: 0;
  }

  .ethos-text {
    order: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
