/* ========================================================
   LaMilanto — luxury leather goods (Phase 1)
   Palette: deep espresso brown + cream/ivory + gold accent
   ======================================================== */

:root {
  --espresso: #3a2a20;
  --espresso-deep: #2a1d15;
  --coffee: #5c4433;
  --cream: #f6f1e7;
  --ivory: #fbf8f1;
  --gold: #b6893f;
  --gold-soft: #cba35c;
  --text: #2c2018;
  --muted: #7a6a5c;
  --line: rgba(58, 42, 32, 0.12);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Inter', system-ui, sans-serif;

  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 38px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(182, 137, 63, 0.7);
}
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

/* ---------- Section headings ---------- */
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 14px;
}
.section__title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  text-align: center;
  color: var(--espresso);
}
.section__sub {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 18px auto 0;
}

/* ========================= NAV ========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.22em;
  color: var(--espresso);
}
.logo--light { color: var(--cream); }

.nav__links { display: flex; gap: 38px; }
.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 18px; }
.cart {
  position: relative;
  background: none;
  border: none;
  color: var(--espresso);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.cart__count {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--gold);
  color: #fff;
  font-size: 0.62rem;
  font-family: var(--sans);
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--espresso);
  transition: 0.3s;
}

/* ========================= HERO ========================= */
.hero {
  background:
    linear-gradient(rgba(42, 29, 21, 0.72), rgba(42, 29, 21, 0.82)),
    radial-gradient(circle at 30% 20%, #5c4433, #2a1d15 70%);
  color: var(--cream);
  text-align: center;
  padding: clamp(90px, 16vw, 170px) 0;
}
.hero__tagline {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.74rem;
  color: var(--gold-soft);
  margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(3.4rem, 11vw, 7rem);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--cream);
  margin-top: 16px;
}
.hero__text {
  color: rgba(246, 241, 231, 0.8);
  max-width: 560px;
  margin: 20px auto 40px;
}

/* ========================= BADGES ========================= */
.badges { background: var(--cream); padding: 70px 0; }
.badges__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.badge {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 42px 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.badge:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -24px rgba(58,42,32,0.4); }
.badge__icon { font-size: 1.7rem; color: var(--gold); margin-bottom: 16px; }
.badge h3 { font-size: 1.3rem; color: var(--espresso); margin-bottom: 8px; }
.badge p { color: var(--muted); font-size: 0.95rem; }

/* ========================= COLLECTION ========================= */
.collection { padding: 96px 0; background: var(--ivory); }
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 56px;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(58,42,32,0.45); }
.product__img {
  height: 210px;
  background: linear-gradient(135deg, #5c4433, #2a1d15);
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 2.4rem;
  letter-spacing: 0.1em;
}
.product__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product__name { font-size: 1.35rem; color: var(--espresso); margin-bottom: 8px; }
.product__desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; flex: 1; }
.product__foot { display: flex; align-items: center; justify-content: space-between; }
.product__price { color: var(--gold); font-weight: 500; letter-spacing: 0.02em; }
.product__btn {
  background: none;
  border: 1px solid var(--espresso);
  color: var(--espresso);
  padding: 9px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s;
}
.product__btn:hover { background: var(--espresso); color: var(--cream); }

/* ========================= CRAFT ========================= */
.craft { padding: 96px 0; background: var(--espresso); color: var(--cream); }
.craft .section__eyebrow { color: var(--gold-soft); }
.craft .section__title { color: #fff; }
.craft__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.craft__step { text-align: center; }
.craft__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.craft__step h3 { font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.craft__step p { color: rgba(246, 241, 231, 0.72); max-width: 260px; margin: 0 auto; }

/* ========================= ABOUT ========================= */
.about { padding: 100px 0; background: var(--cream); }
.about__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.about__text {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.7;
  color: var(--coffee);
  margin-top: 26px;
}

/* ========================= TESTIMONIALS ========================= */
.testimonials { padding: 96px 0; background: var(--ivory); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.quote {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 30px;
}
.quote__stars { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 16px; }
.quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--coffee);
  margin-bottom: 20px;
}
.quote figcaption { color: var(--espresso); font-weight: 500; letter-spacing: 0.05em; }

/* ========================= NEWSLETTER ========================= */
.newsletter {
  padding: 100px 0;
  background:
    linear-gradient(rgba(42, 29, 21, 0.9), rgba(42, 29, 21, 0.9)),
    radial-gradient(circle at 70% 30%, #5c4433, #2a1d15 70%);
  color: var(--cream);
}
.newsletter__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.newsletter .section__eyebrow { color: var(--gold-soft); }
.newsletter .section__title { color: #fff; }
.newsletter__sub { color: rgba(246, 241, 231, 0.78); margin: 16px 0 34px; }
.newsletter__form { display: flex; gap: 12px; }
.newsletter__form input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid rgba(246, 241, 231, 0.3);
  background: rgba(255,255,255,0.06);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
}
.newsletter__form input::placeholder { color: rgba(246, 241, 231, 0.55); }
.newsletter__form input:focus { border-color: var(--gold); }
.newsletter__note { margin-top: 18px; color: var(--gold-soft); letter-spacing: 0.06em; }

/* ========================= FOOTER ========================= */
.footer { background: var(--espresso-deep); color: var(--cream); padding: 70px 0 30px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(246, 241, 231, 0.12);
}
.footer__brand p { color: rgba(246, 241, 231, 0.62); margin-top: 16px; max-width: 320px; }
.footer__col h4 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.footer__col a { display: block; color: rgba(246, 241, 231, 0.75); margin-bottom: 10px; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__muted { color: rgba(246, 241, 231, 0.45); font-size: 0.85rem; margin-top: 6px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  color: rgba(246, 241, 231, 0.55);
  font-size: 0.85rem;
}
.footer__badges { letter-spacing: 0.1em; }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 900px) {
  .badges__grid, .products, .craft__steps, .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .nav__links.open { max-height: 320px; padding: 14px 24px 22px; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: flex; }
}
@media (max-width: 560px) {
  .badges__grid, .products, .craft__steps, .testimonials__grid, .footer__grid { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
}
