/* ==========================================================================
   Apt Companies — Site styles (Direction A "Authority")
   Shared across all pages. Depends on colors_and_type.css for tokens.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--fg-1);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--apt-gold-700); margin: 0 0 16px;
}
.on-navy .eyebrow { color: var(--apt-gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 6px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard), transform var(--dur-fast) var(--ease-standard), color var(--dur-base), border-color var(--dur-base);
}
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--apt-gold); color: var(--apt-navy); }
.btn-gold:hover { background: var(--apt-gold-700); }
.btn-navy { background: var(--apt-navy); color: #fff; }
.btn-navy:hover { background: var(--apt-navy-700); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost-navy { color: var(--apt-navy); border-color: var(--border-2); background: #fff; }
.btn-ghost-navy:hover { border-color: var(--apt-navy); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-1);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 32px;
}
.nav-brand img { height: 48px; }
.nav-links { display: flex; gap: 28px; margin-left: 8px; flex: 1; }
.nav-links a {
  text-decoration: none; color: var(--apt-navy); font-size: 14.5px; font-weight: 500;
  padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--apt-gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-standard);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-right .subtle { text-decoration: none; color: var(--fg-2); font-size: 14.5px; font-weight: 500; }
.nav-right .subtle:hover { color: var(--apt-navy); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--apt-navy); margin: 4px 0; transition: 0.2s; }
.mobile-menu { display: none; }

/* Dropdown (About Us) */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-links .has-sub > a .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--dur-base); }
.nav-links .submenu {
  position: absolute; top: calc(100% + 10px); left: -14px; min-width: 188px;
  background: #fff; border: 1px solid var(--border-1); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-6px); transition: opacity var(--dur-base), transform var(--dur-base), visibility var(--dur-base);
  display: flex; flex-direction: column; gap: 2px; z-index: 50;
}
.nav-links .has-sub:hover .submenu, .nav-links .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .has-sub:hover > a .caret { transform: rotate(225deg) translateY(0); }
.nav-links .submenu a { padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.nav-links .submenu a::after { display: none; }
.nav-links .submenu a:hover { background: var(--apt-paper-50); color: var(--apt-gold-700); }
.mobile-menu .sub-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); padding: 16px 0 4px; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section { padding: 100px 0; }
.sec-head { max-width: 720px; margin: 0 0 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-family: var(--font-display); font-weight: 400; color: var(--apt-navy);
  font-size: clamp(34px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -0.01em; margin: 0;
}
.sec-head p { font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 16px 0 0; }
.navy { background: var(--apt-navy); color: #fff; }
.navy .sec-head h2 { color: #fff; }
.navy .sec-head p { color: rgba(255,255,255,0.78); }
.paper { background: var(--apt-paper); }

/* ============================================================
   PAGE HERO (inner page header band)
   ============================================================ */
.page-hero { background: var(--apt-navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(209,190,20,0.13), transparent 70%); pointer-events: none; }
.page-hero .wrap { padding-top: 84px; padding-bottom: 84px; position: relative; }
.page-hero .crumbs { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.page-hero .crumbs a { color: rgba(255,255,255,0.6); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--apt-gold); }
.page-hero .crumbs .sep { margin: 0 8px; color: rgba(255,255,255,0.3); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.015em;
  margin: 0; max-width: 16ch; text-wrap: balance;
}
.page-hero h1 em { font-style: italic; color: var(--apt-gold); }
.page-hero .lead { font-size: 19px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,0.84); max-width: 600px; margin: 24px 0 0; }
.page-hero .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ============================================================
   HOMEPAGE HERO (full-bleed photo)
   ============================================================ */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; background: url('assets/photo-meeting.png') center/cover; transform: scale(1.02); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,23,58,0.94) 0%, rgba(10,32,77,0.84) 48%, rgba(10,32,77,0.52) 100%); }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 120px 32px 0; }
.hero h1 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.015em; margin: 0; max-width: 880px; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--apt-gold); }
.hero-lead { font-size: 19px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,0.86); max-width: 600px; margin: 26px 0 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-proof { display: flex; gap: 0; margin-top: 72px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero-proof .item { padding: 28px 44px 36px 0; margin-right: 44px; border-right: 1px solid rgba(255,255,255,0.14); }
.hero-proof .item:last-child { border-right: 0; }
.hero-proof .num { font-family: var(--font-display); font-size: 44px; color: var(--apt-gold); line-height: 1; }
.hero-proof .lbl { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 8px; letter-spacing: 0.02em; max-width: 180px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--apt-navy); padding: 0 0 28px; }
.trustbar .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trustbar .label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 600; }
.trustbar .names { display: flex; gap: 34px; flex-wrap: wrap; color: rgba(255,255,255,0.78); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; }

