/* Pure Typographic Editorial Tokens */
:root {
  --bg-cream: #FBFBFA;
  --bg-ivory: #F4F1EA;
  --bg-anthracite: #0D0F11;
  --text-charcoal: #111111;
  --text-white: #FFFFFF;
  --accent-gold: #C5A880;
  --accent-gold-dark: #A98E65;
  --line-dark: rgba(17, 17, 17, 0.08);
  --line-light: rgba(255, 255, 255, 0.06);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  font-family: var(--font-primary);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.section-pad {
  padding: 10rem 6rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(251, 251, 250, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
  transition: all 0.4s ease;
}

header.scrolled {
  background: rgba(251, 251, 250, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem;
  transition: padding 0.4s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text-charcoal);
}

.logo-container .logo-img {
  max-width: 150px;
}

nav ul {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-charcoal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
  opacity: 0.6;
  transition: opacity 0.3s;
}

nav a:hover,
nav a.active {
  opacity: 1;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--text-charcoal);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  gap: 0.4rem;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-charcoal);
  cursor: pointer;
  opacity: 0.4;
  position: relative;
  transition: opacity 0.3s;
}

.lang-btn:hover {
  opacity: 0.8;
}

.lang-btn.active {
  opacity: 1;
}

.lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background-color: var(--accent-gold);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  line-height: 1.7;
}

.text-light .section-title {
  color: var(--text-white);
}

.text-light .section-subtitle {
  color: #888;
}

.btn-group {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  background: none;
  border: none;
  color: var(--text-charcoal);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-charcoal);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  color: var(--accent-gold-dark);
}

.btn:hover::after {
  transform: scaleX(1);
  background-color: var(--accent-gold-dark);
}

.btn-light {
  color: var(--text-white);
}

.btn-light::after {
  background-color: var(--text-white);
}

.btn-light:hover {
  color: var(--accent-gold);
}

.btn-light:hover::after {
  background-color: var(--accent-gold);
}

.fade-anim {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#home {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-container {
  max-width: 1100px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-container h1 {
  font-size: clamp(3rem, 7.8vw, 5.8rem);
  margin-bottom: 2rem;
  letter-spacing: -0.05em;
}

.hero-container .section-subtitle {
  margin: 0 auto 3rem;
}

.hero-container .btn-group {
  justify-content: center;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background-color: var(--line-dark);
  margin: 4rem auto 0;
}

#about-products-split {
  background-color: var(--bg-anthracite);
  color: var(--text-white);
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 1025px) {
  .split-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.split-sidebar {
  padding: 8rem 4rem;
  border-bottom: 1px solid var(--line-light);
  position: relative;
  background: linear-gradient(rgba(13, 15, 17, 0.85), rgba(13, 15, 17, 0.85)),
    url('https://images.unsplash.com/photo-1613900050733-09d5dc8b36de?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.split-sidebar-header,
.split-sidebar-footer {
  position: relative;
  z-index: 2;
}

@media (min-width: 1025px) {
  .split-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--line-light);
    border-bottom: none;
  }
}

.split-sidebar-header h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--text-white);
  margin-top: 2rem;
}

.split-sidebar-footer {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  display: flex;
  justify-content: space-between;
}

