/* ===================================================================
   DESCON - Formas Deslizantes
   Estilo: Monumental Industrial
   =================================================================== */

/* ----- CSS Variables ----- */
:root {
    --red: #fe2813;
    --red-dark: #c41f0f;
    --red-light: #ff6b5a;

    --navy: #0c0c1d;
    --navy-light: #1a1a2e;
    --charcoal: #111827;

    --concrete-100: #f5f5f0;
    --concrete-200: #e8e6df;
    --concrete-300: #d4d0c8;
    --concrete-400: #9c9890;

    --text-primary: #0a0a0a;
    --text-body: #2d2d2d;
    --text-muted: #6b7280;
    --text-on-dark: #e8e6df;

    --white: #ffffff;
    --amber: #d97706;

    --grain-opacity: 0.035;

    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --text-hero: clamp(3.5rem, 8vw, 7rem);
    --text-page-title: clamp(2.5rem, 5vw, 4.5rem);
    --text-section: clamp(2rem, 3.5vw, 3rem);
    --text-card-title: clamp(1.25rem, 2vw, 1.5rem);
    --text-body-size: clamp(1rem, 1.1vw, 1.125rem);
    --text-small: 0.875rem;
    --text-label: 0.75rem;

    --container: 1200px;
    --radius: 0px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: var(--text-body-size);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: 0.02em;
    font-weight: 400;
}

/* ----- Container ----- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ----- Grain Overlay ----- */
.grain { position: relative; }
.grain::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
    opacity: var(--grain-opacity);
    pointer-events: none;
    z-index: 1;
}

/* ===================================================================
   SITE HEADER (fixed wrapper for topbar + navbar)
   =================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1010;
}

/* ===================================================================
   TOP BAR
   =================================================================== */
.topbar {
    background: var(--navy);
    padding: 0.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--concrete-400);
    overflow: hidden;
    max-height: 40px;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}
.site-header--scrolled .topbar {
    max-height: 0;
    padding: 0;
    opacity: 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar__left { display: flex; gap: 1.5rem; align-items: center; }
.topbar__item { display: flex; align-items: center; gap: 0.4rem; color: var(--concrete-400); }
.topbar__item:hover { color: var(--white); }
.topbar__item i { color: var(--red); font-size: 0.7rem; }
.topbar__right { display: flex; gap: 1rem; }
.topbar__social { color: var(--concrete-400); font-size: 0.9rem; }
.topbar__social:hover { color: var(--white); }

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.lang-selector__flag {
    display: flex;
    align-items: center;
    opacity: 0.45;
    transition: opacity 0.2s ease;
    border-radius: 2px;
    overflow: hidden;
    line-height: 0;
}
.lang-selector__flag:hover,
.lang-selector__flag--active {
    opacity: 1;
}
.lang-selector__flag img {
    display: block;
}

/* ===================================================================
   NAVBAR
   =================================================================== */
.navbar {
    padding: 1rem 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    background: transparent;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.site-header--scrolled .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
    padding: 0.6rem 0;
}
.navbar__logo-img { height: 50px; width: auto; transition: height var(--transition); }
.site-header--scrolled .navbar__logo-img { height: 40px; }

.navbar__menu { display: none; }
.navbar__list { display: flex; align-items: center; gap: 0.25rem; }
.navbar__link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    padding: 0.5rem 1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.site-header--scrolled .navbar__link { color: var(--text-primary); }
.navbar__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.navbar__link:hover::after,
.navbar__link--active::after { transform: scaleX(1); }
.navbar__link--cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    margin-left: 0.5rem;
}
.navbar__link--cta::after { display: none; }
.navbar__link--cta:hover { background: var(--red-dark); }
.navbar__chevron { font-size: 0.6rem; margin-left: 0.3rem; }

/* Dropdown */
.navbar__item--dropdown { position: relative; }
.navbar__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    padding: 0.5rem 0;
}
.navbar__dropdown--open { opacity: 1; visibility: visible; transform: translateY(0); }
.navbar__dropdown li a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    border-left: 3px solid transparent;
    transition: all var(--transition);
}
.navbar__dropdown li a:hover {
    background: var(--concrete-100);
    border-left-color: var(--red);
    color: var(--red);
}

/* Hamburger */
.navbar__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}
.navbar__hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}
.site-header--scrolled .navbar__hamburger span { background: var(--text-primary); }
.navbar__hamburger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger--active span:nth-child(2) { opacity: 0; }
.navbar__hamburger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar__hamburger--active span { background: var(--white) !important; }