/* ---------- Value props ---------- */
.vp { background: #fff; border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); padding: 72px 0; }
.vp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.vp-cell { display: flex; flex-direction: column; gap: 12px; }
.vp-cell .ic { width: 30px; height: 30px; stroke: var(--apt-gold-700); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vp-cell h4 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--apt-navy); margin: 6px 0 0; }
.vp-cell p { font-size: 15.5px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* ---------- Services cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.svc-card { background: #fff; border: 1px solid var(--border-1); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card.feat { background: var(--apt-navy); border-color: var(--apt-navy); transform: translateY(-14px); box-shadow: 0 22px 48px rgba(10,32,77,0.22); }
.svc-card.feat:hover { transform: translateY(-20px); }
.svc-photo { height: 168px; background-size: cover; background-position: center; }
.svc-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-body .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--apt-navy); }
.svc-card.feat .tag { color: var(--apt-gold); }
.svc-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0; color: var(--apt-navy); }
.svc-card.feat h3 { color: #fff; }
.svc-body p { font-size: 14.5px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 0; }
.svc-card.feat p { color: rgba(255,255,255,0.8); }
.svc-points { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 8px; }
.svc-points li { font-size: 13.5px; display: flex; align-items: center; gap: 10px; color: var(--fg-1); font-weight: 400; }
.svc-card.feat .svc-points li { color: rgba(255,255,255,0.88); }
.svc-points .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--apt-navy); flex: none; }
.svc-card.feat .svc-points .dot { background: var(--apt-gold); }
.svc-link { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--apt-navy); text-decoration: none; align-self: flex-start; }
.svc-card.feat .svc-link { color: var(--apt-gold); }

/* ---------- Alternating image + text rows (service detail) ---------- */
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.alt-row + .alt-row { margin-top: 88px; }
.alt-row.flip .alt-media { order: 2; }
.alt-media img { width: 100%; height: 420px; object-fit: cover; border-radius: 10px; }
.alt-media { position: relative; }
.alt-media .accent { position: absolute; width: 84px; height: 84px; background: var(--apt-gold); z-index: -1; }
.alt-media .accent.tl { left: -16px; top: -16px; }
.alt-media .accent.br { right: -16px; bottom: -16px; }
.alt-copy .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--apt-gold-700); }
.alt-copy h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px,3vw,40px); color: var(--apt-navy); margin: 14px 0 16px; line-height: 1.06; letter-spacing: -0.01em; }
.alt-copy p { font-size: 16.5px; font-weight: 300; line-height: 1.66; color: var(--fg-2); margin: 0 0 16px; }
.alt-copy .pts { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alt-copy .pts li { font-size: 14.5px; color: var(--fg-1); display: flex; gap: 10px; align-items: flex-start; }
.alt-copy .pts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--apt-gold); margin-top: 8px; flex: none; }

