/* ════════════════════════════════════════════════════════════
   COLLAZOS MARKETING — Shared sub-page stylesheet
   Used by: about.html, services.html, work.html, case-*.html
   The homepage (index.html) keeps its own inline styles + hero canvas.
   This file mirrors that design system exactly: Cinzel + Archivo,
   --green #4DBF2A, #09090b dark base, alternating light/dark sections.
   ════════════════════════════════════════════════════════════ */

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

html {
  background: #09090b;
  color: #fafafa;
  scroll-behavior: smooth;
}

body {
  font-family: 'Archivo', 'Helvetica Neue', system-ui, sans-serif;
  overscroll-behavior: none;
  background: #09090b;
}

:root {
  --green:      #4DBF2A;
  --green-glow: rgba(77, 191, 42, 0.35);
  --black:      #000000;
  --night:      #09090b;
  --white:      #FFFFFF;
  --gray:       #F4F4F4;
  --ink:        #0A0A0A;
  --ink-2:      #4A4A4A;
  --ink-3:      #999999;
  --display:    'Cinzel', 'Times New Roman', serif;
  --sans:       'Archivo', 'Helvetica Neue', system-ui, sans-serif;
}

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

/* ══════════════════════════════════════════
   SITE NAV  (sub-page variant: visible + sticky)
══════════════════════════════════════════ */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF; /* pure white menu bar */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.site-nav-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Mobile-first: logo top-left, hamburger top-right, links/CTA collapse below */
.site-nav-logo  { order: 1; margin-right: auto; display: flex; align-items: center; text-decoration: none; }
.site-nav-logo img { height: 56px; width: auto; display: block; }
.site-nav-left  { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 0 12px; }
.site-nav-right { display: none; order: 4; flex-basis: 100%; padding-bottom: 16px; }

.nav-toggle {
  order: 2;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 11px;
  margin-right: -8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--black); transition: transform 0.25s ease, opacity 0.2s ease; }

