/* ==========================================================================
   GTM Boyetécnica — Industrial Precision Design System
   Aesthetic: Dark Industrial · Electric Blue Accents · Bold Engineering
   Stack: Bootstrap 5 + Custom CSS (no Tailwind)
   ========================================================================== */

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --gtm-blue:        #01a0e2;
    --gtm-blue-light:  #33b5e8;
    --gtm-blue-dark:   #0080bc;
    --gtm-black:       #0d0d0d;
    --gtm-steel:       #1c2b3a;
    --gtm-steel-mid:   #243447;
    --gtm-steel-light: #2e4157;
    --gtm-white:       #f7f7f7;
    --gtm-gray-100:    #e8edf2;
    --gtm-gray-400:    #8892a0;
    --gtm-gray-600:    #5a6470;
    --gtm-border:      #2a3a4a;
    --gtm-surface:     #111920;
    --gtm-card-bg:     #131f28;

    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
    --shadow-hover: 0 8px 40px rgba(1,160,226,0.20);
}

/* ── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--gtm-black);
    color: var(--gtm-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--gtm-blue);
    color: #fff;
}

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

a {
    color: var(--gtm-blue);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gtm-blue-light); }

/* ── Typography ─────────────────────────────────────────────────────────────── */
.font-display    { font-family: var(--font-display); }
.text-gtm-blue   { color: var(--gtm-blue) !important; }
.text-muted-gtm  { color: var(--gtm-gray-400) !important; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: 0.03em;
    line-height: 1.1;
    color: var(--gtm-white);
}

/* Display headings for hero sections */
.gtm-display {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7.5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gtm-heading-xl {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4.5rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.gtm-heading-lg {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 3rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.gtm-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gtm-blue);
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn-gtm-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background-color: var(--gtm-blue);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-gtm-primary:hover {
    background-color: var(--gtm-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1,160,226,0.4);
}
.btn-gtm-primary:active { transform: translateY(0); }

.btn-gtm-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background-color: transparent;
    color: var(--gtm-white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
    text-decoration: none;
}
.btn-gtm-outline:hover {
    border-color: var(--gtm-blue);
    color: var(--gtm-blue);
    background-color: rgba(1,160,226,0.07);
}

.btn-gtm-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background-color: #25D366;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
    text-decoration: none;
}
.btn-gtm-wa:hover {
    background-color: #1eaf55;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
#gtm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 88px;
    display: flex;
    align-items: center;
    /* Transparent over hero */
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background 0.45s ease,
        box-shadow 0.45s ease,
        height 0.35s ease,
        border-color 0.45s ease;
}
#gtm-header.scrolled {
    height: 68px;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 28px rgba(0,0,0,0.55);
    border-bottom-color: rgba(42,58,74,0.8);
}
.gtm-header-inner {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 2.5rem;
    gap: 2rem;
}

/* Logo — LEFT — grande y dominante */
.gtm-logo {
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 1;
}
.gtm-logo img {
    height: 68px;
    width: auto;
    display: block;
    transition: height 0.35s ease, opacity 0.2s ease;
    filter: drop-shadow(0 0 12px rgba(1,160,226,0.25));
}
#gtm-header.scrolled .gtm-logo img {
    height: 46px;
    filter: none;
}
.gtm-logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 0.12em;
    color: var(--gtm-white);
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(1,160,226,0.3));
}
.gtm-logo-text span { color: var(--gtm-blue); }

/* Nav — CENTER */
.gtm-nav-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
}

/* CTA — RIGHT */
.gtm-nav-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gtm-nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(247,247,247,0.75);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background-color var(--transition);
    white-space: nowrap;
    position: relative;
}
.gtm-nav-link:hover,
.gtm-nav-link.active {
    color: var(--gtm-white);
    background-color: rgba(1,160,226,0.1);
}
.gtm-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.8rem;
    right: 0.8rem;
    height: 2px;
    background-color: var(--gtm-blue);
    border-radius: 2px;
}

