/*
Theme Name: Trehan IT Consultants
Theme URI: https://trehanitconsultants.com
Author: Trehan IT Consultants
Description: Custom theme converted from the Trehan IT Consultants static site (v1 content update).
Version: 1.1
Text Domain: trehan-it
*/

/* ─── TOKENS ─── */
:root {
  --charcoal:   #222222;
  --charcoal-2: #1A1A1A;
  --gold:       #FFBA48;
  --gold-dim:   rgba(255,186,72,0.12);
  --warm-white: #F5F2EC;
  --card-white: #FFFFFF;
  --muted:      #5A5A5A;
  --warm-grey:  #9A9A9A;
  --border:     rgba(34,34,34,0.10);
  --text-dark:  #EBEBEB;
  --max:        1200px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── NAV ─── */
nav {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
  padding: 2px 0;
}
.nav-logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #EBEBEB;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
.nav-logo-rule {
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-logo-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: #EBEBEB;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.72;
  white-space: nowrap;
}

/* Footer logo */
.footer-logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #EBEBEB;
  letter-spacing: 0.01em;
  line-height: 1;
}
.footer-logo-rule {
  width: 110px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 7px 0 10px;
}

/* Desktop nav links */
.nav-links { display: flex; align-items: stretch; gap: 4px; list-style: none; flex: 1; justify-content: center; height: 72px; }
.nav-links > li { position: static; display: flex; align-items: center; }
.nav-links > li > a, .nav-trigger {
  display: flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 500; color: rgba(235,235,235,0.65);
  text-decoration: none; padding: 8px 14px; border-radius: 7px;
  transition: color 0.2s, background 0.2s; cursor: pointer;
  background: none; border: none; font-family: 'Plus Jakarta Sans', sans-serif;
}
.nav-links > li > a:hover, .nav-trigger:hover, .nav-links > li.open > .nav-trigger {
  color: #EBEBEB; background: rgba(255,255,255,0.06);
}
.nav-trigger svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.2s; }
.nav-links > li.open .nav-trigger svg { transform: rotate(180deg); }
.nav-cta-wrap { flex-shrink: 0; }
.nav-cta {
  background: var(--gold); color: var(--charcoal);
  font-size: 13px; font-weight: 700; padding: 10px 20px;
  border-radius: 8px; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #f0c060; }

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid rgba(235,235,235,0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.08); border-color: rgba(235,235,235,0.4); }
.ham-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #EBEBEB;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.active .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mega Menu */
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 900px; background: var(--charcoal-2); border-radius: 14px;
  border: 1px solid rgba(255,186,72,0.12); box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  padding: 32px; display: none; grid-template-columns: repeat(3, 1fr); gap: 0; z-index: 300;
}
.nav-links > li:hover .mega-menu,
.nav-links > li.open .mega-menu { display: grid; }
.mega-col { padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.06); }
.mega-col:first-child, .mega-col:nth-child(4) { padding-left: 0; }
.mega-col:nth-child(3), .mega-col:last-child { padding-right: 0; border-right: none; }
.mega-col:nth-child(3n) { border-right: none; }
.mega-col:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 22px; }
.mega-col:nth-child(n+4) { padding-top: 22px; border-top: none; }
.mega-col-header { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.mega-col-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mega-col-icon svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mega-col-title { font-size: 12.5px; font-weight: 700; color: #EBEBEB; letter-spacing: 0.02em; }
.mega-col ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mega-col li a { display: block; font-size: 12.5px; color: rgba(235,235,235,0.50); text-decoration: none; padding: 5px 0; transition: color 0.15s; }
.mega-col li a:hover { color: var(--gold); }
.mega-col-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 11.5px; font-weight: 600; color: var(--gold); text-decoration: none; letter-spacing: 0.04em; opacity: 0.8; transition: opacity 0.15s; }
.mega-col-link:hover { opacity: 1; }

/* Mobile menu — hidden on desktop */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1C1C1C;
  z-index: 190;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu-inner {
  padding: 20px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.mobile-menu-cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 15px;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-solutions-wrap {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-solutions-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 17px;
  font-weight: 500;
  color: rgba(235,235,235,0.85);
  background: none;
  border: none;
  padding: 16px 0;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color 0.15s;
}
.mobile-solutions-btn:hover { color: var(--gold); }
.mobile-chevron {
  width: 18px; height: 18px;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.mobile-solutions-btn.active .mobile-chevron { transform: rotate(180deg); }
.mobile-solutions-panel {
  display: none;
  flex-direction: column;
  padding: 0 0 12px 0;
  gap: 2px;
}
.mobile-solutions-panel.open { display: flex; }
.mobile-solutions-link {
  display: block;
  font-size: 15px;
  color: rgba(235,235,235,0.60);
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.mobile-solutions-link:hover { color: var(--gold); background: rgba(255,186,72,0.07); }
.mobile-nav-link {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: rgba(235,235,235,0.85);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.15s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--gold); }

/* ─── TRUST STRIP ─── */
.trust-strip { background: var(--charcoal); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.trust-strip-inner { max-width: var(--max); margin: 0 auto; padding: 0 48px; display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 500; color: rgba(235,235,235,0.45); white-space: nowrap; }
.trust-item::before { content: '✓'; color: var(--gold); font-size: 10px; }

/* ─── SHARED ─── */
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-eyebrow::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--gold); }

/* Buttons */
.btn-gold { background: var(--gold); color: var(--charcoal); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: 8px; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; text-decoration: none; display: inline-block; }
.btn-gold:hover { background: #f0c060; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--charcoal); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; padding: 13px 27px; border-radius: 8px; border: 1.5px solid var(--border); cursor: pointer; transition: border-color 0.2s, background 0.2s; text-decoration: none; display: inline-block; }
.btn-outline:hover { border-color: var(--charcoal); background: rgba(34,34,34,0.04); }
.btn-outline-light { background: transparent; color: #EBEBEB; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600; padding: 13px 27px; border-radius: 8px; border: 1.5px solid rgba(235,235,235,0.22); cursor: pointer; transition: border-color 0.2s, background 0.2s; text-decoration: none; display: inline-block; }
.btn-outline-light:hover { border-color: rgba(235,235,235,0.55); background: rgba(255,255,255,0.06); }

/* ─── HERO ─── */
.page-hero { background: var(--charcoal); padding: 96px 0 80px; }
.page-hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 48px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.hero-eyebrow::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--gold); }
.page-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(30px, 5vw, 56px); font-weight: 700; color: #EBEBEB; line-height: 1.12; max-width: 760px; margin-bottom: 24px; }
.page-hero p.hero-sub { font-size: 18px; color: rgba(235,235,235,0.6); max-width: 580px; line-height: 1.65; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ─── SECTIONS ─── */
.section { padding: 88px 0; }
.section-dark { background: var(--charcoal); }
.section-charcoal2 { background: #1E1E1E; }
.section-white { background: #fff; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 48px; }
.section-header { margin-bottom: 52px; }
.section-header h2 { font-family: 'Fraunces', serif; font-size: clamp(24px, 3.5vw, 40px); font-weight: 700; color: var(--charcoal); line-height: 1.18; margin-bottom: 14px; }
.section-header-light h2 { color: #EBEBEB; }
.section-header p { font-size: 16px; color: var(--muted); max-width: 580px; line-height: 1.65; }
.section-header-light p { color: rgba(235,235,235,0.55); }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--card-white); border: 1px solid var(--border); border-radius: 14px; padding: 30px; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.card-dark { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
.card-dark h3 { color: #EBEBEB; }
.card-dark p { color: rgba(235,235,235,0.5); }

/* ─── PROOF ITEMS ─── */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-item { padding: 28px; background: var(--card-white); border: 1px solid var(--border); border-radius: 14px; }
.proof-item-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.proof-item-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.proof-item h3 { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.proof-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─── PARTNERSHIP ─── */
.partnership-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.partnership-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 32px; }
.partnership-item h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; color: #EBEBEB; margin-bottom: 12px; }
.partnership-item p { font-size: 14.5px; color: rgba(235,235,235,0.55); line-height: 1.65; }

/* ─── OUTCOMES ─── */
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome-item { padding: 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; }
.outcome-number { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 700; color: var(--gold); margin-bottom: 8px; line-height: 1; }
.outcome-item h3 { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 600; color: #EBEBEB; margin-bottom: 8px; }
.outcome-item p { font-size: 13.5px; color: rgba(235,235,235,0.5); line-height: 1.6; }

/* ─── WHY SECTION ─── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-item-num { font-family: 'Fraunces', serif; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 10px; letter-spacing: 0.1em; }
.why-item h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.why-item p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── INDUSTRIES ─── */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-card { background: var(--card-white); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; }
.industry-card h4 { font-size: 14px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.industry-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ─── FOUNDER ─── */
.team-block { display: flex; align-items: flex-start; gap: 32px; }
.team-avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,186,72,0.10); border: 1.5px solid rgba(255,186,72,0.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.team-avatar svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.team-content { flex: 1; }
.team-quote { font-family: 'Fraunces', serif; font-size: 18px; font-style: italic; color: var(--charcoal); line-height: 1.6; margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.founder-name { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.founder-title { font-size: 12px; color: var(--warm-grey); }
.founder-mini { display: flex; align-items: flex-start; gap: 20px; background: var(--card-white); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.founder-mini .team-avatar { width: 48px; height: 48px; font-size: 18px; }
.founder-mini-quote { font-family: 'Fraunces', serif; font-size: 16px; font-style: italic; color: var(--charcoal); line-height: 1.6; margin-bottom: 8px; }
.founder-mini-name { font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ─── CTA SECTION ─── */
.cta-section { background: var(--charcoal); padding: 88px 0; text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; padding: 0 48px; }
.cta-section h2 { font-family: 'Fraunces', serif; font-size: clamp(24px, 4vw, 40px); font-weight: 700; color: #EBEBEB; line-height: 1.18; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: rgba(235,235,235,0.55); line-height: 1.65; margin-bottom: 36px; }
.cta-note { font-size: 12px; color: rgba(235,235,235,0.3); margin-top: 14px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer { background: #111111; padding: 64px 0 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 13.5px; color: rgba(235,235,235,0.35); line-height: 1.65; margin-top: 4px; max-width: 280px; }
footer h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(235,235,235,0.3); margin-bottom: 14px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
footer ul li a { font-size: 13.5px; color: rgba(235,235,235,0.45); text-decoration: none; transition: color 0.15s; }
footer ul li a:hover { color: rgba(235,235,235,0.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: var(--charcoal); margin-bottom: 12px; }
.contact-info p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--charcoal); }
.contact-detail svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; color: var(--charcoal); background: var(--card-white);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── TWO COL LAYOUT ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two-col-content h2 { font-family: 'Fraunces', serif; font-size: clamp(24px, 3.5vw, 40px); font-weight: 700; color: var(--charcoal); line-height: 1.18; margin-bottom: 16px; }
.two-col-content p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.two-col-content-light h2 { color: #EBEBEB; }
.two-col-content-light p { color: rgba(235,235,235,0.55); }
.services-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.services-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.services-list li::before { content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── SERVICES OVERVIEW ─── */
.services-overview-grid { display: flex; flex-direction: column; gap: 2px; }
.service-overview-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 32px; align-items: start;
  padding: 36px 40px; background: var(--card-white); border-radius: 14px;
  border: 1.5px solid var(--border); text-decoration: none; color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s; margin-bottom: 16px;
}
.service-overview-card:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(255,186,72,0.08); }
.service-overview-icon { width: 52px; height: 52px; background: var(--gold-dim); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px; }
.service-overview-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-overview-content h2 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.service-overview-content > p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.service-overview-content ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.service-overview-content ul li { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.service-overview-content ul li::before { content: '→'; color: var(--gold); font-weight: 700; }
.service-overview-link { font-size: 13.5px; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; }

/* ─── CONTACT FORM ─── */
.page-hero-short { padding: 72px 0 60px; }
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.contact-form-wrap h2 { font-family: 'Fraunces', serif; font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 10px; }
.contact-form-wrap > p { font-size: 15px; color: var(--muted); margin-bottom: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; color: var(--charcoal);
  background: var(--card-white); transition: border-color 0.2s; outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: var(--warm-grey); text-align: center; margin-top: 4px; }
.btn-full { width: 100%; justify-content: center; }
.contact-sidebar { display: flex; flex-direction: column; gap: 28px; padding-top: 60px; }
.contact-info-block h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 6px; }
.contact-info-block a { font-size: 15px; color: var(--charcoal); font-weight: 600; text-decoration: none; }
.contact-info-block a:hover { color: var(--gold); }
.contact-info-block p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact-trust-items { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border); padding-top: 24px; }
.contact-trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--charcoal); }
.contact-trust-item svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ─── RESPONSIVE — TABLET ─── */

/* ─── RESPONSIVE — MEDIUM ─── */
/* ─── HOW WE WORK SECTION ─── */
.hww-section {
  background: var(--charcoal-2);
  padding: 80px 0 88px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hww-section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}
.hww-section-head {
  text-align: center;
  margin-bottom: 56px;
}
.hww-eyebrow {
  justify-content: center;
}
.hww-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #EBEBEB;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Grid: 4 cards + 3 arrow connectors */
.hww-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr;
  align-items: center;
  gap: 0;
}

/* Cards */
.hww-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,186,72,0.13);
  border-radius: 16px;
  padding: 32px 26px 34px;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
  height: 100%;
}
.hww-card:hover {
  background: rgba(255,186,72,0.05);
  border-color: rgba(255,186,72,0.30);
  transform: translateY(-3px);
}

/* Step number ring */
.hww-num-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,186,72,0.45);
  background: rgba(255,186,72,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.hww-num {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Step title */
.hww-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: #EBEBEB;
  margin-bottom: 10px;
  line-height: 1.2;
}

/* Step description */
.hww-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(235,235,235,0.55);
  margin: 0;
}

/* Arrow connectors */
.hww-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── RESPONSIVE ── */
/* ─── ETHOS QUOTE ─── */
.ethos-quote-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 16px 0;
}
.ethos-quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 72px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 16px;
  user-select: none;
}
.ethos-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.65;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}
.ethos-attribution {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

/* ─── TEAM ATTRIBUTION ─── */
.team-attribution {
  margin-top: 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

/* ─── HERO 2-COLUMN LAYOUT ─── */
.hero-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-left { min-width: 0; }
.hero-left h1 { max-width: none; }
.hero-left .hero-sub { max-width: none; }
.hero-right { display: flex; align-items: center; justify-content: center; }

/* Trust & Confidence module */
.trust-module {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,186,72,0.20);
  border-radius: 18px;
  padding: 36px 32px 32px;
  width: 100%;
}
.trust-module-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.trust-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
  padding: 0;
}
.trust-checklist li { display: flex; align-items: flex-start; gap: 14px; }
.tc-icon { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
.tc-icon svg { width: 22px; height: 22px; display: block; }
.tc-text { display: flex; flex-direction: column; gap: 3px; }
.tc-text strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #EBEBEB;
  line-height: 1.3;
}
.tc-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  color: rgba(235,235,235,0.50);
  line-height: 1.5;
}
.trust-module-cta { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
.tm-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.tm-link:hover { opacity: 1; }

/* ─── TEAM BLOCK (about.html) ─── */
.team-block { display: flex; align-items: flex-start; gap: 32px; }
.team-content { flex: 1; }
.team-quote {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.78;
  margin-bottom: 28px;
  padding: 24px 28px;
  background: rgba(255,186,72,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
}
.team-bio {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 22px;
}
.team-attribution {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

/* Responsive */
/* ─── ABOUT: PHILOSOPHY LABEL + TEAM DIVIDER ─── */
.philosophy-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 14px;
}
.team-divider {
  border: none;
  border-top: 1px solid rgba(34,34,34,0.12);
  margin: 24px 0 22px;
}
/* ─── TEAM LABEL (between divider and bio) ─── */
.team-label {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.70;
  margin-bottom: 10px;
}


/* ─── ANCHOR SCROLL OFFSET (accounts for sticky nav height) ─── */
#partnership {
  scroll-margin-top: 88px;
}

/* ─── HERO: single primary CTA alignment ─── */
.hero-left .hero-actions {
  display: flex;
  gap: 0;
}
.hero-left .hero-actions .btn-gold {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .hero-2col { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { max-width: 540px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .trust-module { padding: 24px 20px; }
}


/* ─── HWW RESPONSIVE ─── */

/* Tablet: 2×2 grid */
@media (max-width: 1024px) {
  .hww-grid {
    /* Switch to flex so we control wrapping cleanly */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
  }
  /* Cards take ~47% width, arrows shrink to connector role */
  .hww-card { flex: 0 0 calc(50% - 24px); min-width: 0; }
  .hww-arrow {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 0;
  }
  /* Between-row connector: 3rd arrow (child 4 in 1-indexed)
     sits between the first pair and second pair — show as a
     full-width centred ↓ */
  .hww-arrow:nth-child(4) {
    flex: 0 0 100%;
    justify-content: center;
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

/* Mobile: fully linear stack — switch to flexbox column to avoid
   all grid-column/grid-row cascade conflicts */
@media (max-width: 720px) {
  .hww-section-inner { padding: 0 16px; }
  .hww-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  /* Reset every card and arrow — no grid properties */
  .hww-card,
  .hww-card:nth-child(1),
  .hww-card:nth-child(3),
  .hww-card:nth-child(5),
  .hww-card:nth-child(7) {
    flex: none;
    width: 100%;
  }
  .hww-arrow,
  .hww-arrow:nth-child(2),
  .hww-arrow:nth-child(4),
  .hww-arrow:nth-child(6) {
    flex: none;
    width: 100%;
    transform: rotate(90deg);
    padding: 6px 0;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .nav-inner { padding: 0 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-sidebar { padding-top: 0; }
  .service-overview-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .partnership-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-strip-inner { padding: 0 32px; gap: 24px; }
}

/* ─── RESPONSIVE — MOBILE ─── */
@media (max-width: 640px) {
  /* Nav */
  .nav-inner { padding: 0 16px; height: 64px; }
  .nav-logo-name { font-size: 16px; }
  .nav-logo-tagline { font-size: 8px; letter-spacing: 0.18em; }
  .nav-links { display: none; }
  .nav-cta-wrap { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; top: 64px; }

  /* Hero */
  .page-hero { padding: 48px 0 40px; }
  .page-hero-inner { padding: 0 16px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 18px; }
  .page-hero p.hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn-gold, .hero-actions .btn-outline-light { text-align: center; padding: 14px 20px; }

  /* Sections */
  .section { padding: 52px 0; }
  .section-inner { padding: 0 16px; }
  .section-header { margin-bottom: 32px; }

  /* Trust strip — scroll horizontally */
  .trust-strip-inner { padding: 0 16px; gap: 16px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trust-strip-inner::-webkit-scrollbar { display: none; }

  /* Grids → single column */
  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .cards-grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 14px; }
  .industries-grid { grid-template-columns: 1fr; gap: 10px; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .proof-grid { grid-template-columns: 1fr; gap: 14px; }
  .partnership-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Cards */
  .card { padding: 22px; }
  .card-dark { padding: 22px; }
  .industry-card { padding: 16px 18px; }

  /* Footer */
  .footer-inner { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding-top: 20px; }

  /* CTA */
  .cta-inner { padding: 0 16px; }
  .cta-section { padding: 56px 0; }
  .cta-actions { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn-gold, .cta-actions .btn-outline-light { width: 100%; max-width: 300px; text-align: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 12px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-sidebar { padding-top: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Services */
  .service-overview-card { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; }

  /* Two-col */
  .two-col { grid-template-columns: 1fr; gap: 32px; }

  /* Team block */
  .team-block { flex-direction: column; gap: 20px; }
  .founder-mini { flex-direction: column; gap: 14px; padding: 22px; }

  /* Disable mega menu on mobile */
  .mega-menu { display: none !important; }
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤900px
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Hero 2-col → single column, trust module full width */
  .hero-2col { grid-template-columns: 1fr; gap: 36px; }
  .hero-right { max-width: 100%; }

  /* Ethos quote */
  .ethos-quote { font-size: 19px; }
  .ethos-quote-wrap { padding: 8px 0; }

  /* HWW section heading */
  .hww-section-head { margin-bottom: 40px; }
  .hww-heading { font-size: 30px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤640px
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Hero 2-col ── */
  .hero-2col { gap: 28px; }
  .hero-left h1 { font-size: clamp(26px, 8vw, 38px); }
  .hero-left .hero-sub { font-size: 15px; line-height: 1.65; }

  /* ── Trust & Confidence module ── */
  .trust-module {
    padding: 22px 18px 20px;
    border-radius: 14px;
  }
  .trust-module-label { font-size: 9.5px; margin-bottom: 18px; }
  .trust-checklist { gap: 16px; margin-bottom: 20px; }
  .trust-checklist li { gap: 12px; }
  .tc-icon { width: 20px; height: 20px; }
  .tc-icon svg { width: 20px; height: 20px; }
  .tc-text strong { font-size: 13.5px; }
  .tc-sub { font-size: 12px; }
  .trust-module-cta { padding-top: 16px; }
  .tm-link { font-size: 12.5px; }

  /* ── HWW section ── */
  .hww-section { padding: 52px 0 60px; }
  .hww-section-inner { padding: 0 16px; }
  .hww-section-head { margin-bottom: 28px; }
  .hww-heading { font-size: clamp(24px, 7vw, 32px); }
  .hww-card { padding: 22px 18px 24px; border-radius: 12px; }
  .hww-card:hover { transform: none; }  /* disable lift on touch */
  .hww-num-ring { width: 36px; height: 36px; margin-bottom: 14px; }
  .hww-num { font-size: 10px; }
  .hww-title { font-size: 18px; margin-bottom: 7px; }
  .hww-desc { font-size: 13.5px; }

  /* ── Ethos quote ── */
  .ethos-quote-wrap { padding: 8px 0; }
  .ethos-quote-mark { font-size: 52px; margin-bottom: 10px; }
  .ethos-quote { font-size: clamp(15px, 4vw, 18px); line-height: 1.62; }

  /* ── Team block ── */
  .team-block { flex-direction: column; gap: 0; }
  .team-quote {
    font-size: 16px;
    line-height: 1.68;
    padding: 18px 20px;
    margin-bottom: 18px;
  }
  .team-bio { font-size: 14px; line-height: 1.72; margin-bottom: 16px; }
  .team-attribution { font-size: 10.5px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  ≤400px
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .nav-logo-name { font-size: 14px; }
  .nav-logo-tagline { font-size: 7px; letter-spacing: 0.14em; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero-inner { padding: 0 14px; }
  .trust-module { padding: 18px 14px 16px; }
  .hero-actions .btn-gold,
  .hero-actions .btn-outline-light { font-size: 13.5px; padding: 13px 16px; }
  .hww-card { padding: 18px 14px 20px; }
  .hww-title { font-size: 16px; }
  .ethos-quote { font-size: 15px; }
  .card { padding: 18px; }
  .outcome-number { font-size: 36px; }
}

