/* ==============
   CSS VARIABLES
   ============== */
:root {
    /* Colors - darker / black-focused theme */
    --bg: #060608; /* page background (near-black) */
    --bg-card: #0d0f12; /* card / surface */
    --bg-glass: rgba(255,255,255,0.02); /* subtle glass overlay */
    --text-primary: #eef2f6; /* primary text */
    --text-secondary: #9aa3b3; /* muted text */
    --text-tertiary: #788295;
    --primary: #0A84FF; /* accent color kept for CTAs */
    --primary-dark: #0667cc;
    --primary-light: #3aa0ff;
    --border: rgba(255,255,255,0.04);
    --success: #25d366;
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, rgba(79,176,255,0.95), rgba(66,120,160,0.85));
    --gradient-dark: linear-gradient(180deg, #050507, #0d0f12);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    
    /* Glows (subtle on dark backgrounds) */
    --glow-sm: 0 0 8px rgba(79,176,255,0.18);
    --glow-md: 0 0 18px rgba(79,176,255,0.22), 0 0 36px rgba(79,176,255,0.08);
    --glow-lg: 0 0 28px rgba(79,176,255,0.28), 0 0 56px rgba(79,176,255,0.12), 0 0 90px rgba(79,176,255,0.06);
    
    /* Fonts */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Sizes */
    --radius: 0.75rem;
    --radius-md: calc(0.75rem - 2px);
    --radius-sm: calc(0.75rem - 4px);
    /* Design system additions */
    --muted: rgba(160,170,196,0.7);
    --input-bg: rgba(160,170,196,0.05);
    --danger: #ff6b6b;
    --surface: #0f1a36;
    --header-height: 4rem;
}

/* ==============
   GLOBAL STYLES
   ============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 900;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
}

/* ==============
   SCROLLBAR
   ============== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 142, 255, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 142, 255, 0.5);
}

/* ==============
   UTILITIES
   ============== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* small set of reusable utilities */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(59,142,255,0.06);
    border-radius: var(--radius);
    padding: var(--spacing-md);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 142, 255, 0.1);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(59, 142, 255, 0.3);
    box-shadow: var(--glow-sm);
}

.neon-line {
    height: 2px;
    background: var(--gradient-brand);
    box-shadow: var(--glow-sm);
    margin-bottom: 2rem;
}

.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(59, 142, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 142, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ==============
   ANIMATIONS
   ============== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes scan-line {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-left {
    /* animation triggered when element gets .in-view */
}

.fade-in-right {
    /* animation triggered when element gets .in-view */
}

.fade-in-up {
    /* animation triggered when element gets .in-view */
}

/* when element scrolls into view */
.fade-in-left.in-view {
    opacity: 1;
    animation: fade-in-left 0.8s ease-out forwards;
}

.fade-in-right.in-view {
    opacity: 1;
    animation: fade-in-right 0.8s ease-out forwards;
}

.fade-in-up.in-view {
    opacity: 1;
    animation: fade-in-up 0.6s ease-out forwards;
}

/* start hidden */
.fade-in-left,
.fade-in-right,
.fade-in-up {
    opacity: 0;
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.animate-scan-line {
    animation: scan-line 8s linear infinite;
}

/* ==============
   BUTTONS
   ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--glow-md);
}

.btn--primary:hover {
    box-shadow: var(--glow-lg);
    transform: translateY(-2px);
}

.btn--secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    box-shadow: 0 0 10px rgba(59, 142, 255, 0.3);
}

.btn--secondary:hover {
    background: rgba(59, 142, 255, 0.1);
    border-color: var(--primary-light);
    box-shadow: var(--glow-md);
}

.btn--full {
    width: 100%;
    padding: 1rem;
}

/* ==============
   HEADER
   ============== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    backdrop-filter: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 142, 255, 0.1);
    box-shadow: var(--glow-sm);
    /* maintain original padding so height doesn't change */
    padding: 1rem 0;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header__logo {
    display: flex;
    align-items: center;
    z-index: 51;
}

.header__logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-primary);
}

.header__logo-img {
    height: 3.6rem;
    object-fit: contain;
    max-width: 11rem;
}

/* shrink on very small screens */
@media (max-width: 480px) {
    .header__logo-img {
        height: 3.2rem;
        max-width: 10rem;
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav--desktop {
    display: none;
}

.nav__link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.nav__link:hover {
    color: var(--primary);
}

.header__menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 51;
}

.header__menu-btn span {
    width: 1.5rem;
    height: 0.25rem;
    background: var(--primary);
    border-radius: 0.125rem;
    transition: all 0.3s ease;
}

.header__menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

.header__menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 142, 255, 0.1);
    border-top: none;
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 49;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu__link {
    font-size: 0.875rem;
    color: rgba(160, 170, 196, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.mobile-menu__link:hover {
    color: var(--primary);
}

/* ==============
   HERO SECTION
   ============== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 4rem;
    background: var(--bg); /* match other sections (near-black) */
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: none; /* remove gradient color overlay */
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image: none; /* remove decorative grid to avoid colored pattern */
    background-size: 0;
    opacity: 0;
}

.hero__scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary);
    opacity: 0.2;
    box-shadow: var(--glow-sm);
    animation: scan-line 8s linear infinite;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 10;
    padding: 3rem 0 2rem;
}