/* ===================================================================
   MOBILE MENU
   =================================================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.mobile-menu--open { opacity: 1; visibility: visible; }
.mobile-menu__nav { text-align: center; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu__link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.mobile-menu--open .mobile-menu__link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu--open .mobile-menu__list > li:nth-child(1) .mobile-menu__link { transition-delay: 0.1s; }
.mobile-menu--open .mobile-menu__list > li:nth-child(2) .mobile-menu__link { transition-delay: 0.15s; }
.mobile-menu--open .mobile-menu__list > li:nth-child(3) .mobile-menu__link { transition-delay: 0.2s; }
.mobile-menu--open .mobile-menu__list > li:nth-child(4) .mobile-menu__link { transition-delay: 0.25s; }
.mobile-menu--open .mobile-menu__list > li:nth-child(5) .mobile-menu__link { transition-delay: 0.3s; }
.mobile-menu--open .mobile-menu__list > li:nth-child(6) .mobile-menu__link { transition-delay: 0.35s; }
.mobile-menu__link:hover { color: var(--red); }

/* Mobile Submenu Toggle */
.mobile-menu__toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
}
.mobile-menu__chevron {
    font-size: 0.5em;
    transition: transform 0.3s ease;
    display: inline-block;
}
.mobile-menu__toggle[aria-expanded="true"] .mobile-menu__chevron {
    transform: rotate(180deg);
}

/* Mobile Submenu (accordion) */
.mobile-menu__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu__sub--open {
    max-height: 300px;
    opacity: 1;
}
.mobile-menu__sub li {
    padding: 0.35rem 0;
}
.mobile-menu__sub a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--concrete-400);
    transition: color 0.2s ease;
    position: relative;
    padding-left: 1rem;
}
.mobile-menu__sub a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--red);
}
.mobile-menu__sub a:hover { color: var(--red); }
.mobile-menu__contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-menu__contact a {
    color: var(--concrete-400);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}
.mobile-menu__contact a:hover { color: var(--red); }
.mobile-menu__contact i { margin-right: 0.5rem; color: var(--red); }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    padding: 0.9rem 2.5rem;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}
.btn--red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--red); }
.btn--outline-dark { background: transparent; color: var(--text-primary); border-color: var(--text-primary); }
.btn--outline-dark:hover { background: var(--text-primary); color: var(--white); }

/* ===================================================================
   SECTION UTILITIES
   =================================================================== */
.section { padding: 6rem 0; }
.section--dark { background: var(--navy); color: var(--text-on-dark); }
.section--concrete { background: var(--concrete-100); }
.section--white { background: var(--white); }

.mono-label {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red);
    font-weight: 400;
    display: inline-block;
    margin-bottom: 1rem;
}
.section-title {
    font-size: var(--text-section);
    margin-bottom: 1rem;
}
.section-title--white { color: var(--white); }
.section-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--red);
    margin-bottom: 2rem;
}
.section-line--center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 110px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(320deg,rgba(254, 40, 19, 0.4) 17%, rgba(12, 12, 29, 0.8) 54%);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero__label {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--concrete-300);
    margin-bottom: 1.5rem;
    display: block;
}
.hero__title {
    font-size: var(--text-hero);
    color: var(--white);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    white-space: nowrap;
}
.hero__title span { color: var(--red); }
@media (max-width: 639px) {
    .hero__title { white-space: normal; }
}
.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--concrete-300);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 400;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.hero__scroll-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--concrete-400);
    writing-mode: vertical-rl;
}
.hero__scroll-line {
    width: 2px;
    height: 40px;
    background: var(--red);
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* Page Hero (inner pages) */
.page-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 140px;
    padding-bottom: 3rem;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(12,12,29,0.85) 0%, rgba(12,12,29,0.7) 100%);
}
.page-hero__content { position: relative; z-index: 2; }
.page-hero__title {
    font-size: var(--text-page-title);
    color: var(--white);
    margin-bottom: 0.75rem;
}
.page-hero__subtitle {
    font-family: var(--font-body);
    color: var(--concrete-300);
    font-size: 1.1rem;
}
.breadcrumb {
    font-family: var(--font-mono);
    font-size: var(--text-label);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--concrete-400);
    margin-bottom: 1rem;
}
.breadcrumb a { color: var(--concrete-400); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--red); margin: 0 0.5rem; }

/* ===================================================================
   SERVICE CARDS
   =================================================================== */