#site-nav.open .site-nav-left,
#site-nav.open .site-nav-right { display: flex; }
#site-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
#site-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav-link {
  display: block;
  color: var(--ink-2);
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  font-family: var(--sans);
  padding: 8px 2px;
  transition: color 0.2s;
}
.site-nav-link:hover { color: var(--black); }
.site-nav-link.active { color: var(--green); font-weight: 600; }

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 11px 22px;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.site-nav-cta:hover { background: #3aad1a; transform: translateY(-1px); }

/* Desktop: logo centered, links + CTA pulled in from the center */
@media (min-width: 768px) {
  .site-nav-inner { padding: 0 48px; flex-wrap: nowrap; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .nav-toggle { display: none; }
  .site-nav-left  { display: flex; order: 0; flex-basis: auto; flex-direction: row; align-items: center; gap: 30px; justify-self: end; padding: 0 48px 0 0; }
  .site-nav-logo  { order: 0; margin-right: 0; justify-self: center; }
  .site-nav-logo img { height: 76px; }
  .site-nav-right { display: flex; order: 0; flex-basis: auto; justify-self: start; padding: 0 0 0 48px; }
  .site-nav-link  { font-size: 14px; padding: 0; }
  .site-nav-cta   { padding: 9px 22px; }
}
@media (min-width: 1024px) { .site-nav-inner { padding: 0 80px; } }

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }

/* ══════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════ */
.section { padding: 110px 24px; }
@media (min-width: 768px)  { .section { padding: 130px 48px; } }
@media (min-width: 1024px) { .section { padding: 150px 80px; } }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner-narrow { max-width: 820px; margin: 0 auto; }

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

/* Eyebrow / labels */
.eyebrow,
.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.section-heading {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 18px;
}
.section-heading.on-light { color: var(--black); }
.section-heading.on-dark  { color: #ffffff; }

.section-sub {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  max-width: 620px;
  margin-bottom: 56px;
}
.section-sub.on-light { color: var(--ink-2); }
.section-sub.on-dark  { color: #ffffff; }
.section-sub.center   { margin-left: auto; margin-right: auto; text-align: center; }

/* Long-form body copy */
.prose p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  margin-bottom: 22px;
}
.prose.on-light p { color: var(--ink-2); }
.prose.on-dark  p { color: #ffffff; }
.prose .lead {
  font-size: 21px;
  line-height: 1.6;
}
.prose strong { color: inherit; font-weight: 700; }
.prose .accent { color: var(--green); font-weight: 700; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #ffffff; /* CTAs always use white copy on the green button */
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 32px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--green-glow); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 14px 30px; border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.25);
  text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.btn-outline-dark:hover { border-color: rgba(255,255,255,0.70); background: rgba(255,255,255,0.06); }

.btn-outline-light {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--black);
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 14px 30px; border-radius: 9999px;
  border: 2px solid rgba(0,0,0,0.20);
  text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover { border-color: var(--black); }

/* ══════════════════════════════════════════
   PAGE HERO  (top band on every sub-page)
══════════════════════════════════════════ */
.page-hero {
  position: relative;
  background:
    radial-gradient(120% 140% at 80% -10%, rgba(77,191,42,0.18) 0%, transparent 52%),
    linear-gradient(180deg, #0c0c10 0%, #09090b 60%, #0d0b14 100%);
  padding: 120px 24px 100px;
  overflow: hidden;
}
@media (min-width: 768px)  { .page-hero { padding: 150px 48px 120px; } }
@media (min-width: 1024px) { .page-hero { padding: 170px 80px 130px; } }
/* Colossus header covers: figure sits right, dark gradient keeps left text legible */
/* Colossus header covers. Image set per page below; dark gradient overlay via ::before so left-aligned text stays legible. URLs resolve relative to this stylesheet (assets/). */
.page-hero.has-cover {
  background-color: #09090b;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}
.page-hero.has-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9,9,11,0.94) 0%, rgba(9,9,11,0.82) 34%, rgba(9,9,11,0.48) 58%, rgba(9,9,11,0.18) 80%, rgba(9,9,11,0.40) 100%);
}
.page-hero.cover-about    { background-image: url('headers/about.jpg'); }
.page-hero.cover-services { background-image: url('headers/services.jpg'); }
.page-hero.cover-work     { background-image: url('headers/work.jpg'); }
.page-hero.cover-privacy  { background-image: url('headers/privacy.jpg'); }
@media (max-width: 760px) {
  .page-hero.has-cover { background-position: center top; }
  .page-hero.has-cover::before {
    background: linear-gradient(180deg, rgba(9,9,11,0.55) 0%, rgba(9,9,11,0.86) 70%, #09090b 100%);
  }
}
.page-hero-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--green); margin-bottom: 26px;
}
.page-hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: #ffffff;
  margin-bottom: 28px;
}
.page-hero-title .accent { color: var(--green); }
.page-hero-sub {
  font-family: var(--sans);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: #ffffff;
  max-width: 660px;
}
.page-hero-meta {
  display: flex; flex-wrap: wrap; gap: 36px;
  margin-top: 48px;
}
.page-hero-meta-item { min-width: 120px; }
.page-hero-meta-num {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--green); line-height: 1;
}
.page-hero-meta-label {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-top: 10px;
}

/* ══════════════════════════════════════════
   FEATURE / SPLIT ROWS
══════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split-reverse .split-media { order: -1; }
@media (min-width: 900px) { .split-reverse .split-media { order: 0; } }

.feature-card {
  border-radius: 18px;
  padding: 40px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.feature-card.on-light {
  background: var(--gray);
  border: 1px solid rgba(0,0,0,0.06);
}
.feature-num {
  font-family: var(--display);
  font-size: 46px; font-weight: 700; color: var(--green); line-height: 1;
  margin-bottom: 20px;
}
/* Brand line icons (matched set) for feature cards and service rows */
.feature-icon { width: 56px; height: 56px; margin-bottom: 20px; display: block; }
.svc-icon { width: 60px; height: 60px; margin-bottom: 20px; display: block; }
.feature-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  margin-bottom: 14px;
}
.feature-title.on-light { color: var(--black); }
.feature-title.on-dark  { color: #ffffff; }
.feature-body {
  font-family: var(--sans);
  font-size: 15.5px; line-height: 1.65;
}
.feature-body.on-light { color: var(--ink-2); }
.feature-body.on-dark  { color: #ffffff; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* Checklist */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.checklist li {
  position: relative; padding-left: 34px;
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
}
.checklist.on-light li { color: var(--ink-2); }
.checklist.on-dark  li { color: #ffffff; }
.checklist li::before {
  content: '✦';
  position: absolute; left: 0; top: 1px;
  color: var(--green); font-size: 15px;
}

/* ══════════════════════════════════════════
   WORK / PORTFOLIO CARDS
══════════════════════════════════════════ */
.work-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 800px) { .work-grid { grid-template-columns: 1fr 1fr; } }

.work-card {
  position: relative; display: block;
  border-radius: 18px; overflow: hidden;
  min-height: 360px;
  padding: 40px;
  text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.work-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.1) 100%);
}
.work-card-content { position: relative; z-index: 1; }
.work-card-tag {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--green);
}
.work-card-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  color: #fff; margin: 12px 0 10px;
}
.work-card-body {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.55;
  color: rgba(255,255,255,0.78); max-width: 440px; margin-bottom: 18px;
}
.work-card-link {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--green); letter-spacing: 0.03em;
}

