/*
Theme Name: 2 Dog Tech
Theme URI: https://2dogtech.com
Author: 2 Dog Tech
Author URI: https://2dogtech.com
Description: A professional technology consulting theme for 2 Dog Tech — IT strategy, cloud solutions, cybersecurity, and digital transformation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 2dog-tech
Tags: technology, business, corporate, consulting, one-page, custom-menu, featured-images, full-width-template
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --color-primary:     #0d1b2e;
    --color-secondary:   #122440;
    --color-accent:      #22c55e;
    --color-accent-light:#4ade80;
    --color-accent-dark: #16a34a;
    --color-teal:        #06b6d4;
    --color-white:       #ffffff;
    --color-off-white:   #f8fafc;
    --color-light-gray:  #e2e8f0;
    --color-mid-gray:    #94a3b8;
    --color-dark-gray:   #475569;
    --color-text:        #1e293b;
    --color-text-light:  #64748b;
    --color-success:     #10b981;
    --color-warning:     #f59e0b;

    --font-heading:      'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body:         'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --fw-regular:  400;
    --fw-medium:   500;
    --fw-semibold: 600;
    --fw-bold:     700;
    --fw-extrabold:800;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  20px;
    --radius-full:9999px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
    --shadow-xl:  0 20px 60px rgba(0,0,0,.18);

    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);

    --container:  1280px;
    --gutter:     2rem;

    /* ── Header ─────────────────────────────────────────────── */
    --header-height:            90px;
    --header-bg:                #000000;
    --header-border:            rgba(255,255,255,.1);
    --header-nav-color:         #ffffff;
    --header-nav-hover:         var(--color-accent);
    --header-dropdown-bg:       #ffffff;
    --header-dropdown-color:    #1e293b;
    --header-dropdown-hover-bg: #f8fafc;
    --header-dropdown-hover-color: var(--color-accent);
    --header-toggle-color:      #ffffff;

    /* ── Footer ─────────────────────────────────────────────── */
    --footer-bg:          #0d1b2e;
    --footer-text:        #b0bec9;
    --footer-heading:     #ffffff;
    --footer-link:        #94a3b8;
    --footer-link-hover:  #ffffff;
    --footer-bottom-text: #64748b;

    /* ── Page Template ──────────────────────────────────────── */
    --page-bg:      #ffffff;
    --page-text:    #1e293b;
    --page-heading: #0d1b2e;
    --page-link:    #22c55e;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dark); }

ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--color-text-light); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
body.page { background: var(--page-bg); }

.page-content {
    color: var(--page-text);
    line-height: 1.8;
    font-size: 1.05rem;
}
.page-content p { color: var(--page-text); }
.page-content h1, .page-content h2, .page-content h3,
.page-content h4, .page-content h5, .page-content h6 { color: var(--page-heading); }
.page-content a              { color: var(--page-link); }
.page-content a:hover        { color: var(--page-link); filter: brightness(0.8); }
.page-content ul, .page-content ol { margin: 0 0 1rem 1.5rem; }
.page-content li { margin-bottom: 0.25rem; color: var(--page-text); }
.page-content blockquote {
    border-left: 4px solid var(--page-link);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--page-text);
    background: rgba(0,0,0,.03);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: 6rem; }
.section--sm { padding-block: 4rem; }
.section--lg { padding-block: 8rem; }
.section--dark { background: var(--color-primary); color: var(--color-white); }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color: var(--color-white); }
.section--dark p { color: rgba(255,255,255,.75); }
.section--alt { background: var(--color-off-white); }
.section--gradient { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: 3.5rem; }
.section-header.text-center { max-width: 680px; margin-inline: auto; margin-bottom: 3.5rem; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: rgba(34,197,94,.08);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; max-width: 560px; }
.section-header.text-center p { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: var(--fw-semibold);
    line-height: 1;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34,197,94,.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}
.btn-white:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--header-border);
    box-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 2rem;
}

.site-logo,
.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

