:root {
    --color-primary: #0D2B59;
    --color-primary-hover: #153a73;
    --color-primary-light: #4A7ECF;
    --color-white: #ffffff;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text-main: #1e293b;
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --color-footer: #0f172a;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1EBE5D;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-floating: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background-color: rgba(13, 43, 89, 0.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-dark {
    background-color: #0f172a;
    color: var(--color-white);
    border-radius: 100px;
    padding: 14px 32px;
}

.btn-dark:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Wrapper & Video Section */
.hero-wrapper {
    padding: 0;
    background-color: var(--color-surface);
}

.hero-video-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    border-radius: 0 0 32px 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.1s linear;
    transform: scale(1.35);
    transform-origin: 40% top;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 2;
}

/* Glassmorphism Navbar */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-glass.scrolled {
    padding: 12px 0;
}

.navbar-content-glass {
    pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border-radius: 100px;
    padding: 10px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.navbar-glass.scrolled .navbar-content-glass {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 10px 32px;
}

/* Logo Transition */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    height: 46px;
    width: 160px;
}

.logo-white, .logo-dark {
    position: absolute;
    width: 160px; /* Perfect middle ground size */
    max-width: none;
    height: auto;
    transition: opacity 0.4s ease;
}

.logo-white {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
}

.navbar-glass.scrolled .logo-white {
    opacity: 0;
}

.navbar-glass.scrolled .logo-dark {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.navbar-glass.scrolled .nav-links a {
    text-shadow: none;
    color: var(--color-text-main);
}

.nav-links a:hover {
    color: var(--color-primary-light);
}

.btn-nav-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.navbar-glass.scrolled .btn-nav-contact {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-nav-contact:hover, .navbar-glass.scrolled .btn-nav-contact:hover {
    transform: scale(1.05);
    background: var(--color-whatsapp);
    border-color: var(--color-whatsapp);
    color: var(--color-white);
}

/* New Hero Content */
.hero-content-new {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center; /* Centered vertically instead of flex-end */
    padding: 80px 80px 0 80px; /* Adjusted padding for better vertical balance */
    justify-content: flex-start;
    width: 100%;
}

.hero-text-new {
    max-width: 800px;
    color: var(--color-white);
}

.badge-new {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform-origin: top center;
    animation: subtle-pendulum 5s ease-in-out infinite;
}

@keyframes subtle-pendulum {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-1deg); }
    100% { transform: rotate(0deg); }
}

.hero-text-new h1 {
    font-size: 3.4rem;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.subtitle-new {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 36px;
    font-weight: 400;
}

/* Pill CTA Button */
.btn-pill-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 8px 8px 28px;
    border-radius: 100px;
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-pill-cta:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-pill-icon svg {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    width: 22px;
    height: 22px;
}

.btn-pill-cta:hover .btn-pill-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-pill-cta:hover .btn-pill-icon svg {
    transform: translateX(4px);
}
/* Stats Section */
.stats-section {
    padding: 80px 0 60px;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 40px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--color-border);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 15px;
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}


/* Clients Section */
.clients-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--color-surface);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.125rem;
}

/* Infinite Marquee Styles */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin-bottom: 50px;
}

.marquee-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15vw;
    min-width: 100px;
    z-index: 2;
    pointer-events: none;
}

.mask-left {
    left: 0;
    background: linear-gradient(to right, var(--color-surface) 0%, transparent 100%);
}

.mask-right {
    right: 0;
    background: linear-gradient(to left, var(--color-surface) 0%, transparent 100%);
}

.marquee-row {
    display: flex;
    width: max-content;
    margin-bottom: 30px;
}

.marquee-row:last-child {
    margin-bottom: 0;
}

.marquee-content {
    display: flex;
    gap: 30px;
    padding-right: 30px; /* Space between the original and duplicate */
}

/* Animations */
.marquee-left {
    animation: scroll-left 12s linear infinite; /* Sped up */
}

.marquee-right {
    animation: scroll-right 15s linear infinite; /* Sped up */
}

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

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

/* Client Card Placeholders */
.client-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Decreased padding to reduce space between logos */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.client-logo {
    width: 320px; /* Increased width proportionally */
    height: 200px; /* Increased height proportionally */
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-card:hover .client-logo {
    transform: scale(1.05);
}

.btn-primary-override {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border: none !important;
    padding: 18px 48px !important;
    font-size: 1.1rem !important;
    box-shadow: 0 10px 30px rgba(13, 43, 89, 0.3) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-override::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-primary-override:hover::before {
    left: 100%;
}

.btn-primary-override:hover {
    box-shadow: 0 15px 35px rgba(13, 43, 89, 0.5) !important;
    transform: translateY(-4px) !important;
}

.btn-primary-override svg {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-primary-override:hover svg {
    transform: translateX(5px);
}

/* About Section - Split Panel Design */
.about-section {
    padding: 80px 0 100px 0;
    background-color: var(--color-surface);
    position: relative;
    overflow: hidden;
}

#animate-text .word {
    color: rgba(13, 43, 89, 0.25); /* Faded but not invisible, based on primary color */
    transition: color 0.4s ease;
}

#animate-text .word.active {
    color: var(--color-primary); /* Original color */
}

.about-panels-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 40px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.about-panel-left {
    background-color: var(--color-white);
    border-radius: 0;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    box-shadow: none;
    border: none;
}

.about-subtext {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 90%;
}

.about-label {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
}

.about-main-title {
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--color-text-main);
    margin-bottom: 20px;
    font-weight: 400;
}

