﻿/* ===================================================
   INTERPOINT — 4PL Strategic Consulting
   Design System: Google Modern / Enterprise SaaS
   Palette: Navy #0A192F · Oxford #4A5568 · White #FFF
   Font: Inter (Google Fonts)
   =================================================== */

:root {
    --color-white: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-subtle: #f1f5f9;
    --color-navy: #0A192F;
    --color-navy-light: #112240;
    --color-navy-muted: #1d3557;
    --color-oxford: #4A5568;
    --color-accent: #3b82f6;
    --color-border: #e2e8f0;
    --color-border-hover: #cbd5e1;
    --color-text-main: #0F172A;
    --color-text-muted: #64748b;
    --color-text-secondary: #475569;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-v-pad: clamp(80px, 12vw, 140px);
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.3s;
    --t-normal: 0.5s;
    --t-slow: 0.8s;
    --shadow-card: 0 1px 3px rgba(10,25,47,0.04), 0 4px 12px rgba(10,25,47,0.03);
    --shadow-card-hover: 0 8px 30px rgba(10,25,47,0.08);
    --shadow-header: 0 1px 3px rgba(10,25,47,0.06);
}

/* ======================== Reset ======================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

/* ===================== Utility ======================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }
.section-padding { padding: var(--section-v-pad) 0; }
.bg-light { background-color: var(--color-bg-light); }

/* Product Detail Placeholders */
.pd-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.pd-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}
.pd-placeholder .material-symbols-outlined {
    font-size: 4rem;
    color: var(--color-navy);
    opacity: 0.15;
    transition: all var(--t-fast) var(--ease-smooth);
}
.pd-card:hover .pd-placeholder .material-symbols-outlined {
    opacity: 0.25;
    transform: scale(1.1);
}

/* =================== Buttons ========================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.875rem 2rem; border-radius: 6px; text-decoration: none;
    font-weight: 500; font-size: 1rem; transition: all var(--t-fast) var(--ease-smooth);
    border: 1.5px solid transparent; cursor: pointer; letter-spacing: -0.01em;
}
.btn-primary { background-color: var(--color-navy); color: var(--color-white); }
.btn-primary:hover { background-color: var(--color-navy-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,25,47,0.2); }
.btn-outline { background-color: transparent; color: var(--color-navy); border-color: var(--color-border-hover); }
.btn-outline:hover { background-color: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.btn-secondary { background-color: var(--color-bg-subtle); color: var(--color-navy); border-color: var(--color-border); }
.btn-secondary:hover { background-color: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }

/* ==================== Header ========================= */
.site-header {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background-color: rgba(255,255,255,0.75); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border);
    transition: all var(--t-fast) var(--ease-smooth);
}
.site-header.scrolled { box-shadow: var(--shadow-header); border-bottom-color: transparent; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 52px; width: auto; transition: opacity var(--t-fast) ease; }
.logo:hover img { opacity: 0.9; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { text-decoration: none; color: var(--color-text-secondary); font-weight: 500; font-size: 0.925rem; transition: color var(--t-fast) ease; position: relative; }
.main-nav a:not(.btn):not(.dropdown-col a)::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--color-navy); transition: width var(--t-fast) var(--ease-smooth); }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--color-navy); }
.main-nav a:not(.btn):not(.dropdown-col a):hover::after, .main-nav a.active::after { width: 100%; }
.main-nav .btn-primary { color: var(--color-white); }
.main-nav .btn { padding: 0.55rem 1.4rem; font-size: 0.9rem; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-trigger { display: flex; align-items: center; gap: 0.25rem; cursor: pointer; }
.nav-trigger .arrow { font-size: 1.1rem; transition: transform var(--t-fast) ease; }
.nav-dropdown:hover .arrow { transform: rotate(180deg); }

.dropdown-panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    width: 800px; background: var(--color-white); border-radius: 12px;
    border: 1px solid var(--color-border); box-shadow: 0 12px 40px rgba(10,25,47,0.1);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(-50%) translateY(8px); padding: 0; z-index: 200;
}
.dropdown-panel::before { 
    content: ''; position: absolute; top: -15px; left: 0; width: 100%; height: 20px; 
}
.nav-dropdown:hover .dropdown-panel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.dropdown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 2rem; }
.dropdown-col { display: flex; flex-direction: column; gap: 0.3rem; }
.dropdown-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--color-text-muted); margin-bottom: 0.6rem; display: block; }
.dropdown-col a { font-size: 0.9rem; text-decoration: none; color: var(--color-text-secondary); padding: 0.4rem 0.6rem; border-radius: 6px; transition: all 0.2s ease; }
.dropdown-col a::after { display: none !important; }
.dropdown-col a:hover { background: var(--color-bg-subtle); color: var(--color-navy); }
.dropdown-footer { border-top: 1px solid var(--color-border); padding: 1rem 1.5rem; }
.dropdown-cta { display: flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; font-weight: 500; color: var(--color-accent); text-decoration: none; }
.dropdown-cta::after { display: none !important; }
.dropdown-cta:hover { color: var(--color-navy); }

/* Mobile Menu Toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 110; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--color-navy); margin: 5px 0; transition: all var(--t-fast) ease; }

/* =================== Hero Section ==================== */
.hero {
    padding-top: 72px; min-height: 100vh; display: flex;
    align-items: center; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(10,25,47,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(10,25,47,0.02) 1px, transparent 1px);
    background-size: 80px 80px; animation: gridFade 20s ease-in-out infinite; pointer-events: none;
}
@keyframes gridFade { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 6rem 0; }
.hero-text { position: relative; z-index: 2; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--color-bg-subtle); border: 1px solid var(--color-border); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.825rem; font-weight: 500; color: var(--color-text-secondary); margin-bottom: 2rem; letter-spacing: 0.02em; }
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background-color: #22c55e; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-text p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 520px; color: var(--color-text-secondary); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; }
.hero-actions .btn-ghost { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; font-weight: 500; color: var(--color-text-secondary); font-size: 1rem; transition: color var(--t-fast) ease; }
.hero-actions .btn-ghost:hover { color: var(--color-navy); }