.service-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 30px; }
.service-card {
    background: var(--white);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    border-bottom: 3px solid var(--concrete-300);
}
.service-card:hover { transform: translateY(-8px); border-bottom-color: var(--red); box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.service-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.08); }
.service-card__body { padding: 2rem; position: relative; }
.service-card__number {
    margin-top: 20px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--text-primary);
    opacity: 0.05;
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    line-height: 1;
}
.service-card__title {
    font-size: var(--text-card-title);
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.service-card__text { color: var(--text-muted); font-size: var(--text-small); line-height: 1.6; margin-bottom: 1.25rem; }
.service-card__link {
    font-weight: 600;
    font-size: var(--text-small);
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}
.service-card__link::after {
    content: ' \2192';
    transition: transform var(--transition);
    display: inline-block;
}
.service-card__link:hover::after { transform: translateX(4px); }

/* ===================================================================
   ABOUT SECTION
   =================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.about-img { position: relative; }
.about-img img { position: relative; z-index: 2; width: 100%;}
.about-img::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--red);
    z-index: 1;
}

/* ===================================================================
   STATS SECTION
   =================================================================== */
.stats {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.stats__overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 29, 0.92);
}
.stats__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    text-align: center;
}
.stat__number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--white);
    line-height: 1;
}
.stat__number .stat__plus { color: var(--red); }
.stat__line {
    display: block;
    width: 40px;
    height: 3px;
    background: var(--red);
    margin: 1rem auto;
}
.stat__label {
    font-family: var(--font-body);
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--concrete-400);
    font-weight: 500;
}

/* ===================================================================
   MARQUEE
   =================================================================== */
.marquee { overflow: hidden; padding: 1.5rem 0; }
.marquee__track {
    display: flex;
    width: max-content;
    gap: 0;
}
.marquee__track--left { animation: marqueeLeft 80s linear infinite; }
.marquee__track--right { animation: marqueeRight 80s linear infinite; }
@keyframes marqueeLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes marqueeRight {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}
.marquee__item {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-muted);
    white-space: nowrap;
    padding: 0 0.5rem;
}
.marquee__dot {
    color: var(--red);
    padding: 0 0.75rem;
    font-weight: 400;
}

/* ===================================================================
   VIDEO LAZY
   =================================================================== */
.video-lazy {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--charcoal);
    overflow: hidden;
    cursor: pointer;
}
.video-lazy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.video-lazy:hover img { transform: scale(1.05); }
.video-lazy__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.video-lazy:hover .video-lazy__play { background: var(--red-dark); transform: translate(-50%, -50%) scale(1.1); }
.video-lazy__play i { color: var(--white); font-size: 1.5rem; margin-left: 3px; }

/* ===================================================================
   CLIENT CAROUSEL
   =================================================================== */
.swiper-clients .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.swiper-clients .swiper-slide img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition);
}
.swiper-clients .swiper-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================================================
   CLIENT GRID
   =================================================================== */
.client-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.client-card {
    background: var(--white);
    border: 1px solid var(--concrete-200);
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: all var(--transition);
    gap: 0.75rem;
}
.client-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transform: translateY(-4px);
    border-color: var(--red);
}
.client-card img {
    max-height: 55px;
    max-width: 140px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition);
    flex-shrink: 0;
}
.client-card:hover img { filter: grayscale(0%); opacity: 1; }

/* ===================================================================
   PORTFOLIO
   =================================================================== */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.portfolio-filter a {
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--concrete-300);
    color: var(--text-muted);
    transition: all var(--transition);
}
.portfolio-filter a:hover,
.portfolio-filter a.active { background: var(--red); border-color: var(--red); color: var(--white); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.portfolio__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: opacity 0.3s, transform 0.3s;
}
.portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio__item:hover img { transform: scale(1.08); }
.portfolio__overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 29, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.portfolio__item:hover .portfolio__overlay { opacity: 1; }
.portfolio__overlay i { color: var(--white); font-size: 1.5rem; margin-bottom: 0.75rem; }
.portfolio__overlay span { color: var(--white); font-size: var(--text-small); font-weight: 600; text-align: center; padding: 0 1rem; }

/* ===================================================================
   TIMELINE
   =================================================================== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
}
.timeline__item { position: relative; padding-bottom: 3rem; padding-left: 2rem; }
.timeline__item::before {
    content: '';
    position: absolute;
    left: -2.55rem;
    top: 0.25rem;
    width: 14px;
    height: 14px;
    background: var(--red);
    border: 3px solid var(--white);
    border-radius: 50%;
}
.timeline__year {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 0.5rem;
}
.timeline__text { color: var(--text-body); line-height: 1.7; }

/* ===================================================================
   ZIGZAG (Services Hub)
   =================================================================== */
