﻿/* Base */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

/* Floating WhatsApp Button */
.ets-wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #25D366;
    color: white;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    z-index: 9999;
    text-decoration: none;
    transform: translateZ(0);
}

    .ets-wa-float svg {
        width: 28px;
        height: 28px;
    }

    .ets-wa-float:hover {
        filter: brightness(0.95);
        transform: translateY(-2px);
    }

    .ets-wa-float:active {
        transform: translateY(0px);
    }

/* Mobile safe-area (iPhone notch etc.) */
@supports (padding: max(0px)) {
    .ets-wa-float {
        right: max(18px, env(safe-area-inset-right));
        bottom: max(18px, env(safe-area-inset-bottom));
    }
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a14;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



@media (max-width: 480px) {
    body {
        padding-top: 100px; /* Mobile header height */
    }
}

/* =========================
   HEADER (Desktop + Mobile)
   ========================= */

/* Header with scroll effects */
.mil-top-position {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.mil-top-panel {
    background: rgba(15, 15, 20, 0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.mil-top-position.scrolled .mil-top-panel {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Use your .container name, but make it header-safe */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px; /* ✅ was 50px top/bottom (too big) */
    height: 84px; /* ✅ consistent header height */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: height 0.25s ease;
}

.mil-top-position.scrolled .container {
    height: 72px;
}

/* Logo */
.mil-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

    .mil-logo img {
        width: 220px; /* ✅ smaller default */
        max-width: 100%;
        height: auto;
        transition: all 0.3s ease;
        filter: brightness(1.2);
    }

@media (max-width: 480px) {
    .mil-logo img {
        width: 170px; /* ✅ mobile logo size */
    }
}

.mil-top-position.scrolled .mil-logo img {
    filter: brightness(1);
}

.mil-logo img.logo-white {
    display: block;
}

.mil-logo img.logo-dark {
    display: none;
}

.mil-top-position.scrolled .mil-logo img.logo-white {
    display: none;
}

.mil-top-position.scrolled .mil-logo img.logo-dark {
    display: block;
}

/* Navigation (desktop) */
.mil-navigation {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mil-menu {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

    .mil-menu li {
        position: relative;
        list-style: none;
    }

    .mil-menu a {
        color: white;
        text-decoration: none;
        font-size: 15px;
        padding: 10px 0;
        transition: color 0.3s ease;
        position: relative;
        cursor: pointer;
    }

.mil-top-position.scrolled .mil-menu a {
    color: #333333;
}

.mil-menu a:hover {
    color: #4da3ff;
}

.mil-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4da3ff;
    transition: width 0.3s ease;
}

.mil-menu a:hover::after {
    width: 100%;
}

/* Dropdown (desktop hover) */
.mil-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 220px;
    border-radius: 10px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mil-top-position.scrolled .mil-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mil-dropdown li {
    padding: 0 18px;
}

.mil-dropdown a {
    font-size: 14px;
    color: #ddd;
    display: block;
    padding: 10px 0;
}

.mil-top-position.scrolled .mil-dropdown a {
    color: #555;
}

.mil-dropdown a:hover {
    color: #4da3ff;
}

.mil-has-children:hover .mil-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Search icon (optional styling) */
.mil-search-icon {
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.mil-top-position.scrolled .mil-search-icon {
    color: #333;
}

/* =========================
   Mobile Menu + Button
   ========================= */

.mil-menu-btn {
    display: none; /* shown on mobile */
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
    background: transparent;
    border: 0;
    border-radius: 10px;
}

    .mil-menu-btn:focus-visible {
        outline: 2px solid rgba(77, 163, 255, 0.9);
        outline-offset: 2px;
    }

    .mil-menu-btn span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 22px;
        height: 2px;
        background: #fff;
        transform: translate(-50%, -50%);
        transition: all 0.25s ease;
    }

.mil-top-position.scrolled .mil-menu-btn span {
    background: #333;
}

.mil-menu-btn span::before,
.mil-menu-btn span::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    left: 0;
    background: #fff;
    transition: all 0.25s ease;
}

.mil-top-position.scrolled .mil-menu-btn span::before,
.mil-top-position.scrolled .mil-menu-btn span::after {
    background: #333;
}

.mil-menu-btn span::before {
    top: -7px;
}

.mil-menu-btn span::after {
    top: 7px;
}

.mil-menu-btn.active span {
    background: transparent;
}

    .mil-menu-btn.active span::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mil-menu-btn.active span::after {
        transform: rotate(-45deg);
        top: 0;
    }

/* Overlay */
.mil-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

    .mil-mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Off-canvas menu */
.mil-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(420px, 92vw);
    height: 100vh;
    background: #0a0a14;
    z-index: 999;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 92px 22px 22px; /* room for header */
}

    .mil-mobile-menu.active {
        right: 0;
    }

    .mil-mobile-menu .mil-menu {
        flex-direction: column;
        gap: 0;
    }

        .mil-mobile-menu .mil-menu > li {
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .mil-mobile-menu .mil-menu a {
            display: block;
            padding: 16px 0;
            font-size: 17px;
        }

    .mil-mobile-menu .mil-dropdown {
        display: none; /* ✅ collapsed by default */
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 10px 14px;
        margin: 0;
    }

        .mil-mobile-menu .mil-dropdown a {
            font-size: 15px;
            padding: 12px 0;
            color: rgba(255,255,255,0.85);
        }

            .mil-mobile-menu .mil-dropdown a:hover {
                color: #4da3ff;
            }

    /* Show dropdown when parent has .open */
    .mil-mobile-menu .mil-has-children.open > .mil-dropdown {
        display: block;
    }

/* ✅ Responsive switches */
@media (max-width: 1024px) {
    .mil-navigation {
        display: none; /* hide desktop nav */
    }

    .mil-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
        height: 78px;
    }

    .mil-top-position.scrolled .container {
        height: 68px;
    }
}

/* =========================
   Advanced Hero Section
   (MOBILE RESPONSIVE UPDATED)
   ========================= */

.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 500px;
    max-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slides-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    background-size: cover;
    background-position: center;
    /* Fixed background often breaks on mobile; switched to scroll for responsiveness */
    background-attachment: scroll; 
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1025px) {
    .slide {
        background-attachment: fixed; /* Keep fixed only for desktop */
    }
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.85) 0%, rgba(26, 42, 108, 0.15) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 40px;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
    width: 100%;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-badge {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid white;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: pulse 2s infinite;
}

.slide-title {
    /* Fluid typography for better mobile scaling */
    font-size: clamp(1.75rem, 8vw, 3.5rem); 
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
    padding: 0 10px;
}

.slide-subtitle {
    font-size: clamp(0.8rem, 3vw, 1.05rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    padding: 0 20px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 0 20px;
}

.btn {
    padding: 16px 32px;
    border-radius: 4px; /* Slight radius for modern feel */
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

.btn-primary {
    background: white;
    color: #0B3C5D;
    box-shadow: 0 10px 30px rgba(77, 163, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(77, 163, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid white;
}

/* Slider Controls & Mobile Dot Sizing */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #4da3ff;
    transform: scale(1.2);
    width: 20px; /* Pill shape for active dot */
    border-radius: 10px;
}

@media (max-width: 480px) {
    .slider-controls {
        bottom: 25px; /* Tighter spacing on mobile */
    }
    .slider-dot {
        width: 8px; /* Smaller dots on mobile */
        height: 8px;
        gap: 8px;
    }
    .slider-dot.active {
        width: 16px; /* Scaled active dot */
        height: 8px;
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    touch-action: manipulation;
}

    .slider-nav:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-50%) scale(1.1);
    }

    .slider-nav.prev {
        left: 20px;
    }

    .slider-nav.next {
        right: 20px;
    }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

    .scroll-indicator i {
        font-size: 24px;
        color: rgba(255, 255, 255, 0.7);
    }

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(77, 163, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(77, 163, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(77, 163, 255, 0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 50px 15px;
        height: 70px;
    }

    /* Logo size */
    .mil-logo img {
        width: 200px;
    }

    /* Hide desktop navigation, show mobile button */
    .mil-navigation {
        display: none;
    }

    .mil-menu-btn {
        display: block;
    }

    /* Hero slider adjustments */
    .hero-slider {
        height: 100vh;
        min-height: 500px;
    }

    .slide-content {
        padding: 0 20px;
    }

    /* CTA buttons stack */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Hide slider nav on mobile */
    .slider-nav {
        display: none;
    }

    /* Stats container adjustments */
    .stats-container {
        justify-content: center;
    }

    .stat-item {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    /* Brand slider adjustments */
    .brand-item {
        width: 120px;
        height: 70px;
        padding: 15px;
    }

    .brand-logo {
        max-width: 90px;
        max-height: 35px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 25px;
    }

    .service-number {
        font-size: 3.5rem;
    }

    /* Value props */
    .value-card-content {
        padding-left: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet styles */
    .container {
        padding: 50px 30px;
    }

    .mil-logo img {
        width: 250px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        justify-content: space-around;
    }

    .stat-item {
        min-width: calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
}

@media (min-width: 1025px) {
    /* Desktop styles */
    .mil-menu-btn {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .value-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats-container {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .container {
        padding: 50px 10px;
        height: 60px;
    }

    .mil-logo img {
        width: 160px;
    }

    .hero-slider {
        height: 85vh;
        min-height: 450px;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .stat-item {
        min-width: 100%;
        max-width: 100%;
    }

    .brand-stats {
        gap: 20px;
    }

    .brand-stat-item {
        min-width: 100px;
    }

    .services-stats {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 20px;
    }

    .services-cta {
        padding: 40px 25px;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .mil-menu a:hover::after,
    .mil-dropdown a:hover,
    .btn:hover,
    .slider-nav:hover,
    .stat-item:hover,
    .brand-item:hover,
    .service-card:hover,
    .value-card:hover {
        transform: none;
    }

    .mil-menu a::after {
        display: none;
    }

    .mil-has-children .mil-dropdown {
        display: none;
    }

    .mil-has-children.active .mil-dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }

    /* Increase touch targets */
    .mil-menu a,
    .btn,
    .slider-dot,
    .slider-nav {
        min-height: 30px;
        min-width: 30px;
    }

        .slider-dot::after {
            top: -10px;
            left: -16px;
            right: -16px;
            bottom: -16px;
        }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .brand-track {
        animation: none;
    }

    .scroll-indicator {
        animation: none;
    }

    .slide-badge {
        animation: none;
    }
}

/* =====================================================
   ETS LANDING SERVICES   ENTERPRISE SLATE THEME
   Colors: White | #374A53 | #476673
   ===================================================== */

:root {
    --ets-brand: #374A53;
    --ets-brand-2: #476673;
    --ets-accent: #476673;
    --ets-bg: #ffffff;
    --ets-card: #ffffff;
    --ets-ink: #1a2a30;
    --ets-muted: rgba(55,74,83,.78);
    --ets-border: rgba(55,74,83,.12);
    --ets-shadow: 0 18px 45px rgba(55,74,83,.18);
    --ets-shadow-soft: 0 10px 28px rgba(55,74,83,.12);
}

/* ================= SECTION ================= */

.ets-landing-services {
    position: relative;
    background: var(--ets-bg);
    padding: 76px 0;
    overflow: hidden;
}

    .ets-landing-services::before {
        content: "";
        position: absolute;
        inset: -60px;
        background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 38%, rgba(71,102,115,0.05) 38%, rgba(71,102,115,0.05) 44%, rgba(0,0,0,0) 44%, rgba(0,0,0,0) 66%, rgba(55,74,83,0.035) 66%, rgba(55,74,83,0.035) 72%, rgba(0,0,0,0) 72%, rgba(0,0,0,0) 100%);
        transform: rotate(-6deg);
        pointer-events: none;
        opacity: .9;
    }

    .ets-landing-services::after {
        content: "";
        position: absolute;
        width: 560px;
        height: 560px;
        border-radius: 999px;
        right: -280px;
        top: -260px;
        background: radial-gradient(circle, rgba(71,102,115,.22), rgba(71,102,115,0) 60%);
        filter: blur(60px);
        pointer-events: none;
    }

/* ================= WRAP ================= */

.ets-landing-services__wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

/* ================= HEADER ================= */

.ets-landing-services__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.ets-landing-services__kicker {
    margin: 0 0 10px;
    color: var(--ets-muted);
    font-size: .95rem;
    font-weight: 700;
    position: relative;
    padding-left: 14px;
}

    .ets-landing-services__kicker::before {
        content: "";
        position: absolute;
        left: 0;
        top: .55em;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: var(--ets-accent);
        transform: translateY(-50%);
    }

.ets-landing-services__title {
    margin: 0;
    letter-spacing: -0.03em;
    color: var(--ets-brand);
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.08;
    font-weight: 900;
}

.ets-landing-services__head-right {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

/* ================= NAV ================= */

.ets-landing-services__nav {
    appearance: none;
    border: 1px solid var(--ets-border);
    background: rgba(255,255,255,.88);
    color: var(--ets-brand);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

    .ets-landing-services__nav:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(55,74,83,.12);
        background: #fff;
        border-color: rgba(71,102,115,.28);
    }

    .ets-landing-services__nav:focus-visible {
        outline: 3px solid rgba(71,102,115,.28);
        outline-offset: 3px;
    }

.ets-landing-services__nav-ic {
    font-size: 1.05rem;
    opacity: .9;
}

/* ================= SLIDER ================= */

.ets-landing-services__slider {
    overflow: hidden;
}

.ets-landing-services__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 1fr);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 12px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

    .ets-landing-services__track::-webkit-scrollbar {
        height: 10px;
    }

    .ets-landing-services__track::-webkit-scrollbar-thumb {
        background: rgba(55,74,83,.22);
        border-radius: 999px;
    }

/* ================= CARD ================= */

.ets-landing-services__card {
    scroll-snap-align: start;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--ets-border);
    padding: 28px;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--ets-shadow-soft);
    backdrop-filter: blur(10px);
    isolation: isolate;
    position: relative;
    transform: translateY(0) scale(1);
    transition: transform .55s cubic-bezier(.2,.9,.2,1), box-shadow .55s cubic-bezier(.2,.9,.2,1), border-color .55s ease, filter .55s ease, opacity .55s ease;
}

    .ets-landing-services__card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(700px 220px at 15% 0%, rgba(71,102,115,.14), transparent 60%), radial-gradient(520px 220px at 90% 10%, rgba(55,74,83,.10), transparent 55%);
        opacity: .35;
        pointer-events: none;
    }

    .ets-landing-services__card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 1px solid rgba(255,255,255,.65);
        opacity: .55;
        pointer-events: none;
    }

    .ets-landing-services__card > * {
        position: relative;
        z-index: 1;
    }

/* hover focus */
.ets-landing-services__track:hover .ets-landing-services__card {
    transform: scale(.97);
    opacity: .82;
    filter: brightness(1.03) saturate(.95);
}

    .ets-landing-services__track:hover .ets-landing-services__card:hover {
        transform: translateY(-6px) scale(1.02);
        opacity: 1;
        filter: none;
        box-shadow: var(--ets-shadow);
        border-color: rgba(71,102,115,.25);
    }

.ets-landing-services__card:focus-within {
    box-shadow: var(--ets-shadow);
    border-color: rgba(71,102,115,.28);
}

/* ================= TEXT ================= */

.ets-landing-services__card-title {
    margin: 0 0 10px;
    font-size: 1.22rem;
    color: var(--ets-brand);
    letter-spacing: -0.01em;
    font-weight: 900;
}

.ets-landing-services__card-desc {
    margin: 0 0 18px;
    color: var(--ets-muted);
    line-height: 1.6;
    font-size: .96rem;
}

.ets-landing-services__rule {
    height: 1px;
    background: rgba(55,74,83,.20);
    position: relative;
    margin: 8px 0 18px;
}

.ets-landing-services__rule-accent {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: 40px;
    background: var(--ets-accent);
    border-radius: 999px;
}

.ets-landing-services__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: .95rem;
}

    .ets-landing-services__list li {
        position: relative;
        padding-left: 16px;
        color: #2f3f45;
        font-weight: 600;
    }

        .ets-landing-services__list li::before {
            content: "";
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: var(--ets-accent);
            position: absolute;
            left: 0;
            top: .70em;
            transform: translateY(-50%);
        }

/* ================= CTA ================= */

.ets-landing-services__more {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ets-brand);
    font-weight: 800;
    width: fit-content;
    padding: 8px 0;
}

.ets-landing-services__more-bubble {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(55,74,83,.10);
    transition: transform .18s ease, background .18s ease;
}

.ets-landing-services__more:hover .ets-landing-services__more-bubble {
    background: rgba(71,102,115,.18);
    transform: translateX(2px);
}

/* ================= ENTRANCE ANIMATION ================= */

.ets-landing-services__card {
    opacity: 0;
    transform: translateY(14px) scale(.98);
    animation: etsSvcIn .7s cubic-bezier(.2,.9,.2,1) forwards;
}

    .ets-landing-services__card:nth-child(1) {
        animation-delay: .05s
    }

    .ets-landing-services__card:nth-child(2) {
        animation-delay: .10s
    }

    .ets-landing-services__card:nth-child(3) {
        animation-delay: .15s
    }

    .ets-landing-services__card:nth-child(4) {
        animation-delay: .20s
    }

    .ets-landing-services__card:nth-child(5) {
        animation-delay: .25s
    }

    .ets-landing-services__card:nth-child(6) {
        animation-delay: .30s
    }

    .ets-landing-services__card:nth-child(7) {
        animation-delay: .35s
    }

    .ets-landing-services__card:nth-child(8) {
        animation-delay: .40s
    }

@keyframes etsSvcIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 820px) {
    .ets-landing-services__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ets-landing-services__track {
        grid-auto-columns: minmax(280px, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ets-landing-services__card {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ===========================
   Digital Transformation (ETS)
   Light Brand Theme + Particles
   =========================== */

.ets-dt {
    position: relative;
    padding: 74px 18px;
    background: #ffffff;
    overflow: hidden;
}

/* Disable old diagonal bg if it exists */
.ets-dt__bg {
    display: none !important;
}

/* soft blobs (keep) */
.ets-dt::before,
.ets-dt::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.ets-dt::before {
    left: -220px;
    top: -220px;
    background: radial-gradient(circle, rgba(71,102,115,0.55), rgba(71,102,115,0) 60%);
}

.ets-dt::after {
    right: -260px;
    bottom: -260px;
    background: radial-gradient(circle, rgba(55,74,83,0.45), rgba(55,74,83,0) 60%);
}

.ets-dt__wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

/* ---------- Header ---------- */
.ets-dt__head {
    text-align: center;
    margin-bottom: 40px;
}

.ets-dt__crumb {
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
    color: #476673;
    margin-bottom: 10px;
}

.ets-dt__title {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 44px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #374A53;
}

/* ---------- Layout ---------- */
.ets-dt__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 34px;
    align-items: center;
}

/* ---------- Cards ---------- */
.ets-dt__cards {
    display: grid;
    gap: 18px;
}

.ets-dt__card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(55,74,83,0.22);
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 14px 34px rgba(55,74,83,0.08);
    transition: transform .55s cubic-bezier(.2,.9,.2,1), box-shadow .55s cubic-bezier(.2,.9,.2,1), border-color .55s ease, background .55s ease;
    cursor: pointer;
    outline: none;
}

.ets-dt__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.ets-dt__card-title {
    margin: 0;
    font-size: 18px;
    color: #374A53;
}

.ets-dt__card-text {
    margin: 10px 0 12px;
    color: rgba(55,74,83,0.75);
    line-height: 1.55;
    font-size: 14px;
    max-width: 56ch;
}

.ets-dt__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #476673;
    font-size: 13px;
}

.ets-dt__cards:hover .ets-dt__card {
    transform: scale(0.985);
    background: rgba(255,255,255,0.90);
    border-color: rgba(55,74,83,0.15);
    box-shadow: 0 10px 22px rgba(55,74,83,0.06);
}

    .ets-dt__cards:hover .ets-dt__card:hover,
    .ets-dt__card.is-active {
        transform: scale(1.02);
        background: rgba(255,255,255,0.98);
        border-color: rgba(71,102,115,0.45);
        box-shadow: 0 22px 55px rgba(55,74,83,0.12);
    }

.ets-dt__card:focus-visible {
    outline: 3px solid rgba(71,102,115,0.35);
    outline-offset: 3px;
}

/* ---------- Visual (ovals) ---------- */
.ets-dt__visual {
    display: grid;
    justify-items: center;
    gap: 14px;
}

.ets-dt__ovals {
    position: relative;
    width: min(400px, 100%);
    height: 480px;
}

.ets-dt__oval {
    position: absolute;
    top: 34px;
    width: 190px;
    height: 430px;
    border-radius: 999px;
    border: 10px solid #ffffff;
    box-shadow: 0 18px 45px rgba(55,74,83,0.18);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform .8s cubic-bezier(.2,.9,.2,1), filter .8s cubic-bezier(.2,.9,.2,1), opacity .8s ease;
}

.ets-dt__oval--left {
    left: 10px;
    background-image: url("https://plus.unsplash.com/premium_photo-1674582744373-c0805c281744?q=80&w=2081&auto=format&fit=crop");
}

.ets-dt__oval--right {
    right: 10px;
    background-image: url("https://plus.unsplash.com/premium_photo-1764691387714-f3b960163b3c?q=80&w=1170&auto=format&fit=crop");
}

.ets-dt__note {
    margin: 0;
    font-size: 12px;
    color: rgba(55,74,83,0.65);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.ets-dt__ovals.is-left .ets-dt__oval--left {
    transform: scale(1.03);
    filter: saturate(1.08);
    z-index: 2;
}

.ets-dt__ovals.is-left .ets-dt__oval--right {
    transform: scale(0.98);
    filter: saturate(0.95) brightness(1.02);
    opacity: 0.92;
}

.ets-dt__ovals.is-right .ets-dt__oval--right {
    transform: scale(1.03);
    filter: saturate(1.08);
    z-index: 2;
}

.ets-dt__ovals.is-right .ets-dt__oval--left {
    transform: scale(0.98);
    filter: saturate(0.95) brightness(1.02);
    opacity: 0.92;
}

/* ===========================
   CENTER BADGE (Animated)
   =========================== */
.ets-dt__badge {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 126px;
    height: 126px;
    display: grid;
    place-items: center;
    z-index: 3;
    pointer-events: none;
}

.ets-dt__badge-textRing {
    position: absolute;
    inset: -18px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 12px 22px rgba(55,74,83,.18));
    transform-origin: 50% 50%;
    animation: etsDtPingPong 7.5s ease-in-out infinite;
    background: rgba(255,255,255,0.65);
}

.ets-dt__badge-svg {
    width: 100%;
    height: 100%;
}

.ets-dt__badge-text {
    fill: rgba(55,74,83,.85);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

@keyframes etsDtPingPong {
    0% {
        transform: rotate(-12deg);
    }

    50% {
        transform: rotate(12deg);
    }

    100% {
        transform: rotate(-12deg);
    }
}

.ets-dt__badge-logo {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    background: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 18px 34px rgba(55,74,83,0.18);
    border: 1px solid rgba(55,74,83,0.15);
    overflow: hidden;
    animation: etsDtBreath 3.8s ease-in-out infinite;
}

    .ets-dt__badge-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

@keyframes etsDtBreath {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* =========================
   PARTICLES LAYER (NEW)
   ========================= */

.ets-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

    .ets-particles::before {
        content: "";
        position: absolute;
        inset: -20%;
        background: radial-gradient(900px 500px at 10% 0%, rgba(71,102,115,.10), rgba(255,255,255,0) 55%), radial-gradient(900px 500px at 95% 15%, rgba(55,74,83,.08), rgba(255,255,255,0) 55%);
        pointer-events: none;
    }

.ets-particles__canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Keep other sections above the particles too */
.ets-proc,
.ets-indx {
    position: relative;
    overflow: hidden;
}

.ets-proc__wrap,
.ets-indx__wrap {
    position: relative;
    z-index: 1;
}

/* ---------- Responsive ---------- */
@media (max-width:980px) {
    .ets-dt {
        padding: 56px 16px;
    }

    .ets-dt__grid {
        grid-template-columns: 1fr;
    }

    .ets-dt__ovals {
        height: 360px;
    }

    .ets-dt__oval {
        width: 190px;
        height: 310px;
        top: 26px;
    }
}

@media (max-width:560px) {
    .ets-dt__oval--left {
        left: 10px;
    }

    .ets-dt__oval--right {
        right: 10px;
    }

    .ets-dt__badge {
        width: 112px;
        height: 112px;
    }

    .ets-dt__badge-textRing {
        inset: -16px;
    }

    .ets-dt__badge-text {
        font-size: 11px;
    }

    .ets-dt__badge-logo {
        width: 64px;
        height: 64px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .ets-dt__badge-textRing,
    .ets-dt__badge-logo {
        animation: none !important;
    }

    .ets-dt__card,
    .ets-dt__oval {
        transition: none !important;
    }
}

/* ===============================
   ETS | Collaborate Section
   =============================== */
.ets-collab {
    position: relative;
    padding: 78px 18px;
    background: #ffffff;
    overflow: hidden;
}

.ets-collab__wrap {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    z-index: 1;
}

/* Kicker */
.ets-collab__kicker {
    margin: 0 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(55,74,83,0.78);
    font-size: 13px;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.ets-collab__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #476673;
    box-shadow: 0 0 0 4px rgba(71,102,115,0.16);
    transform: translateY(1px);
}

/* Title */
.ets-collab__title {
    margin: 0 0 30px;
    color: #374A53;
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    font-size: clamp(30px, 3.9vw, 52px);
}

.ets-collab__accent {
    color: #476673;
}

/* Grid */
.ets-collab__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
    margin-bottom: 42px;
}

.ets-collab__item {
    min-width: 0;
}

.ets-collab__itemHead {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ets-collab__icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #374A53;
    position: relative;
}

    /* orange dot behind icon (like screenshot) */
    .ets-collab__icon::after {
        content: "";
        position: absolute;
        left: -2px;
        bottom: -2px;
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #476673;
        box-shadow: 0 0 0 4px rgba(71,102,115,0.14);
    }

    .ets-collab__icon svg {
        width: 22px;
        height: 22px;
        display: block;
    }

.ets-collab__itemTitle {
    font-weight: 800;
    color: #374A53;
    font-size: 15px;
    letter-spacing: -0.01em;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.ets-collab__text {
    margin: 0;
    color: rgba(55,74,83,0.66);
    font-size: 13.5px;
    line-height: 1.8;
    max-width: 36ch;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

/* Bottom row */
.ets-collab__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ets-collab__learn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #374A53;
    font-weight: 750;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    font-size: 14px;
}

.ets-collab__learnDot {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #476673;
    display: grid;
    place-items: center;
    box-shadow: 0 14px 30px rgba(55,74,83,0.12);
}

.ets-collab__learnArrow {
    color: #ffffff;
    font-size: 16px;
    transform: translateX(1px);
}

.ets-collab__btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border-radius: 999px;
    border: 1.5px solid rgba(71,102,115,0.85);
    color: #374A53;
    font-weight: 800;
    font-size: 14px;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background: transparent;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

    .ets-collab__btn:hover {
        background: rgba(71,102,115,0.08);
        box-shadow: 0 18px 50px rgba(55,74,83,0.12);
        transform: translateY(-1px);
    }

/* Decorative nodes */
.ets-collab__nodes {
    position: absolute;
    pointer-events: none;
    opacity: 1;
}

.ets-collab__nodes--top {
    right: -30px;
    top: -10px;
    width: 260px;
}

.ets-collab__nodes--bottom {
    left: 34%;
    bottom: -40px;
    width: 240px;
    opacity: .8;
}

/* Responsive */
@media (max-width: 980px) {
    .ets-collab {
        padding: 60px 16px;
    }

    .ets-collab__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        margin-bottom: 34px;
    }

    .ets-collab__nodes--bottom {
        left: 12%;
        bottom: -50px;
        width: 220px;
    }
}

@media (max-width: 560px) {
    .ets-collab__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ets-collab__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .ets-collab__btn {
        width: 100%;
        justify-content: center;
    }

    .ets-collab__nodes--top {
        right: -70px;
        top: -30px;
        width: 240px;
        opacity: .7;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ets-collab__btn {
        transition: none !important;
    }
}

/* ===============================
     ETS | Industries We Serve (Mobile Friendly)
     Keeps your existing classnames
     =============================== */

.ets-industry {
    position: relative;
    padding: 76px 18px;
    background: #3B484F;
    overflow: hidden;
}

    .ets-industry::before {
        content: "";
        position: absolute;
        inset: -40px;
        background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, rgba(71,102,115,0.05) 30%, rgba(71,102,115,0.05) 36%, rgba(0,0,0,0) 36%, rgba(0,0,0,0) 62%, rgba(55,74,83,0.045) 62%, rgba(55,74,83,0.045) 68%, rgba(0,0,0,0) 68%, rgba(0,0,0,0) 100%);
        transform: rotate(-6deg);
        pointer-events: none;
        opacity: 0.9;
    }

    .ets-industry::after {
        content: "";
        position: absolute;
        width: 560px;
        height: 560px;
        border-radius: 999px;
        right: -260px;
        top: -260px;
        background: #3B484F;
        filter: blur(70px);
        opacity: 0.55;
        pointer-events: none;
    }

.ets-industry__wrap {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px;
    z-index: 1;
    box-sizing: border-box;
}

.ets-industry__head {
    text-align: center;
    margin-bottom: 28px;
}

.ets-industry__kicker {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: white;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ets-industry__title {
    margin: 0;
    color: white;
    font-size: clamp(26px, 3.2vw, 44px);
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ets-industry__sub {
    margin: 12px auto 0;
    max-width: 76ch;
    color: white;
    font-size: 15px;
    line-height: 1.6;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ets-industry__panels {
    display: flex;
    width: 100%;
    height: clamp(360px, 46vw, 540px);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(55,74,83,0.06);
    box-shadow: 0 22px 60px rgba(55,74,83,0.16);
    min-width: 0;
}

.ets-industry__panel {
    appearance: none;
    border: 0;
    padding: 0;
    flex: 1 1 0%;
    min-width: 0;
    position: relative;
    cursor: pointer;
    background: var(--bg) center / cover no-repeat;
    transition: flex 520ms cubic-bezier(.2,.9,.2,1), filter 520ms ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

    .ets-industry__panel:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 2px;
        height: 100%;
        background: rgba(255,255,255,0.35);
        pointer-events: none;
    }

.ets-industry__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.20) 34%, rgba(0,0,0,0.62) 100%);
    opacity: 0.58;
    transition: opacity 520ms ease, backdrop-filter 520ms ease;
    backdrop-filter: blur(2px);
}

.ets-industry__meta {
    position: absolute;
    top: 24px;
    left: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.ets-industry__name {
    display: inline-block;
    color: rgba(255,255,255,0.96);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 850;
    letter-spacing: -0.02em;
    font-size: clamp(15px, 1.45vw, 21px);
    line-height: 1.1;
    text-shadow: 0 10px 25px rgba(0,0,0,0.35);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    transition: transform 420ms cubic-bezier(.2,.9,.2,1), font-size 420ms ease, letter-spacing 420ms ease, opacity 420ms ease;
}

.ets-industry__panel.is-active .ets-industry__name {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: rotate(0deg);
    white-space: normal;
}

.ets-industry__content {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 26px;
    z-index: 2;
    display: grid;
    gap: 14px;
    max-width: 560px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 420ms ease, transform 420ms ease;
    pointer-events: none;
}

.ets-industry__desc {
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    line-height: 1.6;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    text-shadow: 0 10px 25px rgba(0,0,0,0.35);
    max-width: 52ch;
}

.ets-industry__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #374A53;
    font-weight: 750;
    font-size: 13px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    min-height: 44px;
}

.ets-industry__arrow {
    font-size: 14px;
    transform: translateY(-1px);
}

.ets-industry__panel.is-active {
    flex: 2.15 1 0%;
    filter: saturate(1.05);
}

    .ets-industry__panel.is-active .ets-industry__shade {
        opacity: 0.36;
        backdrop-filter: blur(0px);
    }

    .ets-industry__panel.is-active .ets-industry__content {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

/* ===== LAPTOP & DESKTOP ===== */
@media (min-width: 1025px) {
    .ets-industry__panel:hover:not(.is-active) {
        flex: 1.12 1 0%;
    }
}

/* ===== TABLET (Portrait) ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .ets-industry {
        padding: 60px 30px;
    }

    .ets-industry__wrap {
        padding: 40px;
    }

    .ets-industry__panels {
        height: 400px;
        border-radius: 16px;
    }

    .ets-industry__panel {
        min-width: 80px;
    }

        .ets-industry__panel.is-active {
            flex: 3 1 0%;
        }

    .ets-industry__name {
        font-size: 16px;
    }

    .ets-industry__content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* ===== MOBILE (Landscape & Portrait) ===== */
@media (max-width: 768px) {
    .ets-industry {
        padding: 48px 16px;
    }

    .ets-industry__wrap {
        padding: 24px;
    }

    .ets-industry__head {
        margin-bottom: 40px;
    }

    .ets-industry__title {
        font-size: 32px;
        line-height: 1.15;
    }

    .ets-industry__sub {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }

    /* Stack panels vertically on mobile */
    .ets-industry__panels {
        flex-direction: column;
        height: auto;
        border-radius: 16px;
    }

    /* Each panel becomes a row in the stack */
    .ets-industry__panel {
        width: 100%;
        height: 100px;
        flex: 0 0 auto;
        min-width: 100%;
        transition: height 520ms cubic-bezier(.2,.9,.2,1);
    }

        /* Adjust divider for vertical layout */
        .ets-industry__panel:not(:last-child)::after {
            width: 100%;
            height: 2px;
            top: auto;
            bottom: 0;
            left: 0;
            background: rgba(255,255,255,0.25);
        }

        /* Expanded panel on mobile */
        .ets-industry__panel.is-active {
            height: 300px;
            flex: 0 0 auto;
        }

    /* Make text always horizontal on mobile */
    .ets-industry__name {
        writing-mode: horizontal-tb;
        text-orientation: initial;
        transform: rotate(0deg);
        white-space: normal;
        font-size: 18px;
        letter-spacing: -0.01em;
        top: 20px;
        left: 20px;
        right: 20px;
    }

    /* Active panel name adjustment */
    .ets-industry__panel.is-active .ets-industry__name {
        margin-bottom: 8px;
    }

    /* Content positioning for mobile */
    .ets-industry__content {
        left: 20px;
        right: 20px;
        bottom: 20px;
        gap: 12px;
    }

    .ets-industry__desc {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Larger touch targets for mobile */
    .ets-industry__cta {
        padding: 14px 22px;
        font-size: 14px;
        min-height: 48px;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .ets-industry {
        padding: 40px 12px;
    }

    .ets-industry__wrap {
        padding: 16px;
    }

    .ets-industry__head {
        margin-bottom: 32px;
    }

    .ets-industry__title {
        font-size: 28px;
    }

    .ets-industry__sub {
        font-size: 13px;
    }

    .ets-industry__panels {
        border-radius: 14px;
    }

    .ets-industry__panel {
        height: 90px;
    }

        .ets-industry__panel.is-active {
            height: 280px;
        }

    .ets-industry__name {
        font-size: 16px;
        top: 16px;
        left: 16px;
    }

    .ets-industry__content {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .ets-industry__desc {
        font-size: 13px;
    }

    .ets-industry__cta {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* ===== EXTRA SMALL MOBILE ===== */
@media (max-width: 360px) {
    .ets-industry {
        padding: 32px 10px;
    }

    .ets-industry__wrap {
        padding: 12px;
    }

    .ets-industry__title {
        font-size: 26px;
    }

    .ets-industry__panel {
        height: 85px;
    }

        .ets-industry__panel.is-active {
            height: 260px;
        }

    .ets-industry__name {
        font-size: 15px;
        top: 14px;
        left: 14px;
    }

    .ets-industry__content {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .ets-industry__cta {
        padding: 10px 18px;
        font-size: 12px;
        min-height: 44px;
    }
}

/* ===== ACCESSIBILITY & TOUCH OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .ets-industry__panel {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

        .ets-industry__panel:focus-visible {
            outline: 3px solid rgba(255,255,255,0.8);
            outline-offset: -1px;
        }

        /* Disable hover effects on touch devices */
        .ets-industry__panel:hover:not(.is-active) {
            flex: 1 1 0%;
            height: 100px !important;
        }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .ets-industry__panel,
    .ets-industry__shade,
    .ets-industry__content,
    .ets-industry__name {
        transition: none !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .ets-industry {
        background: white !important;
        padding: 20px !important;
    }

        .ets-industry::before,
        .ets-industry::after {
            display: none;
        }

    .ets-industry__wrap {
        padding: 0 !important;
    }

    .ets-industry__panels {
        flex-direction: column !important;
        height: auto !important;
        box-shadow: none !important;
        background: none !important;
    }

    .ets-industry__panel {
        break-inside: avoid;
        height: auto !important;
        min-height: auto !important;
        margin-bottom: 20px;
        border: 1px solid #ddd !important;
        background: none !important;
    }

        .ets-industry__panel.is-active {
            height: auto !important;
        }

    .ets-industry__shade {
        display: none;
    }

    .ets-industry__name,
    .ets-industry__desc {
        color: black !important;
        text-shadow: none !important;
        position: static !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    .ets-industry__content {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        padding: 15px;
    }

    .ets-industry__cta {
        display: none !important;
    }
}

/* ===============================
     ETS | Latest Thinking (News Grid)
   =============================== */
.ets-news {
    position: relative;
    padding: 78px 18px;
    background: #ffffff;
}

    .ets-news::before {
        content: "";
        position: absolute;
        inset: -40px;
        background: radial-gradient(circle at 20% 20%, rgba(71,102,115,0.10), rgba(71,102,115,0) 55%), radial-gradient(circle at 85% 30%, rgba(55,74,83,0.08), rgba(55,74,83,0) 55%), linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(71,102,115,0.03) 55%, rgba(71,102,115,0.03) 62%, rgba(0,0,0,0) 62%, rgba(0,0,0,0) 100%);
        transform: rotate(-3deg);
        pointer-events: none;
        opacity: .9;
    }

.ets-news__wrap {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

/* ✅ The element that actually scrolls horizontally */
.ets-news__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 10px; /* space for scrollbar */
}

    /* Optional clean scrollbar */
    .ets-news__scroller::-webkit-scrollbar {
        height: 6px;
    }

    .ets-news__scroller::-webkit-scrollbar-track {
        background: transparent;
    }

    .ets-news__scroller::-webkit-scrollbar-thumb {
        background: rgba(71,102,115,0.40);
        border-radius: 20px;
    }

/* Top row */
.ets-news__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.ets-news__kicker {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(55,74,83,0.78);
    letter-spacing: 0.02em;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.ets-news__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #476673;
    box-shadow: 0 0 0 4px rgba(71,102,115,0.18);
}

.ets-news__title {
    margin: 0;
    font-size: clamp(32px,4.2vw,54px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #374A53;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    font-weight: 800;
}

/* Grid layout (your layout) */
.ets-news__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: auto auto;
    gap: 22px 26px;
    align-items: start;
    /* ✅ THIS forces overflow */
    min-width: 1200px;
}

/* Cards */
.ets-news__card {
    min-width: 0;
}

.ets-news__card--hero {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.ets-news__card--rightTop {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    align-items: start;
}

.ets-news__card--rightBottomImg {
    grid-column: 2;
    grid-row: 2;
}

.ets-news__card--rightBottomText {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    width: min(420px, 100%);
    margin-top: 12px;
}

/* Media blocks */
.ets-news__media {
    display: block;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(55,74,83,0.06);
    box-shadow: 0 18px 40px rgba(55,74,83,0.12);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .ets-news__media:hover {
        transform: translateY(-2px);
        box-shadow: 0 26px 60px rgba(55,74,83,0.16);
    }

.ets-news__img {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: saturate(0);
    opacity: .92;
    transform: scale(1.03);
    transition: transform .5s ease, opacity .5s ease;
}

.ets-news__media:hover .ets-news__img {
    transform: scale(1.06);
    opacity: 1;
}

.ets-news__media--hero {
    height: 340px;
}

.ets-news__media--small {
    height: 168px;
}

.ets-news__media--mid {
    height: 210px;
}

/* Body text */
.ets-news__body {
    padding-top: 16px;
}

.ets-news__body--hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: start;
}

.ets-news__body--split {
    padding-top: 8px;
}

.ets-news__h3 {
    margin: 0 0 12px;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #374A53;
    font-size: clamp(18px, 1.65vw, 22px);
    line-height: 1.18;
}

.ets-news__link {
    color: inherit;
    text-decoration: none;
}

    .ets-news__link:hover {
        color: #476673;
    }

.ets-news__excerpt {
    margin: 0;
    color: rgba(55,74,83,0.70);
    font-size: 14px;
    line-height: 1.65;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.ets-news__meta {
    margin: 18px 0 0;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    font-size: 13px;
    color: rgba(55,74,83,0.70);
}

.ets-news__author {
    color: #476673;
    text-decoration: none;
    font-weight: 700;
}

    .ets-news__author:hover {
        text-decoration: underline;
    }

.ets-news__card--rightBottomText .ets-news__body {
    padding-top: 12px;
}

/* ✅ IMPORTANT: if any parent has overflow-x:hidden, this won't show.
   Keep this neutral unless you KNOW a parent is clipping. */
html, body {
    overflow-x: auto;
}

/* Responsive: keep your stacking layout on small screens */
@media (max-width: 980px) {
    .ets-news {
        padding: 64px 16px;
    }

    .ets-news__top {
        flex-direction: column;
        align-items: flex-start;
    }

    /* ✅ On mobile, you can CHOOSE:
     Option A: keep horizontal scroll (uncomment below and keep min-width)
     Option B: stack normally (default below) */

    /* --- Option B: STACK (no horizontal scroll needed) --- */
    .ets-news__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 22px;
        min-width: 0; /* stops overflow on small screens */
    }

    .ets-news__card--hero {
        grid-column: 1;
        grid-row: auto;
    }

    .ets-news__card--rightTop {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: 1fr;
    }

    .ets-news__card--rightBottomImg,
    .ets-news__card--rightBottomText {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        justify-self: stretch;
        margin-top: 0;
    }

    .ets-news__media--hero {
        height: 300px;
    }

    .ets-news__media--small {
        height: 220px;
    }

    .ets-news__media--mid {
        height: 220px;
    }

    .ets-news__body--hero {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ets-news__media,
    .ets-news__img {
        transition: none !important;
    }
}

/* ===============================
   ETS Hashnode-style Footer
   White background, ETS colors
   No href (buttons instead)
   =============================== */

.ets-hf {
    --ets-ink: #0b1220;
    --ets-muted: rgba(11,18,32,.62);
    --ets-line: rgba(11,18,32,.10);
    --ets-chip: rgba(71,102,115,.08);
    --ets-brand: #476673;
    --ets-brand-2: #374A53;
    background: #fff;
    color: var(--ets-ink);
    border-top: 1px solid var(--ets-line);
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

    .ets-hf * {
        box-sizing: border-box;
    }

.ets-hf__wrap {
    max-width: 1220px;
    margin: 0 auto;
    padding: 26px 18px 18px;
}

/* Main grid */
.ets-hf__grid {
    display: grid;
    grid-template-columns: 1.2fr 2.8fr;
    gap: 28px;
    align-items: start;
}

/* Brand */
.ets-hf__brand {
    min-width: 0;
}

.ets-hf__logoRow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ets-hf__logoMark {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(71,102,115,.18), rgba(55,74,83,.08));
    display: grid;
    place-items: center;
    color: var(--ets-brand);
}

    .ets-hf__logoMark svg {
        width: 22px;
        height: 22px;
        display: block;
    }

.ets-hf__brandName {
    font-weight: 950;
    letter-spacing: -.02em;
    color: var(--ets-brand-2);
    font-size: 15px;
}

.ets-hf__brandSub {
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--ets-muted);
}

.ets-hf__blurb {
    margin: 12px 0 0;
    max-width: 48ch;
    color: var(--ets-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

/* Social */
.ets-hf__social {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ets-hf__soc {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--ets-line);
    background: #fff;
    display: grid;
    place-items: center;
    color: rgba(55,74,83,.75);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

    .ets-hf__soc svg {
        width: 18px;
        height: 18px;
        display: block;
    }

    .ets-hf__soc:hover {
        background: rgba(71,102,115,.08);
        border-color: rgba(71,102,115,.24);
        transform: translateY(-1px);
    }

    .ets-hf__soc:focus-visible {
        outline: 3px solid rgba(71,102,115,.25);
        outline-offset: 3px;
    }

/* Status */
.ets-hf__status {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(71,102,115,.06);
    border: 1px solid rgba(71,102,115,.16);
    color: rgba(55,74,83,.85);
    font-weight: 800;
    font-size: 12.5px;
}

.ets-hf__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,.12);
}

/* Columns */
.ets-hf__cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 22px;
    min-width: 0;
}

.ets-hf__title {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 950;
    color: rgba(55,74,83,.78);
}

.ets-hf__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.ets-hf__item {
    width: 100%;
    text-align: left;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(11,18,32,.68);
    font-size: 13.5px;
    cursor: pointer;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .ets-hf__item:hover {
        color: rgba(11,18,32,.88);
    }

    .ets-hf__item:focus-visible {
        outline: 3px solid rgba(71,102,115,.22);
        outline-offset: 4px;
        border-radius: 10px;
    }

.ets-hf__item--arrow span {
    margin-left: auto;
    color: rgba(71,102,115,.9);
    font-weight: 900;
}

/* Bottom */
.ets-hf__bottom {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid var(--ets-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.ets-hf__copy {
    font-size: 12.5px;
    color: var(--ets-muted);
}

.ets-hf__legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ets-hf__legalBtn {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--ets-muted);
}

    .ets-hf__legalBtn:hover {
        color: rgba(11,18,32,.85);
    }

    .ets-hf__legalBtn:focus-visible {
        outline: 3px solid rgba(71,102,115,.22);
        outline-offset: 4px;
        border-radius: 10px;
    }

/* Responsive */
@media (max-width: 980px) {
    .ets-hf__grid {
        grid-template-columns: 1fr;
    }

    .ets-hf__cols {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 560px) {
    .ets-hf__wrap {
        padding: 22px 14px 16px;
    }

    .ets-hf__cols {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ets-hf__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .ets-hf__legal {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ets-hf__soc {
        transition: none !important;
    }
}

/* Logo image support */
.ets-hf__logoMark--img {
    background: #ffffff;
}

    .ets-hf__logoMark--img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/*Login*/
/* ===== Optical-style Login (for shared layout) ===== */
:root {
    --blue-900: var(--ets-dark);
    --blue-700: var(--ets-dark);
    --ink: var(--ets-text);
    --muted: var(--ets-muted);
    --line: var(--ets-border);
    --card: var(--ets-bg);
    --shadow: 0 18px 50px rgba(15,42,51,.18);
    --radius: 10px;
}

/* page background */
.login-bg {
    min-height: calc(100vh - var(--layout-header-offset, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: var(--ets-bg);
}

.login-shell {
    width: min(980px, 100%);
    background: var(--ets-bg);
    border: 1px solid var(--ets-border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 30px 90px rgba(15,42,51,.18);
}

.login-panel {
    width: 100%;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 560px;
}

/* left image */
.login-hero {
    position: relative;
    background: var(--ets-dark);
    overflow: hidden;
    background-image: var(--login-img, url('../images/shared/logo.png'));
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

    .login-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(15,42,51,.5), rgba(15,42,51,.2) 55%, transparent);
    }

.login-hero__ring {
    display: none;
    position: relative;
    inset: 10% -18% 20% 10%;
    border-radius: 999px;
    border: 16px solid var(--ets-bg);
    background: rgba(255,255,255,.06);
    height: 400px;
    width: 400px;
}

/* right form */
.login-auth {
    padding: 56px 56px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    background: var(--ets-bg);
}

.login-hello {
    font-size: 26px;
    font-weight: 500;
    margin: 0;
    color: var(--ets-text);
}

.login-welcome {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--ets-text);
}

    .login-welcome .brand {
        color: var(--ets-dark);
    }

.login-sub {
    margin: 2px 0 8px;
    color: var(--ets-muted);
    font-size: 13px;
}

.login-valsum {
    margin: 0 0 10px;
    color: var(--ets-danger);
    font-size: 13px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.login-label {
    font-size: 11px;
    color: var(--ets-steel);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
}

.login-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 12px;
    gap: 10px;
    transition: border-color .18s ease, box-shadow .18s ease;
    background: var(--ets-surface);
}

    .login-input:focus-within {
        border-color: var(--ets-dark);
        box-shadow: 0 0 0 4px rgba(15,42,51,.12);
    }

    .login-input svg {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
        opacity: .7;
        color: var(--ets-steel);
    }

    .login-input input {
        border: 0;
        outline: 0;
        width: 100%;
        font-size: 14px;
        color: var(--ink);
        background: transparent;
    }

        .login-input input::placeholder {
            color: var(--ets-muted);
        }

.login-field .text-danger {
    color: var(--ets-danger);
    font-size: 12px;
}

.login-btn {
    margin-top: 10px;
    width: 100%;
    border: 0;
    cursor: pointer;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--ets-dark);
    color: #fff;
    box-shadow: 0 12px 22px rgba(15,42,51,.25);
}

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

.login-check input {
    width: 14px;
    height: 14px;
    accent-color: var(--ets-dark);
}

.login-links a {
    color: var(--ets-dark);
    text-decoration: none;
    font-weight: 700;
}

    .login-links a:hover {
        color: var(--ets-accent);
    }

.login-external {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

    .login-external h3 {
        margin: 0 0 10px;
        font-size: 13px;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--ets-steel);
    }

.login-btn-alt {
    border: 1px solid var(--line);
    background: var(--ets-surface);
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    color: var(--ets-text);
}

@media (max-width: 880px) {
    .login-panel {
        grid-template-columns: 1fr;
    }

    .login-hero {
        min-height: 260px;
    }

    .login-auth {
        padding: 40px 26px 30px;
    }
}