/* Architecture Diagram */
.hero-visual { position: relative; z-index: 2; }
.globe-container {
    position: relative;
    width: 100%;
    height: 560px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.orbit-path {
    position: absolute;
    width: 460px;
    height: 460px;
    border: 1.5px dashed rgba(10, 25, 47, 0.08);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.globe-sphere {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    background-image: url('https://pub-940ccf6255b54fa799a9b01050e6c227.r2.dev/globe.jpeg');
    background-size: cover;
    background-repeat: repeat;
    background-position: left center;
    animation: earthRotate 30s linear infinite;
    z-index: 2;
    /* Scaled inset shadows to fit 220px perfectly while preserving 3D photorealistic depth */
    box-shadow: 
      0 0 30px rgba(255,255,255,0.25),
      -4px 0 8px #c3f4ff inset,
      16px 1px 24px #000 inset,
      -24px -1px 32px rgba(195, 244, 255, 0.6) inset,
      220px 0 40px rgba(0,0,0,0.4) inset,
      120px 0 38px rgba(0,0,0,0.67) inset;
    transition: transform var(--t-normal) var(--ease-spring), box-shadow var(--t-normal) ease;
}

.globe-sphere:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 
      0 0 35px rgba(59, 130, 246, 0.3),
      -4px 0 10px #c3f4ff inset,
      16px 1px 24px #000 inset,
      -24px -1px 32px rgba(195, 244, 255, 0.7) inset,
      220px 0 40px rgba(0,0,0,0.3) inset,
      120px 0 38px rgba(0,0,0,0.55) inset;
}

@keyframes earthRotate {
    0% { background-position: 0 0; }
    100% { background-position: 400px 0; }
}

/* Satellite Nodes Orbiting in Space */
.satellite-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.5s ease, transform 0.5s ease, z-index 0.5s ease;
}

.node-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-navy);
    border: 2px solid var(--color-border);
    color: var(--color-white);
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease-spring);
}

.node-icon .material-symbols-outlined {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.satellite-node:hover .node-icon,
.satellite-node.active .node-icon {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.satellite-node:hover .node-icon .material-symbols-outlined,
.satellite-node.active .node-icon .material-symbols-outlined {
    transform: scale(1.1);
}

.node-label {
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.satellite-node:hover .node-label,
.satellite-node.active .node-label {
    color: var(--color-navy);
}

/* Translucent Premium Detail Cards */
.node-card {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 280px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s var(--ease-spring), visibility 0.4s ease;
    z-index: 100;
    text-align: left;
}

.node-card.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.node-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.node-card-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.node-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--color-navy);
    font-weight: 700;
}

.node-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
}

.badge.completed {
    background-color: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.badge.active {
    background-color: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.badge.pending {
    background-color: rgba(100, 116, 139, 0.1);
    color: #475569;
}

.energy-lvl {
    margin-top: 0.5rem;
}

.energy-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
}

.energy-bar {
    width: 100%;
    height: 4px;
    background-color: var(--color-border);
    border-radius: 100px;
    overflow: hidden;
}

.energy-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), #60a5fa);
    border-radius: 100px;
}

/* ============= Brand Alliances ==================== */
.brand-alliance { padding: 60px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-bg-light); }
.alliance-inner { text-align: center; }
.alliance-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text-muted); margin-bottom: 2.5rem; }
.brand-grid { display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; }
.brand-grid img { height: clamp(35px, 5vw, 48px); width: auto; filter: grayscale(1) opacity(0.6); transition: all var(--t-fast) ease; }
.brand-grid img:hover { filter: grayscale(0) opacity(1); transform: scale(1.05); }

/* ============= Diferencial Section =================== */
.diferencial-section { padding: var(--section-v-pad) 0; }
.section-header { margin-bottom: 4.5rem; }
.section-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.2rem; margin-top: 0.75rem; color: var(--color-text-muted); max-width: 560px; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Feature Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { padding: 3rem 2.5rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px; transition: all var(--t-fast) var(--ease-smooth); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--color-navy), var(--color-accent)); transform: scaleX(0); transform-origin: left; transition: transform var(--t-normal) var(--ease-smooth); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: transparent; }
.feature-icon-wrap { width: 56px; height: 56px; border-radius: 12px; background: var(--color-bg-subtle); display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; transition: all var(--t-fast) var(--ease-smooth); }
.feature-card:hover .feature-icon-wrap { background: var(--color-navy); }
.feature-icon-wrap .material-symbols-outlined { font-size: 1.6rem; color: var(--color-navy); transition: color var(--t-fast) ease; }
.feature-card:hover .feature-icon-wrap .material-symbols-outlined { color: var(--color-white); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 1rem; line-height: 1.7; }

/* ============= Servicios Section — Deep Cards ========= */
.servicios-section { padding: var(--section-v-pad) 0; background-color: var(--color-bg-light); }

.services-grid-deep {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}

.service-card-deep {
    display: flex; flex-direction: column; text-decoration: none;
    background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: 12px; padding: 2.5rem; position: relative;
    overflow: hidden; transition: all var(--t-fast) var(--ease-smooth);
}
.service-card-deep::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--color-navy), var(--color-accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-normal) var(--ease-smooth);
}
.service-card-deep:hover::before { transform: scaleX(1); }
.service-card-deep:hover { box-shadow: var(--shadow-card-hover); border-color: transparent; transform: translateY(-4px); }

.scd-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.scd-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--color-bg-subtle); display: flex; align-items: center; justify-content: center; transition: all var(--t-fast) ease; }
.scd-icon .material-symbols-outlined { font-size: 1.4rem; color: var(--color-navy); transition: color var(--t-fast) ease; }
.service-card-deep:hover .scd-icon { background: var(--color-navy); }
.service-card-deep:hover .scd-icon .material-symbols-outlined { color: var(--color-white); }
.scd-number { font-size: 0.75rem; font-weight: 700; color: var(--color-border-hover); letter-spacing: 0.05em; }

.service-card-deep h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.service-card-deep p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.2rem; }

.scd-bullets { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; flex-grow: 1; }
.scd-bullets li { font-size: 0.875rem; color: var(--color-text-secondary); padding-left: 1.2rem; position: relative; line-height: 1.6; }
.scd-bullets li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); }

.scd-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--color-accent); margin-top: auto; transition: gap var(--t-fast) ease; }
.service-card-deep:hover .scd-link { gap: 0.75rem; }

/* ============ Process Section ======================== */
.process-section { padding: var(--section-v-pad) 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: process; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 40px; left: 12.5%; width: 75%; height: 2px; background: var(--color-border); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 1.5rem; }
.process-step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--color-white); border: 2px solid var(--color-navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-weight: 700; font-size: 1.1rem; color: var(--color-navy); transition: all var(--t-fast) var(--ease-smooth); }
.process-step:hover .process-step-number { background: var(--color-navy); color: var(--color-white); transform: scale(1.1); }
.process-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; line-height: 1.65; }

/* ============= Industries Section ==================== */
.industries-section { padding: var(--section-v-pad) 0; background: var(--color-white); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.industry-card {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    padding: 2.5rem 1.5rem; background: var(--color-bg-light); border: 1px solid var(--color-border);
    border-radius: 12px; text-decoration: none; text-align: center;
    transition: all var(--t-fast) var(--ease-smooth);
}
.industry-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: transparent; background: var(--color-white); }
.industry-card .material-symbols-outlined { font-size: 2rem; color: var(--color-navy); }
.industry-card h4 { font-size: 0.95rem; color: var(--color-navy); margin-bottom: 0; }
.industry-card p { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0; line-height: 1.5; }

