/* --- LM SOLUCIONES - STATE-OF-THE-ART TECH STYLE SHEET --- */

:root {
    --bg-dark: #030712; /* Deep modern space black */
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-color: rgba(255, 255, 255, 0.04);
    --border-hover: rgba(59, 130, 246, 0.3);
    
    --primary: #3b82f6; /* Electric royal blue */
    --primary-rgb: 59, 130, 246;
    --cyan: #06b6d4;
    --cyan-rgb: 6, 182, 212;
    
    --color-solar: #f59e0b;
    --color-networks: #3b82f6;
    --color-security: #10b981;
    
    --text-white: #f8fafc;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Ambient Light Auras (Radial Glows) --- */
.glow-bg {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(6, 182, 212, 0.03) 50%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    filter: blur(100px);
    z-index: 0;
}

.glow-bg-bottom {
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(16, 185, 129, 0.02) 50%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    filter: blur(120px);
    z-index: 0;
}

/* --- Header & Typography --- */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-white);
}

h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    margin-bottom: 16px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 60%, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

/* --- Glassmorphism Card Utility --- */
.glass {
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 
                inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: var(--transition);
}

.glass:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.025);
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7),
                0 0 40px -5px rgba(59, 130, 246, 0.1);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px -10px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.7);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* --- Navbar (Premium floating border) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px; /* Sleek height for the new shield layout */
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-shield {
    height: 72px; /* 4x larger shield icon */
    width: auto;
    filter: none;
    transition: var(--transition);
}

.logo-text-brand {
    font-size: 2.2rem; /* Clean large text */
    font-weight: 900;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
}

.logo-text-brand .brand-blue {
    color: #3b82f6; /* Institutional electric blue */
}

.logo-text-brand .brand-gray {
    color: #91a5ae; /* Institutional gray from logo: RGB (145, 165, 174) */
}

.logo-text-brand .brand-white {
    color: #ffffff; /* White text for contrast on dark background */
}

.logo-area:hover .logo-shield {
    transform: scale(1.05) rotate(-3deg);
}

.logo-area:hover .logo-text-brand {
    filter: brightness(1.1);
}

.logo:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.store-btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.store-btn-nav:hover {
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    color: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.6rem;
    cursor: pointer;
}

.hero-section {
    position: relative;
    padding: 200px 0 120px 0; /* Proportional padding-top for the 120px header */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 50%, #94a3b8 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 0.03em;
}