/* Mega dropdown Servicios */
.gtm-services-dropdown {
    position: relative;
}
.gtm-services-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -18px;
    right: -18px;
    height: 12px;
}
.gtm-services-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: -12px;
    width: 360px;
    background-color: var(--gtm-steel);
    border: 1px solid var(--gtm-border);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    padding: 0.5rem;
    z-index: 200;
}
.gtm-services-dropdown:hover .gtm-services-menu,
.gtm-services-dropdown:focus-within .gtm-services-menu {
    display: block;
    animation: fadeInDown 0.18s ease;
}
.gtm-services-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    color: rgba(247,247,247,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color var(--transition), color var(--transition);
    text-decoration: none;
}
.gtm-services-menu-item:hover {
    background-color: rgba(1,160,226,0.12);
    color: var(--gtm-blue-light);
}
.gtm-services-menu-item i {
    color: var(--gtm-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Mobile nav toggle */
.gtm-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gtm-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* Mobile menu */
#gtm-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gtm-black);
    z-index: 999;
    overflow-y: auto;
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
}
#gtm-mobile-menu.open { display: flex; }
.gtm-mobile-link {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    color: var(--gtm-white);
    text-transform: uppercase;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gtm-border);
    text-decoration: none;
    transition: color var(--transition);
}
.gtm-mobile-link:hover { color: var(--gtm-blue); }
.gtm-mobile-services {
    padding-left: 1rem;
}
.gtm-mobile-sub {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(247,247,247,0.7);
    padding: 0.4rem 0;
    border-bottom: none;
    display: block;
    text-decoration: none;
    transition: color var(--transition);
}
.gtm-mobile-sub:hover { color: var(--gtm-blue); }

/* ── Hero Section ───────────────────────────────────────────────────────────── */
.gtm-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;          /* vertically centered to avoid header overlap */
    padding-top: 7rem;            /* safe zone below 88px fixed header */
    padding-bottom: 6rem;
    overflow: hidden;
    background-color: #080e14;
}

/* Blueprint dark gradient base */
.gtm-hero-bg {
    position: absolute;
    inset: -5%;          /* extra bleed so scale/translate never expose edges */
    background:
        linear-gradient(to bottom, rgba(8,14,20,0.1) 0%, rgba(8,14,20,0.75) 60%, rgba(8,14,20,1) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(1,160,226,0.04) 79px, rgba(1,160,226,0.04) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(1,160,226,0.04) 79px, rgba(1,160,226,0.04) 80px);
    background-size: 100% 100%, 80px 80px, 80px 80px;
    background-color: #080e14;
    z-index: 0;
    transform: scale(1.045);   /* base scale — JS parallax never shrinks below 1x */
    will-change: transform;
}

/* Canvas for animated node/line network */
#gtm-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.65;
}

/* Removed gtm-hero-accent — replaced by canvas */
.gtm-hero-accent { display: none; }

.gtm-hero-content {
    position: relative;
    z-index: 3;
}

.gtm-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.gtm-hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background-color: var(--gtm-blue);
    flex-shrink: 0;
}

.gtm-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Diagonal bottom cut */
.gtm-hero-cut {
    position: absolute;
    bottom: -1px;
    z-index: 4;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--gtm-black);
    clip-path: polygon(0 80px, 100% 0, 100% 80px);
}

/* ── Section Utilities ──────────────────────────────────────────────────────── */
.gtm-section {
    padding: 6rem 0;
}
.gtm-section-sm { padding: 4rem 0; }
.gtm-section-dark { background-color: var(--gtm-black); }
.gtm-section-steel { background-color: var(--gtm-steel); }
.gtm-section-surface { background-color: var(--gtm-surface); }

.gtm-section-header {
    margin-bottom: 3.5rem;
}

/* ── Clients Ticker (animated marquee below hero) ────────────────────────── */
.gtm-clients-ticker {
    background: transparent;
    border-top: none;
    border-bottom: none;
    padding: 0;
    position: relative;
    overflow: visible;
}
.gtm-ticker-inner {
    padding: 1.1rem 2.5rem 0;
}
.gtm-ticker-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.7rem;
}
.gtm-ticker-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #5f7789;
    margin: 0;
}
.gtm-ticker-hint {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #8194a1;
}
.gtm-ticker-viewport {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0 0.5rem;
}
.gtm-ticker-viewport::before,
.gtm-ticker-viewport::after {
    display: none;
}
.gtm-ticker-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    will-change: transform;
    cursor: grab;
    user-select: none;
}
.gtm-ticker-track.is-dragging {
    cursor: grabbing;
}
.gtm-ticker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}
.gtm-ticker-logo-card {
    width: 160px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(28,43,58,0.08);
    border-radius: 1.15rem;
    box-shadow: 0 12px 26px rgba(28,43,58,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.gtm-ticker-img {
    height: 50px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
    opacity: 0.92;
    filter: saturate(0.96) contrast(1.02);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.gtm-ticker-item:hover .gtm-ticker-logo-card {
    transform: translateY(-4px);
    border-color: rgba(1,160,226,0.28);
    box-shadow: 0 18px 36px rgba(1,160,226,0.14);
}
.gtm-ticker-item:hover .gtm-ticker-img {
    opacity: 1;
    filter: none;
    transform: scale(1.06);
}
.gtm-ticker-sep { display: none; }

/* ── Stats Bar ──────────────────────────────────────────────────────────────── */
.gtm-stats-bar {
    background-color: var(--gtm-blue);
    padding: 2rem 0;
}

.gtm-stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
}
.gtm-stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1;
    color: #fff;
    letter-spacing: 0.04em;
}
.gtm-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-top: 0.25rem;
}