/* Constrain uploaded logo image to 150×150 max */
.custom-logo-link img.custom-logo,
.site-logo img {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-teal) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: var(--fw-extrabold);
    letter-spacing: -1px;
    flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
    font-size: 1.15rem;
    font-weight: var(--fw-extrabold);
    color: var(--header-nav-color);
    letter-spacing: -0.02em;
}
.logo-tagline {
    font-size: 0.65rem;
    font-weight: var(--fw-medium);
    color: rgba(255,255,255,.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Primary Navigation */
.primary-nav { display: flex; align-items: center; gap: 0; }

.primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.primary-nav > ul > li { position: relative; }

.primary-nav > ul > li > a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: var(--fw-medium);
    color: var(--header-nav-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a {
    color: var(--header-nav-hover);
}

/* Dropdown */
.primary-nav .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--header-dropdown-bg);
    border: 1px solid var(--header-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    padding: 0.5rem;
    z-index: 100;
}

.primary-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-nav .sub-menu a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    color: var(--header-dropdown-color);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.primary-nav .sub-menu a:hover {
    background: var(--header-dropdown-hover-bg);
    color: var(--header-dropdown-hover-color);
}

.header-cta { display: flex; align-items: center; gap: 1rem; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--header-toggle-color);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1520 0%, var(--color-primary) 60%, #0a1a2e 100%);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}
.hero-bg-circle-1 {
    width: 700px; height: 700px;
    background: var(--color-accent);
    top: -200px; right: -200px;
}
.hero-bg-circle-2 {
    width: 500px; height: 500px;
    background: var(--color-teal);
    bottom: -150px; left: -100px;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34,197,94,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34,197,94,.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-block: 5rem;
}

.hero-content {}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34,197,94,.2);
    border: 1px solid rgba(34,197,94,.4);
    color: #86efac;
    font-size: 0.8rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--color-white);
    font-weight: var(--fw-extrabold);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #4ade80, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-play {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,.85);
    font-size: 0.9rem;
    font-weight: var(--fw-medium);
    text-decoration: none;
    transition: color var(--transition);
}
.hero-play:hover { color: var(--color-white); }

.play-btn {
    width: 48px; height: 48px;
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.hero-play:hover .play-btn {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.play-btn svg { width: 16px; height: 16px; fill: white; margin-left: 2px; }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
    max-width: 500px;
}

.hero-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}
.hero-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
}
.hero-card-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-teal));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}
.hero-card h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.25rem;
}
.hero-card p {
    color: rgba(255,255,255,.55);
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.4;
}
.hero-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(34,197,94,.25), rgba(6,182,212,.25));
    border-color: rgba(34,197,94,.4);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: var(--color-white);
    padding-block: 3.5rem;
    border-bottom: 1px solid var(--color-light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid var(--color-light-gray);
}
.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 2.75rem;
    font-weight: var(--fw-extrabold);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: var(--fw-medium);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual { position: relative; }

.about-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-placeholder {
    text-align: center;
    color: rgba(255,255,255,.7);
}
.about-img-placeholder .big-icon { font-size: 5rem; margin-bottom: 1rem; }
.about-img-placeholder p { color: rgba(255,255,255,.6); font-size: 0.9rem; }

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}
.about-badge-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-teal));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.about-badge-text .num { font-size: 1.75rem; font-weight: var(--fw-extrabold); color: var(--color-primary); line-height: 1; }
.about-badge-text .lbl { font-size: 0.75rem; color: var(--color-text-light); }

.about-content {}
.about-list { margin-block: 1.5rem; }
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-block: 0.6rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
}
.about-list li::before {
    content: '✓';
    width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-teal));
    color: white;
    font-size: 0.7rem;
    font-weight: var(--fw-bold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(34,197,94,.1), rgba(6,182,212,.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-accent), var(--color-teal));
}

.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9rem; line-height: 1.6; }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: var(--fw-semibold);
    color: var(--color-accent);
}
.service-link:hover { gap: 0.75rem; }

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.industry-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    cursor: default;
}
.industry-card:hover {
    background: rgba(34,197,94,.2);
    border-color: rgba(34,197,94,.4);
    transform: translateY(-4px);
}

.industry-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.industry-card h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 0.5rem; }
.industry-card p { color: rgba(255,255,255,.6); font-size: 0.8rem; margin: 0; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-features { display: flex; flex-direction: column; gap: 1.5rem; }

.why-feature {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.why-feature:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.why-feature-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-teal));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.why-feature-text h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.why-feature-text p { font-size: 0.875rem; margin: 0; }

.why-visual { position: relative; }