/* Industries Detail Page */
.industry-detail-card {
    padding: 3rem 2.5rem; background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: 12px; transition: all var(--t-fast) var(--ease-smooth);
}
.industry-detail-card:hover { box-shadow: var(--shadow-card-hover); }
.industry-detail-card .material-symbols-outlined { font-size: 2.2rem; color: var(--color-accent); margin-bottom: 1.5rem; }
.industry-detail-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.industry-detail-card p { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.industry-detail-card ul { margin-bottom: 0; }
.industry-detail-card ul li {
    font-size: 0.9rem; color: var(--color-text-secondary); padding-left: 1.4rem;
    position: relative; line-height: 1.8;
}
.industry-detail-card ul li::before {
    content: ''; position: absolute; left: 0; top: 0.6em;
    width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent);
}

/* ============= Trust / Clients Section =============== */
.trust-section { padding: 60px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-bg-light); }
.trust-inner { text-align: center; }
.trust-inner p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); font-weight: 600; margin-bottom: 2rem; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; opacity: 0.5; }
.trust-logos span { font-size: 1.1rem; font-weight: 700; color: var(--color-text-muted); letter-spacing: 0.02em; }

/* ============= About Page Sections =================== */
.page-hero { padding: 120px 0 60px; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.25rem; max-width: 680px; color: var(--color-text-secondary); line-height: 1.8; }
.page-hero.centered { text-align: center; }
.page-hero.centered p { margin-left: auto; margin-right: auto; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value-card {
    padding: 2.5rem; background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: 12px; transition: all var(--t-fast) var(--ease-smooth);
}
.value-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.value-card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; margin-bottom: 0.75rem; }
.value-card h3 .material-symbols-outlined { font-size: 1.4rem; color: var(--color-accent); }
.value-card p { font-size: 0.95rem; line-height: 1.75; }

/* Approach Section (About) — High-Authority 'Magnetic Radar' Design */
.approach-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 7rem; 
    align-items: center; 
}

.approach-timeline { 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
    position: relative;
    padding-left: 1rem;
}

/* Master Timeline Line with Shimmer effect */
.approach-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(10, 25, 47, 0.05) 0%, 
        rgba(59, 130, 246, 0.1) 50%, 
        rgba(10, 25, 47, 0.05) 100%);
    z-index: 1;
}

/* The 'Filling' Line Segment (Active on Parent Hover) */
.approach-timeline::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 30px;
    height: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), #60a5fa);
    z-index: 1;
    transition: height 0.8s var(--ease-smooth);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.approach-timeline:hover::after {
    height: calc(100% - 60px);
}

.approach-item { 
    display: flex; 
    gap: 2.5rem; 
    align-items: flex-start; 
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.5s var(--ease-smooth);
    position: relative;
    z-index: 2;
    background: transparent;
    border: 1px solid transparent;
}

/* Glassmorphism Lift on Hover */
.approach-item:hover {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-color: rgba(59, 130, 246, 0.15);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.05);
    transform: translateX(15px) scale(1.02);
}

.approach-number { 
    width: 46px; 
    height: 46px; 
    border-radius: 50%; 
    background: var(--color-white); 
    color: var(--color-navy); 
    border: 2px solid var(--color-border);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800; 
    font-size: 1.1rem; 
    flex-shrink: 0; 
    position: relative;
    z-index: 2;
    transition: all 0.5s var(--ease-spring);
    box-shadow: var(--shadow-card);
}

/* Radar / Sonar Pulse Effect */
.approach-number::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    opacity: 0;
    animation: sonarPulse 3s infinite;
}

@keyframes sonarPulse {
    0% { transform: scale(1); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

.approach-item:hover .approach-number {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 0 25px rgba(10, 25, 47, 0.2);
}

.approach-icon {
    position: absolute;
    font-size: 1.35rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s var(--ease-smooth);
}

.approach-item:hover .approach-icon {
    opacity: 1;
    transform: scale(1);
    color: #93c5fd;
}

.approach-item:hover .approach-number span:not(.approach-icon) {
    opacity: 0;
    transform: scale(0.8);
}

.approach-content {
    transition: transform 0.4s var(--ease-smooth);
}

.approach-content h4 { 
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.6rem; 
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.approach-item:hover .approach-content h4 {
    color: var(--color-accent);
    transform: translateX(5px);
}

.approach-content p { 
    font-size: 1rem; 
    line-height: 1.75; 
    color: var(--color-text-muted);
    margin-bottom: 0; 
    transition: color 0.3s ease;
}

.approach-item:hover .approach-content p {
    color: var(--color-text-main);
}

/* Mobile Adjustments for Enfoque */
@media (max-width: 900px) {
    .approach-grid { gap: 3rem; }
    .approach-timeline::before, 
    .approach-timeline::after { left: 10px; }
    .approach-item { padding: 1.5rem 1rem; gap: 1.5rem; }
    .approach-item:hover { transform: translateX(5px); }
}

/* Two Column Text */
.two-col-text { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col-text p { margin-bottom: 1.2rem; }

/* Stat Highlight Row */
.stat-highlight-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat-highlight {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    position: relative;
    transition: all var(--t-fast) var(--ease-smooth);
    box-shadow: var(--shadow-card);
}
.stat-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}
.stat-highlight:hover::before {
    transform: scaleX(1);
}
.stat-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
    background: var(--color-white);
}
.stat-highlight h3 { font-size: clamp(2rem, 4vw, 2.5rem); color: var(--color-navy); margin-bottom: 0.3rem; font-weight: 800; }
.stat-highlight p { font-size: 0.9rem; margin-bottom: 0; color: var(--color-text-secondary); font-weight: 500; }

/* ============= Methodology / Framework Section ======= */
.framework-section { padding: var(--section-v-pad) 0; }
.framework-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.framework-card {
    padding: 2.5rem; background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: 12px; position: relative; overflow: hidden;
    transition: all var(--t-fast) var(--ease-smooth);
}
.framework-card::before {
    content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--color-navy), var(--color-accent));
    transform: scaleY(0); transform-origin: top; transition: transform var(--t-normal) var(--ease-smooth);
}
.framework-card:hover::before { transform: scaleY(1); }
.framework-card:hover { box-shadow: var(--shadow-card-hover); }
.framework-card .card-number { font-size: 0.7rem; font-weight: 700; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.framework-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.framework-card p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.framework-card ul { margin-bottom: 0; }
.framework-card ul li {
    font-size: 0.9rem; color: var(--color-text-secondary); padding-left: 1.4rem;
    position: relative; line-height: 1.8;
}
.framework-card ul li::before {
    content: ''; position: absolute; left: 0; top: 0.6em;
    width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent);
}