/* Separators between stats */
.gtm-stat-item + .gtm-stat-item {
    border-left: 1px solid rgba(255,255,255,0.25);
}

/* ── Service Cards (Home — Visual Photo Cards) ─────────────────────────────── */
/* Legacy card (kept for servicios/index page) */
.gtm-service-card {
    background-color: var(--gtm-card-bg);
    border: 1px solid var(--gtm-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
}
.gtm-service-card:hover {
    border-color: var(--gtm-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.gtm-service-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(1,160,226,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gtm-blue);
    flex-shrink: 0;
    transition: background-color var(--transition);
}
.gtm-service-card:hover .gtm-service-icon {
    background-color: rgba(1,160,226,0.2);
}

.gtm-service-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: var(--gtm-white);
    line-height: 1.15;
}

.gtm-service-desc {
    font-size: 0.875rem;
    color: var(--gtm-gray-400);
    line-height: 1.6;
    flex: 1;
}

.gtm-service-link-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gtm-blue);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ── Visual Photo Cards (Home services section) ─────────────────────────────── */
.gtm-svc-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 3/4;
    display: block;
    text-decoration: none;
    background-color: var(--gtm-steel);
    cursor: pointer;
}
.gtm-svc-visual-card.wide {
    aspect-ratio: 16/10;
}
.gtm-svc-visual-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.03) contrast(1.05) brightness(1.04);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s ease;
}
.gtm-svc-visual-card:hover .gtm-svc-visual-bg {
    transform: scale(1.03);
    filter: saturate(1.06) contrast(1.07) brightness(1.06);
}
/* No-photo fallback: technical blueprint pattern */
.gtm-svc-visual-bg.no-photo {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(1,160,226,0.08) 39px, rgba(1,160,226,0.08) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(1,160,226,0.08) 39px, rgba(1,160,226,0.08) 40px),
        radial-gradient(ellipse at 30% 40%, rgba(1,160,226,0.12) 0%, transparent 60%);
    background-color: var(--gtm-steel);
}
.gtm-svc-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7,12,20,0.74) 0%,
        rgba(7,12,20,0.32) 45%,
        rgba(7,12,20,0.06) 100%
    );
}
/* Border trace — dibuja el borde completo en sentido horario al hacer hover */
@keyframes gtm-border-draw {
    0%   { background-size:   0% 3px, 3px   0%,   0% 3px, 3px   0%; }
    25%  { background-size: 100% 3px, 3px   0%,   0% 3px, 3px   0%; }
    50%  { background-size: 100% 3px, 3px 100%,   0% 3px, 3px   0%; }
    75%  { background-size: 100% 3px, 3px 100%, 100% 3px, 3px   0%; }
    100% { background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%; }
}
.gtm-svc-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background-image:
        linear-gradient(var(--gtm-blue), var(--gtm-blue)),
        linear-gradient(var(--gtm-blue), var(--gtm-blue)),
        linear-gradient(var(--gtm-blue), var(--gtm-blue)),
        linear-gradient(var(--gtm-blue), var(--gtm-blue));
    background-size:     0% 3px,    3px 0%,    0% 3px,    3px 0%;
    background-position: left top,  right top, right bottom, left bottom;
    background-repeat:   no-repeat;
    opacity: 0;
    transition: opacity 0.18s ease;
}
.gtm-svc-visual-card:hover::before {
    opacity: 1;
    animation: gtm-border-draw 0.4s linear forwards;
}
.gtm-svc-visual-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    z-index: 3;
}
.gtm-svc-visual-icon {
    width: 48px;
    height: 48px;
    background: rgba(1,160,226,0.15);
    border: 1px solid rgba(1,160,226,0.35);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gtm-blue);
    margin-bottom: auto;
    align-self: flex-start;
    transition: background 0.35s;
    flex-shrink: 0;
}
.gtm-svc-visual-card:hover .gtm-svc-visual-icon {
    background: rgba(1,160,226,0.3);
}
.gtm-svc-visual-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}
.gtm-svc-visual-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0);
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, color 0.3s ease;
}
.gtm-svc-visual-card:hover .gtm-svc-visual-sub {
    max-height: 80px;
    color: rgba(255,255,255,0.72);
}
/* ── Unified Card System (services + projects) ──────────────────────────────── */
.gtm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--gtm-card-bg);
    border: 1px solid var(--gtm-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.gtm-card:hover {
    border-color: rgba(1,160,226,0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
/* Border trace — dibuja el borde completo en sentido horario al hacer hover */
.gtm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background-image:
        linear-gradient(var(--gtm-blue), var(--gtm-blue)),
        linear-gradient(var(--gtm-blue), var(--gtm-blue)),
        linear-gradient(var(--gtm-blue), var(--gtm-blue)),
        linear-gradient(var(--gtm-blue), var(--gtm-blue));
    background-size:     0% 2px,    2px 0%,    0% 2px,    2px 0%;
    background-position: left top,  right top, right bottom, left bottom;
    background-repeat:   no-repeat;
    opacity: 0;
    transition: opacity 0.18s ease;
    border-radius: var(--radius-md);
}
.gtm-card:hover::before {
    opacity: 1;
    animation: gtm-border-draw 0.4s linear forwards;
}
/* Image wrapper */
.gtm-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    flex-shrink: 0;
    background: var(--gtm-steel);
}
/* Background-image version (services) */
.gtm-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.03) contrast(1.05) brightness(1.04);
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), filter 0.3s ease;
}
.gtm-card:hover .gtm-card-img {
    transform: scale(1.04);
    filter: saturate(1.06) contrast(1.07) brightness(1.06);
}
.gtm-card-img.no-photo {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(1,160,226,0.08) 39px, rgba(1,160,226,0.08) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(1,160,226,0.08) 39px, rgba(1,160,226,0.08) 40px),
        radial-gradient(ellipse at 30% 40%, rgba(1,160,226,0.12) 0%, transparent 60%);
    background-color: var(--gtm-steel);
}
/* <img> element version (projects) */
.gtm-card-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.03) contrast(1.05) brightness(1.04);
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), filter 0.3s ease;
}
.gtm-card:hover .gtm-card-img-el {
    transform: scale(1.04);
    filter: saturate(1.06) contrast(1.07) brightness(1.06);
}
/* No-image placeholder */
.gtm-card-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        45deg,
        var(--gtm-steel) 0px, var(--gtm-steel) 10px,
        var(--gtm-steel-mid) 10px, var(--gtm-steel-mid) 20px
    );
}
/* Card footer strip */
.gtm-card-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--gtm-border);
    flex: 1;
}
.gtm-card-body   { flex: 1; min-width: 0; }
.gtm-card-badge {
    display: block;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gtm-blue);
    margin-bottom: 0.22rem;
}
.gtm-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--gtm-white);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gtm-card-sub {
    font-size: 0.76rem;
    color: rgba(247,247,247,0.48);
    margin-top: 0.22rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gtm-card-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--gtm-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(247,247,247,0.38);
    font-size: 0.9rem;
    transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
}
.gtm-card:hover .gtm-card-arrow {
    border-color: var(--gtm-blue);
    background: rgba(1,160,226,0.12);
    color: var(--gtm-blue);
    transform: translateX(3px);
}
/* Floating badge (e.g. "Destacado") */
.gtm-card-featured {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--gtm-blue);
    color: #fff;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    z-index: 2;
}