.zigzag { display: grid; grid-template-columns: 1fr; gap: 4rem; }
.zigzag__block { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.zigzag__img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.zigzag__img img { width: 100%; height: 100%; object-fit: cover; }
.zigzag__number {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--red);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -1rem;
}
.zigzag__title { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1rem; }
.zigzag__text { color: var(--text-body); margin-bottom: 1.5rem; line-height: 1.7; }

/* ===================================================================
   FEATURE CARDS (Why Descon)
   =================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.feature-card {
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--concrete-200);
    transition: all var(--transition);
    text-align: center;
}
.feature-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 15px 50px rgba(0,0,0,0.06); }
.feature-card__icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 1rem;
}
.feature-card__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.feature-card__text { color: var(--text-muted); font-size: var(--text-small); line-height: 1.6; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-intro {
    font-size: var(--text-body-size);
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-left: 3px solid var(--red);
    background: var(--concrete-100);
    transition: all var(--transition);
}
.contact-card:hover { transform: translateX(4px); box-shadow: 0 5px 20px rgba(0,0,0,0.04); }
.contact-card__icon { color: var(--red); font-size: 1.25rem; margin-top: 0.2rem; flex-shrink: 0; }
.contact-card__icon i { color: var(--red); }
.contact-card__body h4 {
    font-weight: 700;
    font-size: var(--text-small);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}
.contact-card__body p { color: var(--text-body); font-size: var(--text-body-size); line-height: 1.6; }
.contact-card__body a { color: var(--text-body); }
.contact-card__body a:hover { color: var(--red); }

/* Contact Form */
.contact-form-wrap .section-title { margin-top: 0.5rem; }
.contact-form { margin-top: 2rem; }
.form-group {
    position: relative;
    margin-bottom: 2rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--concrete-300);
    outline: none;
    transition: border-color var(--transition);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group label {
    position: absolute;
    left: 0;
    top: 0.9rem;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.25s ease;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.75rem;
    font-size: var(--text-label);
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
/* Use placeholder trick for label float */
.form-group input::placeholder,
.form-group textarea::placeholder { color: transparent; }
.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width var(--transition);
}
.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line { width: 100%; }
.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: var(--text-small);
    font-weight: 500;
}
.form-message--success { background: #ecfdf5; color: #065f46; border-left: 3px solid #10b981; }
.form-message--error { background: #fef2f2; color: #991b1b; border-left: 3px solid var(--red); }
.btn--full { width: 100%; text-align: center; }

/* Map */
.map-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
}
.map-container:hover iframe { filter: grayscale(0%); }

/* ===================================================================
   VIDEO GRID
   =================================================================== */
.video-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.video-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all var(--transition);
}
.video-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.video-card__embed {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    background: var(--charcoal);
}
.video-card__embed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.video-card__embed:hover img { transform: scale(1.05); }
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--red);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}
.video-play-btn i { color: var(--white); font-size: 1.5rem; margin-left: 3px; }
.video-card__embed:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.2); }
.video-lazy--playing .video-play-btn { display: none; }
.video-card__info { padding: 1.25rem 1.5rem; }
.video-card__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}
.video-card__desc { color: var(--text-muted); font-size: var(--text-small); }

/* ===================================================================
   APPLICATIONS LIST
   =================================================================== */
.app-list { list-style: none; }
.app-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-weight: 500;
    border-bottom: 1px solid var(--concrete-200);
}
.app-list li i { color: var(--red); font-size: 1rem; flex-shrink: 0; }

/* ===================================================================
   CTA BAND
   =================================================================== */