/* ---------- Stats band ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat .n { font-family: var(--font-display); font-size: clamp(48px, 5vw, 64px); color: var(--apt-gold); line-height: 1; }
.stat .l { font-size: 14.5px; color: rgba(255,255,255,0.78); margin-top: 12px; line-height: 1.5; font-weight: 300; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--apt-gold); }
.step .k { font-family: var(--font-display); font-size: 22px; color: var(--apt-gold-700); }
.step h4 { font-family: var(--font-body); font-weight: 600; font-size: 18px; color: var(--apt-navy); margin: 10px 0 8px; }
.step p { font-size: 14.5px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 0; }
.navy .step h4 { color: #fff; }
.navy .step p { color: rgba(255,255,255,0.75); }
.navy .step { border-top-color: var(--apt-gold); }

/* ---------- Roles ---------- */
.roles-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.roles-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px,3vw,42px); color: var(--apt-navy); margin: 0; letter-spacing: -0.01em; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { font-family: var(--font-body); font-size: 13px; font-weight: 500; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border-1); background: #fff; color: var(--apt-navy); cursor: pointer; transition: all var(--dur-fast) var(--ease-standard); }
.chip:hover { border-color: var(--apt-navy); }
.chip.active { background: var(--apt-navy); color: #fff; border-color: var(--apt-navy); }
.role-list { display: flex; flex-direction: column; gap: 10px; }
.role { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; padding: 22px 26px; border: 1px solid var(--border-1); border-radius: 10px; text-decoration: none; color: inherit; background: #fff; transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base); }
.role:hover { border-color: var(--apt-navy-200); box-shadow: var(--shadow-md); transform: translateX(2px); }
.role.feat { border-color: var(--apt-gold); box-shadow: 0 4px 16px rgba(209,190,20,0.14); }
.role .r-title { font-weight: 600; font-size: 17.5px; color: var(--apt-navy); margin: 0; display: flex; align-items: center; gap: 10px; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--apt-gold); color: var(--apt-navy); padding: 3px 8px; border-radius: 999px; }
.r-meta { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--fg-2); margin-top: 7px; font-weight: 300; flex-wrap: wrap; }
.r-meta .sep { color: var(--apt-silver); }
.r-salary { font-family: var(--font-mono); font-size: 13.5px; color: var(--apt-navy); font-weight: 600; white-space: nowrap; }
.r-arrow { font-size: 20px; color: var(--apt-navy); opacity: 0.4; }
.role:hover .r-arrow { opacity: 1; }

/* ---------- Testimonial ---------- */
.quote-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.quote-photo { position: relative; }
.quote-photo img { width: 100%; height: 380px; object-fit: cover; border-radius: 10px; }
.quote-photo .accent { position: absolute; left: -18px; top: -18px; width: 84px; height: 84px; background: var(--apt-gold); z-index: -1; }
blockquote { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px,2.4vw,32px); line-height: 1.32; color: var(--apt-navy); letter-spacing: -0.005em; }
blockquote .mark { color: var(--apt-gold); }
.q-author { margin-top: 22px; }
.q-author .nm { font-weight: 600; font-size: 15px; color: var(--apt-navy); }
.q-author .rl { font-size: 13.5px; font-weight: 300; color: var(--fg-2); margin-top: 3px; }

/* ---------- Insights / posts ---------- */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ins-card { border: 1px solid var(--border-1); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; transition: box-shadow var(--dur-base), transform var(--dur-base); }
.ins-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ins-photo { height: 170px; background-size: cover; background-position: center; }
.ins-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ins-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--apt-gold-700); }
.ins-body h4 { font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--apt-navy); margin: 0; }
.ins-body p { font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--fg-2); margin: 0; }
.ins-meta { margin-top: auto; font-size: 12.5px; color: var(--fg-3); }