/* ── Coverage / Cobertura ───────────────────────────────────────────────────── */
.gtm-cobertura-bar {
    background-color: var(--gtm-surface);
    border-top: 1px solid var(--gtm-border);
    border-bottom: 1px solid var(--gtm-border);
    padding: 1.5rem 0;
    overflow: hidden;
}

.gtm-cobertura-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    color: rgba(247,247,247,0.6);
    white-space: nowrap;
    animation: scroll-x 25s linear infinite;
}
.gtm-cobertura-text span {
    color: var(--gtm-blue);
    margin: 0 0.5em;
}

@keyframes scroll-x {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Client Logos Mosaic ─────────────────────────────────────────────────────── */
.gtm-logos-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.gtm-logos-mosaic-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem;
    min-height: 164px;
    transition: transform 0.3s ease;
    position: relative;
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(26,39,52,0.8) 0%, rgba(10,16,24,0.96) 100%);
    border: 1px solid rgba(84,105,122,0.26);
    overflow: hidden;
}
.gtm-logos-mosaic-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}
.gtm-logos-mosaic-frame {
    width: 100%;
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(8,14,20,0.05), 0 12px 28px rgba(0,0,0,0.16);
}
.gtm-logos-mosaic-cell:hover {
    transform: translateY(-4px);
    z-index: 1;
}
.gtm-logos-mosaic-cell:hover::after {
    border-color: rgba(1,160,226,0.32);
}
.gtm-logos-mosaic-img {
    max-height: 74px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: saturate(0.98) contrast(1.02);
    opacity: 0.94;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    display: block;
}
.gtm-logos-mosaic-cell:hover .gtm-logos-mosaic-img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* ── CTA Section ────────────────────────────────────────────────────────────── */
.gtm-cta-section {
    background: linear-gradient(135deg, var(--gtm-steel) 0%, var(--gtm-black) 60%);
    border-top: 1px solid var(--gtm-border);
    border-bottom: 1px solid var(--gtm-border);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.gtm-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(1,160,226,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Nosotros — Misión / Visión panels ─────────────────────────────────────── */
.gtm-mv-panel {
    position: relative;
    overflow: hidden;
    background: var(--gtm-card-bg);
    border: 1px solid var(--gtm-border);
    border-radius: var(--radius-lg);
    padding: 3rem 3rem 3.5rem;
    min-height: 340px;
    transition: border-color 0.35s ease;
}
.gtm-mv-panel:hover {
    border-color: rgba(1,160,226,0.4);
}
/* Línea celeste superior que se dibuja en hover */
.gtm-mv-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 3px;
    background: var(--gtm-blue);
    transition: width 0.45s ease;
    border-radius: 3px 0 0 0;
    z-index: 2;
}
.gtm-mv-panel:hover::before { width: 100%; }
/* Texto fantasma decorativo de fondo */
.gtm-mv-ghost {
    position: absolute;
    bottom: -0.75rem;
    right: 1.25rem;
    font-family: var(--font-display);
    font-size: 7rem;
    letter-spacing: 0.06em;
    line-height: 1;
    color: rgba(1,160,226,0.055);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.gtm-mv-body {
    position: relative;
    z-index: 1;
}
.gtm-mv-icon {
    width: 56px;
    height: 56px;
    background: rgba(1,160,226,0.1);
    border: 1px solid rgba(1,160,226,0.28);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--gtm-blue);
    margin-bottom: 1.75rem;
    transition: background 0.3s;
}
.gtm-mv-panel:hover .gtm-mv-icon {
    background: rgba(1,160,226,0.18);
}
.gtm-mv-heading {
    font-family: var(--font-display);
    font-size: 3.25rem;
    letter-spacing: 0.04em;
    color: var(--gtm-white);
    line-height: 1;
    margin-bottom: 1.25rem;
}
.gtm-mv-text {
    font-size: 1.02rem;
    color: rgba(247,247,247,0.72);
    line-height: 1.8;
    max-width: 500px;
}

/* ── Nosotros — Valores cards ───────────────────────────────────────── */
.gtm-valor-card {
    background: var(--gtm-card-bg);
    border: 1px solid var(--gtm-border);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.gtm-valor-card:hover {
    border-color: rgba(1,160,226,0.38);
    transform: translateY(-5px);
}
/* Línea celeste inferior que se dibuja en hover */
.gtm-valor-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--gtm-blue);
    transition: width 0.4s ease;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.gtm-valor-card:hover::after { width: 100%; }
.gtm-valor-icon {
    width: 54px;
    height: 54px;
    background: rgba(1,160,226,0.1);
    border: 1px solid rgba(1,160,226,0.25);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gtm-blue);
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}
.gtm-valor-card:hover .gtm-valor-icon {
    background: rgba(1,160,226,0.2);
}
.gtm-valor-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    color: var(--gtm-white);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}
.gtm-valor-desc {
    font-size: 0.9rem;
    color: rgba(247,247,247,0.6);
    line-height: 1.75;
    margin-bottom: 0;
}