/* Client logo wall */
.client-wall {
  display: flex; flex-wrap: wrap; gap: 14px 16px; justify-content: center;
}
.client-chip {
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  font-weight: 700; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  padding: 10px 20px; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px; transition: color 0.2s, border-color 0.2s;
}
.client-chip:hover { color: #fff; border-color: var(--green); }

/* ══════════════════════════════════════════
   CASE STUDY ELEMENTS
══════════════════════════════════════════ */
.cs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 768px) { .cs-stats { grid-template-columns: repeat(4, 1fr); } }
.cs-stat-num {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700; color: var(--green); line-height: 1;
}
.cs-stat-label {
  font-family: var(--sans); font-size: 13px; line-height: 1.45;
  color: rgba(255,255,255,0.6); margin-top: 12px;
  letter-spacing: 0.04em;
}
.cs-block-label {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
}
.cs-block-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  margin-bottom: 22px;
}
.cs-pullquote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.cs-pullquote .accent { color: var(--green); }
.cs-pullquote-author {
  display: block; text-align: center; margin-top: 28px;
  font-family: var(--sans); font-size: 14px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════════════
   FAQ  (plain, non-accordion — AI / LLM search friendly)
══════════════════════════════════════════ */
#faq { background: var(--night); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 820px) { .faq-grid { grid-template-columns: 1fr 1fr; gap: 12px 56px; } }
.faq-item {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.faq-q {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700; letter-spacing: 0.01em;
  color: #ffffff; margin-bottom: 14px; line-height: 1.3;
}
.faq-a {
  font-family: var(--sans);
  font-size: 15.5px; line-height: 1.7;
  color: #ffffff;
}
.faq-a a { color: var(--green); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
#cta-section {
  padding: 120px 24px;
  background: #ffffff;
  position: relative; overflow: hidden; text-align: center;
}
@media (min-width: 768px) { #cta-section { padding: 140px 48px; } }
.cta-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.cta-heading {
  font-family: var(--display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--black); margin-bottom: 20px;
}
.cta-body { font-family: var(--sans); font-size: 18px; color: var(--ink-2); margin-bottom: 48px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════ */
#contact-form-section { background: #09090b; padding: 120px 6vw 140px; }
.contact-form-inner { max-width: 760px; margin: 0 auto; }
.contact-form-heading {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #ffffff; line-height: 1.05; margin-bottom: 16px;
}
.contact-form-sub {
  font-family: var(--sans); font-size: 17px; line-height: 1.72;
  color: #ffffff; margin-bottom: 52px;
}
.contact-form { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.contact-input, .contact-textarea {
  width: 100%; padding: 16px 22px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  font-family: var(--sans); font-size: 15px; color: #ffffff;
  outline: none; transition: border-color 0.2s;
}
.contact-input::placeholder, .contact-textarea::placeholder { color: #ffffff; }
.contact-input:focus, .contact-textarea:focus { border-color: var(--green); }
.contact-textarea { resize: vertical; min-height: 140px; border-radius: 12px; }
.contact-form-legal { font-family: var(--sans); font-size: 12px; color: #ffffff; margin-top: 8px; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { background: var(--black); padding: 80px 24px 40px; }
@media (min-width: 768px) { footer { padding: 80px 48px 40px; } }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 40px;
}
@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { height: 34px; width: auto; margin-bottom: 20px; display: block; }
.footer-tagline { font-family: var(--sans); font-size: 14px; color: #ffffff; max-width: 240px; line-height: 1.6; }
.footer-col-label {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase; color: #ffffff; margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-family: var(--sans); font-size: 14px; color: #ffffff; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--green); }
.footer-legal { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,0.45); text-align: center; padding: clamp(32px, 4.2vw, 96px) 24px 0; }
