/*
Theme Name: GenoaCloud
Theme URI: https://genoacloud.com
Author: GenoaCloud
Author URI: https://genoacloud.com
Description: A polished marketing theme for managed IT, security and support providers. Includes a custom homepage, a services page with FAQ, an about page, and a consultation/contact page. Built as a classic theme with a registered navigation menu and Customizer-driven contact details.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: genoacloud
Tags: business, two-columns, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, blog
*/

/* ============================================================
   GenoaCloud shared design system
   Blue #3067ab / Slate #626b76 / Navy #0e1827
   Type: Libre Franklin / IBM Plex Sans
   ============================================================ */

:root {
  --blue: #3067ab;
  --blue-600: #2a5c98;
  --blue-700: #234d80;
  --blue-bright: #4d8de0;
  --blue-tint: #eaf1fa;
  --slate: #626b76;

  --navy-900: #0b1320;
  --navy-800: #101c30;
  --navy-700: #16243c;
  --navy-600: #1f3252;

  --ink: #16202e;
  --ink-soft: #41505f;
  --muted: #6b7785;

  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-soft-2: #eef2f7;
  --line: #e2e8f0;
  --line-soft: #edf1f6;

  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(16,28,48,.06), 0 1px 3px rgba(16,28,48,.04);
  --shadow-md: 0 4px 14px rgba(16,28,48,.08), 0 2px 4px rgba(16,28,48,.05);
  --shadow-lg: 0 18px 48px rgba(11,19,32,.16);

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 56px);

  --f-display: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.1; letter-spacing: -.018em; margin: 0; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow--light { color: var(--blue-bright); }
.eyebrow--light::before { background: var(--blue-bright); }
.eyebrow--center { justify-content: center; }