.why-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-off-white), var(--color-light-gray));
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-stats-grid {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    right: -1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.why-stat {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.why-stat .num { font-size: 1.5rem; font-weight: var(--fw-extrabold); color: var(--color-accent); line-height: 1; }
.why-stat .lbl { font-size: 0.7rem; color: var(--color-text-light); margin-top: 0.25rem; }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-number {
    width: 80px; height: 80px;
    background: var(--color-white);
    border: 3px solid var(--color-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: var(--fw-extrabold);
    color: var(--color-accent);
    margin: 0 auto 1.5rem;
    transition: all var(--transition);
    position: relative;
}
.process-step:hover .process-number {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 0 0 8px rgba(34,197,94,.1);
}

.process-step h4 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.875rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--color-warning);
    font-size: 1rem;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--fw-bold);
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-info .name { font-size: 0.9rem; font-weight: var(--fw-semibold); color: var(--color-primary); }
.testimonial-info .role { font-size: 0.78rem; color: var(--color-text-light); }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.blog-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-img {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img-placeholder { font-size: 3rem; }

.blog-card-body { padding: 1.75rem; }

.blog-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    background: rgba(34,197,94,.08);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h3 a { color: var(--color-primary); }
.blog-card h3 a:hover { color: var(--color-accent); }

.blog-card p { font-size: 0.875rem; }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-light-gray);
    font-size: 0.78rem;
    color: var(--color-mid-gray);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding-block: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34,197,94,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34,197,94,.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 { color: var(--color-white); margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 2.5rem; max-width: 560px; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .site-logo,
.footer-brand .custom-logo-link { margin-bottom: 1.25rem; display: inline-block; }
.footer-brand p { font-size: 0.9rem; color: var(--footer-text); line-height: 1.7; max-width: 280px; }

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.footer-social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-link);
    font-size: 0.875rem;
    transition: all var(--transition);
    text-decoration: none;
}
.footer-social-link:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.footer-col h5,
.footer-col .widget-title {
    color: var(--footer-heading);
    font-size: 0.875rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
    font-size: 0.875rem;
    color: var(--footer-link);
    transition: color var(--transition);
    text-decoration: none;
}
.footer-links a:hover { color: var(--footer-link-hover); }

.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--footer-link);
}
.footer-contact-item .icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.footer-contact-item a { color: var(--footer-link); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--footer-link-hover); }

.footer-bottom {
    padding-block: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.825rem;
    color: var(--footer-bottom-text);
    margin: 0;
}
.footer-bottom a { color: var(--footer-bottom-text); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--footer-link-hover); }

.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    font-size: 0.825rem;
    color: var(--footer-bottom-text);
    transition: color var(--transition);
}
.footer-legal a:hover { color: var(--footer-link-hover); }

/* ── Footer Widget Styles ────────────────────────────────── */
.footer-col .widget + .widget { margin-top: 2rem; }
.footer-col .widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col .widget ul li a {
    font-size: 0.875rem;
    color: var(--footer-link);
    transition: color var(--transition);
    text-decoration: none;
}
.footer-col .widget ul li a:hover { color: var(--footer-link-hover); }
.footer-col .textwidget,
.footer-col .widget > p { font-size: 0.875rem; color: var(--footer-text); line-height: 1.7; }
.footer-col .textwidget a { color: var(--footer-link); transition: color var(--transition); }
.footer-col .textwidget a:hover { color: var(--footer-link-hover); }
/* Footer brand widget area (full-width column treatment) */
.footer-brand .widget { font-size: 0.9rem; line-height: 1.7; color: var(--footer-text); }
.footer-brand .widget a { color: var(--footer-link); transition: color var(--transition); }
.footer-brand .widget a:hover { color: var(--footer-link-hover); }
.footer-brand .widget-title { color: var(--footer-heading); font-size: 0.875rem; font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.25rem; }

/* ============================================================
   WORDPRESS ELEMENTS
   ============================================================ */
.wp-block-image img { border-radius: var(--radius-lg); }
.alignleft { float: left; margin: 0 2rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 2rem; }
.aligncenter { display: block; margin-inline: auto; }

/* ============================================================
   MOBILE NAVIGATION OVERLAY
   ============================================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,22,40,.95);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    text-decoration: none;
}
.nav-overlay-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-grid { grid-template-columns: 1fr; }
    .why-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--color-light-gray); }
    .stat-item:nth-child(2n) { border-right: none; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --gutter: 1.25rem; }
    .section { padding-block: 4rem; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .primary-nav, .header-cta { display: none; }
    .mobile-toggle { display: flex; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .about-badge { position: static; margin-top: 1.5rem; }
    .cta-actions { flex-direction: column; }
    .hero-card-grid { grid-template-columns: 1fr; }
    .hero-card.featured { grid-column: span 1; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}
