/*
Theme Name:        ITG-Theme
Theme URI:         https://intechgenius.in
Author:            Amar Kumar
Author URI:        https://intechgenius.in
Description:       Official custom theme for INTechGenius — Unleashing Genius Through Technology. STEM education, Robotics, AI, IoT, and 3D Printing programs for K-12 students across India. MSME Registered. NEP-2020 aligned.
Version:           2.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       itg-theme
Tags:              custom-logo, custom-menu, full-width-template, responsive-layout, woocommerce-support
*/


/* ============================================================
   GOOGLE FONTS IMPORT
   Titillium Web: 600, 700 | Jost: 400, 600
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@600;700&family=Jost:wght@400;500;600;700&display=swap');


/* ============================================================
   CSS CUSTOM PROPERTIES — Brand Design Tokens
   ============================================================ */
:root {
    /* Brand Colors */
    --itg-bg:           #000814;   /* Rich Black — primary background    */
    --itg-secondary:    #001D3D;   /* Oxford Blue — secondary bg, footer */
    --itg-accent:       #003566;   /* Yale Blue — cards, borders         */
    --itg-yellow:       #FFC300;   /* Mikado Yellow — CTA, highlights    */
    --itg-gold:         #FFD60A;   /* Gold — hover states                */
    --itg-white:        #FFFFFF;   /* White — text on dark               */
    --itg-dark:         #000814;   /* Rich Black — text on light         */
    --itg-muted:        rgba(255, 255, 255, 0.65);
    --itg-muted-dim:    rgba(255, 255, 255, 0.35);

    /* Typography */
    --font-headline:    'Titillium Web', sans-serif;
    --font-body:        'Jost', sans-serif;

    /* Spacing */
    --section-pad:      80px 0;
    --section-pad-sm:   48px 0;
    --container-max:    1200px;
    --container-pad:    0 24px;
    --gap-cards:        28px;

    /* Borders & Radius */
    --radius-btn:       6px;
    --radius-card:      10px;
    --radius-badge:     100px;
    --border-gold:      2px solid var(--itg-yellow);
    --border-accent:    1px solid var(--itg-accent);

    /* Shadows */
    --shadow-card:      0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-header:    0 4px 32px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition:       all 0.22s ease;
}


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

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

body {
    background-color: var(--itg-bg);
    color: var(--itg-white);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: var(--itg-yellow);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--itg-gold);
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

input, textarea, select {
    font-family: var(--font-body);
}


/* ============================================================
   TYPOGRAPHY — Headings
   ============================================================ */
h1, h2 {
    font-family: var(--font-headline);
    font-weight: 700;
    line-height: 1.2;
    color: var(--itg-white);
    letter-spacing: -0.01em;
}

h3 {
    font-family: var(--font-headline);
    font-weight: 600;
    line-height: 1.3;
    color: var(--itg-yellow);
}

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.35;
    color: var(--itg-yellow);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

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


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.itg-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-pad);
    width: 100%;
}

.itg-section {
    padding: var(--section-pad);
}

.itg-section--sm {
    padding: var(--section-pad-sm);
}

/* Background variants */
.bg-dark      { background-color: var(--itg-bg); }
.bg-secondary { background-color: var(--itg-secondary); }
.bg-accent    { background-color: var(--itg-accent); }

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Flex utilities */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }


/* ============================================================
   GRID
   ============================================================ */
.itg-grid {
    display: grid;
    gap: var(--gap-cards);
}
.itg-grid--2 { grid-template-columns: repeat(2, 1fr); }
.itg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.itg-grid--4 { grid-template-columns: repeat(4, 1fr); }
.itg-grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }


/* ============================================================
   SECTION HEADER — reusable label + title + subtitle block
   ============================================================ */
.itg-section-header {
    text-align: center;
    margin-bottom: 52px;
}

.itg-label {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--itg-yellow);
    background: rgba(255, 195, 0, 0.08);
    border: 1px solid rgba(255, 195, 0, 0.25);
    padding: 5px 14px;
    border-radius: var(--radius-badge);
    margin-bottom: 14px;
}