.cta-band {
    background: linear-gradient(90deg, var(--red), var(--red-dark));
    padding: 3.5rem 0;
}
.cta-band--service {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band__title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--white);
}
.cta-band__text {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-top: 0.25rem;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
    background: var(--navy);
    padding: 4rem 0 0;
    color: var(--text-on-dark);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(156, 152, 144, 0.15);
    position: relative;
    z-index: 2;
}
.footer__logo { height: 45px; width: auto; margin-bottom: 1rem; }
.footer__tagline { font-size: var(--text-small); color: var(--concrete-400); line-height: 1.6; margin-bottom: 1rem; }
.footer__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 0.3rem 0.75rem;
}
.footer__heading {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
    color: var(--concrete-400);
    font-size: var(--text-small);
    transition: all var(--transition);
}
.footer__links a:hover { color: var(--red); padding-left: 4px; }
.footer__contact { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--text-small);
    color: var(--concrete-400);
}
.footer__contact li i { color: var(--red); margin-top: 0.2rem; width: 16px; flex-shrink: 0; }
.footer__contact a { color: var(--concrete-400); }
.footer__contact a:hover { color: var(--red); }
.footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer__social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(156, 152, 144, 0.3);
    color: var(--concrete-400);
    font-size: 1.1rem;
    transition: all var(--transition);
}
.footer__social-link:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.subfooter {
    padding: 1.25rem 0;
    position: relative;
    z-index: 2;
}
.subfooter p {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--concrete-400);
    letter-spacing: 0.05em;
    text-align: center;
}

/* ===================================================================
   WHATSAPP FLOAT
   =================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 999;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-float__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsappPulse 3s infinite;
    pointer-events: none;
}
@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* ===================================================================
   SCROLL TO TOP
   =================================================================== */
.scroll-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    font-size: 0.9rem;
}
.scroll-top--visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--red); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (min-width: 640px) {
    .service-cards { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(3, 1fr); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
    .client-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 2fr 3fr; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .zigzag__block { grid-template-columns: 1fr 1fr; }
    .zigzag__block:nth-child(even) .zigzag__img { order: 2; }
    .zigzag__block:nth-child(even) .zigzag__content { order: 1; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .topbar__item--hide-mobile { display: flex; }
    .navbar__menu { display: block; }
    .navbar__hamburger { display: none; }
    .service-cards { grid-template-columns: repeat(3, 1fr); }
    .stats__grid { grid-template-columns: repeat(5, 1fr); }
    .client-grid { grid-template-columns: repeat(4, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
    .feature-grid { grid-template-columns: repeat(4, 1fr); }
    .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; }
    .timeline { padding-left: 3rem; }
    .timeline__item { padding-left: 3rem; }
}

@media (max-width: 1023px) {
    .topbar__item--hide-mobile { display: none; }
}

@media (max-width: 639px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .cta-band .container { flex-direction: column; text-align: center; }
    .stats__grid { gap: 2rem; }
    .feature-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   ANIMATIONS (Stagger for hero)
   =================================================================== */
.hero [data-aos] { opacity: 0; }
.stagger-1 { animation-delay: 0s; }
.stagger-2 { animation-delay: 0.15s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.45s; }
.stagger-5 { animation-delay: 0.6s; }

/* Service detail page content */
.service-content { line-height: 1.8; }
.service-content p { margin-bottom: 1rem; }
.service-content h4 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.service-img-break {
    margin: 2.5rem 0;
    overflow: hidden;
}
.service-img-break img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ===================================================================
   SECTION SUBTITLE
   =================================================================== */
.section-subtitle {
    max-width: 680px;
    margin: 1rem auto 0;
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===================================================================
   LOGO STRIP (Credibility bar)
   =================================================================== */
.logo-strip { padding: 1.5rem 0; }
.logo-strip .swiper-wrapper {
    transition-timing-function: linear !important;
}
.logo-strip .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}
.logo-strip .swiper-slide img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition);
}
.logo-strip .swiper-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================================================
   SEGMENTS GRID
   =================================================================== */
.segments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}
.segment-card {
    background: var(--white);
    border: 1px solid var(--concrete-200);
    overflow: hidden;
    transition: all var(--transition);
}
.segment-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.segment-card__img {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.segment-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.segment-card:hover .segment-card__img img {
    transform: scale(1.05);
}
.segment-card__icon-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 44px;
    height: 44px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    z-index: 2;
}
.segment-card__body {
    padding: 1.5rem;
}
.segment-card__subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
}
.segment-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    margin: 0.25rem 0 0.5rem;
}
.segment-card__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
}

@media (min-width: 640px) {
    .segments-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .segments-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===================================================================
   CTA FINAL SECTION
   =================================================================== */
.cta-final { text-align: center; }
.cta-final__text {
    max-width: 640px;
    margin: 1.5rem auto 2rem;
    color: var(--concrete-300);
    font-size: 1.05rem;
    line-height: 1.7;
}
.cta-final__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================================================
   CLIENT CARD NAME
   =================================================================== */
.client-card__name {
    display: block;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    line-height: 1.3;
}
