/* ========================================
   ATLAS HOME - Based on Charle.co.uk
   ======================================== */

/* Fonts */
@font-face {
    font-family: "Season Sans";
    src: url("./fonts/SeasonSans-Medium.woff2") format("woff2"), url("./fonts/SeasonSans-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Season Sans";
    src: url("./fonts/SeasonSans-Regular.woff2") format("woff2"), url("./fonts/SeasonSans-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Season Serif";
    src: url("./fonts/SeasonSerif-Medium.woff2") format("woff2"), url("./fonts/SeasonSerif-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Season Serif";
    src: url("./fonts/SeasonSerif-Regular.woff2") format("woff2"), url("./fonts/SeasonSerif-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --offset: 0;
    --gap: clamp(10px, 7.35vw, 80px);
    --gutter: 2rem;
    --power-1-out: linear(0 0%, 0.0027 3.64%, 0.0106 7.29%, 0.0425 14.58%, 0.0957 21.87%, 0.1701 29.16%, 0.2477 35.19%, 0.3401 41.23%, 0.5982 55.18%, 0.7044 61.56%, 0.7987 68.28%, 0.875 75%, 0.9297 81.25%, 0.9687 87.5%, 0.9922 93.75%, 1 100%);
    --power-2-out: linear(0 0%, 0.0036 9.62%, 0.0185 16.66%, 0.0489 23.03%, 0.0962 28.86%, 0.1705 34.93%, 0.269 40.66%, 0.3867 45.89%, 0.5833 52.95%, 0.683 57.05%, 0.7829 62.14%, 0.8621 67.46%, 0.8991 70.68%, 0.9299 74.03%, 0.9545 77.52%, 0.9735 81.21%, 0.9865 85%, 0.9949 89.15%, 1 100%);
    --sine: linear(0 0%, 0.2861 18.47%, 0.4829 32.08%, 0.6437 44.52%, 0.7712 56.07%, 0.8722 67.47%, 0.9115 73.02%, 0.9434 78.49%, 0.9682 83.91%, 0.9859 89.3%, 0.9965 94.66%, 1 100%);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body, div, section, header, footer, nav, a, p, h1, h2, h3, h4, span, img, video, button, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Season Sans", sans-serif;
    font-size: 16px;
    background-color: black;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 93px !important;
    overflow-x: hidden;
    width: 100vw;
    line-height: 1;
}

@media screen and (min-width: 1024px) {
    body {
        padding-top: 106px !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

/* ========================================
   HEADER - Charle Style
   ======================================== */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1200px;
    z-index: 1000;
    margin: 0 auto;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    overflow: hidden;
}

@media screen and (min-width: 1024px) {
    .header {
        padding: 1.25rem 1.5rem;
        border-radius: 9999px;
        overflow: visible;
    }
}

.header.filled {
    background: #1a1b1e;
}

@media screen and (min-width: 1024px) {
    .header.filled {
        background: rgba(26, 26, 26, 0.8);
    }
}

.header__inner {
    display: grid;
    grid-template-columns: 1fr min-content;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1.25rem 1.5rem;
}

@media screen and (min-width: 1024px) {
    .header__inner {
        grid-template-columns: 180px auto 180px;
        padding: 0;
    }
}

.header__brand {
    display: flex;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .header__brand {
        width: 180px;
    }
}

.header__logo {
    justify-self: start;
    display: block;
    color: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__logo:hover {
    opacity: 0.8;
}

.header__logo img {
    height: 36px;
    width: auto;
}

@media screen and (max-width: 768px) {
    .header__logo img {
        height: 32px;
    }
}

/* Navigation */
.navigation {
    display: none;
    width: 500px;
    justify-content: center;
    margin: -33px 0;
}

@media (min-width: 1024px) {
    .navigation {
        display: flex;
    }
}

.navigation__list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navigation__item {
    position: relative;
    padding: 33px 0;
}

.navigation__link {
    display: block;
    color: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.navigation__link:hover,
.navigation__item:hover > .navigation__link {
    opacity: 0.6;
}

.navigation__badge {
    position: absolute;
    bottom: calc(65%);
    right: 0;
    padding: 0.125rem 0.5rem;
    background: white;
    font-family: "Season Serif", serif;
    font-size: 10px;
    color: black;
    line-height: 1;
    transform: translateX(50%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px;
}

.navigation__item:hover .navigation__badge {
    transform: translateX(50%) translateY(-2px);
}

/* Dropdown */
.nav-dropdown {
    position: fixed;
    left: 50%;
    top: 80px;
    transform: translateX(-50%) translateY(20px);
    width: 100vw;
    background: #1a1b1e;
    border-radius: 50px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.nav-services.nav-dropdown {
    max-width: 600px;
}

.nav-solutions.nav-dropdown {
    max-width: 400px;
}

.nav-migrations.nav-dropdown {
    max-width: 600px;
}

.nav-migrations .nav-dropdown__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
    gap: 1rem;
}

.nav-sectors.nav-dropdown {
    max-width: 600px;
}

.nav-sectors .nav-dropdown__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
    gap: 1rem;
}

.nav-solutions .nav-dropdown__inner {
    padding: 2rem;
}

.navigation__item:hover .nav-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown:before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #1a1b1e;
}

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

.nav-dropdown__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    list-style: none;
}

.nav-dropdown__link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-dropdown__link:hover {
    opacity: 0.6;
}

.nav-dropdown__link-title {
    font-size: 1rem;
    line-height: 1.375;
    color: white;
}

.nav-dropdown__link-description {
    font-size: 0.9375rem;
    line-height: 1.375;
    color: #a1a1a1;
}

.nav-dropdown__item--header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a04ff4;
    margin-bottom: -0.5rem;
}

.nav-dropdown__item--featured .nav-dropdown__link {
    display: inline-flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(160, 79, 244, 0.15) 0%, rgba(29, 229, 226, 0.15) 100%);
    border: 1px solid rgba(160, 79, 244, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.nav-dropdown__item--featured .nav-dropdown__link-title {
    background: linear-gradient(135deg, #a04ff4 0%, #1de5e2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-dropdown__item--featured .nav-dropdown__link:hover {
    background: linear-gradient(135deg, rgba(160, 79, 244, 0.25) 0%, rgba(29, 229, 226, 0.25) 100%);
    border-color: rgba(160, 79, 244, 0.5);
}

.nav-dropdown__cta {
    display: flex;
    gap: 2rem;
    background: black;
    padding: 1.5rem 2rem;
    border-radius: 0 0 50px 50px;
}

.nav-dropdown__cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.nav-dropdown__cta-title {
    font-size: 1rem;
    line-height: 1.375;
    color: white;
}

.nav-dropdown__cta-description {
    font-size: 0.9375rem;
    line-height: 1.4;
    color: #a1a1a1;
}

/* Header Buttons */
.header__buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

@media screen and (min-width: 1024px) {
    .header__buttons {
        width: 180px;
    }
}

.header__get-in-touch {
    justify-self: end;
    display: none;
}

@media (min-width: 1024px) {
    .header__get-in-touch {
        display: block;
    }
}

.header__mobile-menu-trigger {
    display: block;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
    .header__mobile-menu-trigger {
        display: none;
    }
}

.header__mobile-menu-trigger:hover {
    opacity: 0.8;
}

.header__mobile-menu-trigger svg:last-child {
    display: none;
}

.header.menu-open .header__mobile-menu-trigger svg:first-child {
    display: none;
}

.header.menu-open .header__mobile-menu-trigger svg:last-child {
    display: block;
}

/* Mobile Navigation */
.mobile-navigation {
    height: 0;
    transition: height 0.5s ease;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .mobile-navigation {
        display: none !important;
    }
}

.header.menu-open .mobile-navigation {
    height: calc(100dvh - 93px);
}

.mobile-navigation__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100dvh - 93px);
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-navigation__list {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    list-style: none;
}

.mobile-navigation__link {
    position: relative;
    padding: 0;
    font-family: "Season Sans", sans-serif;
    font-size: 2.215rem;
    line-height: 1.5;
    color: white;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-navigation__link:hover {
    opacity: 0.6;
}

.mobile-navigation__badge {
    position: absolute;
    bottom: calc(75%);
    right: 0;
    padding: 0.125rem 0.5rem;
    background: white;
    font-family: "Season Serif", serif;
    font-size: 10px;
    color: black;
    line-height: 1;
    transform: translateX(75%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px;
}

.mobile-navigation__cta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.25rem 1.25rem;
    background: black;
    border-radius: 0 0 20px 20px;
}

.mobile-navigation__cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.mobile-navigation__cta-title {
    font-size: 1rem;
    line-height: 1.375;
    color: white;
}

.mobile-navigation__cta-description {
    font-size: 0.9375rem;
    line-height: 1.4;
    color: #a1a1a1;
}

/* Mobile Submenu */
.mobile-submenu {
    z-index: 10;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #1a1b1e;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-submenu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.mobile-submenu__title {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
}

.mobile-submenu__title-text {
    font-size: 2.215rem;
    line-height: 1.5;
    color: white;
    text-decoration: none;
}

.mobile-submenu__title-badge {
    position: absolute;
    bottom: calc(75%);
    right: 0;
    padding: 0.125rem 0.5rem;
    background: white;
    font-family: "Season Serif", serif;
    font-size: 10px;
    color: black;
    line-height: 1;
    transform: translateX(75%);
    border-radius: 9999px;
}

.mobile-submenu__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.mobile-submenu__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1.5rem 2.5rem;
    list-style: none;
}

.mobile-submenu__link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-submenu__link:hover {
    opacity: 0.6;
}

.mobile-submenu__link-title {
    font-size: 1rem;
    line-height: 1.375;
    color: white;
}

.mobile-submenu__link-description {
    font-size: 0.9375rem;
    line-height: 1.375;
    color: #a1a1a1;
}

.mobile-submenu__section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a04ff4;
    padding: 0 1.5rem;
    margin-top: 1rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    position: relative;
    padding: 0.75rem 1.5rem;
    font-family: "Season Serif", serif;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px;
    border: none;
    cursor: pointer;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-arrow svg {
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-white {
    background: white;
    color: black;
}

.btn-black {
    background: black;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn:hover {
    opacity: 0.8;
}

.btn-arrow:hover svg {
    transform: translateX(3px);
}

/* ========================================
   HERO TEXT SECTION
   ======================================== */
.hero-text {
    padding: 0 2rem;
    padding-top: 150px;
}

.hero-text__inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    align-items: flex-end;
    padding-top: 10rem;
}

@media (min-width: 1024px) {
    .hero-text__inner {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }
}

.hero-text__left {
    display: flex;
    flex-direction: column;
    grid-column: span 12 / span 12;
    align-self: flex-start;
}

@media screen and (min-width: 768px) {
    .hero-text__left {
        grid-column: span 7 / span 7;
    }
}

@media (min-width: 1024px) {
    .hero-text__left {
        grid-column: span 6 / span 6;
    }
}

.hero-text__subtitle {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-text__title {
    margin-bottom: 2rem;
    font-size: clamp(40px, 5vw, 70px);
    font-weight: 400;
    line-height: 1.2;
    color: white;
}

/* Hero Gradient */
.hero-text__gradient {
    position: absolute;
    top: 80px;
    left: 50%;
    width: 60%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(0, 233, 228, 0.18) 0%, rgba(160, 79, 244, 0.2) 100%);
    filter: blur(100px);
    pointer-events: none;
    animation: heroGradientRotate 20s linear infinite;
}

@keyframes heroGradientRotate {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* Hero Form */
.hero-text__form {
    width: 100%;
    margin-bottom: 2rem;
    min-height: 350px;
}

.hero-text__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-column: span 12 / span 12;
}

@media screen and (min-width: 768px) {
    .hero-text__right {
        grid-column: span 7 / span 7;
    }
}

@media (min-width: 1024px) {
    .hero-text__right {
        grid-column: span 5 / span 5;
        grid-column-start: 8;
    }
}

@media (min-width: 1280px) {
    .hero-text__right {
        grid-column: span 4 / span 4;
        grid-column-start: 9;
    }
}

.hero-text__description {
    margin-bottom: 3rem;
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.375;
    color: white;
}

.hero-text__description a {
    color: inherit;
    text-decoration: none;
}

.hero-text__badge,
.hero-text__badges {
    margin-top: 2rem;
}

.hero-text__badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-text__badge img,
.hero-text__badges img {
    height: 70px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.hero-text__badge img:hover,
.hero-text__badges img:hover {
    opacity: 1;
}

/* Hear From Button */
.hear-from-btn {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.625rem 1.5rem 0.625rem 0.625rem;
    background: #151515;
    color: white;
    gap: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    align-self: flex-start;
}

.hear-from-btn:hover {
    background: #252525;
}

.hear-from-btn-image {
    position: relative;
    width: 3rem;
    aspect-ratio: 1;
    background-color: #333;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hear-from-btn-image img {
    width: 60%;
    height: auto;
    object-fit: contain;
}

.hear-from-btn-text {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 400;
    text-align: left;
}

.hear-from-btn-arrow {
    width: 0.75rem;
    transition: all 0.3s ease-in-out;
}

.hear-from-btn:hover .hear-from-btn-arrow {
    transform: translateX(3px);
}

/* ========================================
   HERO GALLERY SECTION
   ======================================== */
.hero-gallery {
    position: relative;
    padding: 0;
    max-width: 100%;
    --gap: 30px;
    --gutter: 2rem;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-gallery {
        min-height: 220vh;
        view-timeline: --runner;
    }
}

.hero-gallery__inner {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    place-items: center;
    align-content: center;
    position: sticky;
    top: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-gallery__inner {
        height: 1200px;
    }
}

/* ===========================================
   HERO GALLERY GRID
   Mobile: 3 cols con animación video
   Desktop: 5 cols con animación video
   =========================================== */
.hero-gallery__grid {
    --offset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: var(--gap);
    width: 1600px;
    max-width: calc(100% - (2 * var(--gutter)));
    margin: 0 auto;
    align-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

@media (min-width: 768px) {
    .hero-gallery__grid {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(3, auto);
    }
}

@media (min-width: 1024px) {
    .hero-gallery__grid {
        padding-top: 30px;
    }
}

.hero-gallery__layer {
    display: none;
}

.hero-gallery__grid > .hero-gallery__layer {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-gallery__grid .hero-gallery__layer {
        animation-name: fade, reveal;
        animation-fill-mode: both;
        animation-timeline: --runner, --runner;
        animation-timing-function: var(--sine), var(--power-1-out);
        animation-range: entry 100% exit 0%;
    }

    .hero-gallery__grid .hero-gallery__layer:nth-of-type(2) {
        animation-range: entry 100% exit -10%;
    }

    .hero-gallery__grid .hero-gallery__layer:nth-of-type(3) {
        animation-range: entry 100% exit -20%;
    }
}

.hero-gallery__item {
    display: block;
    position: relative;
    pointer-events: auto;
    overflow: hidden;
}

/* ===========================================
   MOBILE: 3 columnas x 5 filas - todos los items
   Layer 1 (6 items): cols 1 y 3, filas 1-3
   Layer 2 (6 items): col 2, filas 1-3 + cols 1,3 filas 4-5
   Layer 3 (2 items): col 2, filas 4-5
   Video: col 2, fila 3
   =========================================== */
/* Layer 1: columnas 1 y 3, filas 1-3 */
.hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(3) { grid-column: 1; grid-row: 2; }
.hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(4) { grid-column: 3; grid-row: 2; }
.hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(5) { grid-column: 1; grid-row: 3; }
.hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(6) { grid-column: 3; grid-row: 3; }

/* Layer 2: col 2 filas 1-2, luego cols 1,3 filas 4-5 */
.hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(1) { grid-column: 2; grid-row: 1; }
.hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(2) { grid-column: 2; grid-row: 2; }
.hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(3) { grid-column: 1; grid-row: 4; }
.hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(4) { grid-column: 3; grid-row: 4; }
.hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(5) { grid-column: 1; grid-row: 5; }
.hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(6) { grid-column: 3; grid-row: 5; }

/* Layer 3: col 2, filas 4-5 */
.hero-gallery__grid > div:nth-of-type(3) a:nth-of-type(1) { grid-column: 2; grid-row: 4; }
.hero-gallery__grid > div:nth-of-type(3) a:nth-of-type(2) { grid-column: 2; grid-row: 5; }

/* ===========================================
   DESKTOP: 5 columnas x 3 filas - layout original
   =========================================== */
@media (min-width: 768px) {
    /* Layer 1: columnas 1 y 5 */
    .hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(1) { grid-column: 1; grid-row: 1; }
    .hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(2) { grid-column: 5; grid-row: 1; }
    .hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(3) { grid-column: 1; grid-row: 2; }
    .hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(4) { grid-column: 5; grid-row: 2; }
    .hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(5) { grid-column: 1; grid-row: 3; }
    .hero-gallery__grid > div:nth-of-type(1) a:nth-of-type(6) { grid-column: 5; grid-row: 3; }

    /* Layer 2: columnas 2 y 4 */
    .hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(1) { grid-column: 2; grid-row: 1; }
    .hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(2) { grid-column: 4; grid-row: 1; }
    .hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(3) { grid-column: 2; grid-row: 2; }
    .hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(4) { grid-column: 4; grid-row: 2; }
    .hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(5) { grid-column: 2; grid-row: 3; }
    .hero-gallery__grid > div:nth-of-type(2) a:nth-of-type(6) { grid-column: 4; grid-row: 3; }

    /* Layer 3: columna 3 centro */
    .hero-gallery__grid > div:nth-of-type(3) a:nth-of-type(1) { grid-column: 3; grid-row: 1; }
    .hero-gallery__grid > div:nth-of-type(3) a:nth-of-type(2) { grid-column: 3; grid-row: 3; }
}

.hero-gallery__grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 1rem;
}

.hero-gallery__item-hover {
    position: absolute;
    inset: 0;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    align-items: flex-end;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    border-radius: 1rem;
}

.hero-gallery__item-content {
    display: flex;
    align-items: flex-end;
    width: 100%;
    gap: 1rem;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.hero-gallery__item-content p {
    flex: 1;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.2;
    color: white;
}

.hero-gallery__item-content svg {
    flex-shrink: 0;
}

/* Main Video */
.hero-gallery__main-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: visible;
    grid-column: 2;
    grid-row: 3;
}

@media (min-width: 768px) {
    .hero-gallery__main-image {
        grid-area: 2 / calc(3 + var(--offset));
    }
}

.hero-gallery__main-image video {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    object-fit: cover;
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    max-width: none;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-gallery__main-image video {
        animation-name: scale-x, scale-y-mobile;
        animation-fill-mode: both;
        animation-timing-function: var(--power-2-out), var(--power-1-out);
        animation-timeline: --runner, --runner;
        animation-range: entry 100% exit -20%;
    }
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .hero-gallery__main-image video {
        animation-name: scale-x, scale-y-desktop;
    }
}

/* Keyframes */
@keyframes fade {
    0%, 55% {
        opacity: 0;
    }
}

@keyframes reveal {
    0%, 30% {
        scale: 0;
    }
}

@keyframes scale-x {
    0%, 10% {
        width: calc(100vw - (2 * var(--gutter)));
    }
}

@keyframes scale-y-desktop {
    0%, 10% {
        height: calc(100vh - (2 * var(--gutter)));
    }
}

@keyframes scale-y-mobile {
    0%, 10% {
        height: calc(60vh - (2 * var(--gutter)));
    }
}

/* ========================================
   CLIENTS LOGOS TICKER/CAROUSEL
   ======================================== */
.clients-logos {
    padding: 3rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.clients-logos__title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-bottom: 2rem;
}

.clients-logos__ticker {
    display: flex;
    width: max-content;
    animation: ticker-scroll 40s linear infinite;
}

.clients-logos__ticker:hover {
    animation-play-state: paused;
}

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

.clients-logos__track {
    display: flex;
    flex-shrink: 0;
}

.clients-logos__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 2.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.clients-logos__item:hover {
    color: rgba(255,255,255,1);
}

.clients-logos__item img {
    max-height: 100%;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.clients-logos__item:hover img {
    opacity: 1;
}

@media (max-width: 768px) {
    .clients-logos {
        padding: 2rem 0;
    }
    .clients-logos__ticker {
        animation-duration: 30s;
    }
    .clients-logos__item {
        height: 35px;
        padding: 0 1.5rem;
    }
    .clients-logos__item img {
        max-width: 100px;
    }
}

/* ========================================
   ABOUT CHARLE / STATS SECTION
   ======================================== */
.about-charle {
    padding: 6rem 0;
}

.about-charle__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-charle__inner {
        grid-template-columns: 1.2fr 1fr;
        gap: 5rem;
    }
}

.about-charle__heading {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.about-charle__offerings {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.about-charle__offer {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #151515;
    border-radius: 50px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.about-charle__offer:hover {
    background: #252525;
}

.about-charle__description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.clients__bg-one,
.clients__bg-two {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.clients__bg-one {
    top: -200px;
    left: -200px;
    background: #4f46e5;
}

.clients__bg-two {
    bottom: -200px;
    right: -200px;
    background: #7c3aed;
}

.clients__heading {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
}

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

@media (min-width: 768px) {
    .clients__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .clients__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.clients__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: #111;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.clients__logo span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

.clients__logo:hover {
    background: #1a1a1a;
}

.clients__logo:hover span {
    color: white;
}

/* ========================================
   FEATURE SECTIONS
   ======================================== */
.feature {
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.feature__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .feature__inner {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.feature.flipped .feature__inner {
    direction: rtl;
}

.feature.flipped .feature__inner > * {
    direction: ltr;
}

.feature__images {
    position: relative;
    display: block;
}

.feature__image {
    border-radius: 1rem;
    overflow: hidden;
}

.feature__image img,
.feature__image video {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature__images:hover .feature__image img,
.feature__images:hover .feature__image video {
    transform: scale(1.05);
}

.feature__image_overlap {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 60%;
    background: black;
    padding: 0.5rem;
    border-radius: 1rem;
}

@media (max-width: 768px) {
    .feature__image_overlap {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 1rem;
    }

    .feature__image.feature__image-1 {
        display: none;
    }
}

.feature__image_content {
    padding: 1rem;
}

.feature__image_content_heading {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.feature__image_content_description {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.feature__content {
    max-width: 540px;
}

.feature__subheading {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.feature__heading {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.feature__description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

/* ========================================
   SERVICES GRID SECTION
   ======================================== */
.services-grid {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(160,79,244,0.05) 100%);
}

.services-grid__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
}

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

@media (min-width: 768px) {
    .services-grid__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid__grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
}

.services-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.services-grid__item:hover {
    background: rgba(160,79,244,0.1);
    border-color: rgba(160,79,244,0.3);
    transform: translateY(-4px);
}

.services-grid__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-secondary, #1de5e2);
}

.services-grid__item-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #fff;
}

.services-grid__item-description {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners {
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.partners__title {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
}

.partners__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .partners__inner {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.partners__subtitle {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.partners__description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
}

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

@media (min-width: 768px) {
    .partners__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.partners__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: #111;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.partners__logo span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}

.partners__logo img {
    max-width: 120px;
    max-height: 30px;
    width: auto;
    height: auto;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partners__logo:first-child img {
    max-height: 290px;
}

.partners__logo:hover {
    background: #1a1a1a;
}

.partners__logo:hover span {
    color: white;
}

.partners__logo:hover img {
    opacity: 1;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonials__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials__slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.testimonial.active {
    display: block;
}

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

.testimonial__stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 2rem;
}

.testimonial__text {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.6;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.testimonial__author {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.testimonials__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonials__prev,
.testimonials__next {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials__prev:hover,
.testimonials__next:hover {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.2);
}

.testimonials__dots {
    display: flex;
    gap: 8px;
}

.testimonials__dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials__dots .dot.active {
    background: white;
    width: 32px;
    border-radius: 100px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.cta__inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta__heading {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.cta__description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

.cta__buttons {
    margin-bottom: 3rem;
}

.cta__form {
    max-width: 100%;
    min-height: 600px;
    margin-top: 2rem;
}

.cta__form [data-tf-widget],
.cta__form .tf-v1-widget {
    min-height: 500px;
}

@media (max-width: 767px) {
    .cta__form {
        min-height: 700px;
    }

    .cta__form [data-tf-widget],
    .cta__form .tf-v1-widget {
        min-height: 400px;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer__inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

.footer__logo img {
    height: 28px;
    width: auto;
    margin-bottom: 1rem;
}

.footer__description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
}

.footer__links h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__links a,
.footer__links span {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: white;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer__bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

/* Footer Locations SEO Section */
.footer__locations {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
}

.footer__locations-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
    margin: 0 auto 1rem;
}

.footer__locations-toggle:hover {
    color: rgba(255,255,255,0.9);
}

.footer__locations-toggle svg {
    transition: transform 0.3s ease;
}

.footer__locations-toggle.active svg {
    transform: rotate(180deg);
}

.footer__locations-content {
    display: none;
    padding-top: 1rem;
}

.footer__locations-content.active {
    display: block;
}

.footer__locations-group {
    margin-bottom: 1.5rem;
}

.footer__locations-group h5 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__locations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
}

.footer__locations-list a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__locations-list a:hover {
    color: #1de5e2;
}

/* ========================================
   ANIMATED GRADIENT BACKGROUND
   ======================================== */
.footer {
    position: relative;
    overflow: hidden;
}

.gradient-bg {
    --color-bg1: rgb(0, 0, 0);
    --color-bg2: rgb(0, 0, 0);
    --color1: 29, 229, 226;
    --color2: 160, 79, 244;
    --color3: 55, 23, 87;
    --color4: 160, 79, 244;
    --color5: 55, 23, 87;
    --color-interactive: 160, 79, 244;
    --circle-size: 80%;
    --blending: hard-light;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    z-index: 0;
}

.gradient-bg svg {
    display: none;
}

.gradients-container {
    filter: url(#goo) blur(60px);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.g1, .g2, .g3, .g4, .g5 {
    position: absolute;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    opacity: 0.6;
}

.g1 {
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%);
    top: calc(50% - var(--circle-size) / 2);
    left: 0;
    transform-origin: center center;
    animation: moveVertical 30s ease infinite;
}

.g2 {
    background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(100% - var(--circle-size));
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 25s reverse infinite;
}

.g3 {
    background: radial-gradient(circle at center, rgba(var(--color3), 0.7) 0, rgba(var(--color3), 0) 50%);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
}

.g4 {
    background: radial-gradient(circle at center, rgba(var(--color4), 0.7) 0, rgba(var(--color4), 0) 50%);
    top: calc(50% - var(--circle-size) / 2);
    left: 20%;
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 35s ease infinite;
    opacity: 0.5;
}

.g5 {
    background: radial-gradient(circle at center, rgba(var(--color5), 0.6) 0, rgba(var(--color5), 0) 50%);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(80% - var(--circle-size) / 2);
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 20s ease infinite;
}

.interactive {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.3) 0, rgba(var(--color-interactive), 0) 50%);
    width: 60%;
    height: 60%;
    top: -30%;
    left: -30%;
    opacity: 0.35;
}

@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-30%);
    }
    50% {
        transform: translateY(30%);
    }
    100% {
        transform: translateY(-30%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-30%) translateY(-10%);
    }
    50% {
        transform: translateX(30%) translateY(10%);
    }
    100% {
        transform: translateX(-30%) translateY(-10%);
    }
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section {
    position: relative;
}

/* Utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========================================
   FLOATING CTA BUTTON
   ======================================== */
.floating-cta {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    z-index: 999;
}

.floating-cta__btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1de5e2, #a04ff4);
    color: white;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(160, 79, 244, 0.4);
    transition: all 0.3s ease;
}

.floating-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(160, 79, 244, 0.5);
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 5rem;
        right: 1rem;
    }
    .floating-cta__btn span {
        display: none;
    }
}

/* ========================================
   FLOATING CONTACT BAR
   ======================================== */
.floating-bar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.floating-bar__logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.floating-bar__logo:hover {
    opacity: 0.7;
}

.floating-bar__logo img {
    height: 24px;
    width: auto;
}

.floating-bar__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.floating-bar__btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.floating-bar__btn--whatsapp {
    background: #25D366;
}

.floating-bar__btn--whatsapp:hover {
    background: #20bd5a;
}

@media (max-width: 480px) {
    .floating-bar {
        padding: 0.5rem 1rem;
        gap: 1rem;
    }

    .floating-bar__logo img {
        height: 20px;
    }

    .floating-bar__btn {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Index */
.blog-hero {
    padding: 4rem 0;
    text-align: center;
}

.blog-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.blog-hero__description {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    padding: 4rem 0 6rem;
}

.blog-grid__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(160,79,244,0.3);
    transform: translateY(-4px);
}

.blog-card__image {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(160,79,244,0.2), rgba(29,229,226,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.blog-card__content {
    padding: 1.5rem;
}

.blog-card__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1de5e2;
    margin-bottom: 0.75rem;
}

.blog-card__title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.blog-card__excerpt {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card__meta {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

/* Blog Article */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 6rem;
}

.blog-article__header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.blog-article__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1de5e2;
    margin-bottom: 1rem;
}

.blog-article__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.blog-article__meta {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}

.blog-article__intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 3rem;
}

.blog-article__intro p {
    margin-bottom: 1.25rem;
}

.blog-article section {
    margin-bottom: 3rem;
}

.blog-article h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    color: #fff;
}

.blog-article p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.25rem;
}

.blog-article ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.blog-article ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

.blog-article ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #a04ff4, #1de5e2);
    border-radius: 50%;
}

.blog-article a {
    color: #1de5e2;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.blog-article a:hover {
    color: #a04ff4;
}

.blog-article strong {
    font-weight: 500;
    color: #fff;
}

@media (max-width: 768px) {
    .blog-article {
        padding: 2rem 1.5rem 4rem;
    }

    .blog-grid__list {
        grid-template-columns: 1fr;
    }
}