/* ── Timeline ───────────────────────────────────────────────────────────────── */
.gtm-timeline {
    position: relative;
    padding-left: 2rem;
}
.gtm-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gtm-blue), transparent);
}

.gtm-timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}
.gtm-timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gtm-blue);
    border: 2px solid var(--gtm-black);
}

.gtm-timeline-year {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gtm-blue);
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.gtm-timeline-text {
    font-size: 0.9rem;
    color: var(--gtm-gray-400);
}

/* ── Contact Form ───────────────────────────────────────────────────────────── */
.gtm-form-group { margin-bottom: 1.25rem; }

.gtm-form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gtm-gray-400);
    margin-bottom: 0.4rem;
}

.gtm-form-control {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--gtm-surface);
    border: 1px solid var(--gtm-border);
    border-radius: var(--radius-sm);
    color: var(--gtm-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}
.gtm-form-control:focus {
    outline: none;
    border-color: var(--gtm-blue);
    box-shadow: 0 0 0 3px rgba(1,160,226,0.15);
}
.gtm-form-control::placeholder { color: var(--gtm-gray-600); }
.gtm-form-control.is-invalid   { border-color: #ef4444; }

.gtm-form-error {
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 0.3rem;
    display: none;
}

/* ── WhatsApp Float ─────────────────────────────────────────────────────────── */
#gtm-wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gtm-wa-btn {
    width: 58px;
    height: 58px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    animation: wa-pulse 3s ease-in-out infinite;
    flex-shrink: 0;
}
.gtm-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
    animation: none;
}
.gtm-wa-btn svg { width: 28px; height: 28px; fill: #fff; }

.gtm-wa-tooltip {
    background-color: var(--gtm-steel);
    color: var(--gtm-white);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    transform: translateX(4px);
}
#gtm-wa-float:hover .gtm-wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.gtm-footer {
    background-color: var(--gtm-surface);
    border-top: 1px solid var(--gtm-border);
    padding: 4rem 0 2rem;
}