/* Services Overview Page */
.services-overview-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.service-overview-row {
    display: grid; grid-template-columns: 80px 1fr; gap: 2.5rem;
    padding: 3.5rem 0; border-bottom: 1px solid var(--color-border);
    text-decoration: none; transition: all var(--t-fast) var(--ease-smooth);
}
.service-overview-row:last-child { border-bottom: none; }
.service-overview-row:hover { transform: translateX(8px); }
.service-overview-row .sov-number {
    width: 64px; height: 64px; border-radius: 16px; background: var(--color-bg-subtle);
    border: 1px solid var(--color-border); display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 1.2rem; color: var(--color-navy);
    transition: all var(--t-fast) ease; flex-shrink: 0;
}
.service-overview-row:hover .sov-number { background: var(--color-navy); color: var(--color-white); }
.service-overview-row h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.service-overview-row p { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.service-overview-row .sov-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.service-overview-row .sov-tags span {
    display: inline-block; padding: 0.25rem 0.75rem; background: var(--color-bg-subtle);
    border: 1px solid var(--color-border); border-radius: 100px; font-size: 0.75rem;
    font-weight: 500; color: var(--color-text-secondary);
}
.sov-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--color-accent); margin-top: 0.5rem; }

/* ============= CTA Section =========================== */
.cta-section { padding: var(--section-v-pad) 0; background-color: #0a192f !important; background-color: var(--color-navy) !important; color: var(--color-white); position: relative; overflow: hidden; margin-bottom: 0 !important; }
.cta-section::before {
    display: none;
}
.cta-content { position: relative; z-index: 2; max-width: 850px; margin: 0 auto; }
.cta-section h2 { color: var(--color-white); margin-bottom: 1.5rem; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: clamp(1rem, 2vw, 1.15rem); margin-bottom: 2.5rem; line-height: 1.6; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { background-color: var(--color-white); color: var(--color-navy) !important; padding: 1rem 2.5rem; font-size: 1.05rem; font-weight: 600; }
.cta-section .btn-primary:hover { background-color: rgba(255,255,255,0.9); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* ==================== Footer ========================= */
.site-footer { padding: 4rem 0 2rem; border-top: 1px solid var(--color-border); background: var(--color-white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo img { height: 60px; }
.footer-brand p { font-size: 0.85rem; color: var(--color-text-muted); font-weight: 500; margin-top: 0.25rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.footer-nav a { text-decoration: none; font-size: 0.9rem; color: var(--color-text-secondary); transition: color var(--t-fast) ease; }
.footer-nav a:hover { color: var(--color-navy); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 1.5rem; font-size: 0.8rem; color: var(--color-text-muted); }
.footer-disclaimer { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 0.75rem; font-style: italic; }

/* ====================================================
   SERVICE DETAIL PAGES
   ==================================================== */

/* Breadcrumb */
.breadcrumb-section { padding-top: 88px; padding-bottom: 0; }
.breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; }
.breadcrumb a { text-decoration: none; color: var(--color-text-muted); transition: color var(--t-fast) ease; }
.breadcrumb a:hover { color: var(--color-navy); }
.bc-sep { font-size: 0.9rem; color: var(--color-border-hover); }
.bc-current { color: var(--color-navy); font-weight: 500; }

/* Service Hero */
.service-hero { padding: 4rem 0 3rem; }
.service-hero-content { max-width: 720px; }
.service-hero h1 { margin-bottom: 1rem; }
.service-hero-desc { font-size: 1.25rem; line-height: 1.8; color: var(--color-text-secondary); }

/* Overview Grid */
.overview-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: start; }
.overview-text p { margin-bottom: 1.2rem; }
.overview-text p:last-child { margin-bottom: 0; }

.overview-stats { display: flex; flex-direction: column; gap: 1.2rem; }
.stat-card { background: var(--color-bg-subtle); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.8rem 2rem; transition: all var(--t-fast) var(--ease-smooth); }
.stat-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.stat-card h3 { font-size: 2.2rem; font-weight: 700; color: var(--color-navy); margin-bottom: 0.2rem; letter-spacing: -0.02em; }
.stat-card p { font-size: 0.9rem; margin-bottom: 0; }

/* Sub Services */
.sub-services-list { display: flex; flex-direction: column; gap: 0; }
.sub-service {
    display: grid; grid-template-columns: 64px 1fr; gap: 2rem;
    padding: 3rem 0; border-bottom: 1px solid var(--color-border);
}
.sub-service:first-child { padding-top: 0; }
.sub-service:last-child { border-bottom: none; padding-bottom: 0; }

.sub-service-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: var(--color-white); border: 1.5px solid var(--color-border);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--t-fast) var(--ease-smooth);
}
.bg-light .sub-service-icon { background: var(--color-white); }
.sub-service:hover .sub-service-icon { background: var(--color-navy); border-color: var(--color-navy); }
.sub-service-icon .material-symbols-outlined { font-size: 1.5rem; color: var(--color-navy); transition: color var(--t-fast) ease; }
.sub-service:hover .sub-service-icon .material-symbols-outlined { color: var(--color-white); }

.sub-service-content h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.sub-service-content p { font-size: 1rem; margin-bottom: 1.2rem; }
.sub-service-content ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.sub-service-content ul li {
    font-size: 0.9rem; color: var(--color-text-secondary); padding-left: 1.4rem;
    position: relative; line-height: 1.6;
}
.sub-service-content ul li::before {
    content: ''; position: absolute; left: 0; top: 0.55em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent);
}

/* Why Matters / Benefits */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.why-text h2 { margin-bottom: 1.5rem; }
.why-text p { margin-bottom: 1rem; }

.why-benefits { display: flex; flex-direction: column; gap: 1.5rem; }
.benefit-item {
    display: flex; gap: 1.2rem; align-items: flex-start;
    padding: 1.5rem; background: var(--color-bg-subtle);
    border: 1px solid var(--color-border); border-radius: 10px;
    transition: all var(--t-fast) var(--ease-smooth);
}
.benefit-item:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.benefit-item .material-symbols-outlined { font-size: 1.6rem; color: var(--color-navy); flex-shrink: 0; margin-top: 2px; }
.benefit-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.9rem; margin-bottom: 0; }