.itg-section-header h2 {
    margin-bottom: 14px;
}

.itg-subtitle {
    color: var(--itg-muted);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}


/* ============================================================
   SITE HEADER
   ============================================================ */
.itg-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--itg-bg);
    border-bottom: var(--border-gold);
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.itg-header.is-scrolled {
    box-shadow: var(--shadow-header);
}

.itg-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo */
.itg-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.itg-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.itg-logo img,
.itg-logo .custom-logo,
.custom-logo-link img {
    height: 48px;
    width: auto;
    display: block;
}

.custom-logo-link,
.custom-logo-link:hover {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border: none;
    outline: none;
}

.itg-logo__text {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--itg-white);
    letter-spacing: 0.02em;
}

.itg-logo__text:hover {
    color: var(--itg-yellow);
    text-decoration: none;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.itg-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.itg-nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.itg-nav__menu li a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--itg-white);
    letter-spacing: 0.03em;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s ease;
}

.itg-nav__menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--itg-yellow);
    transition: width 0.25s ease;
}

.itg-nav__menu li a:hover,
.itg-nav__menu li.current-menu-item > a,
.itg-nav__menu li.current_page_item > a {
    color: var(--itg-yellow);
    text-decoration: none;
}

.itg-nav__menu li a:hover::after,
.itg-nav__menu li.current-menu-item > a::after,
.itg-nav__menu li.current_page_item > a::after {
    width: 100%;
}

/* Contact button in nav */
.itg-nav__cta a {
    display: inline-block;
    background: var(--itg-yellow);
    color: var(--itg-dark) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 9px 20px;
    border-radius: var(--radius-btn);
    transition: var(--transition);
}

.itg-nav__cta a:hover {
    background: var(--itg-gold);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Mobile toggle */
.itg-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.itg-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--itg-white);
    transition: var(--transition);
    transform-origin: center;
}

.itg-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.itg-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.itg-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   BUTTONS
   ============================================================ */
.itg-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 30px;
    border-radius: var(--radius-btn);
    border: 2px solid transparent;
    letter-spacing: 0.02em;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

/* Primary — White fill */
.itg-btn--primary {
    background: var(--itg-white);
    color: var(--itg-dark);
    border-color: var(--itg-white);
}
.itg-btn--primary:hover {
    background: var(--itg-yellow);
    border-color: var(--itg-yellow);
    color: var(--itg-dark);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Secondary — Gold outline */
.itg-btn--secondary {
    background: transparent;
    color: var(--itg-yellow);
    border-color: var(--itg-yellow);
}
.itg-btn--secondary:hover {
    background: var(--itg-yellow);
    color: var(--itg-dark);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Gold fill */
.itg-btn--gold {
    background: var(--itg-yellow);
    color: var(--itg-dark);
    border-color: var(--itg-yellow);
}
.itg-btn--gold:hover {
    background: var(--itg-gold);
    border-color: var(--itg-gold);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Ghost — white outline */
.itg-btn--ghost {
    background: transparent;
    color: var(--itg-white);
    border-color: var(--itg-white);
}
.itg-btn--ghost:hover {
    background: var(--itg-white);
    color: var(--itg-dark);
    text-decoration: none;
}

/* Full width */
.itg-btn--full { width: 100%; display: block; }

/* Small */
.itg-btn--sm { padding: 9px 20px; font-size: 0.85rem; }


/* ============================================================
   CARDS
   ============================================================ */
.itg-card {
    background: var(--itg-secondary);
    border: var(--border-accent);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.itg-card:hover {
    border-color: var(--itg-yellow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.itg-card__icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.itg-card__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--itg-muted-dim);
    margin-bottom: 8px;
    display: block;
}

.itg-card__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--itg-yellow);
    margin-bottom: 12px;
    line-height: 1.3;
}

.itg-card__text {
    font-size: 0.92rem;
    color: var(--itg-muted);
    line-height: 1.65;
}

.itg-card__footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
}


/* ============================================================
   STAT BLOCK
   ============================================================ */
.itg-stat {
    text-align: center;
    padding: 8px;
}

.itg-stat__number {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--itg-yellow);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.itg-stat__label {
    font-size: 0.82rem;
    color: var(--itg-muted);
    font-weight: 400;
    line-height: 1.4;
}

/* Stats bar */
.itg-stats-bar {
    background: var(--itg-secondary);
    border-top: var(--border-gold);
    border-bottom: var(--border-accent);
    padding: 40px 24px;
}

.itg-stats-bar__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}

