/* Centralized styles added by assistant: services preview and service pages */

/* Services preview on homepage (scoped) */
.services-grid--preview { display:flex; flex-direction:column; gap:18px; }
.services-grid--preview .service-card { display:flex; align-items:center; gap:20px; padding:18px 12px; background:transparent; border-radius:10px; }
.services-grid--preview .service-preview-left { flex:0 0 140px; }
.services-grid--preview .service-preview-right { flex:1 }
.services-grid--preview .service-excerpt { color:rgba(255,255,255,0.78); margin:6px 0 10px }
.services-grid--preview .btn.btn-primary { background:#fff;color:#111;padding:8px 12px;border-radius:8px;text-decoration:none }
@media(max-width:900px){ .services-grid--preview .service-card{flex-direction:column;text-align:center} .services-grid--preview .service-preview-left{flex:0 0 auto} }

/* Generic service page layout */
.service-page { max-width:1100px; margin:48px auto; padding:24px }
.service-hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;min-height:70vh}
.left-graphic{display:flex;align-items:center;justify-content:center}
.graphic-large{width:260px;height:260px;border-radius:8px}
.divider{width:1px;background:rgba(255,255,255,0.06);height:60vh;margin:0 18px}
.service-content h1{font-size:56px;margin:0 0 16px}
.service-content p{color:rgba(255,255,255,0.9);margin:0 0 14px}
.deliverables{margin:18px 0 0;padding-left:18px}
.deliverables li{margin:8px 0}
.btn{display:inline-block;padding:10px 16px;border-radius:8px;background:#fff;color:#111;text-decoration:none;margin-top:16px}
@media(max-width:900px){.service-hero{grid-template-columns:1fr;min-height:auto}.divider{display:none}.service-content h1{font-size:32px}}

/* Utility */
.graphic-large[aria-hidden="true"]{opacity:0.98}

/* Ensure small service pills remain unchanged globally (the hover JS relies on .service-card elsewhere) */
.service-card { /* do not override core pill styles here */ }

/* Styles for services listing page */
.services-list{max-width:1100px;margin:48px auto;padding:24px}
.service-item{display:flex;gap:32px;align-items:center;padding:28px 0;border-bottom:1px solid rgba(255,255,255,0.04)}
.service-item:last-child{border-bottom:0}
.service-thumb{flex:0 0 220px}
.service-thumb .graphic{width:200px;height:200px;border-radius:8px;background:#222;display:block}
.service-body{flex:1}
.service-body h2{font-size:40px;margin:0 0 12px}
.service-body p{margin:0 0 12px;color:rgba(255,255,255,0.82)}
.service-body .btn{display:inline-block;margin-top:8px}
@media(max-width:900px){ .service-item{flex-direction:column;text-align:center}.service-thumb{order:0} .service-body h2{font-size:28px} }

/* Service detail (screenshot) layout: left icon, thin divider, right content */
.service-detail{display:grid;grid-template-columns:44% 1px 56%;gap:0;align-items:center;min-height:72vh;width:100%;box-sizing:border-box;padding:36px 0}
.service-detail .detail-left{display:flex;align-items:center;justify-content:center;padding-left:6vw}
.service-detail .detail-left .icon-wrap{width:320px;height:320px;display:flex;align-items:center;justify-content:center}
.icon-wrap svg .ico-stroke{stroke:#b92b2b;fill:none;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;transition:stroke 0.2s ease,fill 0.2s ease}
.icon-wrap svg .ico-fill{fill:#b92b2b;transition:fill 0.2s ease,stroke 0.2s ease}
.icon-wrap:hover svg .ico-stroke{stroke:#fff}
.icon-wrap:hover svg .ico-fill{fill:#fff;stroke:#fff}
.service-detail .detail-divider{background:rgba(255,255,255,0.06);width:1px;height:60vh;margin:0 auto}
.service-detail .detail-right{padding:0 8vw 0 6vw;box-sizing:border-box}
.service-detail .detail-right h1{font-size:64px;line-height:1;margin:0 0 18px;font-weight:800}
.svc-number{color:#b92b2b;margin-right:14px;font-weight:900;display:inline-block}
.service-detail .detail-right p.lead{color:rgba(255,255,255,0.85);max-width:640px;margin:0 0 18px;font-size:18px}
.service-detail .detail-right ul.deliverables{list-style:none;padding-left:0;margin:12px 0 22px}
.service-detail .detail-right ul.deliverables li{position:relative;padding-left:18px;margin:10px 0;color:rgba(255,255,255,0.9);text-transform:uppercase;font-size:14px}
.service-detail .detail-right ul.deliverables li::before{content:'';position:absolute;left:0;top:8px;width:6px;height:6px;border-radius:50%;background:#d22b2b}
.service-detail .cta-btn{display:inline-block;padding:10px 14px;border-radius:8px;background:transparent;color:#fff;text-decoration:none;font-weight:700;border:2px solid #b92b2b}
.service-detail .cta-btn:hover, .service-detail .cta-btn:focus{background:transparent;color:#b92b2b;text-decoration:underline;box-shadow:none;border-color:#b92b2b}

@media (max-width:1000px){
    .service-detail{grid-template-columns:1fr;}
    .service-detail .detail-divider{display:none}
    .service-detail .detail-left{padding:28px 0}
    .service-detail .detail-left .icon-wrap{width:180px;height:180px}
    .service-detail .detail-right h1{font-size:34px}
}


/* End of added styles */
/* ===================================
   AWAKEN - New Design System
   Font: Montserrat
   =================================== */

/* ===================================
   FONT IMPORT - Montserrat from Google Fonts
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ===================================
   FONT IMPORT - Juana Font
   =================================== */

@font-face {
    font-family: 'Juana';
    src: url('fonts/Juana-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Juana';
    src: url('fonts/Juana-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   CSS VARIABLES & RESET
   =================================== */

:root {
    /* Colors - Black & White palette (INVERTED) */
    --color-black: #ffffff;
    --color-white: #1a1a1a;
    --color-gray: #999999;
    --color-gray-light: #2a2a2a;
    --color-dark-gray: #cccccc;
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    --spacing-xxl: 120px;
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 14px;
    /* Fix for iOS Safari scroll issues */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent pull-to-refresh on mobile */
    overscroll-behavior-y: none;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.nav-brand a {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    font-family: 'Juana', sans-serif;
    margin-left: 0;
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 28px;
    width: auto;
}

.logo-svg {
    height: 40px;
    width: auto;
    color: var(--color-black);
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    margin-left: auto;
    margin-right: var(--spacing-xl);
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-base);
    display: none;
}

.lang-btn.active {
    color: #ffffff;
    display: none;
}

.lang-btn:hover {
    color: #ffffff;
}

.language-switcher {
    display: none !important;
}

.language-switcher span {
    color: rgba(255, 255, 255, 0.3);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-base);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #1a1a1a;
    padding-top: 80px;
    overflow: hidden;
}

.hero-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-subtitle {
    font-size: clamp(45px, 1.5vw, 45px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-md);
    margin-left: 0;
    letter-spacing: 1px;
    text-transform: none;
}

.hero-title {
    font-size: clamp(110px, 7vw, 110px);
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -2px;
    margin: 0 0 0 -6px;
    text-transform: uppercase;
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-line:last-child {
    position: relative;
    color: transparent;
    text-align: left;
}

/* Animacija za COMPANY tekst - dolazi sa desna */
.hero-line:last-child::before {
    content: 'COMPANY';
    position: absolute;
    left: 0;
    color: #ffffff;
    animation: slideInFromRight 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               fadeOutWhite 0.1s 4.4s forwards;
}

.hero-line:last-child::after {
    content: 'COMPANY';
    position: absolute;
    left: 0;
    color: #e31221;
    clip-path: inset(0 0 0 100%);
    animation: slideInFromRight 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               revealRed 1.8s 3s ease-in-out forwards;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    60% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOutWhite {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes revealRed {
    0% {
        clip-path: inset(0 0 0 100%);
    }
    100% {
        clip-path: inset(0 -50px 0 -50px);
    }
}

.hero-dot {
    color: #e31221;
    display: inline-block;
    animation: dotBounceSmooth 2s 1s cubic-bezier(0.33, 0, 0.67, 1) forwards;
    opacity: 0;
    margin-left: -0.05em;
    position: relative;
    top: -0.02em;
}

/* Animacija tačke - fizikalna simulacija elastičnog odbijanja sa prigušenjem */
@keyframes dotBounceSmooth {
    /* Dolazak sa desna - puna brzina */
    0% {
        opacity: 0;
        transform: translateX(100vw);
    }
    
    /* Prvi kontakt sa Y */
    25% {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Prvi bounce - 25vw */
    45% {
        transform: translateX(25vw);
    }
    
    /* Drugi kontakt sa Y */
    60% {
        transform: translateX(0);
    }
    
    /* Drugi bounce - 12.5vw (polovina od prvog) */
    80% {
        transform: translateX(12.5vw);
    }
    
    /* Konačno mirovanje */
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animacija tačke - udar i povećanje/smanjenje */
@keyframes dotImpact {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
    60% {
        transform: scale(1.8);
    }
    80% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-black);
    border-color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

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

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

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-gray);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-gray);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background-color: var(--color-gray);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ===================================
   VALUES SECTION - AWAKEN IN CENTER
   =================================== */

/* ===================================
   VALUES HORIZONTAL SCROLL SECTION
   =================================== */

.values-horizontal-section {
    position: relative;
    height: 600vh; /* 6 panels * 100vh each */
    background-color: #f5f5f5;
}

.values-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.values-left {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: var(--spacing-xxl);
    position: relative;
}

.awaken-words {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3em;
    padding-left: 3%;
}

.awaken-words[data-lang="en"] {
    opacity: 0;
}

.awaken-word {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.3;
    opacity: 0.2;
    transition: all 0.6s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: #231f20;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    cursor: pointer;
}

.awaken-word:hover {
    opacity: 1;
}

.awaken-word.active {
    opacity: 1;
    font-weight: 700;
}

.word-rest:first-child {
    width: 3.5em;
    text-align: right;
    flex-shrink: 0;
}

.odwaznost-adjust .word-rest:first-child {
    width: 3.3em;
}

.word-bold {
    font-weight: 700;
    flex-shrink: 0;
    color: #c41508;
}

.word-rest:last-child {
    font-weight: inherit;
}

.values-right {
    width: 60%;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.values-scroll-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-out;
}

.value-panel {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-xxl);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.value-panel.active {
    opacity: 1;
    transform: translateY(0);
}

.value-panel h3 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #231f20;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.value-panel p {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.8;
    color: rgba(35, 31, 32, 0.8);
    max-width: 600px;
    text-align: justify;
}

.value-item.value-animating .value-text {
    opacity: 1;
    max-height: 100px;
    margin-top: var(--spacing-sm);
}

/* ===================================
   SERVICES PREVIEW
   =================================== */

.services-preview {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--color-black);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
}

.services-row {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    animation: slideLeftToRight 15s linear infinite;
}

.services-row:nth-child(2) {
    animation: slideRightToLeft 15s linear infinite;
}

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

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

.service-card {
    padding: var(--spacing-lg) var(--spacing-xl);
    background-color: var(--color-white);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 120px;
    min-width: 300px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    background-color: #c41508;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(196, 21, 8, 0.3);
}

.service-icon {
    display: none;
}

.service-card:hover .service-icon {
    display: none;
}

.service-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-black);
}

.service-card:hover .service-name {
    color: #ffffff;
}

.service-desc {
    display: none;
}

.service-card:hover .service-desc {
    display: none;
}

.service-arrow {
    display: none;
}

.service-card:hover .service-arrow {
    display: none;
}

.section-cta {
    text-align: center;
}

/* ===================================
   MANIFEST TEASER
   =================================== */

.manifest-teaser {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
}

.manifest-content {
    position: relative;
    min-height: 400px;
}

.typewriter-container {
    min-height: 400px;
    margin-bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.typewriter-text {
    font-size: clamp(12px, 2vw, 15px);
    line-height: 1.8;
    text-align: justify;
    color: #231f20;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-weight: 300;
}

.highlight-word-animated {
    color: #231f20;
    background: transparent;
    padding: 2px 4px;
    border-radius: 2px;
    transition: all 0.5s ease;
}

.highlight-word-animated.active {
    background: #c41508;
    color: #ffffff;
    padding: 4px 8px;
    font-weight: 600;
}

.highlight-word {
    background: #c41508;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 2px;
    animation: highlightPulse 0.5s ease-in-out;
    font-weight: 600;
    display: inline-block;
}

@keyframes highlightPulse {
    0% {
        background: transparent;
        color: #231f20;
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        background: #c41508;
        color: #ffffff;
        transform: scale(1);
    }
}

.manifest-btn {
    transition: opacity 0.5s ease;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.manifest-quote {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.manifest-quote p {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 64px 32px;
    margin-bottom: var(--spacing-xl);
    align-items: start;
}

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

.footer-col:nth-child(2) {
    padding-left: 0px;
    padding-right: 0px;
}

.footer-col:nth-child(3) {
    padding-right: 0px;
    margin-left: -60px;
}

.footer-col:last-child {
    margin-left: 0;
}

.footer-logo {
    height: auto;
    width: auto;
    max-width: 200px;
    margin-bottom: var(--spacing-sm);
    display: block;
}

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

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #c41508;
}

.footer-services-grid {
    column-count: 2;
    column-gap: 60px;
    margin-top: -8px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background-color: #b92b2b;
    border-color: #b92b2b;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   PAGE HEADER
   =================================== */

.page-header {
    padding: calc(var(--spacing-xxl) + 70px) 0 var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(0, 0, 0, 0.02) 35px, rgba(0, 0, 0, 0.02) 70px);
    opacity: 0.5;
}

.page-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.page-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--color-gray);
    position: relative;
}

/* ===================================
   SERVICES DETAIL PAGE
   =================================== */

.services-detail {
    padding: var(--spacing-xxl) 0;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    border-bottom: 1px solid var(--color-gray-light);
}

.service-detail-item:last-child {
    border-bottom: none;
}

.service-detail-item.reverse {
    direction: rtl;
}

.service-detail-item.reverse > * {
    direction: ltr;
}

.service-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.service-detail-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-md);
}

.service-detail-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    padding-left: 30px;
    margin-bottom: var(--spacing-sm);
    position: relative;
    font-size: 14px;
    color: var(--color-dark-gray);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-black);
    font-weight: 700;
}

.service-detail-visual {
    position: relative;
    height: 500px;
}

.visual-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.visual-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: transparent;
    opacity: 0;
    animation: none;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.placeholder-content i {
    font-size: 120px;
    color: #c41508;
    opacity: 1;
    position: relative;
    z-index: 2;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: clamp(18px, 3vw, 24px);
    color: #1a1a1a;
    margin-bottom: var(--spacing-xl);
}

/* ===================================
   MANIFEST PAGE
   =================================== */

.manifest-page {
    padding: var(--spacing-xxl) 0;
}

.manifest-page body,
.manifest-page html {
    font-size: 16px !important;
}

.manifest-page * {
    font-size: inherit;
}

.manifest-intro {
    max-width: 900px;
    margin: 0 auto var(--spacing-xxl);
    text-align: center;
}

.manifest-intro-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-md);
}

.manifest-intro-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray);
}

.manifest-content-block {
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
}

.manifest-section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-black);
}

.manifest-text {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-dark-gray);
    margin-bottom: var(--spacing-md);
}