/* Service Navigation (prev/next) */
.service-nav-section { padding: 3rem 0; border-top: 1px solid var(--color-border); background: var(--color-bg-light); }
.service-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.service-nav-grid:has(.next:only-child) { grid-template-columns: 1fr; }
.service-nav-card {
    display: flex; flex-direction: column; gap: 0.4rem;
    padding: 1.5rem 2rem; border: 1px solid var(--color-border);
    background: var(--color-white); border-radius: 10px;
    text-decoration: none; transition: all var(--t-fast) var(--ease-smooth);
}
.service-nav-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.service-nav-card.next { text-align: right; margin-left: auto; }
.service-nav-card.prev { text-align: left; }
.sn-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); font-weight: 500; }
.sn-title { font-size: 1.05rem; font-weight: 600; color: var(--color-navy); display: flex; align-items: center; gap: 0.5rem; }
.service-nav-card.next .sn-title { justify-content: flex-end; }

/* =============== Scroll Animations =================== */
.fade-up {
    opacity: 0; transform: translateY(28px);
    transition: opacity var(--t-slow) var(--ease-smooth), transform var(--t-slow) var(--ease-smooth);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =============== Responsive Design =================== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0; }
    .hero { min-height: auto; }
    .hero-text { text-align: center; }
    .hero-text p { max-width: 560px; margin-left: auto; margin-right: auto; }
    .hero-tag { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .architecture-diagram { max-width: 380px; }
    .grid-3 { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .services-grid-deep { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .brand-grid { gap: 2.5rem; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .process-grid::before { display: none; }
    .overview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .dropdown-panel { width: 400px; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .approach-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .framework-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .two-col-text { grid-template-columns: 1fr; gap: 1.5rem; }
    .stat-highlight-row { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
    /* Mobile-Optimized Radial Orbital Timeline */
    .globe-container {
        height: 320px;
    }
    .orbit-path {
        width: 260px;
        height: 260px;
    }
    .globe-sphere {
        width: 130px;
        height: 130px;
        box-shadow: 
          0 0 15px rgba(255,255,255,0.2),
          -2px 0 4px #c3f4ff inset,
          10px 1px 14px #000 inset,
          -14px -1px 18px rgba(195, 244, 255, 0.6) inset,
          130px 0 25px rgba(0,0,0,0.4) inset,
          70px 0 22px rgba(0,0,0,0.67) inset;
    }
    .node-icon {
        width: 40px;
        height: 40px;
    }
    .node-icon .material-symbols-outlined {
        font-size: 1.1rem;
    }
    .node-label {
        font-size: 0.7rem;
        margin-top: 4px;
    }
    .node-card {
        width: 260px;
        bottom: -20px;
        padding: 1rem;
    }
    .node-card h3 {
        font-size: 0.95rem;
    }
    .node-card p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .site-header .container { height: 64px; }
    .hero { padding-top: 64px; }
    .breadcrumb-section { padding-top: 80px; }
    .page-hero { padding: 100px 0 40px; }

    .main-nav {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--color-white); flex-direction: column; align-items: flex-start;
        padding: 5rem 2rem 2rem; gap: 1.5rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right var(--t-fast) var(--ease-smooth); z-index: 105;
    }
    .main-nav.open { right: 0; }
    .main-nav .btn { width: 100%; text-align: center; }
    .menu-toggle { display: block; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-dropdown { width: 100%; }
    .dropdown-panel { position: static; transform: none; width: 100%; box-shadow: none; border: none; background: var(--color-bg-subtle); border-radius: 8px; opacity: 1; visibility: visible; pointer-events: auto; display: none; }
    .nav-dropdown.mobile-open .dropdown-panel { display: block; }
    .dropdown-grid { grid-template-columns: 1fr; }
    .dropdown-footer { display: none; }

    .sub-service { grid-template-columns: 1fr; gap: 1rem; }
    .sub-service-content ul { grid-template-columns: 1fr; }
    .service-nav-grid { grid-template-columns: 1fr; }
    .service-nav-card.next { text-align: left; margin-left: 0; }
    .service-nav-card.next .sn-title { justify-content: flex-start; }
    
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .footer-nav { align-items: center; }
    .industries-grid { grid-template-columns: 1fr 1fr; }
    .service-overview-row { grid-template-columns: 1fr; gap: 1rem; }
    .trust-logos { gap: 2rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; gap: 1rem; }
    .brand-grid { gap: 1.5rem; }
    .brand-grid img { height: 32px; }
    .process-grid { grid-template-columns: 1fr; }
    .stat-card h3 { font-size: 1.8rem; }
    .industries-grid { grid-template-columns: 1fr; }
}

/* ====================================================
   HOME PAGE V2 (PLAN B) STYLES
   ==================================================== */

.v2-hero {
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(10, 25, 47, 0.02) 0%, transparent 50%);
}

.brain-architecture {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-brain {
    width: 120px;
    height: 120px;
    background: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(10,25,47,0.2);
}

.core-brain .material-symbols-outlined {
    font-size: 3rem;
}

.brain-ring {
    position: absolute;
    inset: -15px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

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

.node {
    position: absolute;
    padding: 0.6rem 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-navy);
    box-shadow: var(--shadow-card);
    z-index: 6;
    white-space: nowrap;
}

.node-1 { top: 15%; left: 10%; }
.node-2 { top: 15%; right: 10%; }
.node-3 { bottom: 20%; right: 5%; }
.node-4 { bottom: 20%; left: 5%; }

.brain-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Pillar Cards V2 */
.pillar-card {
    padding: 3rem 2rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: center;
    transition: all var(--t-fast) var(--ease-smooth);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: var(--color-bg-subtle);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-navy);
}

.pillar-card:hover .pillar-icon {
    background: var(--color-navy);
    color: white;
}

/* Solutions V2 Grid */
.solutions-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.solution-v2-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all var(--t-fast) var(--ease-smooth);
}

.solution-v2-card:hover {
    border-color: var(--color-accent);
    transform: scale(1.02);
    box-shadow: var(--shadow-card-hover);
}

.svc-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.svc-icon .material-symbols-outlined {
    font-size: 2rem;
}

.svc-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.svc-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.svc-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--color-bg-subtle);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* CTA V2 */
.cta-section-v2 {
    padding: var(--section-v-pad) 0;
}

.container-medium {
    max-width: 900px;
}

@media (max-width: 1024px) {
    .solutions-v2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solutions-v2-grid {
        grid-template-columns: 1fr;
    }
    .solution-v2-card {
        padding: 1.5rem;
    }
    .cta-inner {
        padding: 3rem 1.5rem !important;
    }

}

/* ====================================================
   V3 FUSION & TRIPLE PILLAR STYLES
   ==================================================== */

.v3-layout .hero-tag { background: rgba(59, 130, 246, 0.08); color: var(--color-accent); font-weight: 600; }

.pillars-detailed { padding: var(--section-v-pad) 0; background: var(--color-white); }
.pillar-row { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 6rem; align-items: start; }
.pillar-row:last-child { margin-bottom: 0; }
.pillar-info { position: sticky; top: 120px; }
.pillar-label { font-size: 0.7rem; font-weight: 700; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1rem; display: block; }
.pillar-info h2 { font-size: 2.2rem; margin-bottom: 1.5rem; line-height: 1.2; }
.pillar-info p { font-size: 1.1rem; color: var(--color-text-secondary); }

.solutions-grid-v3 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.solution-v3-item { padding: 2rem; background: var(--color-bg-light); border-radius: 16px; border: 1px solid var(--color-border); transition: all var(--t-fast) var(--ease-smooth); }
.solution-v3-item:hover { background: var(--color-white); border-color: var(--color-accent); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.solution-v3-item h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--color-navy); display: flex; align-items: center; gap: 0.6rem; }
.solution-v3-item h3 .material-symbols-outlined { font-size: 1.4rem; color: var(--color-accent); }
.solution-v3-item p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.5rem; color: var(--color-text-secondary); }
.solution-v3-subp { font-size: 0.85rem; color: var(--color-text-muted); font-style: italic; line-height: 1.5; border-top: 1px solid var(--color-border); padding-top: 0.75rem; margin-top: 0.75rem; }