.split-content {
  padding: 8rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.scroll-manifesto p {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.02em;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  font-size: 1.1rem;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.product-image-container {
  margin: 2.5rem 0;
  height: 380px;
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image-container:hover img {
  transform: scale(1.04);
}

#why-us {
  background-color: var(--bg-cream);
  border-top: 1px solid var(--line-dark);
  padding: 8rem 0;
}

.why-header {
  padding: 0 6rem 4rem;
  max-width: 800px;
}

.editorial-magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .editorial-magazine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .editorial-magazine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.editorial-cell {
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}

.editorial-cell-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 2rem;
}

.editorial-cell-num {
  font-size: clamp(3rem, 6.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.editorial-cell-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.editorial-cell.image-cell {
  padding: 0;
  overflow: hidden;
}

.editorial-cell.image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-cell.image-cell:hover img {
  transform: scale(1.04);
}

.service-image-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
  height: 280px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-image-container:hover img {
  transform: scale(1.03);
}

.steps-section-title {
  padding: 6rem 6rem 3rem;
}

.steps-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

@media (min-width: 1025px) {
  .steps-editorial-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step-cell {
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 3rem 2rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-cell-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-gold-dark);
  margin-bottom: 1.5rem;
}

.step-cell-title {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.step-cell-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

#closing-block {
  background-color: var(--bg-ivory);
  border-top: 1px solid var(--line-dark);
}

.closing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
}

@media (min-width: 1025px) {
  .closing-layout {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.closing-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.closing-form-col {
  padding: 1rem 0;
}

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

.form-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #777;
}

.form-input {
  background: none;
  border: none;
  border-bottom: 1.5px solid rgba(17, 17, 17, 0.15);
  padding: 0.8rem 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  color: var(--text-charcoal);
  transition: border-color 0.4s ease;
  width: 100%;
  border-radius: 0;
}

.form-input:focus {
  outline: none;
  border-color: var(--text-charcoal);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23111111'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
  padding-right: 2rem;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

.form-submit-btn {
  width: 100%;
  font-size: 0.95rem;
  padding: 1.5rem 0;
  border: none;
  background-color: var(--text-charcoal);
  color: var(--bg-cream);
  font-weight: 900;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0;
  text-transform: uppercase;
}

.form-submit-btn:hover {
  background-color: var(--accent-gold-dark);
  color: var(--bg-cream);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-input.error {
  border-color: #d93838;
}

.error-msg {
  color: #d93838;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 15, 17, 0.7);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.success-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.success-card {
  background: var(--bg-cream);
  padding: 5rem 4rem;
  text-align: center;
  max-width: 550px;
  width: 90%;
  border-top: 4px solid var(--accent-gold);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-modal.active .success-card {
  transform: translateY(0);
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 2rem;
  stroke: var(--text-charcoal);
  stroke-width: 2;
  fill: none;
}

footer {
  background-color: var(--bg-anthracite);
  color: var(--text-white);
  padding: 8rem 6rem 4rem;
  border-top: 1px solid var(--line-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto 6rem;
}

.footer-brand h4 {
  color: var(--text-white);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.5;
  max-width: 340px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.footer-links h5,
.footer-contact h5 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 1.8rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.5;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--line-light);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.4;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--text-charcoal);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(251, 251, 250, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav ul {
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.mobile-menu nav ul li {
  border-bottom: 1px solid var(--line-dark);
  width: 260px;
  text-align: center;
}

.mobile-menu nav ul li:first-child {
  border-top: 1px solid var(--line-dark);
}

.mobile-menu nav a {
  font-size: 0.85rem;
  padding: 1.4rem 0;
  display: block;
  opacity: 0.55;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.mobile-menu.open nav a {
  opacity: 0.55;
  transform: translateY(0);
}

.mobile-menu.open nav li:nth-child(1) a {
  transition-delay: 0.06s;
}

.mobile-menu.open nav li:nth-child(2) a {
  transition-delay: 0.1s;
}

.mobile-menu.open nav li:nth-child(3) a {
  transition-delay: 0.14s;
}

.mobile-menu.open nav li:nth-child(4) a {
  transition-delay: 0.18s;
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  opacity: 1;
  color: var(--text-charcoal);
}

.mobile-menu nav a::after {
  display: none;
}

.mobile-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.mobile-menu.open .mobile-close-btn {
  opacity: 1;
}

.mobile-close-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--text-charcoal);
  transform-origin: center;
}

.mobile-close-btn span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.mobile-close-btn span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-lang-switcher {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease 0.22s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}

.mobile-menu.open .mobile-lang-switcher {
  opacity: 1;
  transform: translateY(0);
}

.mobile-lang-switcher .lang-btn {
  font-size: 0.8rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(17, 17, 17, 0.12);
  opacity: 0.5;
}

.mobile-lang-switcher .lang-btn.active {
  opacity: 1;
  border-color: var(--text-charcoal);
}

.mobile-lang-switcher .lang-btn.active::after {
  display: none;
}

.footer-brand .logo-text {
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .section-pad {
    padding: 6rem 3rem;
  }

  .split-sidebar {
    padding: 6rem 3rem;
  }

  .split-content {
    padding: 6rem 3rem;
    gap: 6rem;
  }

  .why-header {
    padding: 0 3rem 4rem;
  }

  .editorial-cell {
    padding: 4rem 3rem;
    min-height: 280px;
  }

  .steps-section-title {
    padding: 6rem 3rem 3rem;
  }

  .step-cell {
    padding: 3rem 2rem;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 5rem 1.5rem;
  }

  .split-sidebar {
    padding: 5rem 1.5rem;
  }

  .split-content {
    padding: 5rem 1.5rem;
    gap: 5rem;
  }

  .why-header {
    padding: 0 1.5rem 3rem;
  }

  .editorial-cell {
    padding: 3rem 1.5rem;
    min-height: 220px;
  }

  .steps-section-title {
    padding: 5rem 1.5rem 2rem;
  }

  .step-cell {
    padding: 2.5rem 1.5rem;
    min-height: auto;
  }

  header>.header-container>nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  header>.header-container>.lang-switcher {
    display: none;
  }

  .hero-container h1 {
    font-size: 2.8rem;
  }

  .split-sidebar-header h2 {
    font-size: 2.4rem;
  }

  .scroll-manifesto p {
    font-size: 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-full {
    grid-column: span 1;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .btn-group {
    flex-direction: column;
    gap: 1.5rem;
  }

  footer {
    padding: 6rem 1.5rem 3rem;
  }
}