/* ---------- type scale ---------- */
.h-xl { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.h-lg { font-size: clamp(2rem, 4vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.27rem); color: var(--ink-soft); line-height: 1.6; }
.dim { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body);
  font-weight: 600; font-size: 15.5px;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(48,103,171,.28); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(48,103,171,.36); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ondark { background: #fff; color: var(--navy-900); }
.btn--ondark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.btn--ondark-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ondark-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 30px; height: auto; }
.brand .wordmark { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.brand .wordmark .g { color: var(--blue); }
.brand .wordmark .c { color: var(--slate); }

/* primary nav — works with wp_nav_menu output and the theme fallback */
.nav-links { display: flex; align-items: center; }
.nav-links .nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links .nav-menu li { margin: 0; }
.nav-links a {
  display: inline-block;
  font-size: 15.5px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 15px; border-radius: var(--radius);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .phone { font-family: var(--f-mono); font-size: 14px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav-cta .phone svg { width: 15px; height: 15px; color: var(--blue); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; color: var(--ink); }

/* mobile nav */
.mobile-nav { display: none; padding: 8px var(--gut) 22px; border-bottom: 1px solid var(--line-soft); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav .mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 13px 4px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c4d4; padding-block: clamp(56px, 7vw, 84px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .wordmark { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.footer-brand img { width: 30px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: #8694a8; max-width: 34ch; font-size: 15px; }
.footer-col h4 { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; color: #8694a8; font-weight: 600; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: #b9c4d4; font-size: 15px; padding: 6px 0; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col .menu { list-style: none; margin: 0; padding: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.09); color: #6d7d92; font-size: 13.5px; flex-wrap: wrap; }
.footer-bottom .mono { font-family: var(--f-body); }
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a:hover { color: #fff; }

/* ---------- shared decorative ---------- */
.dotgrid {
  background-image: radial-gradient(rgba(48,103,171,.18) 1px, transparent 1px);
  background-size: 22px 22px;
}
.dotgrid-light {
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ---------- service cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card-ico {
  width: 52px; height: 52px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-tint); color: var(--blue);
  margin-bottom: 22px;
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- chips / tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-soft); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; }

/* feature list */
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.flist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.flist svg { width: 19px; height: 19px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   HOME (front-page.php)
   ============================================================ */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 95% at 75% 10%, #000 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(120% 95% at 75% 10%, #000 35%, transparent 82%);
}
.hero::after {
  content: ""; position: absolute; top: -25%; right: -8%; width: 52vw; height: 110%;
  background: radial-gradient(closest-side, rgba(48,103,171,.22), rgba(48,103,171,0) 72%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: clamp(72px, 11vw, 132px); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
.hero h1 .accent { color: var(--blue-bright); }
.hero .lead { color: #b8c4d6; margin-top: 22px; max-width: 46ch; }
.hero .eyebrow { color: #7fb0ec; margin-bottom: 26px; }
.hero .eyebrow::before { background: #7fb0ec; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-assure { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-assure .item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #9fb0c6; }
.hero-assure svg { width: 18px; height: 18px; color: #5fd0a0; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.shield-stage { position: relative; width: min(100%, 420px); aspect-ratio: 1/1; display: grid; place-items: center; }
.shield-ring { position: absolute; border: 1px solid rgba(127,176,236,.18); border-radius: 50%; }
.shield-ring.r1 { inset: 4%; }
.shield-ring.r2 { inset: 16%; border-color: rgba(127,176,236,.12); }
.shield-ring.r3 { inset: 28%; }
.shield-glow { position: absolute; inset: 24%; border-radius: 28px; background: radial-gradient(closest-side, rgba(77,141,224,.32), transparent 78%); filter: blur(10px); }
.shield-stage img { position: relative; z-index: 2; width: 46%; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }

.trust { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust-inner { display: flex; align-items: center; gap: 36px; padding-block: 26px; flex-wrap: wrap; justify-content: center; }
.trust .lbl { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trust .partners { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.trust .partner { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: #8b97a6; letter-spacing: -.01em; }

.sec-head { max-width: 640px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head p { margin-top: 16px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.card.svc { display: flex; flex-direction: column; }
.card.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card.svc .num { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; margin-bottom: 18px; }
.card.svc .more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--blue); }
.card.svc .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card.svc:hover .more svg { transform: translateX(4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.included { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.included h3 { font-size: 1.25rem; margin-bottom: 8px; }
.included .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.included .flist li { font-size: 15.5px; color: var(--ink); }

.certs { background: var(--bg-soft); }
.cert-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.cert { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--cc, var(--blue)); border-radius: var(--radius-lg); padding: 24px; display: flex; gap: 18px; align-items: center; transition: transform .2s ease, box-shadow .2s ease; }
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert image-slot { width: 70px; height: 70px; flex-shrink: 0; border: 1px dashed var(--line); border-radius: 50%; }
.cert .meta .iss { font-size: 13px; font-weight: 600; color: var(--cc, var(--blue)); }
.cert .meta .nm { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; margin-top: 1px; letter-spacing: -.01em; }
.cert .meta .vf { font-size: 12.5px; color: var(--muted); margin-top: 9px; }
.cert .meta .vf a { color: var(--blue); font-weight: 500; }

.quote-wrap { max-width: 880px; margin-inline: auto; text-align: center; }
.quote-mark { font-family: var(--f-display); font-size: 72px; line-height: .5; color: var(--blue); opacity: .25; }
.quote { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.05rem); line-height: 1.35; letter-spacing: -.02em; margin: 18px 0 30px; text-wrap: balance; }
.quote .hl { color: var(--blue); }
.quote-by { display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote-by .av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy-700)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 600; }
.quote-by .who { text-align: left; }
.quote-by .who .nm { font-weight: 600; font-size: 15px; }
.quote-by .who .ro { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA band (shared) ---------- */
.cta-band { position: relative; background: var(--navy-900); color: #fff; border-radius: var(--radius-xl); padding: clamp(44px, 6vw, 72px); overflow: hidden; }
.cta-band::after { content: ""; position: absolute; top: -40%; right: -8%; width: 50%; height: 160%; background: radial-gradient(closest-side, rgba(48,103,171,.5), transparent 70%); }
.cta-band .inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 18ch; }
.cta-band p { color: #b8c4d6; margin-top: 14px; max-width: 40ch; }

/* ============================================================
   INNER PAGE HERO (services / about / contact)
   ============================================================ */
.page-hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; padding-block: clamp(72px, 10vw, 116px); }
.page-hero::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(110% 95% at 82% 8%, #000 35%, transparent 82%); -webkit-mask-image: radial-gradient(110% 95% at 82% 8%, #000 35%, transparent 82%); }
.page-hero::after { content:""; position:absolute; top:-30%; right:-6%; width:44vw; height:130%; background: radial-gradient(closest-side, rgba(48,103,171,.22), transparent 72%); }
.page-hero .inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color:#fff; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero .lead { color:#b8c4d6; margin-top: 20px; max-width: 56ch; }
.crumb { font-size: 14px; color:#7e8ea4; margin-top: 30px; }
.crumb a:hover { color:#fff; }

/* ============================================================
   SERVICES (page-services.php)
   ============================================================ */
.jump { position: sticky; top: 74px; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.jump .row { display:flex; gap:6px; padding-block:12px; overflow-x:auto; }
.jump a { font-size:14.5px; font-weight:500; color: var(--ink-soft); padding:9px 16px; border-radius:100px; white-space:nowrap; transition: background .15s, color .15s; }
.jump a:hover { background: var(--bg-soft); color: var(--ink); }

.svc-block { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; scroll-margin-top: 140px; }
.svc-block.flip .svc-text { order: 2; }
.svc-block + .svc-block { margin-top: clamp(72px, 9vw, 120px); }
.svc-text .card-ico { margin-bottom: 24px; }
.svc-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.svc-text .lead { margin: 16px 0 26px; }
.svc-text .flist { margin-bottom: 28px; }

.panel { border-radius: var(--radius-xl); padding: clamp(28px, 3.5vw, 42px); background: var(--navy-900); color:#fff; }
.panel.lightp { background:#fff; color: var(--ink); border:1px solid var(--line); box-shadow: var(--shadow-sm); }
.panel .ptitle { font-family: var(--f-display); font-size:1.25rem; font-weight:700; color:#fff; margin-bottom:8px; letter-spacing:-.01em; }
.panel.lightp .ptitle { color: var(--ink); }
.panel .psub { color:#8aa0bd; font-size:14px; margin-bottom:24px; }
.panel.lightp .psub { color: var(--muted); }
.plist { list-style:none; margin:0; padding:0; display:grid; gap:15px; }
.plist li { display:flex; gap:12px; align-items:flex-start; font-size:15px; color:#cdd7e6; }
.panel.lightp .plist li { color: var(--ink-soft); }
.plist svg { width:20px; height:20px; color:#7fb0ec; flex-shrink:0; margin-top:1px; }
.panel.lightp .plist svg { color: var(--blue); }

.faq-wrap { max-width: 820px; margin-inline:auto; margin-top: 44px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding: 22px 0; display:flex; align-items:center; justify-content:space-between; gap:20px; font-family: var(--f-display); font-weight:700; font-size: 1.15rem; color: var(--ink); letter-spacing:-.01em; }
.faq-q .ico { flex-shrink:0; width:28px; height:28px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; transition: transform .25s ease, background .2s, border-color .2s; }
.faq-q .ico svg { width:14px; height:14px; color: var(--blue); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq-item.open .faq-q .ico svg { color:#fff; }
.faq-a { max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { color: var(--ink-soft); font-size: 15.5px; padding-bottom: 22px; max-width: 64ch; }

/* ============================================================
   ABOUT (page-about.php)
   ============================================================ */
.story { display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center; }
.story p + p { margin-top:16px; color: var(--ink-soft); }
.story .lead + p { margin-top:18px; color: var(--ink-soft); }
.story-visual { position:relative; border-radius: var(--radius-xl); overflow:hidden; aspect-ratio: 4/5; background: var(--navy-900); display:flex; align-items:center; justify-content:center; }
.story-visual::before { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size:48px 48px; }
.story-visual::after { content:""; position:absolute; inset:0; background: radial-gradient(58% 48% at 50% 42%, rgba(48,103,171,.3), transparent 72%); }
.story-visual img { position:relative; z-index:2; width:44%; filter: drop-shadow(0 18px 40px rgba(0,0,0,.5)); }

.approach-band { background: var(--navy-900); color:#fff; }
.approach-band .wrap { padding-block: clamp(56px,8vw,96px); }
.approach-band .big { font-family: var(--f-display); font-weight:600; font-size: clamp(1.6rem,3.4vw,2.5rem); line-height:1.25; letter-spacing:-.02em; max-width: 22ch; text-wrap: balance; }
.approach-band .big .hl { color: var(--blue-bright); }

.values { background: var(--bg-soft); border-block:1px solid var(--line); }
.val-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:24px; margin-top:48px; }
.val { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding:30px; display:flex; gap:18px; }
.val .vico { flex-shrink:0; width:46px; height:46px; border-radius:10px; background: var(--blue-tint); color: var(--blue); display:flex; align-items:center; justify-content:center; }
.val .vico svg { width:23px; height:23px; }
.val h3 { font-size:1.2rem; margin-bottom:8px; }
.val p { color: var(--ink-soft); font-size:15px; }

.steps { display:grid; grid-template-columns: repeat(4,1fr); gap:24px; margin-top:50px; counter-reset: s; }
.step { position:relative; padding-top:30px; }
.step::before { counter-increment:s; content: "0" counter(s); font-family: var(--f-display); font-weight:600; font-size:14px; color: var(--blue); }
.step::after { content:""; position:absolute; top:36px; left:0; width:34px; height:2px; background: var(--blue); }
.step h3 { font-size:1.15rem; margin:18px 0 8px; }
.step p { color: var(--ink-soft); font-size:14.5px; }

.founder { display:grid; grid-template-columns: 280px 1fr; gap:48px; align-items:center; margin-top:44px; }
.founder image-slot { width:100%; aspect-ratio:1/1; border-radius: var(--radius-xl); border:1px dashed var(--line); }
.founder .nm { font-family: var(--f-display); font-weight:700; font-size:1.5rem; letter-spacing:-.01em; }
.founder .ro { color: var(--blue); font-weight:600; font-size:15px; margin-top:4px; }
.founder p { color: var(--ink-soft); margin-top:18px; max-width:54ch; }
.founder .sig { font-size:13.5px; color: var(--muted); margin-top:18px; }

/* ============================================================
   CONTACT (page-contact.php)
   ============================================================ */
.contact-grid { display:grid; grid-template-columns: 1.25fr .85fr; gap:56px; align-items:start; }

.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(26px,3.5vw,42px); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.55rem; }
.form-card .sub { color: var(--muted); font-size:15px; margin-top:6px; }
.fgrid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:26px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field.full { grid-column:1 / -1; }
.field label { font-size:13.5px; font-weight:600; color: var(--ink); }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size:15px; color: var(--ink);
  padding:12px 14px; border:1px solid var(--line); border-radius: var(--radius);
  background:#fff; transition: border-color .15s, box-shadow .15s; width:100%;
}
.field textarea { resize:vertical; min-height:104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48,103,171,.14); }
.field input.err, .field select.err, .field textarea.err { border-color:#d8475a; box-shadow:0 0 0 3px rgba(216,71,90,.12); }
.field .msg { font-size:12.5px; color:#d8475a; min-height:0; }
.field input.err ~ .msg, .field select.err ~ .msg { min-height:16px; }

.svc-pick { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:7px; }
.svc-pick label { display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius: var(--radius); padding:12px 14px; cursor:pointer; font-size:14px; font-weight:500; color: var(--ink-soft); transition: border-color .15s, background .15s, color .15s; }
.svc-pick label:hover { border-color: var(--blue); }
.svc-pick input { display:none; }
.svc-pick .box { width:18px; height:18px; border:1.5px solid var(--line); border-radius:5px; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: background .15s, border-color .15s; }
.svc-pick .box svg { width:12px; height:12px; color:#fff; opacity:0; transition: opacity .12s; }
.svc-pick input:checked + .box { background: var(--blue); border-color: var(--blue); }
.svc-pick input:checked + .box svg { opacity:1; }
.svc-pick input:checked ~ span { color: var(--ink); }
.svc-pick label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }

.form-foot { margin-top:26px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.form-foot .note { font-size:13px; color: var(--muted); display:flex; align-items:center; gap:8px; }
.form-foot .note svg { width:15px; height:15px; color:#5fb083; }

/* honeypot (spam trap) — visually hidden, not display:none so bots fill it */
.hp-field { position:absolute !important; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.form-alert { background:#fdecee; border:1px solid #f3c0c7; color:#a3263a; border-radius:var(--radius); padding:13px 16px; font-size:14.5px; font-weight:500; margin-bottom:22px; }

.success { display:none; text-align:center; padding: 26px 10px; }
.success.show { display:block; }
.form-fields.hide { display:none; }
.success .check { width:72px; height:72px; border-radius:50%; background: var(--blue-tint); color: var(--blue); display:flex; align-items:center; justify-content:center; margin:0 auto 22px; }
.success .check svg { width:36px; height:36px; }
.success h2 { font-size:1.6rem; }
.success p { color: var(--ink-soft); margin-top:12px; max-width:42ch; margin-inline:auto; }

.aside .blk { border:1px solid var(--line); border-radius: var(--radius-lg); padding:26px; margin-bottom:18px; background:#fff; }
.aside .blk h3 { font-family: var(--f-body); font-size:14px; letter-spacing:0; color: var(--ink); font-weight:600; margin-bottom:16px; }
.cline { display:flex; gap:14px; align-items:flex-start; padding:11px 0; }
.cline:not(:last-child){ border-bottom:1px solid var(--line-soft); }
.cline .ic { width:38px; height:38px; border-radius:9px; background: var(--blue-tint); color: var(--blue); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cline .ic svg { width:19px; height:19px; }
.cline .k { font-size:12.5px; color: var(--muted); font-weight:500; }
.cline .v { font-size:15px; font-weight:500; color: var(--ink); margin-top:2px; }
.cline .v a:hover { color: var(--blue); }

.assure-blk { background: var(--navy-900); color:#fff; border:none; }
.assure-blk h3 { color:#7e8ea4; }
.assure-blk .li { display:flex; gap:11px; align-items:flex-start; font-size:14.5px; color:#c2cdde; padding:8px 0; }
.assure-blk .li svg { width:18px; height:18px; color:#5fd0a0; flex-shrink:0; margin-top:2px; }

/* ============================================================
   WordPress core / editor classes
   ============================================================ */
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.aligncenter { display:block; margin-inline:auto; }
.alignright { float:right; margin-left:1.5em; }
.alignleft { float:left; margin-right:1.5em; }
.wp-caption-text { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.sticky, .gallery-caption, .bypostauthor { }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 340px; order: -1; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .cert-row { grid-template-columns: repeat(2, 1fr); }
  .svc-block, .svc-block.flip { grid-template-columns: 1fr; gap: 36px; }
  .svc-block.flip .svc-text { order: 0; }
  .story { grid-template-columns: 1fr; gap:40px; }
  .story-visual { aspect-ratio: 16/10; }
  .val-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns: repeat(2,1fr); gap:32px 24px; }
  .founder { grid-template-columns: 1fr; gap:28px; max-width:420px; }
  .contact-grid { grid-template-columns:1fr; gap:36px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .phone, .nav-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cert-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns:1fr; }
  .fgrid, .svc-pick { grid-template-columns:1fr; }
}


/* ---------- primary nav dropdown ---------- */
.nav-links .menu-item-has-children { position: relative; }
.nav-links .menu-item-has-children > a::after {
  content:""; display:inline-block; width:6px; height:6px; margin-left:7px;
  border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor;
  transform:rotate(45deg) translateY(-1px); opacity:.55; transition:transform .18s ease; vertical-align:middle;
}
.nav-links .menu-item-has-children:hover > a::after { transform:rotate(225deg) translateY(2px); }
.nav-links .sub-menu {
  position:absolute; top:calc(100% + 8px); left:50%; transform:translateX(-50%) translateY(6px);
  min-width:230px; background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); padding:8px; margin:0; list-style:none;
  opacity:0; visibility:hidden; transition:opacity .18s ease, transform .18s ease, visibility .18s; z-index:80;
}
.nav-links .menu-item-has-children:hover .sub-menu,
.nav-links .menu-item-has-children:focus-within .sub-menu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.nav-links .sub-menu::before { content:""; position:absolute; top:-14px; left:0; right:0; height:14px; }
.nav-links .sub-menu li { margin:0; }
.nav-links .sub-menu a { display:block; padding:10px 14px; border-radius:var(--radius); font-size:15px; font-weight:500; color:var(--ink-soft); white-space:nowrap; }
.nav-links .sub-menu a:hover { background:var(--bg-soft); color:var(--blue); }
.mobile-nav .sub-menu { list-style:none; margin:0; padding:0 0 0 16px; }
.mobile-nav .sub-menu a { color:var(--ink-soft); font-weight:500; font-size:15px; }

/* ---------- home services grid: four disciplines ---------- */
.svc-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) and (min-width: 921px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