.itg-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    justify-self: center;
}


/* ============================================================
   HERO SECTION — Homepage
   ============================================================ */
.itg-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--itg-bg);
    position: relative;
    overflow: hidden;
    padding: 80px 24px;
}

/* Radial glow effects */
.itg-hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 650px; height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,53,102,0.4) 0%, transparent 70%);
    pointer-events: none;
}

.itg-hero::after {
    content: '';
    position: absolute;
    bottom: -180px; left: -180px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,195,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.itg-hero__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.itg-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--itg-yellow);
    background: rgba(255,195,0,0.08);
    border: 1px solid rgba(255,195,0,0.28);
    padding: 7px 16px;
    border-radius: var(--radius-badge);
    margin-bottom: 24px;
}

.itg-hero__pill::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--itg-yellow);
    border-radius: 50%;
}

.itg-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    color: var(--itg-white);
    margin-bottom: 10px;
    max-width: 820px;
    line-height: 1.1;
}

.itg-hero__title span { color: var(--itg-yellow); }

.itg-hero__tagline {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--itg-muted);
    font-style: italic;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.itg-hero__desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.itg-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 52px;
}

.itg-hero__stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.itg-hero__stat-item {
    display: flex;
    flex-direction: column;
}

.itg-hero__stat-num {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--itg-yellow);
    line-height: 1;
}

.itg-hero__stat-label {
    font-size: 0.78rem;
    color: var(--itg-muted-dim);
    margin-top: 4px;
}

.itg-hero__stat-div {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    align-self: center;
}


/* ============================================================
   PAGE HERO — inner pages
   ============================================================ */
.itg-page-hero {
    background: var(--itg-secondary);
    border-bottom: var(--border-gold);
    padding: 64px 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.itg-page-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,53,102,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.itg-page-hero h1 { margin-bottom: 14px; position: relative; }
.itg-page-hero p  { color: var(--itg-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; position: relative; }


/* ============================================================
   PROCESS STEPS
   ============================================================ */
.itg-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: steps;
}

.itg-step {
    background: var(--itg-secondary);
    border: var(--border-accent);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    position: relative;
    counter-increment: steps;
    text-align: center;
    transition: var(--transition);
}

.itg-step:hover { border-color: var(--itg-yellow); }

.itg-step::before {
    content: counter(steps, decimal-leading-zero);
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 3rem;
    color: rgba(255,195,0,0.1);
    position: absolute;
    top: 12px; right: 16px;
    line-height: 1;
}

.itg-step__icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}

.itg-step__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--itg-yellow);
    margin-bottom: 10px;
}

.itg-step__text {
    font-size: 0.9rem;
    color: var(--itg-muted);
    line-height: 1.65;
}


/* ============================================================
   BADGE / PILL COMPONENTS
   ============================================================ */
.itg-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.itg-badge--yellow { background: rgba(255,195,0,0.12); color: var(--itg-yellow); border: 1px solid rgba(255,195,0,0.35); }
.itg-badge--green  { background: rgba(34,197,94,0.1);  color: #4ade80;            border: 1px solid rgba(34,197,94,0.3); }
.itg-badge--soon   { background: rgba(255,255,255,0.05); color: var(--itg-muted); border: 1px solid rgba(255,255,255,0.1); }


/* ============================================================
   CONTACT FORM
   ============================================================ */
.itg-form { width: 100%; }

.itg-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.itg-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.itg-form__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--itg-muted);
    letter-spacing: 0.04em;
}

