/*
Theme Name: IntegriTech
Theme URI: https://integritech.ai/
Author: Awais (Integrity Capital)
Author URI: https://integritech.ai/
Description: A fast, modern WordPress theme for IntegriTech.ai — an SBA lending & business-financing platform by Integrity Capital. Ships with a designed homepage, dark mode, sticky navigation, a mobile menu, footer widget areas, and full block-editor + Elementor support. Built on the IntegriTech design system (navy / cyan, Plus Jakarta Sans + Open Sans).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: integritech
Tags: business, custom-logo, custom-menu, featured-images, full-width-template, footer-widgets, threaded-comments, translation-ready, dark-mode, blog
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
    /* Brand */
    --it-navy:        #001A32;
    --it-navy-700:    #062a4a;
    --it-navy-500:    #0d3b63;
    --it-cyan:        #00AEEF;
    --it-cyan-600:    #009bd6;
    --it-cyan-050:    #e6f7fe;

    /* Light theme surface + text */
    --it-bg:          #FAFCFF;
    --it-surface:     #ffffff;
    --it-surface-alt: #f1f6fb;
    --it-border:      #e2ebf3;
    --it-text:        #0b2038;
    --it-text-muted:  #55708a;
    --it-heading:     #001A32;
    --it-on-accent:   #ffffff;

    /* Effects */
    --it-shadow-sm:   0 1px 2px rgba(0, 26, 50, .06);
    --it-shadow:      0 10px 30px rgba(0, 26, 50, .08);
    --it-shadow-lg:   0 24px 60px rgba(0, 26, 50, .14);
    --it-gradient:    linear-gradient(135deg, #00AEEF 0%, #0d7bd6 100%);
    --it-ring:        0 0 0 3px rgba(0, 174, 239, .35);

    /* Type */
    --it-font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --it-font-body:    "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Layout */
    --it-container:   1180px;
    --it-radius:      14px;
    --it-radius-lg:   22px;
    --it-radius-pill: 999px;
    --it-nav-h:       74px;
    --it-space:       clamp(3.5rem, 8vw, 7rem);
}

html[data-theme="dark"] {
    --it-bg:          #06182b;
    --it-surface:     #0b2138;
    --it-surface-alt: #0f2946;
    --it-border:      #1b3a5c;
    --it-text:        #d7e6f4;
    --it-text-muted:  #8fa9c2;
    --it-heading:     #f2f8ff;
    --it-shadow-sm:   0 1px 2px rgba(0, 0, 0, .3);
    --it-shadow:      0 10px 30px rgba(0, 0, 0, .35);
    --it-shadow-lg:   0 24px 60px rgba(0, 0, 0, .5);
}

/* =========================================================
   2. Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--it-font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--it-text);
    background: var(--it-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--it-font-display);
    color: var(--it-heading);
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.02em;
    font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.15rem; }

a { color: var(--it-cyan-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--it-cyan); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.25rem; }

:focus-visible { outline: none; box-shadow: var(--it-ring); border-radius: 6px; }

hr { border: 0; border-top: 1px solid var(--it-border); margin: 2rem 0; }

blockquote {
    margin: 1.5rem 0;
    padding: .5rem 0 .5rem 1.25rem;
    border-left: 3px solid var(--it-cyan);
    color: var(--it-text-muted);
    font-style: italic;
}

code, pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--it-surface-alt);
    border-radius: 6px;
}
code { padding: .15em .4em; font-size: .9em; }
pre { padding: 1rem; overflow: auto; }

/* =========================================================
   3. Layout helpers
   ========================================================= */
.it-container { width: min(100% - 2.5rem, var(--it-container)); margin-inline: auto; }
.it-section  { padding-block: var(--it-space); }
.it-narrow   { max-width: 760px; margin-inline: auto; }
.it-center   { text-align: center; }

.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1 0 auto; }

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px; height: 1px; overflow: hidden;
    word-wrap: normal !important;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--it-navy); color: #fff; padding: .75rem 1.25rem;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* =========================================================
   4. Buttons
   ========================================================= */
