/* ============================================
   Joseph Carter Group — Design System
   Brand Book v1.0 — February 2026
   ============================================

   Typography: Montserrat (web fallback for Neulis Alt)
   Color palette sourced from brand book pp. 14–15.
   ============================================ */

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

/* ── Utility ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Brand Tokens ── */
:root {
  /* Primary palette */
  --navy:           #19314A;
  --navy-dark:      #0F2035;
  --charcoal:       #2F3A45;
  --steel:          #88939F;

  /* Secondary palette */
  --gray-mid:       #A8A8A8;
  --gray-dark:      #353535;
  --white:          #FFFFFF;

  /* Functional accents */
  --accent:         #3A7CA5;
  --accent-hover:   #2D6488;
  --gold:           #C8A951;
  --gold-hover:     #B59541;

  /* Surfaces */
  --bg:             #FFFFFF;
  --bg-light:       #F5F6F8;
  --bg-warm:        #FAFAF9;
  --border:         #E0E2E6;
  --border-light:   #ECEDF0;

  /* Text */
  --text:           #353535;
  --text-secondary: #5C6370;
  --text-light:     #88939F;
  --text-inverse:   rgba(255, 255, 255, 0.85);

  /* Spacing */
  --space-xs:       8px;
  --space-sm:       16px;
  --space-md:       24px;
  --space-lg:       40px;
  --space-xl:       64px;
  --space-2xl:      96px;

  /* Layout */
  --max-width:      1200px;
  --nav-height:     72px;

  /* Radius */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(25, 49, 74, 0.06);
  --shadow-md:      0 4px 12px rgba(25, 49, 74, 0.08);
  --shadow-lg:      0 8px 30px rgba(25, 49, 74, 0.10);
  --shadow-card:    0 2px 8px rgba(25, 49, 74, 0.06);

  /* Transitions */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --speed:          0.25s;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 600; }

.subhead {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 640px;
  margin: var(--space-xs) auto 0;
  line-height: 1.6;
}

.text-center { text-align: center; }
.mb-lg { margin-bottom: var(--space-lg); }


/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--speed) var(--ease);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo img,
.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--bg-light);
}

.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  margin-left: 8px;
  transition: background var(--speed) var(--ease) !important;
}

.nav-cta:hover {
  background: var(--charcoal) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 0;
  transition: all var(--speed) var(--ease);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

.nav-toggle.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--speed) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover {
  background: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--bg-light);
}

.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }


/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  background: var(--bg-light);
  color: var(--text-secondary);
}

.badge-accent { background: rgba(58, 124, 165, 0.1); color: var(--accent); }
.badge-gold { background: rgba(200, 169, 81, 0.12); color: var(--gold-hover); }
.badge-coming-soon { background: rgba(200, 169, 81, 0.12); color: var(--gold-hover); }


/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  background: var(--navy);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(58, 124, 165, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(200, 169, 81, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .tagline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.hero h1 {
  color: white;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: var(--space-md) auto;
  border-radius: 2px;
}

.hero .subhead {
  color: var(--text-inverse);
  max-width: 580px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}


/* ============================================
   PAGE HEADER (subpages)
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  background: var(--navy);
  color: white;
  text-align: center;
}

.page-header h1 {
  color: white;
}

.page-header .subhead {
  color: var(--text-inverse);
}


/* ============================================
   CARDS SECTION (homepage "What We Do")
   ============================================ */
.cards-section {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--speed) var(--ease);
  position: relative;
}

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

.card-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.card-link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}


/* ============================================
   TEXT SECTION (positioning statement)
   ============================================ */
.text-section {
  padding: var(--space-xl) 0;
  background: var(--bg-light);
}

.text-section p {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.portfolio-item {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
  transition: all var(--speed) var(--ease);
}

.portfolio-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.portfolio-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-info {
  padding: var(--space-md);
}

.portfolio-info h4 {
  margin-bottom: 6px;
}

.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.portfolio-info a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.portfolio-info a:hover {
  text-decoration: underline;
}


/* ============================================
   SUB-BRANDS BAR
   ============================================ */
.subbrands {
  background: var(--bg-light);
  padding: var(--space-xl) var(--space-md);
}

.subbrands-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.subbrand {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--speed) var(--ease);
}

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