.itg-form__input,
.itg-form__textarea,
.itg-form__select {
    background: rgba(0,53,102,0.35);
    border: 1px solid var(--itg-accent);
    color: var(--itg-white);
    padding: 12px 16px;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    width: 100%;
}

.itg-form__input:focus,
.itg-form__textarea:focus {
    outline: none;
    border-color: var(--itg-yellow);
    background: rgba(0,53,102,0.5);
}

.itg-form__input::placeholder,
.itg-form__textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.itg-form__textarea {
    resize: vertical;
    min-height: 130px;
}


/* ============================================================
   CONTACT INFO BLOCK
   ============================================================ */
.itg-contact-info { display: flex; flex-direction: column; gap: 24px; }

.itg-contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.itg-contact-item__icon {
    width: 44px; height: 44px;
    background: rgba(255,195,0,0.08);
    border: 1px solid rgba(255,195,0,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.itg-contact-item__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--itg-muted-dim);
    margin-bottom: 4px;
}

.itg-contact-item__value {
    color: var(--itg-white);
    font-size: 0.95rem;
    line-height: 1.5;
}

.itg-contact-item__value a { color: var(--itg-white); }
.itg-contact-item__value a:hover { color: var(--itg-yellow); }


/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.itg-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: var(--radius-btn);
    transition: var(--transition);
    text-decoration: none;
}

.itg-whatsapp-btn:hover {
    background: #1ebd58;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}


/* ============================================================
   SITE FOOTER
   ============================================================ */
.itg-footer {
    background: var(--itg-secondary);
    border-top: var(--border-gold);
    padding: 60px 24px 28px;
}

.itg-footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.itg-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.itg-footer__brand-text {
    color: var(--itg-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
}

.itg-footer__heading {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--itg-yellow);
    margin-bottom: 20px;
    display: block;
}

.itg-footer__links { display: flex; flex-direction: column; gap: 10px; }

.itg-footer__links a {
    color: var(--itg-muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.itg-footer__links a:hover { color: var(--itg-yellow); text-decoration: none; }

.itg-footer__contact-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 14px;
}

.itg-footer__contact-label {
    font-size: 0.7rem;
    color: var(--itg-muted-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.itg-footer__contact-value { color: var(--itg-muted); font-size: 0.88rem; }
.itg-footer__contact-value a { color: var(--itg-muted); }
.itg-footer__contact-value a:hover { color: var(--itg-yellow); }

.itg-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.itg-footer__copy {
    font-size: 0.8rem;
    color: var(--itg-muted-dim);
    margin: 0;
}

.itg-footer__msme {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--itg-yellow);
    border: 1px solid rgba(255,195,0,0.35);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.06em;
}


/* ============================================================
   WooCommerce — Base overrides
   ============================================================ */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--itg-yellow) !important;
    color: var(--itg-dark) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-btn) !important;
    border: none !important;
    transition: var(--transition) !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
    background: var(--itg-gold) !important;
    color: var(--itg-dark) !important;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
    background: var(--itg-secondary);
    border-top-color: var(--itg-yellow);
    color: var(--itg-white);
}


/* ============================================================
   BLOG — Post cards & single
   ============================================================ */
.itg-post-card {
    background: var(--itg-secondary);
    border: var(--border-accent);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition);
}

