/*
Theme Name: GrowthLab Custom Theme
Theme URI: https://growthlab.mx
Description: Tema de WordPress personalizado y ultra-rápido para GrowthLab, sin dependencias de constructores visuales, alineado al concepto del Laboratorio de Crecimiento.
Version: 1.1.0
Author: Antigravity Team
Author URI: https://deepmind.google
Text Domain: growthlab-custom
*/

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --bg-dark: #0a0a0c; /* Deep pitch black/charcoal */
    --bg-card: #13151A; /* Slightly lighter for cards */
    --bg-card-hover: #1A1D24;
    --accent: #1264E8;  /* Primary Brand: Electric Blue */
    --accent-rgb: 18, 100, 232;
    --accent-red: #FF4433;   /* High-contrast Red/Orange */
    --accent-lime: #CCFE04;  /* Neon Lime */
    --accent-purple: #B210FE; /* Hot Magenta / Purple */
    --text-primary: #FFFFFF;
    --text-secondary: #E0E4EC;
    --text-muted: #8892A3;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 255, 255, 0.15);
    --font-heading: 'Space Grotesk', 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1440px;
}

/* Color theme categories for case studies & sections */
.theme-red {
    --accent-theme: var(--accent-red);
    --accent-theme-rgb: 255, 68, 51;
}
.theme-blue {
    --accent-theme: var(--accent);
    --accent-theme-rgb: 18, 100, 232;
}
.theme-purple {
    --accent-theme: var(--accent-purple);
    --accent-theme-rgb: 178, 16, 254;
}
.theme-lime {
    --accent-theme: var(--accent-lime);
    --accent-theme-rgb: 204, 254, 4;
}

/* --- RESET & BASE STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.8rem, 3.8vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 500;
}

.text-accent {
    color: var(--accent);
}

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

.section-padding {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
}

/* --- TACTILE BLUEPRINT & GLASS PANEL --- */
.glass-panel {
    background: rgba(16, 20, 29, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    pointer-events: none;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.glass-panel:hover::before {
    opacity: 1;
}

/* Theme overrides for glowing panels (Bento Grid / Features) */
.glass-panel.theme-red:hover {
    border-color: rgba(255, 75, 58, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 75, 58, 0.08);
}
.glass-panel.theme-blue:hover {
    border-color: rgba(18, 100, 232, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(18, 100, 232, 0.08);
}
.glass-panel.theme-purple:hover {
    border-color: rgba(166, 28, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(166, 28, 255, 0.08);
}

/* --- BENTO GRID LAYOUT --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
}

.bento-item {
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-8 { grid-column: span 8; }
.bento-span-12 { grid-column: span 12; }

@media (max-width: 991px) {
    .bento-span-4, .bento-span-6, .bento-span-8 { grid-column: span 12; }
}

/* --- HEADER & NAVIGATION --- */
header.site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: var(--container-width);
    z-index: 1000;
    background: rgba(19, 21, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 12px 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 38px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-menu a:hover, .nav-menu .current-menu-item a {
    color: var(--text-primary);
}

.header-cta {
    background-color: var(--accent);
    color: #FFFFFF;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 1px solid var(--accent);
}

.header-cta:hover {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 100, 232, 0.25);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    gap: 12px;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(18, 100, 232, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-card);
    border-color: var(--text-muted);
}

.btn-arrow {
    transition: var(--transition);
    display: inline-block;
    pointer-events: none;
}

/* Ensure nothing inside a button intercepts the click */
.btn *, .header-cta * {
    pointer-events: none;
}

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

/* --- HERO SECTION --- */
.hero-section {
    padding: 140px 0 80px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-title h1 {
    line-height: 1.05;
    max-width: 1200px;
}

.hero-columns {
    display: grid;
    grid-template-columns: 50px 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-social-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-social-link:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.hero-copy-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
}
.hero-data-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 10;
}

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.data-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.data-card-header {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.data-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-lime);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent-lime);
}

.data-card-value {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1;
}

.text-accent-lime {
    color: var(--accent-lime);
    text-shadow: 0 0 20px rgba(204, 254, 4, 0.3);
}

.data-card-chart {
    height: 30px;
    width: 100%;
}

.sparkline-svg {
    width: 100%;
    height: 100%;
    color: var(--accent-purple);
    filter: drop-shadow(0 0 8px rgba(178, 16, 254, 0.5));
}

.data-card-integrations {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.integration-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.orbital-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background-image: radial-gradient(circle at center, transparent 40%, var(--bg-dark) 70%), repeating-radial-gradient(circle at center, transparent, transparent 40px, rgba(255,255,255,0.03) 41px, transparent 42px);
    z-index: -1;
    pointer-events: none;
}

/* --- CLIENTS BAR & METRIC SOCIAL PROOF --- */
.clients-bar {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 12, 0.5);
}

.clients-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
}