.manifest-text.highlight {
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
    color: var(--color-black);
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border-left: 4px solid var(--color-black);
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-page {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: var(--spacing-lg);
}

.contact-info-block {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
}

.contact-info-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.contact-info-item {
    margin-bottom: var(--spacing-md);
}

.contact-info-item h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: var(--spacing-xs);
}

.contact-info-item p,
.contact-info-item a {
    font-size: 14px;
    color: var(--color-dark-gray);
}

.contact-info-item a:hover {
    color: var(--color-black);
}

.contact-form-block {
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
}

.contact-form-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--color-black);
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    transition: var(--transition-base);
    /* Prevent iOS zoom on input focus */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-black);
}

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

.form-submit {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.form-submit:hover,
.form-submit:focus {
    background: #b92b2b;
    border-color: #b92b2b;
    color: #fff;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: clamp(64px, 8vw, 80px);
    }

    .hero-subtitle {
        font-size: clamp(24px, 3vw, 28px);
    }

    /* Values section tablet */
    .values-grid {
        height: 100vh;
    }
    
    .value-item {
        width: 240px;
        padding: var(--spacing-md);
    }

    .awaken-word {
        font-size: 28px;
    }

    /* Services tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .service-card {
        min-width: 280px;
    }

    .services-row {
        animation-duration: 18s;
    }

    /* Footer tablet */
    .footer-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
        gap: var(--spacing-lg);
    }

    .footer-col:last-child {
        grid-column: span 2;
    }

    /* Contact page tablet */
    .contact-grid {
        gap: var(--spacing-xl);
    }

    /* Service detail tablet */
    .service-detail-visual {
        height: 350px;
    }

    /* Manifest tablet */
    .manifest-intro-text,
    .typewriter-text {
        font-size: 16px;
        line-height: 1.8;
    }

    /* Touch-friendly buttons */
    .btn {
        min-height: 48px;
        padding: 14px 32px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero {
        padding: 80px 0 60px;
        min-height: calc(100vh - 70px);
    }

    .hero-subtitle {
        font-size: clamp(20px, 3vw, 26px);
        margin-bottom: var(--spacing-sm);
    }

    .hero-title {
        font-size: clamp(48px, 10vw, 72px);
        margin-left: 0;
        margin-bottom: var(--spacing-md);
    }

    .hero-cta {
        gap: var(--spacing-sm);
    }

    /* Services animations - slower on mobile */
    .services-row {
        animation-duration: 25s;
        gap: var(--spacing-sm);
    }

    .service-card {
        min-width: 260px;
        padding: var(--spacing-lg);
    }

    .service-name {
        font-size: 16px;
    }

    /* Navigation mobile */
    .navbar {
        padding: var(--spacing-sm) 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-xl);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu li {
        margin: var(--spacing-sm) 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--spacing-sm) 0;
        font-size: 20px;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link:hover,
    .nav-link.active {
        color: #c41508;
        background: transparent;
    }
    
    .nav-hamburger {
        display: flex;
    }

    .nav-actions {
        display: none !important;
    }
    
    /* Values section mobile */
    .values-horizontal-section {
        height: auto !important;
        padding: var(--spacing-xl) 0;
    }

    .values-container {
        position: relative !important;
        flex-direction: column;
        height: auto !important;
    }

    .values-left,
    .values-right {
        width: 100% !important;
        position: relative !important;
    }

    .values-left {
        height: auto;
        padding: var(--spacing-xl) var(--spacing-md);
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .values-right {
        height: auto;
        padding: var(--spacing-md) 0;
    }

    .values-scroll-container {
        position: relative !important;
        transform: none !important;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }

    .value-panel {
        position: relative !important;
        height: auto !important;
        padding: var(--spacing-lg);
        min-height: auto;
    }

    .awaken-word {
        font-size: clamp(20px, 5vw, 28px);
        margin-bottom: var(--spacing-sm);
        display: block;
    }

    .value-panel h3 {
        font-size: 22px;
        margin-bottom: var(--spacing-sm);
    }

    .value-panel p {
        font-size: 15px;
    }
    
    /* Services grid on mobile */
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .services-row {
        flex-direction: column;
        gap: var(--spacing-sm);
        animation: none;
    }

    .service-card {
        min-width: 100%;
        width: 100%;
    }
    
    /* Service detail pages */
    .service-detail-item,
    .service-detail-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: var(--spacing-md);
    }
    
    .service-detail-visual {
        height: 250px;
        order: -1;
    }

    .service-detail-content {
        padding: var(--spacing-md);
    }
    
    /* Contact page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .contact-info-block,
    .contact-form-block {
        padding: var(--spacing-md);
    }

    /* Footer mobile */
    .footer {
        padding: var(--spacing-xl) 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-col:nth-child(3) {
        margin-left: 0;
    }

    .footer-col-services {
        display: none;
    }

    .footer-social {
        margin-top: var(--spacing-md);
    }

    /* Manifest page */
    .manifest-intro,
    .manifest-content-block {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .manifest-intro-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .typewriter-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .manifest-highlight {
        padding: var(--spacing-md);
        margin: var(--spacing-md) 0;
    }

    /* Sections spacing */
    .section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: var(--spacing-md);
    }

    .section-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xs: 8px;
        --spacing-sm: 12px;
        --spacing-md: 16px;
        --spacing-lg: 24px;
        --spacing-xl: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: var(--spacing-sm);
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.1;
        margin-bottom: var(--spacing-md);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }
    
    .btn {
        width: 100%;
        font-size: 14px;
        padding: 14px 24px;
        white-space: nowrap;
    }

    .service-card {
        min-width: 100%;
        padding: var(--spacing-lg);
    }

    .service-name {
        font-size: 16px;
    }

    .awaken-word {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .value-panel {
        padding: var(--spacing-md) !important;
    }

    .value-panel h3 {
        font-size: 20px;
        margin-bottom: var(--spacing-sm);
    }

    .value-panel p {
        font-size: 14px;
        line-height: 1.6;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: var(--spacing-md);
    }

    .section-subtitle {
        font-size: 14px;
    }

    .navbar .container {
        padding: var(--spacing-sm);
    }

    .logo {
        height: 28px;
    }

    .nav-menu {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .nav-link {
        font-size: 18px;
        padding: var(--spacing-sm) 0;
    }

    .footer-grid {
        gap: var(--spacing-md);
    }

    .footer-logo {
        height: 32px;
        margin-bottom: var(--spacing-sm);
    }

    .footer-tagline,
    .footer-col p,
    .footer-col li,
    .footer-col a {
        font-size: 14px;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: var(--spacing-sm);
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* Manifest page mobile */
    .manifest-intro-text,
    .manifest-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .typewriter-text {
        font-size: 14px;
    }

    .manifest-highlight {
        font-size: 16px;
        padding: var(--spacing-sm);
        margin: var(--spacing-md) 0;
    }

    /* Contact page mobile */
    .contact-info-title,
    .contact-form-title {
        font-size: 24px;
        margin-bottom: var(--spacing-md);
    }

    .contact-info-item h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .contact-info-item p,
    .contact-info-item a {
        font-size: 14px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 14px;
        padding: 12px;
    }

    .form-submit {
        font-size: 14px;
        padding: 14px 24px;
    }

    /* Services detail page mobile */
    .service-detail-header h1 {
        font-size: 32px;
    }

    .service-detail-header p {
        font-size: 14px;
    }

    .service-detail-visual {
        height: 200px !important;
    }

    .service-detail-content h3 {
        font-size: 20px;
        margin-bottom: var(--spacing-sm);
    }

    .service-detail-content p,
    .service-detail-content li {
        font-size: 14px;
    }
}

/* ===================================
   MOBILE & TOUCH OPTIMIZATIONS
   =================================== */

/* Touch-friendly interactive elements */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    /* Make tap targets larger */
    .btn,
    .nav-link,
    .footer-social a {
        min-height: 48px;
        min-width: 48px;
    }

    /* Improve button tap response */
    .btn:active,
    .service-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Prevent text selection on touch gestures */
.service-card,
.value-panel,
.awaken-word {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Smooth momentum scrolling on iOS */
.nav-menu,
.values-scroll-container {
    -webkit-overflow-scrolling: touch;
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .values-left {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .value-panel {
        padding: var(--spacing-md) !important;
    }

    .navbar {
        padding: 8px 0;
    }

    .logo {
        height: 24px;
    }
}

/* Tablet specific adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .service-card {
        min-width: 280px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-title {
        font-size: 64px;
    }

    .section-title {
        font-size: 36px;
    }

    .btn {
        padding: 16px 36px;
        font-size: 15px;
    }
}

/* Very small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 24px;
    }

    .nav-menu {
        padding: var(--spacing-md);
    }

    .service-card {
        padding: var(--spacing-md);
    }

    .footer-grid {
        gap: var(--spacing-sm);
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}


/* ===== Navigation hover (desktop) ===== */
.nav-menu .nav-link:hover, .nav-menu .nav-link:focus, .nav-menu .nav-link.active, .navbar .nav-link:hover, .navbar .nav-link:focus {
    color: #c41508 !important;
    transition: color 0.15s ease;
}
.nav-menu .nav-link { transition: color 0.15s ease; }

/* ===== Navigation underline (red) and keep font-weight on hover ===== */
.nav-menu .nav-link {
    position: relative;
    font-weight: 700; /* ensure consistent weight */
}
.nav-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: transparent;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease, background 180ms ease;
}
.nav-menu .nav-link:hover::after,
.nav-menu .nav-link:focus::after,
.nav-menu .nav-link.active::after {
    background: #c41508;
    transform: scaleX(1);
}
.nav-menu .nav-link:hover, .nav-menu .nav-link:focus, .nav-menu .nav-link.active {
    font-weight: 700 !important; /* do not change weight on hover */
}
@media (max-width: 768px) {
    /* remove underline behavior on mobile menu (uses background highlight) */
    .nav-menu .nav-link::after { display: none; }
}
