/* ============================================================
   FASHION GROUP LA INC. — Stylesheet
   ------------------------------------------------------------
   Non-developers: the easiest things to customize are in the
   ":root" block right below — change the colors and fonts there.
   ============================================================ */

:root {
  /* ---- Brand colors (edit these to re-theme the whole site) ---- */
  --accent:        #c0151c;   /* deep red accent */
  --accent-dark:   #9c1016;   /* darker red for hover */
  --accent-soft:   #fdeaea;   /* very light red tint */
  --ink:           #16181d;   /* near-black text */
  --ink-soft:      #44474f;   /* secondary text */
  --gray:          #6b7280;   /* muted gray text */
  --line:          #e7e7ea;   /* borders / dividers */
  --bg:            #ffffff;   /* page background */
  --bg-soft:       #f6f6f7;   /* light gray section background */
  --bg-dark:       #14151a;   /* dark sections / footer */

  /* ---- Typography (loaded from Google Fonts in index.html) ---- */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Poppins", var(--font-body);

  /* ---- Layout ---- */
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 14px rgba(16, 18, 24, 0.07);
  --shadow-lg: 0 18px 44px rgba(16, 18, 24, 0.16);
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Offset for sticky nav when jumping to anchors */
section[id], header[id] { scroll-margin-top: 84px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(192, 21, 28, 0.28);
}
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 10px 26px rgba(192, 21, 28, 0.36); }

.btn--outline { background: transparent; color: var(--ink); border-color: #d4d4d8; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--lg { font-size: 1.05rem; padding: 0.9rem 1.9rem; }
.btn--sm { font-size: 0.85rem; padding: 0.5rem 1.05rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav__logo:hover { text-decoration: none; color: var(--accent); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav__menu a {
  position: relative;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav__menu a:not(.nav__cta):hover { color: var(--accent); text-decoration: none; }
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__menu a.nav__cta { color: #fff; }
.nav__menu a.nav__cta:hover { color: #fff; }

/* Mobile hamburger toggle (hidden on desktop) */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 14, 18, 0.90) 0%, rgba(13, 14, 18, 0.72) 42%, rgba(13, 14, 18, 0.42) 72%, rgba(13, 14, 18, 0.30) 100%),
    #14151a url("images/hero-usa.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6.5rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 3rem;
  align-items: center;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.78rem;
  color: #ff9aa0;
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero__lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__badges {
  list-style: none;
  display: flex;
  gap: 1.25rem 1.75rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.92rem;
}
/* Outline button needs to read on the dark hero photo */
.hero .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hero .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__badges li { display: flex; align-items: center; gap: 0.5rem; }
.hero__badges li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  flex: none;
}

/* Hero photo collage */
.hero__media { display: flex; justify-content: center; }
.hero__collage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
}
.hero__img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}
.hero__img--lg { width: 72%; height: 70%; top: 0; right: 0; z-index: 1; }
.hero__img--sm1 { width: 50%; height: 52%; bottom: 0; left: 0; z-index: 2; }
.hero__img--sm2 { width: 38%; height: 38%; bottom: 6%; right: 8%; z-index: 3; }
.hero__chip {
  position: absolute;
  top: 8%;
  left: -2%;
  z-index: 4;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
/* decorative red blob behind the collage */
.hero__collage::before {
  content: "";
  position: absolute;
  inset: -8% -6% -6% -8%;
  background: linear-gradient(135deg, rgba(192,21,28,0.14), rgba(192,21,28,0.04));
  border-radius: 38% 62% 58% 42% / 46% 40% 60% 54%;
  z-index: 0;
}

/* ============================================================
   KEY SELLING POINTS
   ============================================================ */
.points {
  background: var(--bg-dark);
  color: #fff;
}
.points__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.point h3 { font-size: 1.12rem; margin-bottom: 0.45rem; font-weight: 700; }
.point h3::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 0.85rem;
}
.point p { color: #c7c8cd; font-size: 0.95rem; line-height: 1.6; }

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4.75rem 1.5rem;
}
.section__head { text-align: center; margin-bottom: 2.75rem; }
.section__head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.section__head h2::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.9rem auto 0;
}
.section__head p { color: var(--gray); font-size: 1.1rem; max-width: 60ch; margin: 0 auto; }

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.category {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.75rem 0 1.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.category::before {
  content: "";
  width: 10px; height: 22px;
  background: var(--accent);
  border-radius: 3px;
}
.category:first-of-type { margin-top: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #dadade;
}

/* Product photo. object-fit: cover keeps every photo uniform.
   The card clips overflow, so the image zooms gently on hover. */
.card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  transition: transform 0.35s ease;
}
.card:hover .card__img { transform: scale(1.06); }