@media (max-width: 1024px) {
    .pillar-row { grid-template-columns: 1fr; gap: 2.5rem; }
    .pillar-info { position: static; }
}

@media (max-width: 768px) {
    .solutions-grid-v3 { grid-template-columns: 1fr; }
}

/* ===================================================
   PROVIDERS CLOUD — AUTHENTIC STRATEGIC ALLIANCES
   =================================================== */
.providers-cloud {
    padding: 5rem 0;
    background: var(--color-bg-light);
    overflow: hidden;
}

.cloud-label {
    text-align: center;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--color-text-muted);
    margin-bottom: 3.5rem;
    font-weight: 700;
}

.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

/* 
   ====================================================
   VISUAL WEIGHT BALANCING (ALGORITHMIC EXACT INK AREA)
   ====================================================
*/
.logos-track img {
    flex-shrink: 0;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    margin: 0 4rem;
    filter: grayscale(1) opacity(0.4);
    mix-blend-mode: multiply;
    background-color: transparent !important;
    transition: all 0.3s var(--ease-smooth);
}
.logos-track img:hover {
    filter: grayscale(0) opacity(1) !important;
    transform: scale(1.1);
}

.logos-track img[alt="dqb-logo-color"] { height: 77px !important; }
.logos-track img[alt="dewalt"] { height: 46px !important; }
.logos-track img[alt="Generac_Power_Systems_logo"] { height: 45px !important; }
.logos-track img[alt="irwin-tools-seeklogo"] { height: 56px !important; }
.logos-track img[alt="DAP"] { height: 80px !important; }
.logos-track img[alt="stabila-levels"] { height: 160px !important; }
.logos-track img[alt="louiseville"] { height: 40px !important; }
.logos-track img[alt="meridian"] { height: 48px !important; }
.logos-track img[alt="handifoam-logo"] { height: 53px !important; }
.logos-track img[alt="3M_logo"] { height: 111px !important; }
.logos-track img[alt="loctite-1"] { height: 160px !important; }
.logos-track img[alt="rust-oleum"] { height: 360px !important; }
.logos-track img[alt="crescent"] { height: 160px !important; }
.logos-track img[alt="anqep_logo"] { height: 232px !important; }
.logos-track img[alt="ArmstrongFlooring_Klogo"] { height: 35px !important; }
.logos-track img[alt="esllogo"] { height: 80px !important; }
.logos-track img[alt="rectorseal_logo"] { height: 67px !important; }
.logos-track img[alt="Selsillogo"] { height: 59px !important; }
.logos-track img[alt="tremco_logo"] { height: 42px !important; }
.logos-track img[alt="osi"] { height: 50px !important; }
.logos-track img[alt="AlbionLogo_WHT_YLW_Trans-01-300x150"] { height: 80px !important; }
.logos-track img[alt="ramset-logo"] { height: 50px !important; }
.logos-track img[alt="readyseallogo"] { height: 90px !important; }
.logos-track img[alt="metabo logo"] { height: 180px !important; 
    filter: grayscale(1) brightness(0.5) opacity(0.6) !important;
}
.logos-track img[alt="metabo logo"]:hover {
    filter: grayscale(0) brightness(0.8) opacity(1) !important;
    transform: scale(1.1);
}

.logos-track img.fix-white {
    filter: grayscale(1) invert(1) opacity(0.4) !important;
    mix-blend-mode: normal !important;
}
.logos-track img.fix-white:hover {
    filter: grayscale(1) invert(1) opacity(1) !important;
    transform: scale(1.1);
}





@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ====================================================
   FLAGSHIP PRODUCTS SHOWCASE — VARIANTS STYLING
   ==================================================== */

.variant-showcase {
    position: relative;
    padding: var(--section-v-pad) 0;
    border-bottom: 2px dashed rgba(10, 25, 47, 0.1);
    background: var(--color-white);
}

.variant-showcase:nth-of-type(even) {
    background: var(--color-bg-light);
}

/* Visual Variant Badge Label */
.variant-label-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-accent);
    background: rgba(59, 130, 246, 0.08);
    border-radius: 100px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.05);
}

.product-showcase-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.product-showcase-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

/* ──────── Variant A: Interactive Ficha Técnica Tabs ──────── */
.tabs-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.flagship-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(10, 25, 47, 0.03);
    border: 1px solid rgba(10, 25, 47, 0.05);
    padding: 0.5rem;
    border-radius: 100px;
    align-self: center;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.flagship-tabs-nav::-webkit-scrollbar {
    display: none;
}

.flagship-tab-trigger {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.tab-progress-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background-color: var(--color-accent);
    border-radius: 100px;
}

.flagship-tab-trigger.active .tab-progress-line {
    width: 100%;
    transition: width 3000ms linear;
}

.flagship-tabs-nav.paused .tab-progress-line {
    width: 100% !important;
    transition: none !important;
}

.flagship-tab-trigger .material-symbols-outlined {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.flagship-tab-trigger:hover {
    color: var(--color-navy);
}

.flagship-tab-trigger.active {
    background: var(--color-navy);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.12);
}

.flagship-tab-trigger.active .material-symbols-outlined {
    transform: scale(1.1);
}

.flagship-pane {
    display: none;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 4rem;
    align-items: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.flagship-pane.active {
    display: grid;
    animation: paneFadeIn 0.6s var(--ease-smooth);
}

@keyframes paneFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-visual-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.pane-visual-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.flagship-pane:hover .pane-visual-container img {
    transform: scale(1.03);
}

.pane-brand-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.05em;
    z-index: 10;
}