/* featured post (insights page) */
.feat-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border: 1px solid var(--border-1); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow var(--dur-base); }
.feat-post:hover { box-shadow: var(--shadow-lg); }
.feat-post .ph { background-size: cover; background-position: center; min-height: 340px; }
.feat-post .bd { padding: 44px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feat-post .bd h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px,2.6vw,36px); line-height: 1.1; color: var(--apt-navy); margin: 0; }
.feat-post .bd p { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* ---------- People (about) ---------- */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person { display: flex; flex-direction: column; gap: 4px; }
.person .av { width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--apt-navy); color: var(--apt-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 38px; margin-bottom: 14px; }
.person .av.alt { background: var(--apt-paper); color: var(--apt-navy); }
.person .nm { font-weight: 600; font-size: 16px; color: var(--apt-navy); }
.person .rl { font-size: 13.5px; font-weight: 300; color: var(--fg-2); }

/* values list (about) */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 48px; }
.value { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--border-1); }
.value .k { font-family: var(--font-display); font-size: 22px; color: var(--apt-gold-700); line-height: 1.2; flex: none; width: 40px; }
.value h4 { font-family: var(--font-body); font-weight: 600; font-size: 18px; color: var(--apt-navy); margin: 0 0 6px; }
.value p { font-size: 14.5px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* ---------- Team preview (home/about) ---------- */
.team-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.team-photo img { width: 100%; height: 420px; object-fit: cover; border-radius: 10px; }
.team-copy h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px,3vw,44px); color: var(--apt-navy); margin: 0 0 18px; line-height: 1.05; letter-spacing: -0.01em; }
.team-copy p { font-size: 16.5px; font-weight: 300; line-height: 1.65; color: var(--fg-2); margin: 0 0 16px; }
.team-mini { display: flex; gap: 36px; margin-top: 28px; }
.team-mini .n { font-family: var(--font-display); font-size: 34px; color: var(--apt-navy); line-height: 1; }
.team-mini .l { font-size: 13px; color: var(--fg-3); margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border-1); padding: 22px 0; }
.faq summary { font-weight: 600; font-size: 17px; color: var(--apt-navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { font-family: var(--font-display); font-size: 24px; color: var(--apt-gold-700); transition: transform var(--dur-base); flex: none; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details p { font-size: 15.5px; font-weight: 300; line-height: 1.65; color: var(--fg-2); margin: 14px 0 0; }

/* ---------- Contact / CTA ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.contact h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px,3.4vw,48px); color: #fff; margin: 0; line-height: 1.04; letter-spacing: -0.01em; }
.contact .lead { font-size: 17.5px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,0.8); max-width: 460px; margin: 18px 0 0; }
.contact-form { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; font-weight: 300; color: #fff;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.22); border-radius: 6px;
  padding: 12px 14px; outline: none; transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.42); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--apt-gold); box-shadow: 0 0 0 3px rgba(209,190,20,0.18); }
.field select option { color: var(--apt-navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form button { margin-top: 6px; justify-content: center; }
.form-note { font-size: 12.5px; color: rgba(255,255,255,0.55); text-align: center; }

/* light contact form (on paper, contact page) */
.contact-form.light { background: #fff; border: 1px solid var(--border-1); box-shadow: var(--shadow-md); }
.contact-form.light .field label { color: var(--fg-2); }
.contact-form.light .field input, .contact-form.light .field select, .contact-form.light .field textarea { color: var(--apt-navy); background: var(--apt-paper-50); border-color: var(--border-1); }
.contact-form.light .field input::placeholder, .contact-form.light .field textarea::placeholder { color: var(--fg-mute); }
.contact-form.light .field input:focus, .contact-form.light .field select:focus, .contact-form.light .field textarea:focus { border-color: var(--apt-navy); box-shadow: var(--focus-ring); }
.contact-form.light .form-note { color: var(--fg-3); }

/* contact details list */
.contact-details { display: flex; flex-direction: column; gap: 26px; }
.cd-item .k { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--apt-gold-700); margin-bottom: 6px; }
.cd-item .v { font-size: 17px; color: var(--apt-navy); font-weight: 400; }
.cd-item .v a { color: var(--apt-navy); text-decoration: none; }
.cd-item .v a:hover { color: var(--apt-gold-700); }

/* newsletter band */
.news { background: var(--apt-gold); }
.news .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.news h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px,3vw,40px); color: var(--apt-navy); margin: 0; line-height: 1.06; }
.news p { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--apt-ink); margin: 14px 0 0; opacity: 0.85; }
.news form { display: flex; gap: 8px; }
.news input { flex: 1; padding: 14px 16px; border-radius: 6px; border: 1px solid var(--apt-navy); background: rgba(255,255,255,0.7); color: var(--apt-navy); font-family: var(--font-body); font-size: 15px; font-weight: 300; outline: none; }
.news input:focus { background: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.ft { background: var(--apt-paper); color: var(--apt-navy); }
.ft-main { max-width: 1200px; margin: 0 auto; padding: 72px 32px; display: grid; grid-template-columns: 1.4fr 2fr; gap: 64px; }
.ft-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.ft-brand img { width: 220px; }
.ft-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--apt-navy); margin: 0; }
.ft-blurb { font-size: 14.5px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 0; }
.ft-contact { font-size: 14px; color: var(--fg-2); display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.ft-contact a { color: var(--apt-navy); text-decoration: none; font-weight: 500; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ft-cols h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--apt-navy); margin: 0 0 16px; }
.ft-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ft-cols a { color: var(--fg-1); text-decoration: none; font-size: 14px; font-weight: 300; }
.ft-cols a:hover { color: var(--apt-gold-700); }
.ft-legal { border-top: 1px solid var(--border-1); }
.ft-legal-inner { max-width: 1200px; margin: 0 auto; padding: 20px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12.5px; color: var(--fg-3); }
.ft-legal-inner a { color: var(--fg-3); text-decoration: none; }
.ft-legal-links { display: flex; gap: 12px; align-items: center; }
.ft-legal-links .sep { color: var(--apt-silver); }

