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

:root {
  --white:      #ffffff;
  --off-white:  #f7f6f3;
  --gray-50:    #f0efec;
  --gray-100:   #e2e0db;
  --gray-200:   #c4c2bc;
  --gray-300:   #9c9a94;
  --gray-400:   #706e68;
  --gray-500:   #54524d;
  --gray-600:   #3d3b37;
  --gray-700:   #2a2926;
  --gray-800:   #1a1917;
  --gray-900:   #0f0e0c;
  --black:      #080807;
  --accent:     #c94f13;
  --accent-hover: #b0440f;
  --accent-light: #fdf4ed;
  --accent-dim: rgba(201,79,19,.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', serif;
  --max-w: 1200px;
  --nav-h: 72px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,.06);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-500);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--accent); }

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

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

.btn--outline {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-700);
}

.btn--outline:hover {
  background: var(--gray-700);
  color: var(--white);
}

/* ==============================
   NAVIGATION
   ============================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background .4s ease, box-shadow .4s ease;
}

.nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav__logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .15em;
  color: var(--gray-800);
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color .3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s ease;
}

.nav__links a:hover {
  color: var(--gray-800);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-600);
  transition: all .3s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--off-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,.03) 0%, transparent 100%),
    radial-gradient(ellipse at 30% 50%, rgba(201,79,19,.04) 0%, transparent 70%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(0,0,0,.025) 40px, rgba(0,0,0,.025) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0,0,0,.025) 40px, rgba(0,0,0,.025) 41px);
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(201,79,19,.06) 0%, transparent 60%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 80px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.08;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.hero__desc {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-300);
  opacity: .7;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gray-300), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .3; transform: scaleY(.6); }
}

/* ==============================
   SECTIONS
   ============================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section--dark {
  background: var(--off-white);
}

.section--dark-alt {
  background: var(--gray-50);
}

.section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  color: var(--gray-800);
  margin-bottom: 20px;
}

.section__text {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 640px;
}

.section__header {
  margin-bottom: 60px;
}

/* ==============================
   ABOUT
   ============================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.stat:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat::after {
  content: '+';
  display: block;
  font-size: 20px;
  color: var(--accent);
  margin-top: -4px;
  opacity: .6;
}

.stat__label {
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ==============================
   COLLECTIONS
   ============================== */
.collection__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.collection__card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease;
}

.collection__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.collection__img {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.collection__shoe {
  width: 220px;
  height: 140px;
  position: relative;
  opacity: .85;
  transition: opacity .4s ease, transform .4s ease;
}

.collection__card:hover .collection__shoe {
  opacity: 1;
  transform: scale(1.05);
}

.shoe-1 {
  background: var(--accent);
  clip-path: polygon(5% 60%, 10% 30%, 25% 10%, 55% 5%, 80% 15%, 95% 30%, 98% 55%, 90% 75%, 70% 85%, 30% 88%, 10% 80%);
  opacity: .75;
}

.shoe-1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 24px;
  background: rgba(0,0,0,.08);
  clip-path: polygon(2% 40%, 10% 0%, 90% 0%, 98% 40%, 85% 80%, 55% 100%, 30% 100%, 8% 80%);
}

.shoe-2 {
  background: var(--gray-300);
  clip-path: polygon(8% 55%, 12% 25%, 30% 8%, 60% 5%, 78% 18%, 92% 35%, 96% 55%, 88% 72%, 65% 82%, 35% 85%, 15% 78%);
  opacity: .65;
}

.shoe-2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 22px;
  background: rgba(0,0,0,.06);
  clip-path: polygon(3% 30%, 12% 0%, 88% 0%, 97% 30%, 82% 70%, 55% 90%, 30% 90%, 8% 70%);
}

.shoe-3 {
  background: var(--accent);
  clip-path: polygon(10% 65%, 8% 35%, 20% 15%, 45% 5%, 75% 10%, 92% 25%, 97% 45%, 95% 65%, 85% 80%, 60% 90%, 25% 92%, 12% 82%);
  opacity: .75;
}

.shoe-3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 28px;
  background: rgba(0,0,0,.08);
  clip-path: polygon(5% 50%, 15% 10%, 85% 10%, 95% 50%, 80% 80%, 50% 100%, 20% 80%);
}

.collection__info {
  padding: 24px;
}

.collection__info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.collection__info p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 16px;
}

.collection__tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* ==============================
   TIMELINE
   ============================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--gray-200));
}

.timeline__item {
  position: relative;
  padding-bottom: 64px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent);
  z-index: 1;
}

.timeline__step {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline__content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.timeline__content p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 520px;
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 32px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.testimonial:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.testimonial__stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial__text {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial__author {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: .04em;
}

/* ==============================
   CONTACT
   ============================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact__details {
  margin-top: 32px;
}

.contact__details p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 16px;
}

.contact__details strong {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.form__group {
  margin-bottom: 20px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--gray-200);
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--gray-100);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--gray-800);
  display: block;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 320px;
}

.footer__links h4,
.footer__social h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.footer__links ul li {
  margin-bottom: 10px;
}

.footer__links ul li a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color .3s ease;
}

.footer__links ul li a:hover {
  color: var(--accent);
}

.social__icons {
  display: flex;
  gap: 12px;
}

.social__icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-100);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  transition: all .3s ease;
}

.social__icons a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--gray-300);
}

/* ==============================
   ANIMATIONS
   ============================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .collection__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    transform: translateY(-110%);
    transition: transform .4s ease;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__links.open {
    transform: translateY(0);
  }

  .nav__links li {
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__links a {
    display: block;
    padding: 18px 24px;
    font-size: 14px;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .collection__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 64px 0;
  }

  .about__stats {
    gap: 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat__num {
    font-size: 36px;
  }

  .timeline {
    padding-left: 32px;
  }
}