.pane-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.pane-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.spec-grid-saas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.spec-saas-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.1rem;
    transition: all 0.3s ease;
}

.spec-saas-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.spec-saas-card .spec-name {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.spec-saas-card .spec-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
}

/* ──────── Variant B: Bento Editorial Showcase ──────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    transition: all 0.4s var(--ease-smooth);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    cursor: pointer;
}

.bento-card-large {
    grid-column: span 7;
}

.bento-card-medium {
    grid-column: span 5;
}

.bento-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease-smooth);
    z-index: 1;
}

.bento-card:hover .bento-card-bg {
    transform: scale(1.04);
}

.bento-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(10, 25, 47, 0.95) 0%, 
        rgba(10, 25, 47, 0.4) 60%, 
        transparent 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.bento-card:hover .bento-card-overlay {
    background: linear-gradient(to top, 
        rgba(10, 25, 47, 0.98) 0%, 
        rgba(10, 25, 47, 0.5) 50%, 
        rgba(10, 25, 47, 0.1) 100%);
}

.bento-content {
    position: relative;
    z-index: 3;
    color: var(--color-white);
}

.bento-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.bento-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.bento-card p {
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 460px;
}

.bento-card-specs {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
    opacity: 0.75;
    transition: all 0.4s ease;
}

.bento-card:hover .bento-card-specs {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
}

.bento-spec-item {
    display: flex;
    flex-direction: column;
}

.bento-spec-name {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.bento-spec-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
}

/* ──────── Flagship Construction Showcase Grid ──────── */
.products-showcase-section {
    padding: 6rem 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.section-title-comm {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.section-subtitle-comm {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.products-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.p-showcase-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 15px 40px rgba(10, 25, 47, 0.07);
    border: 1px solid var(--color-border);
}

.card-bg-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.p-showcase-card:hover .card-bg-img {
    transform: scale(1.08);
}

.card-glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.35) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: var(--color-white);
    transition: all 0.4s ease;
}

.p-showcase-card:hover .card-glass-overlay {
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.45) 60%, transparent 100%);
}

.card-tag-comm {
    align-self: flex-start;
    background: var(--color-accent);
    color: var(--color-navy);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.card-glass-overlay h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.card-glass-overlay p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
}



/* ──────── Responsive Showcases ──────── */
@media (max-width: 1024px) {
    .flagship-pane {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-card-large,
    .bento-card-medium {
        grid-column: span 1;
    }

    .products-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .product-showcase-title {
        font-size: 1.8rem;
    }
    
    .flagship-tabs-nav {
        border-radius: 12px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0.4rem;
        overflow-x: auto;
    }
    
    .flagship-tab-trigger {
        padding: 0.5rem 1rem 0.75rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .spec-grid-saas {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-card {
        padding: 2rem;
        min-height: 280px;
    }
    
    .bento-card h3 {
        font-size: 1.4rem;
    }
    .section-title-comm {
        font-size: 1.8rem;
    }
}

/* ──────── Flagship Vertical Accordion (Minimalist Arch) ──────── */
.v3-grid {
    display: flex;
    gap: 0;
    width: 100%;
    height: 600px;
    background: var(--color-navy);
}

.v3-item {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.v3-item:hover {
    flex: 2.8;
}

.v3-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 1.5s ease-out, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.v3-item:hover .v3-img {
    filter: grayscale(0);
    transform: scale(1.05);
    transition: filter 0.3s ease-in, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.v3-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    color: white;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.95) 80%);
    transform: translateY(120px);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.v3-item:hover .v3-content {
    transform: translateY(0);
}

.v3-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.v3-item span {
    position: absolute;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    top: 20px;
    left: 20px;
    font-size: 1rem;
    padding: 6px 12px;
    z-index: 10;
}
    
    .v3-item:hover span {
        opacity: 0.85;
        transform: none;
    }
}

/* Hide the blue progressive tab loader lines */
.tab-progress-line {
    display: none !important;
}

/* ====================================================
   MERCADOS GALLERY & EQUIPO SECTION STYLES
   ==================================================== */

.markets-gallery-section {
    padding: 0;
    background: var(--color-navy);
    border-top: 1px solid var(--color-border);
    overflow: hidden;
}

.markets-header {
    padding: 60px 0 30px;
    text-align: center;
    background: radial-gradient(120% 120% at 50% 0%, var(--color-bg-light) 0%, var(--color-white) 100%);
    margin-bottom: 0;
}

.markets-badge {
    background: rgba(230, 92, 0, 0.08);
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.markets-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
}

.markets-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    padding: 0 5%;
}

.markets-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 5%;
}

.equipo-section {
    border-top: 1px solid var(--color-border);
    padding: var(--section-v-pad) 0;
    background-color: var(--color-white);
}

.equipo-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.equipo-badge {
    background: rgba(230, 92, 0, 0.08);
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.equipo-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
}

.equipo-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.equipo-text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.equipo-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
}

.equipo-stat-item {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1.5rem 2rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all var(--t-fast) var(--ease-smooth);
    min-width: 190px;
    box-shadow: var(--shadow-card);
}

.equipo-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    border-radius: 4px 0 0 4px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-smooth);
}

.equipo-stat-item:hover::before {
    transform: scaleY(1);
}

.equipo-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
    background: var(--color-white);
}

.equipo-stat-num {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--color-accent);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.equipo-stat-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    line-height: 1.3;
    max-width: 250px;
}

.team-img-wrapper {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    border: 1px solid var(--color-border);
    aspect-ratio: 16/10;
    width: 100%;
}

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

/* ====================================================
   RESPONSIVE OVERRIDES
   ==================================================== */

@media (max-width: 1024px) {
    .markets-header {
        padding: 80px 0 50px;
    }
    .equipo-layout {
        grid-template-columns: 1fr !important;
        gap: 3.5rem !important;
    }
}

