/* ==========================================================================
   TEAM 37 — Design System
   Faithful implementation of the approved Mockup G ("Split Duo Diagonal").
   Purple + olive. Sora (headings) / Inter (body). Layered on Bootstrap 5,
   with an explicit .container override so Bootstrap's breakpoint-based
   container widths don't fight the mockup's fixed 1100px layout.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --purple:     #6A2E8A;
  --olive:      #A6A177;
  --olive-dk:   #7D7A55;
  --ink:        #242226;
  --ink-soft:   #5C5964;
  --bg:         #FFFFFF;
  --line:       #E7E3EA;
}

/* Force the mockup's fixed, fluid-up-to-1100px container over Bootstrap's
   breakpoint-snapped .container widths (same selector, later in the
   cascade — this is the fix for the site looking wider/different than
   the mockup on real screens). */
.container{ max-width: 1100px; margin: 0 auto; padding: 0 28px; width: 100%; }

/* ---------- Base ---------- */
body{
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
h1,h2,h3,h4,h5,.card-title,.blog-post-title{
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
a{ color: var(--purple); text-decoration: none; }
a:hover{ color: var(--purple); text-decoration: underline; }
hr{ border: none; border-top: 1px solid var(--line); width: 48px; margin: .9rem 0 1.5rem; }

/* ---------- Header ---------- */
.site-header{ border-bottom: 1px solid var(--line); background: #fff; }
.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 1.5rem;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover{ text-decoration: none; color: var(--ink); }
.brand svg{ width: 30px; height: 30px; flex-shrink: 0; }

.site-nav{ display: flex; align-items: center; gap: 28px; }
.site-nav > a{
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-nav > a:hover,
.site-nav > a.is-active{ color: var(--purple); }
.site-nav > a.nav-shop{ color: var(--olive-dk); font-weight: 600; }
.site-nav > a.nav-shop:hover{ color: var(--purple); }

/* Products menu (extends the mockup's plain nav link with a lightweight
   dropdown, since the brief asked for all products to be reachable here) */
.nav-dropdown{ position: relative; }
.nav-dropdown > button{
  background: none; border: none; padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}
.nav-dropdown > button::after{ content: "\25BE"; margin-left: .4rem; font-size: .7rem; color: var(--purple); }
.nav-dropdown:hover > button,
.nav-dropdown > button.is-active{ color: var(--purple); }

.nav-dropdown__panel{
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 360px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(36,34,38,.14);
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown__panel.is-open{ display: block; }

.product-card{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
}
.product-card:hover{ background: #F9F8FA; text-decoration: none; }
.product-card__icon{
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .7rem;
}
.product-card__body strong{
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}
.product-card__body span{
  display: block;
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 1px;
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 4px;
}
@media (max-width: 900px){
  .site-nav{
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    order: 3;
    border-top: 1px solid var(--line);
    margin-top: 14px;
    padding-top: 14px;
    gap: 12px;
  }
  .site-nav.is-open{ display: flex; }
  .nav-dropdown{ width: 100%; }
  .nav-dropdown__panel{ position: static; transform: none; width: 100%; box-shadow: none; display: none; margin-top: 8px; }
  .nav-dropdown__panel.is-open{ display: block; }
  .nav-toggle{ display: block; }
  .site-header__inner{ flex-wrap: wrap; }
}

/* ---------- Hero: split diagonal purple/olive ---------- */
.hero{ position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.hero-bg{
  position: absolute; inset: 0;
  background: linear-gradient(115deg, #522470 0%, #522470 46%, #7D7A55 54%, #7D7A55 100%);
}
.hero-bg::after{
  content: "";
  position: absolute; inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><path d="M320 90a190 190 0 1 0 0 220" fill="none" stroke="white" stroke-opacity="0.25" stroke-width="2"/><path d="M300 110a165 165 0 1 0 0 180" fill="none" stroke="white" stroke-opacity="0.25" stroke-width="2"/><path d="M282 128a143 143 0 1 0 0 144" fill="none" stroke="white" stroke-opacity="0.25" stroke-width="2"/></svg>');
  background-repeat: no-repeat;
  background-position: right -60px center;
  background-size: 480px;
}
.hero__inner{ position: relative; z-index: 1; max-width: 620px; padding: 70px 0; }
.eyebrow{ display: inline-block; color: #EDE6E0; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1{ font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.12; color: #fff; margin-bottom: 0; }
.hero .lead{ color: #EDE6E0; font-size: 1.06rem; line-height: 1.7; margin: 22px 0 30px; max-width: 50ch; }
.btn-cta{
  display: inline-block;
  background: #fff;
  color: var(--purple) !important;
  text-decoration: none;
  padding: 14px 30px;
  font-weight: 700;
  font-size: .92rem;
  border-radius: 6px;
}
.btn-cta:hover{ background: #F1EDE6; text-decoration: none; }
.btn-solid{
  display: inline-block;
  background: var(--purple);
  color: #fff !important;
  text-decoration: none;
  padding: 14px 30px;
  font-weight: 700;
  font-size: .92rem;
  border-radius: 6px;
}
.btn-solid:hover{ background: #522470; text-decoration: none; }

/* ---------- "Why Work With Us" section — matches mockup .block/.cols exactly ---------- */
.classic-section{ padding: 60px 0; border-top: 1px solid var(--line); }
.classic-section:first-of-type{ border-top: none; }
.classic-section h2{ font-size: 1.55rem; margin-bottom: 32px; }
.classic-section h2.text-center{ text-align: center; }
.classic-divider{ display: none; }
.classic-lead-text{ max-width: 78ch; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }

.classic-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.classic-grid > div{ padding: 26px 24px 26px 0; border-right: 1px solid var(--line); }
.classic-grid > div:last-child{ border-right: none; }
.classic-grid .num{
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #F1E9F5;
  color: var(--purple);
}
.classic-grid > div:nth-child(2) .num{ background: #F1F0E7; color: var(--olive-dk); }
.classic-grid h3{ font-size: 1.05rem; margin-bottom: 8px; }
.classic-grid p{ color: var(--ink-soft); font-size: .93rem; line-height: 1.65; margin: 0; }

/* ---------- Article / content pages ---------- */
.bg-light{ background: #FAF9FB !important; }
article.blog-post p,
article.blog-post li{ color: var(--ink-soft); line-height: 1.75; }
article.blog-post h2{ font-size: 1.4rem; margin-top: 2.25rem; }
article strong{ color: var(--ink); }

.table{ border: 1px solid var(--line); background: #fff; }
.table th, .table td{ vertical-align: middle; border-color: var(--line) !important; }
.table th[scope="row"]{ width: 44px; background: #FAF9FB; text-align: center; }
.table th[scope="row"] img{ filter: invert(20%) sepia(53%) saturate(1500%) hue-rotate(255deg) brightness(85%) contrast(94%); }

.nav-tabs{ border-bottom: 1px solid var(--line); }
.nav-tabs .nav-link{
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink-soft);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.nav-tabs .nav-link.active{ color: var(--purple); background: transparent; border-bottom-color: var(--purple); font-weight: 700; }

.btn-primary{ background: var(--purple); border-color: var(--purple); border-radius: 6px; font-family: 'Inter', sans-serif; font-weight: 600; }
.btn-primary:hover{ background: #522470; border-color: #522470; }

/* ---------- Footer — matches mockup footer exactly ---------- */
.site-footer{ background: var(--ink); color: #CFCBD4; font-size: .88rem; padding: 24px 0; }
.site-footer a{ color: var(--olive); }
.site-footer a:hover{ color: #fff; }