.it-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--it-font-display);
    font-weight: 600; font-size: 1rem; line-height: 1;
    padding: .85rem 1.6rem;
    border-radius: var(--it-radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.it-btn--primary {
    background: var(--it-gradient); color: var(--it-on-accent);
    box-shadow: 0 8px 22px rgba(0, 174, 239, .3);
}
.it-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 174, 239, .42); color: #fff; }
.it-btn--ghost {
    background: transparent; color: var(--it-cyan-600); border-color: var(--it-border);
}
.it-btn--ghost:hover { border-color: var(--it-cyan); color: var(--it-cyan); background: var(--it-cyan-050); }
html[data-theme="dark"] .it-btn--ghost:hover { background: rgba(0,174,239,.08); }
.it-btn--light { background: #fff; color: var(--it-navy); }
.it-btn--light:hover { transform: translateY(-2px); color: var(--it-navy); box-shadow: var(--it-shadow); }

/* =========================================================
   5. Header / navigation
   ========================================================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--it-bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, background .3s ease;
}
.site-header.is-stuck { box-shadow: var(--it-shadow-sm); border-bottom-color: var(--it-border); }

.nav-wrap {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--it-nav-h); gap: 1.5rem;
}

.site-brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.site-brand img { max-height: 40px; width: auto; }
.brand-text {
    font-family: var(--it-font-display); font-weight: 800; font-size: 1.35rem;
    color: var(--it-heading); letter-spacing: -.03em;
}
.brand-text span { color: var(--it-cyan); }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
    font-family: var(--it-font-display); font-weight: 600; font-size: .97rem;
    color: var(--it-text); padding: .5rem .85rem; border-radius: 8px;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--it-cyan-600); background: var(--it-surface-alt); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.theme-toggle {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px; border-radius: var(--it-radius-pill);
    background: var(--it-surface-alt); border: 1px solid var(--it-border);
    color: var(--it-text); cursor: pointer; transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--it-cyan); border-color: var(--it-cyan); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-signin { font-family: var(--it-font-display); font-weight: 600; color: var(--it-text); padding: .5rem .5rem; }
.nav-signin:hover { color: var(--it-cyan); }

/* Mobile toggle */
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
    background: var(--it-surface-alt); border: 1px solid var(--it-border);
    border-radius: 10px; cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--it-text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
    position: fixed; inset: var(--it-nav-h) 0 0 auto;
    width: min(84vw, 340px);
    background: var(--it-surface);
    border-left: 1px solid var(--it-border);
    padding: 1.5rem;
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 99; overflow-y: auto;
    box-shadow: var(--it-shadow-lg);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobile-nav a { display: block; font-family: var(--it-font-display); font-weight: 600; font-size: 1.1rem; color: var(--it-text); padding: .85rem .5rem; border-bottom: 1px solid var(--it-border); }
.mobile-nav a:hover { color: var(--it-cyan); }
.mobile-nav .it-btn { width: 100%; margin-top: .5rem; }
.nav-overlay { position: fixed; inset: 0; background: rgba(0,26,50,.4); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 98; }
.nav-overlay.is-open { opacity: 1; visibility: visible; }

/* =========================================================
   6. Homepage sections
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 7.5rem); }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 60% at 80% 10%, rgba(0,174,239,.14), transparent 60%),
        radial-gradient(50% 50% at 10% 90%, rgba(13,123,214,.10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--it-font-display); font-weight: 600; font-size: .85rem;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--it-cyan-600); background: var(--it-cyan-050);
    padding: .4rem .9rem; border-radius: var(--it-radius-pill); margin-bottom: 1.25rem;
}
html[data-theme="dark"] .hero-eyebrow { background: rgba(0,174,239,.12); }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--it-cyan); }
.hero-lead { font-size: 1.2rem; color: var(--it-text-muted); max-width: 34ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-trust { margin-top: 2.25rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-trust .stat strong { display: block; font-family: var(--it-font-display); font-size: 1.7rem; color: var(--it-heading); }
.hero-trust .stat span { font-size: .9rem; color: var(--it-text-muted); }

.hero-visual {
    background: var(--it-surface); border: 1px solid var(--it-border);
    border-radius: var(--it-radius-lg); box-shadow: var(--it-shadow-lg);
    padding: 1.75rem;
}
.hero-visual .card-row { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--it-border); }
.hero-visual .card-row:last-child { border-bottom: 0; }
.hero-visual .card-label { color: var(--it-text-muted); font-size: .95rem; }
.hero-visual .card-value { font-family: var(--it-font-display); font-weight: 700; color: var(--it-heading); }
.hero-visual .pill-ok { color: #0a8f5b; background: #e4f7ee; padding: .2rem .7rem; border-radius: var(--it-radius-pill); font-size: .8rem; font-weight: 600; }
html[data-theme="dark"] .hero-visual .pill-ok { background: rgba(10,143,91,.18); color: #4ad99a; }
.hero-visual .gauge { height: 10px; border-radius: 999px; background: var(--it-surface-alt); overflow: hidden; margin-top: .6rem; }
.hero-visual .gauge > i { display: block; height: 100%; width: 82%; background: var(--it-gradient); border-radius: 999px; }

/* Logo/trust strip */
.trust-strip { border-block: 1px solid var(--it-border); background: var(--it-surface); }
.trust-strip .it-container { padding-block: 1.5rem; }
.trust-strip p { text-align: center; color: var(--it-text-muted); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 1rem; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; }
.trust-logos span { font-family: var(--it-font-display); font-weight: 700; font-size: 1.1rem; color: var(--it-text-muted); opacity: .7; }

/* Section heading */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.25rem; }
.section-head .eyebrow { font-family: var(--it-font-display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--it-cyan-600); }
.section-head h2 { margin: .5rem 0 .75rem; }
.section-head p { color: var(--it-text-muted); font-size: 1.1rem; margin: 0; }