.hero__grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__content {
    opacity: 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    border: 1px solid rgba(59, 142, 255, 0.3);
    box-shadow: var(--glow-sm);
    margin-bottom: 1.5rem;
}

.hero__badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero__image {
    display: none;
    justify-content: center;
    opacity: 0;
}

/* placeholder when original image removed */
.hero__image-placeholder {
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    width: min(380px, 40vw);
    height: min(380px, 40vw);
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    position: relative;
}

.hero__image-glow {
    position: absolute;
    width: min(420px, 45vw);
    height: min(420px, 45vw);
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.1;
    filter: blur(80px);
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero__image-img {
    position: relative;
    width: min(420px, 45vw);
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(59, 142, 255, 0.3));
}

/* ==============
   SECTIONS
   ============== */
.section {
    padding: 4rem 0;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about__content h2 {
    margin-bottom: 1.5rem;
}

.about__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about__text strong {
    color: var(--text-primary);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--gradient-card);
    border: 1px solid rgba(59, 142, 255, 0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(59, 142, 255, 0.3);
    box-shadow: var(--glow-sm);
    transform: translateY(-4px);
}

.stat-card__value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-card__label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    background: var(--bg);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid rgba(59, 142, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(59, 142, 255, 0.3);
    box-shadow: var(--glow-sm);
    transform: translateY(-8px);
}

.service-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(59, 142, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: rgba(59, 142, 255, 0.2);
    box-shadow: var(--glow-sm);
}

.service-card__icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.service-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Process Section */
.process {
    background: var(--bg);
}

.process__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process__timeline::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-brand);
    box-shadow: var(--glow-sm);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    margin-left: 5rem;
    opacity: 0;
}

.timeline-item__number {
    position: absolute;
    left: -4rem;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--primary);
    box-shadow: var(--glow-sm);
    z-index: 10;
}

.timeline-item__content {
    background: var(--gradient-card);
    border: 1px solid rgba(59, 142, 255, 0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-item__content:hover {
    border-color: rgba(59, 142, 255, 0.3);
    box-shadow: var(--glow-sm);
}

.timeline-item__content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.timeline-item__content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process__cta {
    text-align: center;
    margin-top: 4rem;
    opacity: 0;
}

.process__cta h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Differentials Section */
.differentials {
    background: var(--bg);
    position: relative;
}

.differentials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 142, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 142, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.15;
    pointer-events: none;
}

.differentials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.differential-card {
    background: var(--gradient-card);
    border: 1px solid rgba(59, 142, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.differential-card:hover {
    border-color: rgba(59, 142, 255, 0.3);
    box-shadow: var(--glow-sm);
    transform: translateY(-4px);
}

.differential-card__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 142, 255, 0.1);
    color: var(--primary);
    transition: all 0.3s ease;
}

.differential-card:hover .differential-card__icon {
    background: rgba(59, 142, 255, 0.2);
    box-shadow: var(--glow-sm);
}

.differential-card__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.differential-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.differential-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--bg);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact__info {
    opacity: 0;
}