.card__body { padding: 1.05rem 1.15rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: 0.32rem; }
.card__name { font-size: 1.06rem; font-weight: 700; }
.card__material { color: var(--ink-soft); font-size: 0.9rem; }
.card__ref {
  margin-top: 0.65rem;
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  padding: 0.28rem 0.65rem;
  border-radius: 7px;
}
/* "And much more" call-to-action card */
.card--more {
  background: linear-gradient(160deg, #fff, var(--bg-soft));
  border-style: dashed;
  border-color: #d3d3d7;
  align-items: flex-start;
  justify-content: center;
}
.card--more:hover { transform: translateY(-6px); }
.card--more .card__body { gap: 0.7rem; }

/* ============================================================
   CUSTOM WORK / UNIFORMS
   ============================================================ */
.custom { background: var(--bg-soft); max-width: none; }
.custom .section__head, .custom .custom__grid { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.custom__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
}
.custom__text p { margin-bottom: 1rem; color: var(--ink-soft); }
.custom__clients {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.custom__clients li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.custom__clients li:hover { transform: translateY(-2px); border-color: var(--accent); }
.custom__note {
  border-left: 4px solid var(--accent);
  background: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 0 10px 10px 0;
  box-shadow: var(--shadow);
}
.custom__features {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1.6rem;
  box-shadow: var(--shadow);
}
.custom__features li {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.95rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.custom__features li:last-child { border-bottom: none; }
.custom__features span {
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border-radius: 12px;
  flex: none;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-section { background: var(--bg); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}
/* connecting line behind the step circles (desktop) */
.steps::before {
  content: "";
  position: absolute;
  top: 51px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 6px 16px rgba(192, 21, 28, 0.3);
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; font-weight: 700; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* ============================================================
   QUOTE / FORM
   ============================================================ */
.quote { background: var(--bg); }
.quote__wrap {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form__row { margin-bottom: 1.15rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { display: flex; flex-direction: column; }
.form__field label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.42rem; }
.req { color: var(--accent); }

.form input,
.form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid #d9d9dd;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input::placeholder,
.form textarea::placeholder { color: #9a9aa1; }
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 21, 28, 0.13);
}
.form input.invalid,
.form textarea.invalid {
  border-color: var(--accent);
  background: #fff6f6;
}
.form input[type="file"] {
  padding: 0.6rem;
  background: var(--bg-soft);
  cursor: pointer;
}
.form__hint { font-size: 0.82rem; color: var(--gray); margin-top: 0.42rem; }

.form__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.form__alt { color: var(--ink-soft); font-size: 0.95rem; }
.form__status {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
}
.form__status.ok { color: #15803d; }
.form__status.err { color: var(--accent); }

.quote__aside {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.quote__aside::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(192,21,28,0.5), transparent 70%);
  border-radius: 50%;
}
.quote__aside h3 { margin-bottom: 1.1rem; font-weight: 700; position: relative; }
.quote__aside p { margin-bottom: 0.9rem; color: #d6d6da; font-size: 0.95rem; position: relative; }
.quote__aside a { color: #fff; text-decoration: underline; }
.quote__aside-note {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #34353c;
  font-size: 0.88rem !important;
  color: #b6b6bc !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: #c9cace; }
.footer__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.25rem 1.5rem 2.25rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 2rem;
}
.footer__logo { font-family: var(--font-head); color: #fff; font-size: 1.12rem; margin-bottom: 0.8rem; font-weight: 800; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 0.9rem; font-weight: 700; }
.footer__col p { font-size: 0.92rem; margin-bottom: 0.62rem; }
.footer__col a { color: #fff; }
.footer__col .btn { margin-top: 0.5rem; }
.footer__bar {
  border-top: 1px solid #2a2b31;
  text-align: center;
  padding: 1.3rem;
  font-size: 0.85rem;
  color: #8a8b92;
}

/* ============================================================
   SCROLL REVEAL (progressive enhancement via script.js)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — TABLET & MOBILE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__media { order: -1; }
  .hero__collage { width: min(100%, 380px); }

  .points__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .custom__grid { grid-template-columns: 1fr; }
  .quote__wrap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  /* Collapse nav into a mobile menu */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav__menu.open { display: flex; }
  .nav__menu a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav__menu a:not(.nav__cta)::after { display: none; }
  .nav__menu a.nav__cta {
    margin-top: 0.8rem;
    border-bottom: none;
    text-align: center;
    border-radius: 999px;
  }

  .hero__inner { padding: 3.25rem 1.5rem; }
  .hero__actions .btn { width: 100%; }
  .form__row--2 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .points__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .card__body { padding: 0.85rem 0.85rem 1rem; }
  .card__name { font-size: 0.98rem; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