.gtm-footer-main {
    row-gap: 2.25rem;
}

.gtm-footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gtm-footer-brand-link {
    display: inline-block;
    text-decoration: none;
}

.gtm-footer-logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 0.12em;
    color: var(--gtm-white);
    line-height: 1;
}
.gtm-footer-logo-text span { color: var(--gtm-blue); }

.gtm-footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gtm-gray-400);
    margin-top: 0.4rem;
    max-width: 180px;
}

.gtm-footer-description {
    margin: 0;
    max-width: 360px;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(247,247,247,0.62);
}

.gtm-footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gtm-white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(1,160,226,0.35);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.gtm-footer-link {
    display: block;
    font-size: 0.875rem;
    color: rgba(247,247,247,0.55);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color var(--transition);
    text-decoration: none;
}
.gtm-footer-link:hover { color: var(--gtm-white); }

.gtm-footer-company-links {
    display: grid;
    row-gap: 0.45rem;
}

.gtm-footer-company-links .gtm-footer-link {
    margin-bottom: 0;
}

.gtm-footer-contact-item {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.875rem;
    color: rgba(247,247,247,0.55);
    margin-bottom: 0.75rem;
}
.gtm-footer-contact-item i {
    color: var(--gtm-blue);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.gtm-footer-divider {
    border-color: var(--gtm-border);
    margin: 3rem 0 2rem;
}

.gtm-footer-bottom {
    font-size: 0.78rem;
    color: rgba(247,247,247,0.55);
}
.gtm-footer-bottom span:last-child {
    color: rgba(247,247,247,0.38);
}

@media (max-width: 991px) {
    .gtm-footer-tagline,
    .gtm-footer-description {
        max-width: none;
    }
}

.gtm-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--gtm-border);
    border-radius: var(--radius-sm);
    color: var(--gtm-gray-400);
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
    text-decoration: none;
    font-size: 1.1rem;
}
.gtm-social-link:hover {
    border-color: var(--gtm-blue);
    color: var(--gtm-blue);
    background-color: rgba(1,160,226,0.08);
}

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

.gtm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.gtm-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.gtm-reveal-delay-1 { transition-delay: 0.1s; }
.gtm-reveal-delay-2 { transition-delay: 0.2s; }
.gtm-reveal-delay-3 { transition-delay: 0.3s; }
.gtm-reveal-delay-4 { transition-delay: 0.4s; }

/* ── Service / Project Show pages ───────────────────────────────────────────── */
/* Compact page hero for internal pages — NO real photos, only patterns */
.gtm-page-hero {
    min-height: 440px;
    max-height: 540px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: #080e14;
    box-shadow: inset 0 -120px 140px rgba(0,0,0,0.32);
}