.contact__info h2 {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.contact__description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(8px);
}

.contact-method__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 142, 255, 0.1);
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-method:hover .contact-method__icon {
    background: rgba(59, 142, 255, 0.2);
    box-shadow: var(--glow-sm);
}

.contact-method__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-method__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.contact-method__value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact__benefits {
    margin-top: 2rem;
}

.contact__benefits h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact__benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact__benefits li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact__benefits li span {
    color: var(--primary);
    font-weight: bold;
}

.contact__form-wrapper {
    opacity: 0;
}

.contact__form {
    padding: 2.2rem;
}

.contact__form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact__form-header h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact__form-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-display);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--input-bg);
    border: 1px solid rgba(59, 142, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

/* dropdown option styling */
.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group select option:disabled {
    color: rgba(240, 244, 251, 0.6);
}
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow-sm);
}

.form-group textarea {
    resize: none;
    font-family: var(--font-body);
}

.form-message {
    text-align: center;
    padding: 0.75rem;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    color: var(--success);
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.18);
}

.form-message.error {
    display: block;
    color: var(--danger);
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.18);
}

/* ==============
   FOOTER
   ============== */
.footer {
    border-top: 1px solid rgba(59, 142, 255, 0.1);
    padding: 2rem 0;
    background: var(--bg);
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer__logo {
    display: flex;
    align-items: center;
}

.footer__logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-primary);
}

.footer__logo-img {
    height: 2.5rem;
    object-fit: contain;
}

.footer__socials {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--input-bg);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    color: var(--primary);
    background: rgba(59, 142, 255, 0.1);
    box-shadow: var(--glow-sm);
}

.footer__copyright {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* ==============
   FLOATING BUTTON
   ============== */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* add a soft pulsing halo behind the icon */
.floating-whatsapp::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsapp-pulse 1.8s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0.6; }
}

.floating-whatsapp:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.8);
}

.floating-whatsapp svg {
    width: 1.6rem;
    height: 1.6rem;
}

/* ==============
   RESPONSIVE
   ============== */
@media (min-width: 768px) {
    .nav--desktop {
        display: flex;
    }

    .header__menu-btn {
        display: none;
    }

    .btn--contact-mobile {
        display: none;
    }

    .hero__grid-layout {
        grid-template-columns: 1fr 1fr;
    }

    /* push the hero illustration toward the right edge */
    .hero__image {
        justify-self: end;
        margin-left: 1rem; /* small offset if needed */
    }

    .hero__image {
        display: flex;
    }

    .hero__image-placeholder {
        display: flex;
    }

    .about__grid {
        grid-template-columns: 1fr 1fr;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .timeline-item {
        margin-left: 0;
        display: flex;
        align-items: flex-start;
        flex-direction: row;
        position: relative; /* needed for number positioning */
    }

    .timeline-item:nth-child(odd) .timeline-item__content {
        margin-right: auto;
        max-width: calc(50% - 2rem);
        text-align: right;
    }

    .timeline-item:nth-child(even) .timeline-item__content {
        margin-left: auto;
        max-width: calc(50% - 2rem);
    }

    /* keep number centered on the line */
    .timeline-item__number {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .process__timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .differential-card {
        grid-column: span 1;
    }

    .differentials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .differentials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__info {
        padding-right: 1rem;
    }

    .contact__form {
        position: sticky;
        top: 6rem;
    }
}