/* ============================================================
   ADDED FOR aptcompanies.io REBUILD
   ============================================================ */

/* Split hero (text left, photo right) */
.hero-split { background: var(--apt-navy); color: #fff; position: relative; overflow: hidden; }
.hero-split::after { content: ''; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(209,190,20,0.12), transparent 70%); pointer-events: none; }
.hero-split .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 80px; position: relative; }
.hero-split h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.hero-split h1 em { font-style: italic; color: var(--apt-gold); }
.hero-split .lead { font-size: 18.5px; font-weight: 300; line-height: 1.62; color: rgba(255,255,255,0.82); max-width: 520px; margin: 24px 0 0; }
.hero-split .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-split .hero-media { position: relative; }
.hero-split .hero-media img { width: 100%; height: 460px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-lg); }
.hero-split .hero-media .gold-square { position: absolute; right: -16px; bottom: -16px; width: 96px; height: 96px; background: var(--apt-gold); z-index: 0; }

/* Logo wall */
.logo-wall { background: #fff; border-bottom: 1px solid var(--border-1); }
.logo-wall .wrap { padding: 44px 32px; }
.logo-wall .label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 26px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; }
.logo-row span { font-family: var(--font-display); font-size: 22px; color: var(--apt-navy); opacity: 0.42; letter-spacing: -0.01em; transition: opacity var(--dur-base); }
.logo-row span:hover { opacity: 0.85; }

/* Service tiles (13 services) */
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-tile { background: #fff; border: 1px solid var(--border-1); border-radius: 12px; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base), border-color var(--dur-base); }
.svc-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--apt-navy-200); }
.svc-tile .tile-ic { width: 46px; height: 46px; border-radius: 10px; background: var(--apt-navy); display: flex; align-items: center; justify-content: center; flex: none; }
.svc-tile .tile-ic svg { width: 24px; height: 24px; stroke: var(--apt-gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-tile h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.12; color: var(--apt-navy); margin: 0; }
.svc-tile p { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 0; }
.svc-tile .tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--apt-gold-700); }

/* Service pillars (accordion) */
.pillar + .pillar { margin-top: 18px; }
.pillar-head { width: 100%; text-align: left; background: none; border: 0; border-bottom: 2px solid var(--apt-navy); font: inherit; color: inherit; cursor: pointer; padding: 0 0 18px; display: block; transition: border-color var(--dur-base); }
.pillar-head:hover { border-bottom-color: var(--apt-gold); }
.pillar-head:focus-visible { outline: 2px solid var(--apt-gold-700); outline-offset: 4px; }
.pillar-head-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pillar-head .pt { display: flex; align-items: baseline; gap: 16px; }
.pillar-head .pk { font-family: var(--font-display); font-size: 26px; color: var(--apt-gold-700); line-height: 1; flex: none; }
.pillar-head h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(23px,2.6vw,34px); color: var(--apt-navy); margin: 0; letter-spacing: -0.01em; line-height: 1.04; }
.pillar-desc { font-size: 14.5px; font-weight: 300; line-height: 1.55; color: var(--fg-2); margin: 12px 0 0; max-width: 680px; }
.pillar-toggle { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--apt-navy); position: relative; transition: background var(--dur-base), border-color var(--dur-base); }
.pillar-head:hover .pillar-toggle { background: var(--apt-navy); border-color: var(--apt-navy); }
.pillar-toggle::before, .pillar-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--apt-navy); transition: transform var(--dur-base) var(--ease-standard), background var(--dur-base); }
.pillar-toggle::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.pillar-toggle::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.pillar-head:hover .pillar-toggle::before, .pillar-head:hover .pillar-toggle::after { background: #fff; }
.pillar.open .pillar-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.pillar-body { overflow: hidden; }
.pillar:not(.open) .pillar-body { display: none; }
.pillar-body-inner { overflow: hidden; }
.pillar-body .svc-tiles { padding-top: 24px; }
@keyframes pillarReveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) { .pillar.open .pillar-body-inner { animation: pillarReveal var(--dur-slow) var(--ease-standard); } }