/* Feature cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
    background: var(--it-surface); border: 1px solid var(--it-border);
    border-radius: var(--it-radius-lg); padding: 2rem;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--it-shadow); border-color: color-mix(in srgb, var(--it-cyan) 40%, var(--it-border)); }
.feature-card .ico {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: var(--it-cyan-050); color: var(--it-cyan-600); margin-bottom: 1.25rem;
}
html[data-theme="dark"] .feature-card .ico { background: rgba(0,174,239,.12); }
.feature-card .ico svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: .5rem; }
.feature-card p { color: var(--it-text-muted); margin: 0; font-size: .98rem; }

/* Solutions (audience) */
.solutions { background: var(--it-surface-alt); }
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.audience-card {
    background: var(--it-surface); border: 1px solid var(--it-border);
    border-radius: var(--it-radius-lg); padding: 2rem; position: relative; overflow: hidden;
}
.audience-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--it-gradient); }
.audience-card h3 { margin-bottom: .5rem; }
.audience-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.audience-card li { display: flex; gap: .6rem; align-items: flex-start; padding: .4rem 0; color: var(--it-text-muted); font-size: .96rem; }
.audience-card li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--it-cyan); margin-top: 2px; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.step { position: relative; padding: 2rem; background: var(--it-surface); border: 1px solid var(--it-border); border-radius: var(--it-radius-lg); }
.step .num { counter-increment: step; font-family: var(--it-font-display); font-weight: 800; font-size: 2.4rem; color: var(--it-cyan); opacity: .35; line-height: 1; }
.step .num::before { content: "0" counter(step); }
.step h3 { margin: .75rem 0 .4rem; }
.step p { color: var(--it-text-muted); margin: 0; font-size: .96rem; }