/* Technical grid + diagonal pattern */
.gtm-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(110deg, rgba(1,160,226,0.06) 0%, transparent 34%, transparent 68%, rgba(1,160,226,0.03) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(1,160,226,0.08) 39px, rgba(1,160,226,0.08) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(1,160,226,0.08) 39px, rgba(1,160,226,0.08) 40px),
        repeating-linear-gradient(45deg, transparent, transparent 19px, rgba(1,160,226,0.038) 19px, rgba(1,160,226,0.038) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(1,160,226,0.018) 35px, rgba(1,160,226,0.018) 36px);
    background-color: #080e14;
    background-size: 100% 100%, 40px 40px, 40px 40px, 20px 20px, 36px 36px;
    animation: gtmPageHeroGridDrift 18s linear infinite;
}
/* Radial glow + fade overlay */
.gtm-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 105% 78% at 4% 100%, rgba(1,160,226,0.24) 0%, transparent 62%),
        radial-gradient(ellipse 52% 42% at 92% 12%, rgba(1,160,226,0.14) 0%, transparent 58%),
        radial-gradient(ellipse 36% 28% at 56% 34%, rgba(1,160,226,0.09) 0%, transparent 70%),
        linear-gradient(120deg, rgba(255,255,255,0.03) 0%, transparent 26%, transparent 70%, rgba(1,160,226,0.05) 100%),
        linear-gradient(to top, rgba(8,14,20,0.98) 0%, rgba(8,14,20,0.42) 55%, rgba(8,14,20,0.06) 100%);
    pointer-events: none;
    animation: gtmPageHeroGlowPulse 9s ease-in-out infinite;
}
/* Blue accent line at top */
.gtm-page-hero-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gtm-blue) 0%, var(--gtm-blue-light) 50%, rgba(1,160,226,0.2) 100%);
    box-shadow: 0 0 18px rgba(1,160,226,0.45);
    z-index: 5;
}
/* All direct children above overlays */
.gtm-page-hero > .container-xl {
    position: relative;
    z-index: 4;
    padding-top: 9rem;
    padding-bottom: 3.5rem;
}
/* When it has a real photo (service/project show pages) */
.gtm-page-hero.has-photo::before {
    display: none;
}
.gtm-page-hero.has-photo::after {
    background:
        radial-gradient(ellipse 110% 74% at 8% 100%, rgba(1,160,226,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 48% 34% at 90% 12%, rgba(1,160,226,0.1) 0%, transparent 58%),
        linear-gradient(120deg, rgba(255,255,255,0.04) 0%, transparent 24%, transparent 74%, rgba(1,160,226,0.05) 100%),
        linear-gradient(to top, rgba(8,14,20,0.95) 0%, rgba(8,14,20,0.5) 55%, rgba(8,14,20,0.16) 100%);
}
/* Keep accent hidden inside page heroes */
.gtm-page-hero .gtm-hero-accent { display: none; }

@keyframes gtmPageHeroGridDrift {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 24px 12px, -24px 16px, 30px 18px, -18px 24px;
    }
}

@keyframes gtmPageHeroGlowPulse {
    0%, 100% {
        opacity: 0.94;
    }
    50% {
        opacity: 1;
    }
}

.gtm-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 1rem;
    background: rgba(1,160,226,0.08);
    border: 1px solid rgba(1,160,226,0.2);
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(247,247,247,0.6);
    margin-bottom: 1.75rem;
    text-decoration: none;
}
.gtm-breadcrumb a {
    color: rgba(247,247,247,0.62);
    text-decoration: none;
    transition: color var(--transition);
}
.gtm-breadcrumb a:hover { color: var(--gtm-blue); }
/* Active (last) segment brighter */
.gtm-breadcrumb > span:last-child {
    color: rgba(247,247,247,0.95);
    font-weight: 600;
}
.gtm-breadcrumb i {
    font-size: 0.62rem;
    color: var(--gtm-blue);
    opacity: 0.75;
}