.hero-badge i {
    width: 15px;
    height: 15px;
    color: #38bdf8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

/* IOT DASHBOARD & SYSTEMS CARD */
.tech-card {
    width: 100%;
    max-width: 440px;
    padding: 28px;
    background: rgba(10, 15, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9),
                0 0 50px -10px rgba(59, 130, 246, 0.2);
}

.card-header-iot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; box-shadow: 0 0 8px #f87171; }
.dot.yellow { background-color: #f59e0b; box-shadow: 0 0 8px #fbbf24; }
.dot.green { background-color: #10b981; box-shadow: 0 0 8px #34d399; }

.iot-status {
    font-size: 0.78rem;
    font-weight: 700;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.iot-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.iot-metric-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.iot-metric-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(4px);
}

.iot-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.iot-icon-wrap i {
    width: 22px;
    height: 22px;
}

.iot-icon-wrap.solar { background: rgba(245, 158, 11, 0.08); color: var(--color-solar); }
.iot-icon-wrap.networks { background: rgba(59, 130, 246, 0.08); color: var(--color-networks); }
.iot-icon-wrap.security { background: rgba(16, 185, 129, 0.08); color: var(--color-security); }

.iot-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.iot-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.iot-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0;
}

.iot-sub {
    font-size: 0.72rem;
    color: var(--text-light);
}

.trend {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.trend.up { background: rgba(16, 185, 129, 0.1); color: #34d399; }
.trend.stab { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.trend.secure { background: rgba(6, 182, 212, 0.1); color: #22d3ee; }

.trend i {
    width: 12px;
    height: 12px;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-white);
    background: linear-gradient(135deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* --- Trust Bar --- */
.trust-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.005);
    position: relative;
    z-index: 1;
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-item i {
    color: #60a5fa;
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.4));
}

.trust-item h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 2px;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* --- Services Section --- */
.services-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 72px auto;
}

.section-header p {
    margin-top: 16px;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon i {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon {
    transform: scale(1.08) rotate(3deg);
}

.service-icon.solar {
    background: rgba(245, 158, 11, 0.08);
    color: var(--color-solar);
    box-shadow: 0 0 20px -5px rgba(245, 158, 11, 0.2);
}

.service-icon.networks {
    background: rgba(59, 130, 246, 0.08);
    color: var(--color-networks);
    box-shadow: 0 0 20px -5px rgba(59, 130, 246, 0.2);
}

.service-icon.cctv {
    background: rgba(16, 185, 129, 0.08);
    color: var(--color-security);
    box-shadow: 0 0 20px -5px rgba(16, 185, 129, 0.2);
}

.service-icon.access {
    background: rgba(6, 182, 212, 0.08);
    color: var(--cyan);
    box-shadow: 0 0 20px -5px rgba(6, 182, 212, 0.2);
}

.service-icon.pbx {
    background: rgba(139, 92, 246, 0.08);
    color: #8b5cf6;
    box-shadow: 0 0 20px -5px rgba(139, 92, 246, 0.2);
}

.service-icon.gps {
    background: rgba(244, 63, 94, 0.08);
    color: #f43f5e;
    box-shadow: 0 0 20px -5px rgba(244, 63, 94, 0.2);
}

.service-icon.radio {
    background: rgba(236, 72, 153, 0.08);
    color: #ec4899;
    box-shadow: 0 0 20px -5px rgba(236, 72, 153, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 32px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-light);
}

.service-features li i {
    width: 18px;
    height: 18px;
    color: var(--primary);
    opacity: 0.8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.service-link:hover {
    gap: 14px;
    color: white;
}

/* --- Enterprise Section (Licitaciones & Proyectos Corporativos) --- */
.enterprise-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at top right, rgba(27, 79, 216, 0.03) 0%, transparent 60%);
    border-top: 1px solid var(--border-color);
}

.enterprise-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.enterprise-content h2 {
    text-align: left;
    margin-bottom: 24px;
}

.enterprise-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 0.03em;
}

.enterprise-badge i {
    width: 15px;
    height: 15px;
    color: #38bdf8;
}

.enterprise-features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.ent-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.ent-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.ent-icon i {
    width: 22px;
    height: 22px;
}

.ent-text h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text-white);
}

.ent-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

.enterprise-visual-box {
    padding: 48px 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(13, 17, 28, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.ent-badge-visual {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.ent-badge-visual i {
    width: 14px;
    height: 14px;
}

.enterprise-visual-box h3 {
    font-size: 1.45rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.enterprise-visual-box p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* --- Projects Section --- */
.projects-section {
    padding: 120px 0;
    background: radial-gradient(circle at bottom, #090d16, var(--bg-dark));
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-image-wrap {
    height: 230px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.project-card:hover .project-img {
    transform: scale(1.06);
}

.solar-img { color: var(--color-solar); }
.networks-img { color: var(--color-networks); }
.security-img { color: var(--color-security); }

.project-info {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-light);
    margin-bottom: 16px;
    align-self: flex-start;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.project-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Contact Section --- */
.contact-section {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 48px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.detail-item i {
    width: 28px;
    height: 28px;
    color: #60a5fa;
    margin-top: 4px;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.3));
}

.detail-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.detail-item p {
    font-size: 0.98rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: #60a5fa;
}

.contact-form-box {
    padding: 56px;
}

.contact-form-box h3 {
    font-size: 1.65rem;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-light);
}

input, select, textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.98rem;
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

select option {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.form-feedback {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.form-feedback.success {
    background-color: rgba(16, 185, 129, 0.08);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.form-feedback.error {
    background-color: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* Custom spin animation for loading icons */
.spin {
    animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Footer --- */
.footer {
    padding: 90px 0 48px 0;
    border-top: 1px solid var(--border-color);
    background: #02040a;
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    margin-bottom: 56px;
}
.footer-logo-area {
    margin-bottom: 24px;
    display: inline-flex;
    align-self: flex-start;
}

.logo-shield-footer {
    height: 48px; /* 2x footer shield */
    width: auto;
    filter: none;
    transition: var(--transition);
}

.footer-logo-text {
    font-size: 1.6rem; /* Clean proportional text */
}

.footer-logo-area:hover .logo-shield-footer {
    transform: scale(1.05) rotate(-3deg);
}

.footer-logo-area:hover .footer-logo-text {
    filter: brightness(1.1);
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-left p {
    max-width: 440px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.footer-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-icons a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-icons a:hover {
    color: var(--text-white);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.footer-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    color: var(--text-white);
}

.footer-col a {
    display: block;
    color: var(--text-light);
    font-size: 0.92rem;
    text-decoration: none;
    margin-bottom: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text-white);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Responsive Layouts --- */
@media (max-width: 1024px) {
    .services-grid, .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-container, .contact-container, .enterprise-container {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .hero-visual {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 80px;
    }
    
    .nav-container {
        height: 80px;
    }
    
    .logo-shield {
        height: 44px; /* Scale down shield on mobile */
    }

    .logo-text-brand {
        font-size: 1.4rem; /* Scale down text on mobile */
        gap: 6px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: 36px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        padding-bottom: 50px;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .services-grid, .projects-grid, .footer-right {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .trust-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .contact-form-box {
        padding: 40px 24px;
    }
}