.about-main-title span {
    font-weight: 700;
}



/* Right Panel */
.about-panel-right {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background-color: var(--color-bg);
}

.panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

/* Differentials */
.about-differentials {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    margin-top: 20px;
}

.diff-text {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.diff-text:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

/* Services Grid Section */
.services-grid-section {
    padding: 120px 0;
    background-color: var(--color-white);
    color: var(--color-text-main);
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
}

.services-header-left {
    flex: 1;
}

.services-header-left h2 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-text-main);
}

.services-header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 500px;
}

.services-header-right p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-img-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
}

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

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.service-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    line-height: 1.2;
}

.service-text h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 10px;
    line-height: 1.2;
}

.service-text p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Services Carousel Nav */
.hide-on-desktop {
    display: none;
}

.services-carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 24px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Persuasive Dark Marquee Strip */
.marquee-strip-dark {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 18px 0;
    display: flex;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-content-dark {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    animation: scroll-left-fast 35s linear infinite;
    will-change: transform;
}

.marquee-content-dark span {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.marquee-content-dark .dot {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

@keyframes scroll-left-fast {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Luxury CTA Section */
.cta-section-luxury {
    padding: 120px 0 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-luxury-card {
    text-align: center;
    width: 100%;
    position: relative;
}

.cta-luxury-card .reveal-up {
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



.cta-luxury-card h2 {
    font-size: 3.2rem;
    color: var(--color-text-main);
    line-height: 1.15;
    margin: 0 auto 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    max-width: 700px;
    background: linear-gradient(90deg, var(--color-text-main) 0%, #305487 50%, var(--color-text-main) 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: text-shine 5s linear infinite;
}

@keyframes text-shine {
    to { background-position: 200% center; }
}

.cta-luxury-card p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-luxury {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 18px 40px;
    border-radius: 100px;
    font-size: 1.125rem;
    font-weight: 600;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(11, 31, 61, 0.4);
    animation: btn-pulse-shadow 3s infinite;
}

@keyframes btn-pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(11, 31, 61, 0.4), 0 20px 40px rgba(13, 43, 89, 0.2); }
    70% { box-shadow: 0 0 0 15px rgba(11, 31, 61, 0), 0 20px 40px rgba(13, 43, 89, 0.2); }
    100% { box-shadow: 0 0 0 0 rgba(11, 31, 61, 0), 0 20px 40px rgba(13, 43, 89, 0.2); }
}

.btn-luxury-text {
    position: relative;
    z-index: 2;
}

.btn-luxury-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: transform 0.4s ease;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.btn-luxury:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 30px 60px rgba(13, 43, 89, 0.3);
    background-color: #0b1f3d;
}

.btn-luxury:hover .btn-luxury-icon {
    transform: translateX(5px);
}

.btn-luxury-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    z-index: 1;
    animation: btn-shine 4s infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.cta-footnote {
    font-size: 0.85rem !important;
    color: var(--color-text-light);
    margin: 0 !important;
}

/* Footer */
.footer {
    position: relative;
    background: linear-gradient(to bottom, #ffffff 0%, #dbe4ef 10%, #305487 45%, #0a172a 100%);
    color: #f1f5f9;
    padding: 160px 0 0;
    overflow: hidden;
    margin-top: -1px;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-col .footer-brand-link {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 200px; /* Reduced size */
    max-width: 100%;
    height: auto;
}

.footer-brand-col p {
    color: #e2e8f0;
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-bottom: auto;
}

.footer-socials a {
    color: #cbd5e1;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-copyright {
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links-col h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links-col nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    color: #cbd5e1;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links-col a:hover {
    color: var(--color-white);
}

.footer-watermark {
    text-align: center;
    font-size: 24vw;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.75;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: -0.04em;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    margin-top: -3vw;
    margin-bottom: -1.5vw;
    text-transform: lowercase;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-whatsapp);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

.delay-3 {
    transition-delay: 0.9s;
}

/* Inner Animations based on fade-up.visible */
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.visible .reveal-left {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.visible .reveal-up {
    opacity: 1;
    transform: translateY(0);
}

.scale-img {
    transform: scale(1.15);
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.visible .scale-img {
    transform: scale(1);
}

.reveal-glass {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: opacity 1.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.visible .reveal-glass {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Custom internal delays */
.inner-delay-1 { transition-delay: 0.2s; }
.inner-delay-2 { transition-delay: 0.4s; }
.inner-delay-3 { transition-delay: 0.6s; }
.inner-delay-4 { transition-delay: 0.8s; }

/* Responsive */
@media (max-width: 992px) {
    .about-panels-wrapper {
        grid-template-columns: 1fr;
    }

    .about-panel-left {
        padding: 40px 30px;
    }

    .about-main-title {
        font-size: 2rem;
    }

    .about-differentials {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .diff-text {
        text-align: left;
        border-right: none !important;
    }
    
    .hero-content, .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-bottom: 40px;
    }
    
    .footer-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .stat-item {
        padding: 0 15px;
    }

    .stat-item:nth-child(2)::after {
        display: none; /* Remove border after 2nd item on tablet */
    }

    .stat-item:not(:last-child)::after {
        top: 0;
        height: 100%;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .hide-on-desktop {
        display: flex;
    }

    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 20px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .services-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Edge */
    }

    .service-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .cta-luxury-card {
        padding: 60px 40px;
    }

    .cta-luxury-card h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }

    /* Mobile Navbar Thin/Minimalist & Floating */
    .navbar-glass {
        padding: 12px 0;
    }
    
    .navbar-content-glass {
        padding: 6px 12px;
        max-width: calc(100% - 32px); /* Creates 16px gap on left/right so it floats */
        margin: 0 auto; /* Centers the floating pill */
    }
    
    .logo-white, .logo-dark {
        width: 100px; /* Extremely small/minimalist logo */
    }

    .logo {
        width: 100px;
        height: 30px;
    }

    .btn-nav-contact {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    /* Mobile Hero Overrides */
    .hero-content-new {
        padding: 40px 24px 0 24px;
    }

    .badge-new {
        font-size: 0.75rem;
        padding: 6px 16px;
        margin-bottom: 20px;
    }

    .hero-text-new h1 {
        font-size: 2.2rem; /* Reduced to fit 'Acabamentos' */
        line-height: 1.15;
        word-break: break-word; /* Ensure long words don't overflow */
        hyphens: auto;
    }

    .subtitle-new {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 30px;
        color: rgba(255, 255, 255, 0.95);
    }

    .btn-pill-cta {
        width: 100%;
        justify-content: space-between;
        padding-left: 24px;
    }

    .hero-bg-video {
        object-position: 70% center; /* Adjust crop to show more relevant action */
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%); /* Stronger vertical gradient for legibility */
    }
    
    /* Mobile Stats Overrides */
    .stats-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 0 16px;
    }

    .stat-number {
        font-size: 2.6rem;
        margin-bottom: 0;
        flex: 0 0 100px; /* Fixed width for numbers to align all texts */
        text-align: right;
    }

    .stat-text {
        font-size: 0.95rem;
    }

    .stat-item::after {
        display: none !important; /* Hide vertical borders */
    }

    /* Decrease space between logos in mobile */
    .marquee-content {
        gap: 10px;
        padding-right: 10px;
    }

    .client-card {
        padding: 0 5px;
    }
    
    .client-logo {
        width: 250px;
        height: 150px;
    }

    .clients-section {
        text-align: left;
    }

    .clients-section .section-title {
        font-size: 2rem;
    }

    .clients-section .section-description {
        margin: 0 0 40px 0;
        font-size: 1rem;
    }

    /* Mobile About Differentials */
    .about-differentials {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 24px;
        margin-top: 24px;
        border-top: 1px solid var(--color-border);
    }

    .diff-text {
        text-align: left;
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-text-main);
        padding: 14px 18px;
        background: #f8fafc;
        border: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        border-right: none !important;
    }

    .diff-text::before {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: var(--color-primary);
        border-radius: 50%;
        flex-shrink: 0;
    }

    .cta-section-luxury {
        padding: 80px 0 40px;
    }

    .cta-luxury-card {
        padding: 0 24px;
    }

    .cta-luxury-card h2 {
        font-size: 2.2rem;
    }

    .cta-luxury-card p {
        font-size: 1.1rem;
    }

    .btn-luxury {
        width: 100%;
        padding: 16px 24px;
    }

    .services-header-left h2 {
        font-size: 2.2rem;
    }

    .footer {
        padding: 80px 0 0;
    }

    .footer-content-grid {
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .footer-links-col:nth-child(3) {
        grid-column: 1 / -1;
    }
    
    .footer-watermark {
        font-size: 38vw;
        margin-top: -6vw;
        margin-bottom: -3vw;
    }
}
