/*
Theme Name: Cloud and Tech
Theme URI: https://cloudandtech.com.au
Author: Cloud and Tech
Author URI: https://cloudandtech.com.au
Description: Custom WordPress theme for Cloud and Tech — Port Stephens IT Support, Home Users & Seniors.
Version: 2.0.6
Requires at least: 6.0
Tested up to: 6.7
License: Private
Text Domain: cloudandtech
*/

/* ── DESIGN SYSTEM ─────────────────────────────────────────
   Light editorial system. One accent: the brand blue.
   Navy panels use the brand navy. No greens, cyans or
   gradients — semantic status colours only where status
   is actually being shown.                                  */
:root {
  --ink:          #0D1630;
  --paper:        #F4F6FB;
  --surface:      #FFFFFF;
  --surface-2:    #E9EEF7;
  --accent:       #1A6AFF;
  --accent-strong:#0F4ECC;
  --accent-soft:  rgba(26,106,255,0.08);
  --muted:        #5C6678;
  --border:       #D7DEEC;

  /* navy panel internals (hero, footer, ticker) */
  --navy:         #0D1630;
  --navy-card:    #152147;
  --navy-border:  #26355C;
  --navy-text:    #F4F6FB;
  --navy-muted:   #8B96B4;
  --accent-bright:#6FA0FF;

  --radius:       12px;
  --radius-lg:    18px;
  --shadow:       0 10px 30px rgba(13,22,48,0.07);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font:         'Work Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; }
h3 { font-size: clamp(17px, 2vw, 21px); line-height: 1.3; }
p { color: var(--muted); line-height: 1.7; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
::selection { background: var(--accent); color: #fff; }

/* Legacy content sections styled with inline backgrounds (Gutenberg
   landing pages authored on the old dark theme): let their text
   inherit the section's own colour instead of the theme defaults. */
[style*="background:"] h1, [style*="background:"] h2, [style*="background:"] h3,
[style*="background:"] h4, [style*="background:"] h5, [style*="background:"] h6,
[style*="background:"] p, [style*="background:"] li { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* stroke icon convention */
.icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── TOPBAR ─────────────────────────────────────────────── */
.topbar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 13px; color: var(--muted); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: flex-end; gap: 24px; flex-wrap: wrap; }
.topbar a { color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: var(--accent); }

/* ── NAV ────────────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { font-size: 19px; font-weight: 700; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, #7C3AED, #2A7BFF); color: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* Customiser site-identity logo */
.site-nav .custom-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.site-nav img.custom-logo { height: 50px; width: auto; display: block; }
.site-footer .custom-logo-link { display: inline-block; }
.site-footer img.custom-logo { width: 220px; height: auto; display: block; border-radius: 12px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links li { position: relative; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; display: block; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links .current-menu-item > a, .nav-links .current_page_item > a { background: var(--accent-soft); color: var(--accent-strong); }
.nav-links .menu-item-cta > a { background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 4px 16px rgba(26,106,255,0.28); }
.nav-links .menu-item-cta > a:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* dropdown sub-menus */
.nav-links .sub-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); list-style: none; z-index: 110; }
.nav-links li:hover > .sub-menu, .nav-links li:focus-within > .sub-menu { display: block; }
.nav-links .sub-menu li { position: static; }
.nav-links .sub-menu a { padding: 9px 12px; font-size: 13.5px; border-radius: 8px; white-space: normal; }
.nav-links .menu-item-has-children > a::after { content: ' ▾'; font-size: 10px; color: var(--muted); }

/* ── TICKER ─────────────────────────────────────────────── */
.ticker { background: var(--navy); padding: 9px 0; overflow: hidden; border-bottom: 1px solid var(--navy-border); }
.ticker-track { display: flex; white-space: nowrap; animation: tickerScroll 40s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 32px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: rgba(244,246,251,0.85); }
.ticker-item::after { content: "◆"; font-size: 7px; color: var(--accent-bright); opacity: 0.7; }

/* ── SHARED UTILITIES ───────────────────────────────────── */
.label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 9px; font-family: var(--font); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(26,106,255,0.25); }
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 10px 26px rgba(15,78,204,0.3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 14px; }
.page-hero { padding: 72px 24px 64px; text-align: center; background: var(--paper); border-bottom: 1px solid var(--border); }
.page-hero .breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.page-hero .breadcrumb a { color: var(--muted); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { margin-bottom: 16px; }
.page-hero > p { font-size: 17px; max-width: 600px; margin: 0 auto; }

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band { max-width: 1200px; margin: 0 auto; border-radius: var(--radius-lg); background: var(--accent); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band .label { color: rgba(255,255,255,0.85); }
.cta-band h2 { margin-bottom: 14px; color: #fff; }
.cta-band p { font-size: 17px; margin-bottom: 34px; color: rgba(255,255,255,0.88); }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--accent-strong); box-shadow: 0 6px 20px rgba(13,22,48,0.2); }
.cta-band .btn-primary:hover { background: var(--paper); color: var(--accent-strong); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.12); }
.cta-band .phone-mono { font-family: var(--font-mono); }
.cta-wrap { padding: 0 24px 90px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--navy); border-top: 1px solid var(--navy-border); padding: 64px 24px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { color: var(--navy-muted); font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; color: var(--accent-bright); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 10px; }
.footer-col li { color: var(--navy-muted); font-size: 14px; }
.footer-col a { color: var(--navy-muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--navy-text); }
.footer-logo { font-size: 18px; font-weight: 700; color: var(--navy-text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.footer-logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, #7C3AED, #2A7BFF); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer-acknowledgement { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--navy-border); }
.footer-acknowledgement p { max-width: 760px; margin: 0 auto; text-align: center; font-size: 13px; line-height: 1.7; color: var(--navy-muted); }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid var(--navy-border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--navy-muted); flex-wrap: wrap; gap: 12px; }

/* ── HOME: HERO ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 100px 24px 90px; background: var(--navy); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% -10%, rgba(26,106,255,0.22) 0%, transparent 65%); pointer-events: none; }
.hero-grid { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; color: var(--navy-text); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent-bright); }
.hero-desc { font-size: 17px; color: #C4CCE0; margin-bottom: 36px; max-width: 460px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { color: var(--navy-text); border-color: #35476B; }
.hero .btn-outline:hover { border-color: var(--accent-bright); color: var(--accent-bright); background: rgba(111,160,255,0.08); }
.hero-trust { margin-top: 40px; display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: #C4CCE0; }
.trust-item svg { color: var(--accent-bright); flex-shrink: 0; }
.hero-visual { position: relative; }
.hcard { background: var(--navy-card); border: 1px solid var(--navy-border); border-radius: var(--radius-lg); padding: 24px 28px; }
.hcard-main { box-shadow: 0 24px 80px rgba(4,8,20,0.5); }
.hcard-main h3 { font-family: var(--font); font-size: 15px; font-weight: 600; margin-bottom: 16px; color: var(--navy-text); display: flex; align-items: center; gap: 8px; }
.hcard-main h3 svg { color: var(--accent-bright); }
.stat-row { display: flex; gap: 20px; margin-bottom: 20px; }
.stat { flex: 1; background: rgba(255,255,255,0.04); border-radius: var(--radius); padding: 16px; }
.stat-val { font-family: var(--font-mono); font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--navy-text); }
.stat-val span { font-size: 14px; color: var(--accent-bright); }
.stat-label { font-size: 12px; color: var(--navy-muted); margin-top: 2px; }
.status-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--navy-muted); background: rgba(255,255,255,0.03); border-radius: 8px; padding: 10px 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; flex-shrink: 0; animation: pulse 2s infinite; }
.hcard-badge { position: absolute; top: -18px; right: 16px; background: var(--accent); border-radius: var(--radius); padding: 14px 18px; font-size: 13px; font-weight: 600; color: #fff; box-shadow: 0 8px 24px rgba(26,106,255,0.4); }
.hcard-badge .big { font-family: var(--font-mono); font-size: 21px; font-weight: 500; display: block; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ── HOME: SERVICES GRID ────────────────────────────────── */
.services { padding: 90px 24px; }
.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s, box-shadow .3s; }
.scard:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.scard-icon { width: 48px; height: 48px; background: var(--accent-soft); border: 1px solid rgba(26,106,255,0.2); border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 20px; }
.scard h3 { margin-bottom: 12px; }
.scard p { font-size: 14.5px; line-height: 1.7; margin-bottom: 22px; }
.scard-link { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: gap .2s, color .2s; }
.scard-link:hover { gap: 10px; color: var(--accent-strong); }

/* ── HOME: ABOUT STRIP ──────────────────────────────────── */
.about-strip { padding: 90px 24px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 0; }
.astat { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.astat-val { font-family: var(--font-mono); font-size: 32px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.astat-val em { font-style: normal; color: var(--accent); }
.astat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { font-size: 16px; margin-bottom: 16px; }

/* ── HOME: WHY US ───────────────────────────────────────── */
.why { padding: 90px 24px; }
.why-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; transition: border-color .3s, transform .3s, box-shadow .3s; }
.wcard:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.wcard-icon { width: 54px; height: 54px; margin: 0 auto 20px; background: var(--accent-soft); border: 1px solid rgba(26,106,255,0.2); border-radius: 15px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.wcard h3 { margin-bottom: 10px; font-size: 18px; }
.wcard p { font-size: 14px; }

/* ── HOME: SENIORS ──────────────────────────────────────── */
.seniors { padding: 90px 24px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.seniors-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.seniors-content h2 { margin-bottom: 16px; }
.seniors-content p { font-size: 16px; margin-bottom: 28px; }
.seniors-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sn-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: border-color .3s, transform .3s; }
.sn-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.sn-icon { color: var(--accent); margin-bottom: 12px; }
.sn-card h4 { font-family: var(--font); color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.sn-card p { font-size: 13px; line-height: 1.6; }
.seniors-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--accent-soft); border: 1px solid rgba(26,106,255,0.25); border-radius: 10px; padding: 13px 18px; margin-bottom: 24px; font-size: 14px; color: var(--accent-strong); font-weight: 600; }

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.story { padding: 90px 24px; }
.story-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.story-content h2 { margin-bottom: 20px; }
.story-content p { margin-bottom: 16px; font-size: 16px; }
.story-content p strong { color: var(--ink); }
.timeline { padding-left: 0; list-style: none; }
.tl-item { display: flex; gap: 20px; padding-bottom: 36px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 19px; top: 46px; bottom: 0; width: 1px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-dot { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); border: 1px solid rgba(26,106,255,0.3); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.tl-year { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); letter-spacing: .05em; margin-bottom: 6px; }
.tl-body h4 { font-family: var(--font); color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.tl-body p { font-size: 14px; }
.values { padding: 0 24px 90px; }
.values-inner { max-width: 1200px; margin: 0 auto; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.vcard:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.vcard-icon { width: 48px; height: 48px; background: var(--accent-soft); border: 1px solid rgba(26,106,255,0.2); border-radius: 13px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 16px; }
.vcard h3 { margin-bottom: 10px; }
.vcard p { font-size: 14px; }
.team { padding: 0 24px 90px; }
.team-inner { max-width: 1200px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; text-align: center; transition: border-color .3s, transform .3s, box-shadow .3s; }
.tcard:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.tcard-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.tcard h3 { font-size: 19px; margin-bottom: 6px; }
.tcard .role { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 500; letter-spacing: .04em; margin-bottom: 12px; }
.tcard p { font-size: 14px; }
.tcard-open { border-style: dashed; background: var(--paper); }
.tcard-open .tcard-avatar { background: var(--surface-2); color: var(--muted); border: 2px dashed var(--border); }

/* ── SERVICES PAGE ──────────────────────────────────────── */
.service-block { padding: 90px 24px; border-bottom: 1px solid var(--border); }
.service-block:last-of-type { border-bottom: none; }
.service-block.alt { background: var(--surface); }
.sb-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sb-inner.reverse { direction: rtl; }
.sb-inner.reverse > * { direction: ltr; }
.sb-icon { width: 56px; height: 56px; background: var(--accent-soft); border: 1px solid rgba(26,106,255,0.2); border-radius: 15px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 20px; }
.sb-content h2 { margin-bottom: 14px; }
.sb-content p { font-size: 16px; margin-bottom: 20px; }
.features-list { list-style: none; margin-bottom: 28px; }
.features-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--border); }
.features-list li:first-child { border-top: 1px solid var(--border); }
.features-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.sb-visual { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.sb-visual h4 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 20px; font-weight: 500; }
.vis-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--ink); }
.vis-row:last-child { border-bottom: none; }
.vis-strong { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.vis-badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.badge-green { background: rgba(22,163,74,0.1); color: #15803D; }
.badge-blue { background: var(--accent-soft); color: var(--accent-strong); }
.badge-orange { background: rgba(234,88,12,0.1); color: #C2410C; }
.pricing { padding: 0 24px 90px; }
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; position: relative; transition: border-color .3s, transform .3s, box-shadow .3s; }
.pcard:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard.featured { border-color: var(--accent); box-shadow: 0 12px 36px rgba(26,106,255,0.12); }
.pcard-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 500; padding: 4px 16px; border-radius: 100px; white-space: nowrap; letter-spacing: .06em; }
.pcard-icon { width: 44px; height: 44px; background: var(--accent-soft); border: 1px solid rgba(26,106,255,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 16px; }
.pcard h3 { font-size: 21px; margin-bottom: 8px; }
.pcard .tagline { font-size: 14px; margin-bottom: 24px; }
.pcard ul { list-style: none; margin-bottom: 28px; }
.pcard ul li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.pcard ul li:first-child { border-top: 1px solid var(--border); }
.pcard ul li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ── WEB DESIGN PAGE ────────────────────────────────────── */
.steps { padding: 0 24px 90px; }
.steps-inner { max-width: 1200px; margin: 0 auto; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 14px; display: block; }
.step-card h3 { font-family: var(--font); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; }

/* ── CONTACT PAGE ───────────────────────────────────────── */
.contact-section { padding: 90px 24px; }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { font-size: 16px; margin-bottom: 36px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 16px; transition: border-color .3s; }
.info-card:hover { border-color: var(--accent); }
.info-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--accent-soft); border: 1px solid rgba(26,106,255,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.info-body h4 { font-family: var(--font); color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.info-body a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.info-body a:hover { color: var(--accent); }
.info-body p { font-size: 15px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: 14px; margin-bottom: 28px; }
.map-section { padding: 0 24px 90px; }
.map-inner { max-width: 1200px; margin: 0 auto; }
.map-placeholder { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 15px; }
.map-placeholder .map-icon { color: var(--accent); margin-bottom: 4px; }
.map-placeholder strong { color: var(--ink); }
.map-placeholder a { color: var(--accent); text-decoration: none; font-size: 14px; }
.map-placeholder a:hover { text-decoration: underline; }

/* ── WP FORM OVERRIDES (Contact Form 7 / WPForms) ────────── */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea,
.wpforms-field input,
.wpforms-field select,
.wpforms-field textarea { width: 100%; background: var(--paper) !important; border: 1.5px solid var(--border) !important; border-radius: var(--radius) !important; padding: 12px 16px !important; color: var(--ink) !important; font-family: var(--font) !important; font-size: 15px !important; }
.wpforms-field .wpforms-field-label,
.wpforms-field .wpforms-field-sublabel,
.wpcf7-form label { color: var(--ink) !important; font-family: var(--font) !important; }
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus { border-color: var(--accent) !important; outline: none !important; }
.wpcf7-submit, .wpforms-submit { width: 100%; padding: 15px 28px !important; border-radius: 9px !important; font-family: var(--font) !important; font-size: 16px !important; font-weight: 600 !important; color: #fff !important; background: var(--accent) !important; border: none !important; cursor: pointer !important; box-shadow: 0 6px 20px rgba(26,106,255,0.25); }
.wpcf7-submit:hover, .wpforms-submit:hover { background: var(--accent-strong) !important; }

/* ── BLOG INDEX & POSTS ─────────────────────────────────── */
.blog-list { max-width: 1200px; margin: 0 auto; padding: 64px 24px 90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; transition: border-color .3s, transform .3s, box-shadow .3s; }
.post-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .post-date { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.post-card h2 { font-size: 21px; line-height: 1.3; margin-bottom: 12px; }
.post-card h2 a { text-decoration: none; color: var(--ink); }
.post-card h2 a:hover { color: var(--accent-strong); }
.post-card .post-excerpt { font-size: 14px; margin-bottom: 20px; flex: 1; }
.post-card .scard-link { margin-top: auto; }
.blog-pagination { grid-column: 1 / -1; text-align: center; font-family: var(--font-mono); font-size: 14px; }
.blog-pagination .page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; margin: 0 3px; color: var(--ink); text-decoration: none; }
.blog-pagination .page-numbers.current, .blog-pagination .page-numbers:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.single-post-wrap { max-width: 780px; margin: 0 auto; padding: 64px 24px 90px; }
.single-post-meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.back-to-blog { display: inline-flex; align-items: center; gap: 8px; margin-top: 48px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.back-to-blog:hover { color: var(--accent-strong); }

/* ── PAGE / POST CONTENT (Gutenberg) ────────────────────── */
.entry-content { color: var(--ink); line-height: 1.8; font-size: 16px; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.6em 0 0.6em; }
.entry-content h2 { font-size: clamp(23px, 2.6vw, 30px); }
.entry-content h3 { font-size: clamp(18px, 2vw, 22px); }
/* Inherit colours inside content so blocks/sections with their own
   backgrounds (e.g. dark hero sections on landing pages) keep their
   intended text colour; top-level text still reads muted. */
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { color: inherit; }
.entry-content p { color: inherit; margin-bottom: 1.1em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; color: inherit; }
.entry-content > p, .entry-content > ul, .entry-content > ol { color: var(--muted); }
.entry-content li { margin-bottom: 0.4em; }
.entry-content a { color: var(--accent); }
.entry-content a:hover { color: var(--accent-strong); }
.entry-content blockquote { border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 24px; margin: 0 0 1.2em; font-style: italic; }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--surface); font-weight: 600; }
.entry-content strong { color: var(--ink); }
.entry-content code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-2); border-radius: 5px; padding: 2px 6px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid, .about-inner, .seniors-inner, .story-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .sb-inner, .sb-inner.reverse { grid-template-columns: 1fr; direction: ltr; }
  .why-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid, .blog-list { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--surface); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); gap: 4px; z-index: 99; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-links .sub-menu, .nav-links li:hover > .sub-menu { display: block; position: static; min-width: 0; border: none; box-shadow: none; background: transparent; padding: 0 0 0 18px; }
}
@media (max-width: 600px) {
  .services-grid, .why-grid, .values-grid, .team-grid, .pricing-grid, .steps-grid, .blog-list { grid-template-columns: 1fr; }
  .about-stats, .seniors-cards { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-card { padding: 28px 20px; }
}

/* ── SCROLL-IN ANIMATION ────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .dot { animation: none; }
  .btn:hover, .scard:hover, .wcard:hover, .vcard:hover, .tcard:hover, .pcard:hover, .sn-card:hover, .post-card:hover { transform: none; }
}