.itg-post-card:hover {
    border-color: var(--itg-yellow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.itg-post-card__thumb { overflow: hidden; }
.itg-post-card__thumb img { transition: transform 0.4s ease; width: 100%; }
.itg-post-card:hover .itg-post-card__thumb img { transform: scale(1.04); }

.itg-post-card__body { padding: 24px; }

.itg-post-card__meta {
    font-size: 0.75rem;
    color: var(--itg-muted-dim);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.itg-post-card__title {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--itg-white);
    margin-bottom: 10px;
    line-height: 1.35;
}

.itg-post-card__title a { color: var(--itg-white); }
.itg-post-card__title a:hover { color: var(--itg-yellow); text-decoration: none; }

.itg-post-card__excerpt {
    font-size: 0.9rem;
    color: var(--itg-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Prose for single posts */
.itg-prose { max-width: 760px; }
.itg-prose h2 { color: var(--itg-white); margin: 2rem 0 1rem; font-size: 1.7rem; }
.itg-prose h3 { color: var(--itg-yellow); margin: 1.6rem 0 0.8rem; font-size: 1.3rem; }
.itg-prose h4 { color: var(--itg-yellow); margin: 1.4rem 0 0.6rem; }
.itg-prose p  { color: rgba(255,255,255,0.85); margin-bottom: 1.2rem; }
.itg-prose ul, .itg-prose ol { margin: 0 0 1.2rem 1.5rem; color: rgba(255,255,255,0.85); }
.itg-prose ul { list-style: disc; }
.itg-prose ol { list-style: decimal; }
.itg-prose li { margin-bottom: 0.4rem; line-height: 1.7; }
.itg-prose a  { color: var(--itg-yellow); text-decoration: underline; }
.itg-prose a:hover { color: var(--itg-gold); }
.itg-prose blockquote {
    border-left: 4px solid var(--itg-yellow);
    padding: 12px 24px;
    margin: 24px 0;
    background: rgba(0,29,61,0.5);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: rgba(255,255,255,0.8);
}
.itg-prose img { border-radius: var(--radius-card); margin: 24px 0; }
.itg-prose code {
    background: rgba(0,53,102,0.5);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--itg-yellow);
}


/* ============================================================
   404 PAGE
   ============================================================ */
.itg-404 {
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.itg-404__code {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: clamp(7rem, 22vw, 14rem);
    color: var(--itg-yellow);
    opacity: 0.1;
    line-height: 1;
    display: block;
    margin-bottom: -56px;
    user-select: none;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

:focus-visible {
    outline: 2px solid var(--itg-yellow);
    outline-offset: 3px;
}

/* WordPress alignment classes */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }


/* ============================================================
   RESPONSIVE — Tablet ≤ 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .itg-grid--4     { grid-template-columns: repeat(2, 1fr); }
    .itg-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .itg-stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
    .itg-steps       { grid-template-columns: 1fr; }
}


/* ============================================================
   RESPONSIVE — Mobile ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --section-pad: 52px 0;
        --section-pad-sm: 36px 0;
        --gap-cards: 20px;
    }

    /* Nav mobile */
    .itg-nav__toggle { display: flex; }

    .itg-nav__menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: fixed;
        top: 72px;
        left: 0; right: 0;
        background: var(--itg-bg);
        border-bottom: var(--border-gold);
        padding: 12px 0 20px;
        z-index: 999;
    }

    .itg-nav__menu.is-open { display: flex; }

    .itg-nav__menu li { width: 100%; }
    .itg-nav__menu li a {
        display: block;
        padding: 13px 24px;
        font-size: 1rem;
    }
    .itg-nav__menu li a::after { display: none; }
    .itg-nav__cta { display: none; }

    /* Grids */
    .itg-grid--2,
    .itg-grid--3,
    .itg-grid--4 { grid-template-columns: 1fr; }

    .itg-form__row { grid-template-columns: 1fr; }

    /* Footer */
    .itg-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .itg-footer__bottom { flex-direction: column; text-align: center; }

    /* Stats */
    .itg-stats-bar__inner { grid-template-columns: 1fr 1fr; }

    /* Hero */
    .itg-hero { padding: 64px 24px; min-height: auto; }
    .itg-hero__actions { flex-direction: column; align-items: flex-start; }
    .itg-hero__actions .itg-btn { width: 100%; text-align: center; }
    .itg-hero__stats { gap: 20px; }
    .itg-hero__stat-div { display: none; }
}

@media (max-width: 480px) {
    .itg-stats-bar__inner { grid-template-columns: 1fr; }
    .itg-hero__title { font-size: 2rem; }
}