/* Image CTA band */
.cta-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-band.flip .cta-media { order: 2; }
.cta-band .cta-media { position: relative; }
.cta-band .cta-media img { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; }
.cta-band .cta-media .gold-square { position: absolute; width: 84px; height: 84px; background: var(--apt-gold); z-index: -1; left: -16px; top: -16px; }
.cta-band.flip .cta-media .gold-square { left: auto; right: -16px; bottom: -16px; top: auto; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px,3.2vw,44px); line-height: 1.05; letter-spacing: -0.01em; color: var(--apt-navy); margin: 0 0 16px; }
.cta-band p { font-size: 17px; font-weight: 300; line-height: 1.62; color: var(--fg-2); margin: 0 0 26px; max-width: 460px; }
.cta-band.on-navy h2 { color: #fff; }
.cta-band.on-navy p { color: rgba(255,255,255,0.82); }

/* Testimonial cards */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { background: #fff; border: 1px solid var(--border-1); border-radius: 12px; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.tcard .stars { color: var(--apt-gold); font-size: 15px; letter-spacing: 2px; }
.tcard p { font-size: 15px; font-weight: 300; line-height: 1.62; color: var(--fg-1); margin: 0; flex: 1; }
.tcard .by { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border-1); padding-top: 16px; }
.tcard .by .av { width: 38px; height: 38px; border-radius: 50%; background: var(--apt-navy); color: var(--apt-gold); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex: none; }
.tcard .by .who { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }

/* Two-column "why choose us" feature list */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat-item { background: #fff; border: 1px solid var(--border-1); border-radius: 12px; padding: 28px 30px; display: flex; gap: 20px; }
.feat-item .fic { width: 44px; height: 44px; border-radius: 10px; background: var(--apt-gold-100); display: flex; align-items: center; justify-content: center; flex: none; }
.feat-item .fic svg { width: 22px; height: 22px; stroke: var(--apt-gold-700); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat-item h4 { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--apt-navy); margin: 0 0 7px; }
.feat-item p { font-size: 14.5px; font-weight: 300; line-height: 1.6; color: var(--fg-2); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .nav-links, .nav-right .subtle { display: none; }
  .nav-toggle { display: block; }
  .nav-right { margin-left: auto; }
  .vp-grid, .svc-grid, .ins-grid, .stats-grid, .steps { grid-template-columns: 1fr 1fr; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid, .team-grid, .contact-grid, .alt-row, .feat-post, .news .wrap, .values-grid { grid-template-columns: 1fr; gap: 36px; }
  .alt-row.flip .alt-media { order: 0; }
  .svc-card.feat { transform: none; }
  .ft-main { grid-template-columns: 1fr; gap: 40px; }
  .hero-split .wrap, .cta-band .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-split .hero-media { order: -1; }
  .cta-band.flip .cta-media { order: 0; }
  .svc-tiles, .tcards, .feat-grid { grid-template-columns: 1fr 1fr; }
  .mobile-menu.open { display: block; background: #fff; border-bottom: 1px solid var(--border-1); padding: 12px 32px 20px; }
  .mobile-menu.open a { display: block; padding: 12px 0; text-decoration: none; color: var(--apt-navy); font-weight: 500; border-bottom: 1px solid var(--border-1); }
  .mobile-menu.open .sub-label { padding: 16px 0 4px; border: 0; }
}
@media (max-width: 600px) {
  .wrap, .nav-inner, .ft-main, .ft-legal-inner { padding-left: 20px; padding-right: 20px; }
  .vp-grid, .svc-grid, .ins-grid, .stats-grid, .steps, .people-grid, .alt-copy .pts { grid-template-columns: 1fr; }
  .svc-tiles, .tcards, .feat-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-direction: column; }
  .hero-proof .item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.14); margin-right: 0; padding: 20px 0; }
  .role { grid-template-columns: 1fr; gap: 12px; }
  .r-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .feat-post .bd { padding: 28px; }
  .hero-split .hero-media img, .cta-band .cta-media img { height: 300px; }
}
/* ============================================================
   Contact Form 7 Fixes
   ============================================================ */

/* Force all labels and text to left align */
.contact-form,
.contact-form *,
.contact-form label,
.contact-form p,
.contact-form .field {
    text-align: left !important;
}

/* Full width submit button */
.contact-form .wpcf7-submit,
.contact-form input[type="submit"] {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box;
}

/* Button text color */
.contact-form .wpcf7-submit,
.contact-form input[type="submit"] {
    color: #0a204d !important;
}

/* Keep button text centered */
.contact-form input[type="submit"] {
    text-align: center !important;
}

/* Hide CF7 spinner */
.contact-form .wpcf7-spinner {
    display: none;
}