.official-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.partner-badge {
    opacity: 0.5;
    transition: var(--transition);
}

.partner-badge:hover {
    opacity: 1;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-client-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.metric-client-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.m-card-value {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 8px;
    line-height: 1;
}

.m-card-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.m-card-logo {
    max-height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

/* --- SECTION TAG & HEADER --- */
.section-tag {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header {
    max-width: 800px;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-top: 8px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 60px;
}

.section-header-col-left {
    flex: 1;
}

.section-header-col-right {
    max-width: 450px;
    color: var(--text-muted);
}

/* --- METHODOLOGY LOOP SECTION (Slide 4) --- */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.methodology-card {
    border-top: 2px solid var(--accent-theme);
    padding-top: 28px;
}

.methodology-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.methodology-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--accent-theme);
    color: var(--accent-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition);
}

.methodology-card:hover .methodology-node {
    box-shadow: 0 0 20px var(--accent-theme);
    transform: scale(1.1);
}

.methodology-card h3 {
    margin-bottom: 12px;
}

.methodology-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.methodology-steps {
    list-style: none;
    margin-top: 20px;
}

.methodology-steps li {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.methodology-steps li::before {
    content: '➔';
    color: var(--accent-theme);
    font-size: 12px;
}

/* --- LIVE INTERACTIVE DASHBOARD WIDGET --- */
.dashboard-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    margin-top: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow-x: auto;
}

.dashboard-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.dashboard-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.dashboard-dot {
    width: 8px;
    height: 8px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.dashboard-card-num {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    font-family: var(--font-heading);
}

.dashboard-card:nth-child(1) .dashboard-card-num { color: var(--accent); }
.dashboard-card:nth-child(2) .dashboard-card-num { color: var(--accent-red); }
.dashboard-card:nth-child(3) .dashboard-card-num { color: var(--accent-purple); }
.dashboard-card:nth-child(4) .dashboard-card-num { color: var(--accent-lime); }

.dashboard-card-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 12px;
    margin-bottom: 8px;
}

.dashboard-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Hover dynamic state (JS logic helper styles) */
.dashboard-grid:hover .dashboard-card {
    opacity: 0.35;
    transform: scale(0.97);
}

.dashboard-grid .dashboard-card:hover {
    opacity: 1;
    transform: scale(1.03);
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.15);
}

.dashboard-grid .dashboard-card:nth-child(1):hover { border-color: var(--accent); box-shadow: 0 10px 30px rgba(18, 100, 232, 0.1); }
.dashboard-grid .dashboard-card:nth-child(2):hover { border-color: var(--accent-red); box-shadow: 0 10px 30px rgba(255, 75, 58, 0.1); }
.dashboard-grid .dashboard-card:nth-child(3):hover { border-color: var(--accent-purple); box-shadow: 0 10px 30px rgba(166, 28, 255, 0.1); }
.dashboard-grid .dashboard-card:nth-child(4):hover { border-color: var(--accent-lime); box-shadow: 0 10px 30px rgba(203, 248, 52, 0.1); }

