/* glolos.com - Liquid Mercury Showroom for Global Localization */
/* Bento-box grid system with mercury-inspired aesthetics */

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #0A0A0B;
    color: #D4D4D4;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== TYPOGRAPHY ==================== */
.hero-headline {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(48px, 8vw, 120px);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 0.95;
    color: #E8E8EC;
}

.headline-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: revealLine 0.8s ease forwards;
}

.headline-line:nth-child(1) { animation-delay: 0.2s; }
.headline-line:nth-child(2) { animation-delay: 0.5s; }
.headline-line:nth-child(3) { animation-delay: 0.8s; }

.headline-line.accent {
    color: #C9A84C;
}

.section-headline {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(36px, 6vw, 90px);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 0.95;
    color: #E8E8EC;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 300;
    color: #8A8A8A;
    margin-top: 16px;
    max-width: 500px;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 300;
    color: #A8B2C0;
    line-height: 1.7;
    max-width: 380px;
}

.meta-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #5A5A5A;
    display: block;
}

.meta-label + .meta-label {
    margin-top: 6px;
}

/* ==================== BENTO GRID SYSTEM ==================== */
.bento-section {
    min-height: 100vh;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-cell {
    background: rgba(168, 178, 192, 0.03);
    border: 1px solid rgba(192, 192, 192, 0.06);
    border-radius: 2px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.bento-cell:hover {
    background: rgba(168, 178, 192, 0.06);
    border-color: rgba(192, 192, 192, 0.12);
}

/* ==================== HERO GRID ==================== */
.hero-grid {
    grid-template-rows: auto auto auto;
    min-height: 80vh;
}

.hero-title-cell {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
    display: flex;
    align-items: flex-end;
    padding: 48px;
}

.hero-blob-cell {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
    min-height: 400px;
    padding: 0;
}

.hero-tagline-cell {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
    display: flex;
    align-items: center;
}

.hero-breathing-cell {
    grid-column: 5 / 9;
    grid-row: 3 / 4;
    background: transparent;
    border-color: rgba(192, 192, 192, 0.03);
    min-height: 100px;
}

.hero-meta-cell {
    grid-column: 9 / 13;
    grid-row: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

/* ==================== SERVICES GRID ==================== */
.services-grid {
    grid-template-rows: auto auto auto;
}

.services-header-cell {
    grid-column: 1 / 13;
    grid-row: 1 / 2;
    padding: 48px 32px;
}

.service-cell {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.service-1 {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
}

.service-2 {
    grid-column: 5 / 9;
    grid-row: 2 / 3;
}

.service-3 {
    grid-column: 9 / 13;
    grid-row: 2 / 3;
}

.service-4 {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
}

.services-breathing-cell {
    grid-column: 4 / 7;
    grid-row: 3 / 4;
    background: transparent;
    border-color: rgba(192, 192, 192, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.service-5 {
    grid-column: 7 / 13;
    grid-row: 3 / 4;
}

.service-number {
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    font-weight: 600;
    color: #C9A84C;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.service-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(22px, 2.5vw, 36px);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #E8E8EC;
    line-height: 1;
    margin-bottom: 12px;
}

.service-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #7A7A7A;
    line-height: 1.6;
}

/* ==================== PROCESS GRID ==================== */
.process-grid {
    grid-template-rows: auto auto auto;
}

.process-header-cell {
    grid-column: 1 / 13;
    grid-row: 1 / 2;
    padding: 48px 32px;
}

.process-step {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.step-1 {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
}

.step-2 {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
}

.process-canvas-cell {
    grid-column: 7 / 13;
    grid-row: 2 / 3;
    padding: 0;
    min-height: 250px;
}

.step-3 {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
}

.step-4 {
    grid-column: 5 / 10;
    grid-row: 3 / 4;
}

.process-breathing-cell {
    grid-column: 10 / 13;
    grid-row: 3 / 4;
    background: transparent;
    border-color: rgba(192, 192, 192, 0.03);
}

.step-marker {
    width: 48px;
    height: 48px;
}

.step-icon {
    width: 48px;
    height: 48px;
}

.step-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 18px;
    font-weight: 600;
    color: #E8E8EC;
    letter-spacing: 0.02em;
}

.step-desc {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #7A7A7A;
    line-height: 1.6;
}

/* ==================== RESULTS GRID ==================== */
.results-grid {
    grid-template-rows: auto auto auto;
}

.results-header-cell {
    grid-column: 1 / 13;
    grid-row: 1 / 2;
    padding: 48px 32px;
}

.metric-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 180px;
    position: relative;
}

.metric-1 {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
}

.metric-2 {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
}

.metric-3 {
    grid-column: 7 / 10;
    grid-row: 2 / 3;
}

.results-quote-cell {
    grid-column: 10 / 13;
    grid-row: 2 / 4;
    display: flex;
    align-items: center;
}

.results-blob-cell {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
    padding: 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-4 {
    grid-column: 5 / 8;
    grid-row: 3 / 4;
}

.results-breathing-cell {
    grid-column: 8 / 10;
    grid-row: 3 / 4;
    background: transparent;
    border-color: rgba(192, 192, 192, 0.03);
}

.metric-value {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(48px, 6vw, 96px);
    color: #E8E8EC;
    line-height: 1;
    letter-spacing: -0.02em;
}

.metric-suffix {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(24px, 3vw, 48px);
    color: #C9A84C;
    line-height: 1;
    margin-left: 2px;
}

.metric-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #5A5A5A;
    margin-top: 8px;
}

.testimonial {
    border-left: 2px solid #C9A84C;
    padding-left: 20px;
}

.testimonial p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
    color: #A8B2C0;
    line-height: 1.7;
    margin-bottom: 12px;
}

.testimonial cite {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 500;
    color: #5A5A5A;
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==================== CONTACT GRID ==================== */
.contact-grid {
    grid-template-rows: auto auto auto;
}

.contact-headline-cell {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
    padding: 48px;
    display: flex;
    align-items: flex-end;
}

.contact-headline {
    line-height: 0.92;
}

.contact-form-cell {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    padding: 48px;
}

.contact-form {
    width: 100%;
    max-width: 420px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #5A5A5A;
    display: block;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: rgba(168, 178, 192, 0.04);
    border: 1px solid rgba(192, 192, 192, 0.1);
    border-radius: 2px;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #D4D4D4;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #3A3A3A;
}

.form-input:hover,
.form-input:focus {
    border-color: rgba(201, 168, 76, 0.4);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.cta-button {
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0A0A0B;
    background: #C9A84C;
    border: none;
    border-radius: 2px;
    padding: 16px 32px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.cta-button:hover {
    background: #D4B85C;
    transform: translateY(-1px);
}

.contact-info-cell {
    grid-column: 1 / 7;
    grid-row: 2 / 3;
    display: flex;
    gap: 48px;
    align-items: center;
    padding: 32px 48px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #5A5A5A;
}

.contact-value {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #A8B2C0;
}

.contact-breathing-cell {
    grid-column: 1 / 7;
    grid-row: 3 / 4;
    background: transparent;
    border-color: rgba(192, 192, 192, 0.03);
    min-height: 150px;
    padding: 0;
}

.contact-footer-cell {
    grid-column: 7 / 13;
    grid-row: 3 / 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
}

.footer-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 400;
    color: #3A3A3A;
    letter-spacing: 0.08em;
}

/* ==================== BLOB / SVG STYLES ==================== */
.blob-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.blob-svg {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.morph-blob,
.morph-blob-2 {
    fill: rgba(168, 178, 192, 0.08);
    stroke: #C0C0C0;
    stroke-width: 1;
    animation: blobBreathe 12s ease-in-out infinite alternate;
}

.large-blob {
    opacity: 0.4;
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #3A3A3A;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #3A3A3A, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ==================== ANIMATIONS ==================== */
@keyframes revealLine {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blobBreathe {
    0% {
        transform: translate(100px, 100px) scale(1);
    }
    50% {
        transform: translate(100px, 100px) scale(1.05) rotate(3deg);
    }
    100% {
        transform: translate(100px, 100px) scale(0.97) rotate(-2deg);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        height: 40px;
    }
    50% {
        opacity: 1;
        height: 60px;
    }
}

/* ==================== SCROLL REVEAL ==================== */
.bento-cell {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bento-cell.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero cells animate immediately */
#hero .bento-cell {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .bento-section {
        padding: 24px;
    }

    .hero-title-cell {
        grid-column: 1 / 8;
    }

    .hero-blob-cell {
        grid-column: 8 / 13;
    }

    .hero-tagline-cell {
        grid-column: 1 / 7;
    }

    .hero-breathing-cell {
        grid-column: 7 / 10;
    }

    .hero-meta-cell {
        grid-column: 10 / 13;
    }
}

@media (max-width: 768px) {
    .bento-section {
        padding: 16px;
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 2px;
    }

    .bento-cell {
        padding: 24px;
    }

    /* Hero responsive */
    .hero-title-cell {
        grid-column: 1 / 7;
        grid-row: 1 / 2;
        padding: 32px 24px;
    }

    .hero-blob-cell {
        grid-column: 1 / 7;
        grid-row: 2 / 3;
        min-height: 250px;
    }

    .hero-tagline-cell {
        grid-column: 1 / 7;
        grid-row: 3 / 4;
    }

    .hero-breathing-cell {
        display: none;
    }

    .hero-meta-cell {
        grid-column: 1 / 7;
        grid-row: 4 / 5;
        align-items: flex-start;
    }

    /* Services responsive */
    .services-header-cell {
        grid-column: 1 / 7;
    }

    .service-1,
    .service-2,
    .service-3,
    .service-4,
    .service-5 {
        grid-column: 1 / 7;
        grid-row: auto;
        min-height: 160px;
    }

    .services-breathing-cell {
        display: none;
    }

    /* Process responsive */
    .process-header-cell {
        grid-column: 1 / 7;
    }

    .step-1,
    .step-2,
    .step-3,
    .step-4 {
        grid-column: 1 / 7;
        grid-row: auto;
    }

    .process-canvas-cell {
        grid-column: 1 / 7;
        grid-row: auto;
        min-height: 200px;
    }

    .process-breathing-cell {
        display: none;
    }

    /* Results responsive */
    .results-header-cell {
        grid-column: 1 / 7;
    }

    .metric-1,
    .metric-2,
    .metric-3,
    .metric-4 {
        grid-column: 1 / 4;
        grid-row: auto;
        min-height: 140px;
    }

    .results-quote-cell {
        grid-column: 4 / 7;
        grid-row: 2 / 4;
    }

    .results-blob-cell {
        grid-column: 1 / 7;
        grid-row: auto;
        min-height: 150px;
    }

    .results-breathing-cell {
        display: none;
    }

    /* Contact responsive */
    .contact-headline-cell {
        grid-column: 1 / 7;
        grid-row: 1 / 2;
        padding: 32px 24px;
    }

    .contact-form-cell {
        grid-column: 1 / 7;
        grid-row: 2 / 3;
        padding: 24px;
    }

    .contact-info-cell {
        grid-column: 1 / 7;
        grid-row: 3 / 4;
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        padding: 24px;
    }

    .contact-breathing-cell {
        display: none;
    }

    .contact-footer-cell {
        grid-column: 1 / 7;
        grid-row: 4 / 5;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .hero-title-cell,
    .hero-blob-cell,
    .hero-tagline-cell,
    .hero-meta-cell,
    .services-header-cell,
    .service-1, .service-2, .service-3, .service-4, .service-5,
    .process-header-cell,
    .step-1, .step-2, .step-3, .step-4,
    .process-canvas-cell,
    .results-header-cell,
    .metric-1, .metric-2, .metric-3, .metric-4,
    .results-quote-cell,
    .results-blob-cell,
    .contact-headline-cell,
    .contact-form-cell,
    .contact-info-cell,
    .contact-footer-cell {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .metric-1, .metric-2, .metric-3, .metric-4 {
        min-height: 120px;
    }
}
/* Additional palette colors for full compliance */
.hero-headline .headline-line:first-child {
    text-shadow: 0 0 80px rgba(245, 245, 247, 0.03);
}

.contact-headline {
    color: #F5F5F7;
}

.service-cell:hover .service-number {
    color: #F5F5F7;
}

.step-title {
    border-bottom: 1px solid transparent;
}

.process-step:hover .step-title {
    border-bottom-color: #2A2A2A;
}

.results-breathing-cell {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.05), transparent);
}

/* Palette completeness: #050506 deep black, #000 pure black */
.bento-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #050506, #000, #050506);
    opacity: 0.3;
}