.gtm-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gtm-border);
    font-size: 0.92rem;
    color: var(--gtm-gray-100);
}
.gtm-benefit-item:last-child { border-bottom: none; }
.gtm-benefit-item i {
    color: var(--gtm-blue);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.gtm-faq-item {
    border-bottom: 1px solid var(--gtm-border);
}
.gtm-faq-toggle {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.1rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gtm-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
}
.gtm-faq-toggle:hover { color: var(--gtm-blue); }
.gtm-faq-toggle i { transition: transform var(--transition); flex-shrink: 0; }
.gtm-faq-toggle[aria-expanded="true"] i { transform: rotate(45deg); color: var(--gtm-blue); }
.gtm-faq-body {
    font-size: 0.9rem;
    color: var(--gtm-gray-400);
    line-height: 1.7;
    padding-bottom: 1rem;
}

/* ── Portfolio Filter ────────────────────────────────────────────────────────── */
.gtm-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.gtm-filter-btn {
    padding: 0.5rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--gtm-border);
    border-radius: 999px;
    color: var(--gtm-gray-400);
    cursor: pointer;
    transition: all var(--transition);
}
.gtm-filter-btn:hover,
.gtm-filter-btn.active {
    background-color: var(--gtm-blue);
    border-color: var(--gtm-blue);
    color: #fff;
}

/* ── Gallery ────────────────────────────────────────────────────────────────── */
.gtm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}
.gtm-gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: zoom-in;
    position: relative;
}
.gtm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gtm-gallery-item:hover img { transform: scale(1.05); }
.gtm-gallery-item::after {
    content: '\F52A';
    font-family: 'bootstrap-icons';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: rgba(0,0,0,0);
    transition: background 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    pointer-events: none;
}
.gtm-gallery-item:hover::after {
    background: rgba(0,0,0,0.35);
    opacity: 1;
}

/* ── Lightbox ───────────────────────────────────────────────────────────────── */
.gtm-lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.gtm-lb.open { display: flex; }
.gtm-lb-img {
    max-width: min(92vw, 1200px);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    user-select: none;
    display: block;
}
.gtm-lb-close {
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10000;
}
.gtm-lb-close:hover { background: rgba(255,255,255,0.22); }
.gtm-lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10000;
}
.gtm-lb-nav:hover { background: rgba(255,255,255,0.22); }
.gtm-lb-prev { left: 1rem; }
.gtm-lb-next { right: 1rem; }
.gtm-lb-nav.hidden { opacity: 0; pointer-events: none; }
.gtm-lb-counter {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
    z-index: 10000;
    user-select: none;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .gtm-header-inner {
        padding: 0 1.25rem;
        gap: 1rem;
    }
    .gtm-nav-left,
    .gtm-nav-right { display: none; }
    .gtm-nav-toggle { display: flex; align-items: center; }
    .gtm-logo img { height: 46px !important; filter: none !important; }

    .gtm-stats-bar .row > div + div .gtm-stat-item {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.15);
    }
    .gtm-page-hero {
        min-height: 340px;
        max-height: none;
    }
    .gtm-page-hero > .container-xl {
        padding-top: 7rem;
        padding-bottom: 2.5rem;
    }
    .gtm-ticker-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .gtm-ticker-logo-card {
        width: 184px;
        height: 88px;
    }
    .gtm-ticker-img {
        height: 48px;
        max-width: 150px;
    }
    .gtm-logos-mosaic {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    .gtm-section { padding: 4rem 0; }
    .gtm-hero { padding-bottom: 5rem; min-height: 100svh; }
    .gtm-hero-cta { flex-direction: column; }
    .btn-gtm-primary, .btn-gtm-outline, .btn-gtm-wa { width: 100%; justify-content: center; }
    #gtm-wa-float .gtm-wa-tooltip { display: none; }
    #gtm-header { height: 72px; }
    #gtm-header.scrolled { height: 60px; }
    .gtm-logo img { height: 38px !important; filter: none !important; }
    .gtm-svc-visual-card { aspect-ratio: 16/9; }
    .gtm-svc-visual-sub { max-height: 60px !important; color: rgba(255,255,255,0.6) !important; }
    .gtm-svc-visual-arrow { opacity: 1 !important; transform: none !important; }
    .gtm-ticker-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    .gtm-ticker-viewport {
        padding-top: 0.25rem;
        padding-bottom: 1.2rem;
    }
    .gtm-ticker-logo-card {
        width: 156px;
        height: 76px;
        padding: 0.8rem 1rem;
    }
    .gtm-ticker-img {
        height: 40px;
        max-width: 126px;
    }
    .gtm-logos-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .gtm-logos-mosaic-cell {
        min-height: 138px;
        padding: 0.75rem;
    }
    .gtm-logos-mosaic-frame {
        min-height: 112px;
        padding: 1rem;
    }
    .gtm-logos-mosaic-img {
        max-height: 56px;
    }
}

@media (min-width: 992px) {
    .gtm-nav-toggle { display: none; }
}