/* --- BENTO SERVICE CARDS --- */
.bento-service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    background: rgba(16, 20, 29, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bento-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(18, 100, 232, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.bento-service-card:hover {
    border-color: rgba(18, 100, 232, 0.3);
    transform: translateY(-4px);
}

.bento-service-card:hover::before {
    opacity: 1;
}

.bento-service-card.theme-purple::before {
    background: radial-gradient(circle at top right, rgba(166, 28, 255, 0.1), transparent 70%);
}
.bento-service-card.theme-purple:hover {
    border-color: rgba(166, 28, 255, 0.3);
}

.bento-service-card.theme-red::before {
    background: radial-gradient(circle at top right, rgba(255, 75, 58, 0.1), transparent 70%);
}
.bento-service-card.theme-red:hover {
    border-color: rgba(255, 75, 58, 0.3);
}

.bento-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 24px;
}

.bento-service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.bento-service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.ver-todo-card {
    border: 1px dashed rgba(255,255,255,0.1);
    background: transparent;
}
.ver-todo-card:hover {
    border-color: var(--accent);
    background: rgba(18, 100, 232, 0.05);
}

/* --- CASE STUDIES GRID (PROYECTOS) --- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
}

.case-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.case-client {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    align-self: flex-start;
    border: 1px solid transparent;
}

.case-link {
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.case-link-arrow {
    transition: var(--transition);
}

.case-link:hover .case-link-arrow {
    transform: translateX(4px);
}

/* --- PRICING GRID --- */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: stretch;
}
.pricing-card {
    flex: 0 1 calc(33.333% - 20px);
    width: 100%;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.plan-sub {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
    min-height: 60px;
}

.plan-features {
    list-style: none;
    margin-top: 30px;
}

.plan-features li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li::before {
    content: '✔';
    color: var(--accent);
}

.pricing-card .btn {
    width: 100%;
}

.featured-plan {
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(18, 100, 232, 0.1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
}

/* --- BLOG / JOURNAL CARDS --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.blog-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.04);
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
}

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

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

.blog-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.blog-readmore {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
}

/* --- CONTACT CTA MODULE --- */
.contact-cta-panel {
    text-align: center;
    padding: 80px 40px;
}

.contact-cta-panel h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 16px;
}

.contact-cta-panel p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--text-muted);
    font-size: 18px;
}

/* --- STANDALONE FOOTER --- */
footer.site-footer {
    background: #06090e;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-contact-item svg {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- VBOUT FORM MODAL OVERLAY --- */
.vbout-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 12, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vbout-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.vbout-modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(18, 100, 232, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.vbout-modal-overlay.active .vbout-modal-container {
    transform: scale(1);
}

.vbout-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.vbout-modal-close:hover {
    color: var(--text-primary);
}

/* --- RESPONISVE MEDIA QUERIES --- */
@media (max-width: 991px) {
    .hero-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-social-col {
        flex-direction: row;
    }
    .services-grid, .cases-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card {
        flex: 0 1 calc(50% - 15px);
    }
    .footer-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 36px;
    }
    .footer-col {
        grid-column: span 6 !important;
    }
    .footer-col:last-child {
        grid-column: span 12 !important;
    }
    .dashboard-grid, .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .bento-span-8, .bento-span-4, .bento-span-6 {
        grid-column: span 6 !important;
    }
}

@media (max-width: 768px) {
    .services-grid, .cases-grid, .blog-grid, .metrics-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        flex: 0 1 100%;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-span-8, .bento-span-4, .bento-span-6 {
        grid-column: span 1 !important;
    }
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-col {
        grid-column: span 12 !important;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-container {
        padding: 30px 20px;
    }
    .bento-item {
        padding-right: 0 !important;
    }
}

/* --- HERO TESTIMONIAL RESTORE --- */
.hero-testimonial-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 10;
}

.hero-quote-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.testimonial-rating {
    color: var(--accent-lime);
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.author-meta strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
}

.author-meta span {
    color: var(--text-muted);
    font-size: 13px;
}

.hero-team-metrics {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(19, 21, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 12px 24px 12px 12px;
    backdrop-filter: blur(10px);
}

.hero-team-avatars {
    display: flex;
}

.hero-team-avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -16px;
    object-fit: cover;
}

.hero-team-avatars img:first-child {
    margin-left: 0;
}

.hero-metric-number {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.hero-metric-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

@media (max-width: 991px) {
    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