.subbrand-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.subbrand-icon.gold { background: rgba(200, 169, 81, 0.12); }
.subbrand-icon.blue { background: rgba(58, 124, 165, 0.1); }

.subbrand-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.subbrand-text p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

.subbrand-text .arrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}


/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--navy);
}

.testimonial-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: white;
  line-height: 1.7;
  font-style: italic;
  position: relative;
  padding: 0 var(--space-md);
}

.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 4rem;
  color: var(--gold);
  font-style: normal;
  line-height: 1;
  opacity: 0.5;
}

.testimonial-attribution {
  margin-top: var(--space-md);
  color: var(--steel);
  font-size: 0.9rem;
}


/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-section.has-bg {
  background: var(--bg-light);
}

.cta-section h2 {
  margin-bottom: var(--space-xs);
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}


/* ============================================
   SERVICE SECTIONS (services.html)
   ============================================ */
.service-section {
  padding: var(--space-2xl) 0;
}

.service-section:nth-child(even) {
  background: var(--bg-light);
}

.service-header {
  max-width: 720px;
  margin-bottom: var(--space-lg);
}

.service-header .badge {
  margin-bottom: var(--space-sm);
}

.service-header h2 {
  margin-bottom: var(--space-sm);
}

.service-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-card {
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--speed) var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-sm);
}

.service-card h4 {
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.service-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* CAO360 Feature List */
.cao360 {
  background: var(--bg-light);
}

.cao360-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-lg);
  margin-bottom: var(--space-lg);
}

.cao360-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cao360-feature .check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.cao360-feature p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}


/* ============================================
   STORY SECTION (about.html)
   ============================================ */
.story-section {
  padding: var(--space-2xl) 0;
}

.story-section h2 {
  margin-bottom: var(--space-md);
}

.story-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  max-width: 720px;
}


/* ============================================
   PRINCIPLES GRID (about.html)
   ============================================ */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.principle-card {
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--speed) var(--ease);
}

.principle-card:hover {
  box-shadow: var(--shadow-sm);
}

.principle-card h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.principle-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: none;
}


/* ============================================
   TEAM (about.html)
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--bg-light);
  margin: 0 auto var(--space-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  border: 3px solid var(--border-light);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .title {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.team-card .bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}


/* ============================================
   CONTACT LAYOUT
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.contact-form h2 {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group .required {
  color: #C44;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2388939F' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Contact Sidebar */
.contact-info h3 {
  margin-bottom: var(--space-md);
}

.contact-detail {
  margin-bottom: var(--space-md);
}

.contact-detail .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-detail a {
  color: var(--accent);
  font-weight: 500;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.booking-card {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.booking-card h4 {
  margin-bottom: var(--space-xs);
}

.booking-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}


/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--speed) var(--ease);
}

.faq-item.open {
  border-color: var(--border);
}

.faq-question {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--steel);
  transition: transform var(--speed) var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '\2013';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer p {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ============================================
   PHOTO GRID (portfolio)
   ============================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.photo-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

.photo-grid-cta {
  text-align: center;
  margin-top: var(--space-md);
}

.photo-cta-text {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: var(--text-inverse);
  padding-top: var(--space-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: var(--space-xl);
}

.footer-brand .nav-logo {
  color: white;
  margin-bottom: var(--space-sm);
}

.footer-brand .nav-logo-mark {
  background: rgba(255, 255, 255, 0.15);
}

.footer-brand > p {
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.footer-nav h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: var(--steel);
  font-size: 0.9rem;
  transition: color var(--speed) var(--ease);
}

.footer-nav a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--steel);
}

.footer-bottom .disclaimer {
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(136, 147, 159, 0.7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.card,
.portfolio-item,
.principle-card,
.subbrand,
.service-card,
.team-card,
.cao360-feature {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cao360-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    background: white;
    flex-direction: column;
    padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-md);
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s var(--ease);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: var(--space-sm);
    text-align: center;
  }

  /* Stack grids */
  .cards-grid,
  .portfolio-grid,
  .service-cards,
  .principles-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .subbrands-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Spacing reductions */
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .cards-grid {
    gap: var(--space-sm);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .nav-logo img,
  .nav-logo-img {
    height: 32px;
    max-width: 140px;
  }

  .footer-logo-img {
    height: 28px;
    max-width: 140px;
  }
}