/* Testimonials */
.testimonials { background: var(--it-surface-alt); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.quote-card { background: var(--it-surface); border: 1px solid var(--it-border); border-radius: var(--it-radius-lg); padding: 2rem; }
.quote-card p { font-size: 1.05rem; color: var(--it-text); }
.quote-card .who { display: flex; align-items: center; gap: .85rem; margin-top: 1.25rem; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--it-gradient); color: #fff; display: grid; place-items: center; font-family: var(--it-font-display); font-weight: 700; }
.quote-card .who strong { display: block; font-family: var(--it-font-display); color: var(--it-heading); }
.quote-card .who span { font-size: .88rem; color: var(--it-text-muted); }

/* CTA band */
.cta-band { }
.cta-inner {
    background: var(--it-navy); background-image: radial-gradient(70% 120% at 85% 0%, rgba(0,174,239,.28), transparent 55%);
    border-radius: var(--it-radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem);
    text-align: center; color: #fff; box-shadow: var(--it-shadow-lg);
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 48ch; margin: 0 auto 2rem; }
.cta-inner .it-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-inner .it-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* =========================================================
   7. Blog / pages / archive
   ========================================================= */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.page-hero .eyebrow { font-family: var(--it-font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--it-cyan-600); font-size: .85rem; }

.content-area { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 3rem; }
.content-area.no-sidebar { grid-template-columns: minmax(0, 820px); justify-content: center; }

.entry { background: var(--it-surface); border: 1px solid var(--it-border); border-radius: var(--it-radius-lg); overflow: hidden; margin-bottom: 2rem; }
.entry .thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.entry .entry-body { padding: 1.75rem; }
.entry .entry-meta { font-size: .85rem; color: var(--it-text-muted); margin-bottom: .5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.entry h2, .entry h1 { margin: 0 0 .6rem; }
.entry h2 a { color: var(--it-heading); }
.entry h2 a:hover { color: var(--it-cyan-600); }
.entry .excerpt { color: var(--it-text-muted); }
.read-more { font-family: var(--it-font-display); font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; }

.single-content, .page-content { max-width: 100%; }
.single-content img, .page-content img { border-radius: var(--it-radius); }
.entry-featured { margin-bottom: 2rem; border-radius: var(--it-radius-lg); overflow: hidden; }

.tagcloud a, .cat-badge { display: inline-block; font-size: .8rem; background: var(--it-surface-alt); color: var(--it-text-muted); padding: .25rem .7rem; border-radius: var(--it-radius-pill); margin: .15rem; }

/* Sidebar / widgets */
.widget { background: var(--it-surface); border: 1px solid var(--it-border); border-radius: var(--it-radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.widget-title { font-family: var(--it-font-display); font-size: 1.05rem; margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--it-border); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: .4rem 0; border-bottom: 1px solid var(--it-border); }
.widget ul li:last-child { border-bottom: 0; }

/* Search */
.search-form { display: flex; gap: .5rem; }
.search-form input[type="search"] { flex: 1; padding: .7rem 1rem; border: 1px solid var(--it-border); border-radius: var(--it-radius-pill); background: var(--it-bg); color: var(--it-text); font-family: inherit; }
.search-form button { border: 0; }

/* Pagination */
.it-pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.it-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem; border-radius: 10px; border: 1px solid var(--it-border); background: var(--it-surface); color: var(--it-text); font-family: var(--it-font-display); font-weight: 600; }
.it-pagination .page-numbers.current, .it-pagination .page-numbers:hover { background: var(--it-gradient); color: #fff; border-color: transparent; }

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--it-surface); border: 1px solid var(--it-border); border-radius: var(--it-radius); padding: 1.25rem; margin-bottom: 1rem; }
.comment-form input, .comment-form textarea { width: 100%; padding: .7rem 1rem; border: 1px solid var(--it-border); border-radius: var(--it-radius); background: var(--it-bg); color: var(--it-text); font-family: inherit; margin-bottom: 1rem; }

/* 404 */
.error-404 { text-align: center; padding-block: var(--it-space); }
.error-404 .code { font-family: var(--it-font-display); font-weight: 800; font-size: clamp(5rem, 18vw, 11rem); line-height: 1; background: var(--it-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   8. Footer
   ========================================================= */
.site-footer { background: var(--it-navy); color: #cfe0ef; margin-top: auto; }
html[data-theme="dark"] .site-footer { background: #04101d; border-top: 1px solid var(--it-border); }
.footer-top { padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { color: rgba(207,224,239,.65); max-width: 34ch; margin-top: 1rem; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin: 0 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: .35rem 0; }
.footer-col a { color: rgba(207,224,239,.7); font-size: .95rem; }
.footer-col a:hover { color: var(--it-cyan); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cfe0ef; }
.footer-social a:hover { background: var(--it-cyan); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; }
.footer-bottom .it-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .88rem; color: rgba(207,224,239,.6); }
.footer-bottom nav a { color: rgba(207,224,239,.7); font-size: .88rem; margin-left: 1.25rem; }
.footer-bottom nav a:hover { color: var(--it-cyan); }

/* Footer widget fallback styling */
.site-footer .widget { background: transparent; border: 0; padding: 0; }
.site-footer .widget-title { color: #fff; border: 0; padding: 0; }
.site-footer .widget a { color: rgba(207,224,239,.7); }
.site-footer .widget a:hover { color: var(--it-cyan); }
.site-footer .widget li { border-color: rgba(255,255,255,.08); }

/* =========================================================
   9. WP core classes
   ========================================================= */
.alignwide  { width: min(100% - 2.5rem, 1100px); margin-inline: auto; }
.alignfull  { width: 100%; }
.aligncenter { margin-inline: auto; }
.alignleft  { float: left; margin: .5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--it-text-muted); text-align: center; }
.sticky .entry { border-color: var(--it-cyan); }
.bypostauthor { }
.wp-block-button__link { border-radius: var(--it-radius-pill); }

/* =========================================================
   10. Responsive
   ========================================================= */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 460px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .content-area { grid-template-columns: 1fr; }
    .content-area.no-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
    body { font-size: 16px; }
    .primary-nav, .nav-actions .nav-signin, .nav-actions .it-btn { display: none; }
    .menu-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom .it-container { justify-content: center; text-align: center; }
    .footer-bottom nav a { margin: 0 .6rem; }
    .hero-trust { gap: 1.5rem; }
}
@media (max-width: 480px) {
    .site-brand { margin-inline: auto; }
    .hero-cta .it-btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