@media (max-width: 768px) {
    .markets-header {
        padding: 60px 0 40px;
    }
    .equipo-section {
        padding: 4.5rem 0;
    }
    .flagship-pane {
        padding: 1.5rem !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .equipo-section {
        padding: 3rem 0;
    }
    .equipo-stats {
        gap: 1.5rem;
    }
    
    /* Globe responsive compacting for screens <= 480px */
    .globe-container {
        height: 310px;
    }
    .orbit-path {
        width: 180px;
        height: 180px;
    }
    .globe-sphere {
        width: 90px;
        height: 90px;
        box-shadow: 
          0 0 10px rgba(255,255,255,0.2),
          -2px 0 3px #c3f4ff inset,
          6px 1px 10px #000 inset,
          -10px -1px 14px rgba(195, 244, 255, 0.6) inset,
          90px 0 18px rgba(0,0,0,0.4) inset,
          50px 0 16px rgba(0,0,0,0.67) inset;
    }
    .node-icon {
        width: 32px;
        height: 32px;
    }
    .node-icon .material-symbols-outlined {
        font-size: 0.95rem;
    }
    .node-label {
        font-size: 0.625rem;
        margin-top: 2px;
        letter-spacing: -0.01em;
    }
    .node-card {
        width: 250px;
        bottom: -20px;
        padding: 0.85rem;
    }
    .node-card h3 {
        font-size: 0.9rem;
    }
    .node-card p {
        font-size: 0.72rem;
        margin-bottom: 0.4rem;
    }
    .node-card-header {
        margin-bottom: 0.3rem;
    }
}

/* ====================================================
   PILLARS CONMUTATOR SECTION STYLES (ACERCA DE NOSOTROS)
   ==================================================== */
.pillar-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.pillar-tab-btn.active {
    background: var(--color-navy) !important;
    color: white !important;
    box-shadow: var(--shadow-card);
}

.pillar-panel {
    display: none;
}

.pillar-panel.active {
    display: block;
    animation: panelSlideFade 0.6s var(--ease-smooth);
}

@keyframes panelSlideFade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .pillars-nav-tabs {
        flex-direction: column;
        max-width: 100% !important;
    }
    .scorecard-grid {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
    }
    .qa-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .qa-timeline-layout {
        padding: 1.5rem !important;
    }
    .ecosystem-layout {
        padding: 1.5rem !important;
    }
    .ecosystem-layout > div {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ==================== CTA Particles Background (Sparkles) ========================= */
#tsparticles-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* =========================================================
   STANDARD PAGE HERO (DEEP AUDIT ALIGNMENT)
   ========================================================= */
.page-hero-standard {
    position: relative;
    padding: 7rem 0 4rem;
    min-height: auto;
    display: flex;
    align-items: center;
    background: var(--color-navy);
    color: white;
    overflow: hidden;
}

.page-hero-standard-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.page-hero-standard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.7) 100%);
    z-index: 2;
}

.page-hero-standard-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.page-hero-standard-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(96, 165, 250, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-hero-standard h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.page-hero-standard p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

/* --- PRODUCT GALLERY COMPONENT --- */
.product-gallery-section {
    padding: 6rem 0;
    background-color: var(--color-bg-alt);
    position: relative;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 250px;
    gap: 1.5rem;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-weight: 600;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        grid-auto-rows: 200px;
    }
}

/* --- GALERIA PARALLAX ASIMETRICA --- */
.g21-parallax-wrap {
    display: flex;
    gap: 1.5rem;
    height: 700px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}
.g21-p-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.1s linear;
}
.g21-p-item {
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.g21-p-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#pcol1 { transform: translateY(0px); }
#pcol2 { transform: translateY(100px); }
#pcol3 { transform: translateY(-50px); }

@media (max-width: 768px) {
    .g21-parallax-wrap {
        height: auto;
        overflow: visible;
        flex-direction: column;
        gap: 1rem;
    }
    .g21-p-col {
        transform: none !important; /* Desactiva parallax en movil */
    }
    #pcol2 { transform: none !important; }
    #pcol3 { transform: none !important; }
}

/* --- RESPONSIVE ICON NORMALIZATION --- */
@media (max-width: 768px) {
    /* Scale down icon wrappers for mobile */
    .node-icon, .feature-icon-wrap, .scd-icon, .sub-service-icon, .pillar-icon, .bento-icon, .svc-icon, .card-icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Standardize general icon sizes inside wrappers */
    .node-icon .material-symbols-outlined,
    .feature-icon-wrap .material-symbols-outlined,
    .scd-icon .material-symbols-outlined,
    .sub-service-icon .material-symbols-outlined,
    .pillar-icon .material-symbols-outlined,
    .bento-icon .material-symbols-outlined,
    .svc-icon .material-symbols-outlined,
    .card-icon .material-symbols-outlined {
        font-size: 1.5rem !important;
    }
    
    /* Specific inline text icons */
    .solution-v3-item h3 .material-symbols-outlined,
    .value-card h3 .material-symbols-outlined,
    .benefit-item .material-symbols-outlined,
    .flagship-tab-trigger .material-symbols-outlined,
    .hero-actions .btn-ghost .material-symbols-outlined {
        font-size: 1.2rem !important;
    }

    /* Extra large icons */
    .core-brain .material-symbols-outlined,
    .pd-placeholder .material-symbols-outlined {
        font-size: 2.2rem !important;
    }

    /* Industry cards specifically */
    .industry-card .material-symbols-outlined,
    .industry-detail-card .material-symbols-outlined {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Even smaller on extra small screens */
    .node-icon, .feature-icon-wrap, .scd-icon, .sub-service-icon, .pillar-icon, .bento-icon, .svc-icon, .card-icon {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 0.5rem !important;
    }

    .node-icon .material-symbols-outlined,
    .feature-icon-wrap .material-symbols-outlined,
    .scd-icon .material-symbols-outlined,
    .sub-service-icon .material-symbols-outlined,
    .pillar-icon .material-symbols-outlined,
    .bento-icon .material-symbols-outlined,
    .svc-icon .material-symbols-outlined,
    .card-icon .material-symbols-outlined {
        font-size: 1.3rem !important;
    }
    
    .industry-card .material-symbols-outlined,
    .industry-detail-card .material-symbols-outlined {
        font-size: 1.5rem !important;
    }
}

/* GLOBAL RESPONSIVE SPACING & ALIGNMENT OVERRIDES */
@media (max-width: 768px) {
    section, 
    .product-gallery-section, 
    .markets-gallery-section,
    .equipo-section,
    .split-scroll-section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    
    .hero-content {
        padding: 3rem 0 0rem 0 !important;
        gap: 2rem !important;
    }
    
    .g21-parallax-wrap {
        gap: 1.5rem !important;
    }
    
    .markets-header, .gallery-header {
        margin-bottom: 2rem !important;
    }
    
    p {
        text-align: left; /* Better readability on mobile than justified or centered */
    }
    
    .text-center p {
        text-align: center;
    }

    /* Fix the V3 Grid (Mercados Accordion) on Mobile */
    .v3-grid {
        flex-direction: column !important;
        height: 60vh !important;
        min-height: 400px !important;
        gap: 0.5rem;
    }
    .v3-item {
        width: 100% !important;
        flex: 1 !important;
        height: auto !important;
    }
    .v3-item:hover {
        flex: 3 !important;
    }
    .v3-item span, .v3-item > span > span {
        writing-mode: horizontal-tb !important;
        bottom: 10px !important;
        top: auto !important;
        left: 20px !important;
        text-shadow: 0px 2px 4px rgba(255,255,255, 0.8) !important;
    }
}

