/**
 * ESOFTKING INFOTECH - Compact Modern Tech Theme
 * Vertical scroll-animated brand • Section animations
 */

:root {
    --blue-light: #4da6ff;
    --blue-mid: #2563eb;
    --blue-deep: #1e40af;
    --orange-light: #ffb347;
    --orange-mid: #f97316;
    --orange-deep: #ea580c;
    --gradient-blue: linear-gradient(135deg, #4da6ff 0%, #2563eb 50%, #1e40af 100%);
    --gradient-orange: linear-gradient(135deg, #ffb347 0%, #f97316 50%, #ea580c 100%);
    --gradient-mixed: linear-gradient(135deg, #4da6ff 0%, #f97316 100%);
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(37,99,235,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --header-h: 64px;
    --header-h-mobile: 56px;
}

/* ========== SCROLL PROGRESS - Left to right moving path ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1001;
    background: rgba(37,99,235,0.08);
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4da6ff, #f97316);
    opacity: 0.5;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== VERTICAL BRAND - In reserved gutter, no overlap with content ========== */
.vertical-brand {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    right: auto;
    z-index: 50;
    pointer-events: none;
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                right 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vertical-brand.section-mode {
    left: auto;
    right: 20px;
}

/* Reserve space so vertical brand never overlays content */
@media (min-width: 481px) and (max-width: 768px) {
    main {
        padding-left: 72px;
        padding-right: 72px;
    }
}
@media (min-width: 769px) {
    main {
        padding-left: 100px;
        padding-right: 100px;
    }
}

.vertical-brand-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-weight: 800;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #4da6ff 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
    transition: font-size 0.5s ease, opacity 0.4s ease;
}

/* Section header - space for vertical brand */
.section-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

/* Dynamic section labels - WEBSITE, SOFTWARE, APPLICATION, MARKETING */
.section-dynamic-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #4da6ff, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    opacity: 0.9;
}

.hero .section-dynamic-label {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    margin-bottom: 12px;
}


.section-dynamic-label--light {
    color: rgba(255,255,255,0.9);
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section reveal elements - Pocketchange-style staggered */
.reveal-el {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-section.visible .reveal-el,
.cta.visible .reveal-el {
    opacity: 1;
    transform: translateY(0);
}

.animate-section.visible .section-header .section-dynamic-label,
.cta.visible .section-dynamic-label { transition-delay: 0.1s; }
.animate-section.visible .section-header .section-title,
.cta.visible h2 { transition-delay: 0.2s; }
.animate-section.visible .section-subtitle,
.cta.visible .cta-inner p { transition-delay: 0.3s; }
.cta.visible .cta-buttons { transition-delay: 0.4s; }

/* Animate sections on scroll - smooth reveal */
.animate-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-section .service-card,
.animate-section .why-card,
.animate-section .portfolio-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-section.visible .service-card,
.animate-section.visible .why-card,
.animate-section.visible .portfolio-card {
    opacity: 1;
    transform: translateY(0);
}

.animate-section.visible .services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.animate-section.visible .services-grid .service-card:nth-child(2) { transition-delay: 0.15s; }
.animate-section.visible .services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }
.animate-section.visible .services-grid .service-card:nth-child(4) { transition-delay: 0.25s; }
.animate-section.visible .services-grid .service-card:nth-child(5) { transition-delay: 0.3s; }
.animate-section.visible .services-grid .service-card:nth-child(6) { transition-delay: 0.35s; }
.animate-section.visible .why-grid .why-card:nth-child(1) { transition-delay: 0.1s; }
.animate-section.visible .why-grid .why-card:nth-child(2) { transition-delay: 0.15s; }
.animate-section.visible .why-grid .why-card:nth-child(3) { transition-delay: 0.2s; }
.animate-section.visible .why-grid .why-card:nth-child(4) { transition-delay: 0.25s; }
.animate-section.visible .portfolio-grid .portfolio-card:nth-child(1) { transition-delay: 0.1s; }
.animate-section.visible .portfolio-grid .portfolio-card:nth-child(2) { transition-delay: 0.15s; }
.animate-section.visible .portfolio-grid .portfolio-card:nth-child(3) { transition-delay: 0.2s; }
.animate-section.visible .portfolio-grid .portfolio-card:nth-child(4) { transition-delay: 0.25s; }

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-padding-top: calc(var(--header-h, 64px) + 20px);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

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

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

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


/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    height: 42px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-drawer-links {
    display: contents;
}

.nav-close {
    display: none;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--blue-mid);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-get-quote {
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-blue);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-get-quote:hover {
    background: var(--gradient-orange);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* Header Quick Form - only form box, no full-width overlay */
.header-quick-form {
    position: absolute;
    top: 100%;
    right: 20px;
    max-width: 1200px;
    margin-left: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: transparent;
}

.header-quick-form.active {
    max-height: 420px;
}

.quick-form-slide {
    width: 360px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: end;
    padding: 20px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    margin: 0 0 16px 0;
}

.quick-form-slide h3 {
    grid-column: 1 / -1;
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    color: var(--text-dark);
}

.quick-form-slide .form-success,
.quick-form-slide .form-error {
    grid-column: 1 / -1;
    margin: 0 0 8px 0;
}

.quick-form-slide input,
.quick-form-slide textarea {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.quick-form-slide textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 60px;
}

.quick-form-slide input:focus,
.quick-form-slide textarea:focus {
    outline: none;
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.quick-form-slide .btn-submit {
    grid-column: 1 / -1;
    justify-self: start;
}

.btn-submit {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-blue);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--gradient-orange);
}

/* Scroll snap - smooth section-to-section */
.hero,
.section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

/* ========== HERO ========== */
.hero {
    min-height: 85vh;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(77,166,255,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(249,115,22,0.12) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Hero staggered entrance - Pocketchange-style */
.hero .animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero .animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    display: block;
}

.hero-title .animate-in {
    display: inline;
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 32px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: scrollIndicatorFade 1s ease-out 1.2s forwards;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.scroll-indicator:hover {
    color: var(--blue-mid);
}

.scroll-arrow {
    font-size: 1rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollIndicatorFade {
    to { opacity: 0.7; }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (max-width: 768px) {
    .scroll-indicator { display: none; }
}

.hero-image-wrap {
    position: relative;
    min-height: 320px;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    transition: transform 0.1s ease-out;
}

.hero-image-caption {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
}

.hero-image-caption strong {
    color: var(--text-dark);
    font-weight: 600;
}

.hero-image-placeholder {
    display: none;
    width: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, rgba(77,166,255,0.2) 0%, rgba(249,115,22,0.15) 100%);
    border-radius: 8px;
}

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

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--blue-mid);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 18px;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    background: var(--gradient-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: rgba(37,99,235,0.08);
}

.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* Quick Form Card - subtle, not boxed */
.quick-form-card {
    background: rgba(255,255,255,0.6);
    padding: 22px;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.quick-form-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.quick-form-card input,
.quick-form-card select,
.quick-form-card textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
}

.quick-form-card input:focus,
.quick-form-card select:focus,
.quick-form-card textarea:focus {
    outline: none;
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.form-success {
    color: #059669;
    font-weight: 500;
    padding: 16px 0;
}

.form-error {
    color: #dc2626;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* ========== SECTIONS ========== */
.section {
    padding: 24px 0;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
}

/* Services - structured but borderless, no box look */
.services {
    background: transparent;
}

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

.service-card {
    position: relative;
    background: transparent;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.service-card:hover {
    background: rgba(37,99,235,0.03);
    border-color: rgba(37,99,235,0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-mixed);
    border-radius: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
    font-size: 1.25rem;
}

.icon-default {
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.link-arrow {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-mid);
    transition: color 0.2s;
}

.link-arrow:hover {
    color: var(--orange-mid);
}

/* Why Choose Us - structured but no box look */
.why-us {
    background: transparent;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.why-card {
    background: transparent;
    padding: 16px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: all 0.3s;
}

.why-card:hover {
    background: rgba(249,115,22,0.04);
}

.why-num {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Portfolio - structured but no box look */
.portfolio {
    background: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.portfolio-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: none;
    transition: all 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-2px);
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder span {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    font-size: 0.8rem;
    color: var(--orange-light);
    font-weight: 600;
    margin-bottom: 8px;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.portfolio-info .client {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA */
.cta {
    padding: 48px 0;
}

.cta-inner {
    text-align: center;
    color: var(--text-dark);
}

.cta .section-dynamic-label--light {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-inner h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    margin-bottom: 8px;
    font-weight: 800;
}

.cta-inner p {
    margin-bottom: 24px;
    opacity: 0.95;
    font-size: 0.95rem;
}

/* CTA Phone Full Width - Boxed Layout */
.cta-phone-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f5f9ff 100%);
    border: 1px solid rgba(37,99,235,0.2);
    box-shadow: 0 4px 24px rgba(37,99,235,0.08);
}

@media (min-width: 768px) {
    .cta-phone-full {
        grid-template-columns: 1.2fr 1fr;
    }
}

.cta-phone-full__content {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-phone-full__label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--blue-mid);
    margin-bottom: 12px;
}

.cta-phone-full__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.cta-phone-full__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.cta-phone-full__actions {
    padding: 40px 32px;
    background: linear-gradient(180deg, rgba(77,166,255,0.06) 0%, rgba(249,115,22,0.04) 100%);
    border-left: 1px solid rgba(37,99,235,0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 767px) {
    .cta-phone-full__actions {
        border-left: none;
        border-top: 1px solid rgba(37,99,235,0.15);
    }
}

.cta-phone-full__phone-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--blue-mid);
    margin-bottom: 6px;
}

.cta-phone-full__number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 24px;
    letter-spacing: 0.03em;
}

.cta-phone-full__btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cta-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-phone-btn svg {
    flex-shrink: 0;
}

.cta-phone-btn--whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
}

.cta-phone-btn--whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.cta-phone-btn--call {
    background: var(--gradient-blue);
    color: #fff;
    border: none;
}

.cta-phone-btn--call:hover {
    background: var(--gradient-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cta-inner .btn {
    margin: 0 8px 8px 0;
}

.cta-inner .btn-primary {
    background: var(--gradient-blue);
    color: white;
}

.cta-inner .btn-outline {
    border-color: var(--blue-mid);
    color: var(--blue-mid);
}

.cta-inner .btn-outline:hover {
    background: rgba(37,99,235,0.08);
}

/* ========== TECH STACK - Scrolling Marquee ========== */
.tech-stack {
    padding: 40px 0 48px;
    background: #fff;
    overflow: hidden;
}

.tech-stack__title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.tech-stack__scroll-wrap {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.tech-stack__scroll {
    display: flex;
    gap: 24px;
    animation: techScroll 30s linear infinite;
    width: max-content;
}

.tech-stack__scroll:hover {
    animation-play-state: paused;
}

.tech-stack__item {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(77,166,255,0.08) 0%, rgba(249,115,22,0.06) 100%);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.tech-stack__item:hover {
    background: rgba(77,166,255,0.15);
    border-color: rgba(37,99,235,0.4);
}

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

/* ========== PAGE HERO & BREADCRUMB ========== */
.page-hero {
    padding: calc(var(--header-h, 64px) + 48px) 0 48px;
    background: linear-gradient(135deg, rgba(77,166,255,0.04) 0%, rgba(255,255,255,0) 50%, rgba(249,115,22,0.04) 100%);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77,166,255,0.2), rgba(249,115,22,0.2), transparent);
    opacity: 0.6;
}

.page-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-hero__title--left .gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
}

.page-hero__title--left,
.page-hero__subtitle--left {
    text-align: left;
}

.page-hero__subtitle--left {
    margin-left: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--blue-mid);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--orange-mid);
}

.breadcrumb-sep {
    opacity: 0.5;
}

/* ========== CONTACT PAGE ========== */
.page-hero--contact .page-hero__title .gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section {
    padding: 48px 0 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1.2fr 380px;
        gap: 48px;
    }
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(77,166,255,0.12);
}

.contact-form__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form__row input {
    margin-bottom: 0;
}

.contact-form input,
.contact-form select {
    margin-bottom: 16px;
}

.contact-form textarea {
    margin-bottom: 20px;
    resize: vertical;
    min-height: 120px;
}

.contact-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.contact-form__btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.05rem;
}

.contact-alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-alert--success {
    background: rgba(5,150,105,0.1);
    color: #059669;
    border: 1px solid rgba(5,150,105,0.3);
}

.contact-alert--error {
    background: rgba(220,38,38,0.08);
    color: #dc2626;
    border: 1px solid rgba(220,38,38,0.25);
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(77,166,255,0.06) 0%, rgba(249,115,22,0.04) 100%);
    border: 1px solid rgba(77,166,255,0.15);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.contact-info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid rgba(226,232,240,0.6);
}

.contact-info__item:last-of-type {
    border-bottom: none;
}

.contact-info__item:hover {
    color: var(--blue-mid);
}

.contact-info__item--whatsapp:hover {
    color: #25D366;
}

.contact-info__item--text {
    cursor: default;
}

.contact-info__item--text:hover {
    color: var(--text-dark);
}

.contact-info__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-info__item--whatsapp .contact-info__icon {
    background: #25D366;
}

@media (max-width: 600px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }
}

/* ========== ABOUT PAGE ========== */
.page-hero--about .page-hero__title .gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About page - 70% story left, 30% founder right */
.about-layout {
    padding: 48px 0 80px;
}

.about-layout__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 900px) {
    .about-layout__grid {
        grid-template-columns: 70% 30%;
        gap: 56px;
    }
}

.about-layout__story {
    min-width: 0;
}

.about-history__content {
    margin-top: 24px;
}

.about-history__text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-history__text strong {
    color: var(--text-dark);
}

/* ========== LEGAL PAGES ========== */
.page-hero--legal .page-hero__title .gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content {
    padding: 48px 0 80px;
}

.legal-content__inner {
    max-width: 720px;
}

.legal-content__inner h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 28px 0 12px;
}

.legal-content__inner h2:first-of-type {
    margin-top: 0;
}

.legal-content__inner p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.legal-content__inner ul {
    margin: 12px 0 20px 24px;
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-content__inner li {
    margin-bottom: 8px;
}

.founder-message__card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 28px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(77,166,255,0.12);
    position: sticky;
    top: calc(var(--header-h, 64px) + 24px);
}

.about-layout__founder .founder-message__card .section-dynamic-label {
    display: block;
    margin-bottom: 4px;
}

.about-layout__founder .founder-message__quote {
    font-size: 0.95rem;
}

.founder-message__image {
    flex-shrink: 0;
}

.founder-message__image img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.about-layout__founder .founder-message__image img {
    width: 120px;
    height: 120px;
}

.about-layout__founder .founder-message__placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.founder-message__placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.founder-message__content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.founder-message__role {
    font-size: 0.95rem;
    color: var(--blue-mid);
    margin-bottom: 20px;
}

.founder-message__quote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
    padding-left: 16px;
    border-left: 4px solid var(--blue-mid);
}

/* ========== SERVICES PAGE ========== */
.services-section {
    padding: 40px 0 60px;
}

.services-grid--page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.service-card--page {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card--page:hover {
    border-color: rgba(37,99,235,0.35);
    box-shadow: var(--shadow-md);
}

.service-card__link {
    display: block;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-card__cta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-mid);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.service-card--page:hover .service-card__cta {
    color: var(--orange-mid);
}

/* ========== SERVICE DETAIL PAGE ========== */
.page-hero--service-detail .page-hero__title {
    margin-bottom: 8px;
}

.service-detail-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

@media (min-width: 769px) {
    .service-detail-header {
        grid-template-columns: 1fr 320px;
    }
}

.service-detail-header__icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-mixed);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(77,166,255,0.35);
}

.service-detail-header__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-detail-header__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.service-content {
    padding: 48px 0 64px;
    background: linear-gradient(180deg, rgba(248,250,252,0.5) 0%, transparent 100%);
}

.service-content__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 900px) {
    .service-content__layout {
        grid-template-columns: 1fr 280px;
    }
}

.service-prose {
    background: linear-gradient(135deg, #fff 0%, #fafbfd 100%);
    border: 1px solid rgba(77,166,255,0.12);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.04);
}

.service-prose__heading {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-mid);
    margin-bottom: 16px;
}

.service-prose__body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.service-prose__body p {
    margin-bottom: 1.25em;
}

.service-prose__body p:last-child {
    margin-bottom: 0;
}

.service-section__title {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin: 48px 0 24px;
    padding: 0 0 12px;
    position: relative;
}

.service-section__title::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--gradient-mixed);
    border-radius: 2px;
}

/* Key Features grid */
.service-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.service-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.service-feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-mixed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-feature-card:hover {
    border-color: rgba(37,99,235,0.25);
    box-shadow: 0 8px 24px rgba(37,99,235,0.12);
    transform: translateY(-2px);
}

.service-feature-card:hover::before {
    opacity: 1;
}

.service-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(77,166,255,0.12) 0%, rgba(249,115,22,0.08) 100%);
    border-radius: 12px;
}

.service-feature-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-feature-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Add-on Features */
.service-addons {
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.9) 100%);
    border: 1px solid rgba(249,115,22,0.15);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 2px 16px rgba(249,115,22,0.06);
}

.service-addons__intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.service-addons__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-addon-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(77,166,255,0.1) 0%, rgba(249,115,22,0.08) 100%);
    border: 1px solid rgba(77,166,255,0.25);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.25s ease;
}

.service-addon-tag::before {
    content: '+';
    margin-right: 6px;
    font-weight: 700;
    color: var(--blue-mid);
}

.service-addon-tag:hover {
    background: linear-gradient(135deg, rgba(77,166,255,0.18) 0%, rgba(249,115,22,0.12) 100%);
    border-color: rgba(37,99,235,0.45);
    transform: scale(1.02);
}

/* Our Process */
.service-process {
    background: linear-gradient(135deg, #fff 0%, #fafbfd 100%);
    border: 1px solid rgba(77,166,255,0.1);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.04);
}

.service-process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.service-process__step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.service-process__step:hover {
    border-color: rgba(249,115,22,0.35);
    box-shadow: 0 6px 20px rgba(249,115,22,0.1);
    transform: translateY(-2px);
}

.service-process__num {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.service-process__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.service-cta-block {
    margin-top: 48px;
    padding: 32px 28px;
    background: linear-gradient(135deg, rgba(77,166,255,0.06) 0%, rgba(249,115,22,0.06) 50%, rgba(77,166,255,0.04) 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(77,166,255,0.2);
    border-left: 4px solid var(--blue-mid);
    box-shadow: 0 4px 20px rgba(37,99,235,0.08);
}

.service-cta-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.service-cta-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-cta-block .btn-primary {
    background: var(--gradient-blue);
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.service-cta-block .btn-primary:hover {
    background: var(--gradient-orange);
    transform: translateY(-1px);
}

.service-sidebar-card {
    background: linear-gradient(180deg, #fff 0%, #fafbfd 100%);
    border: 1px solid rgba(77,166,255,0.15);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.04);
}

.service-sidebar-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-mid);
    margin-bottom: 16px;
}

.service-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sidebar-list li {
    margin-bottom: 10px;
}

.service-sidebar-list a {
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: color 0.2s;
}

.service-sidebar-list a:hover {
    color: var(--blue-mid);
}

.service-sidebar-card .link-arrow {
    margin-top: 12px;
    display: inline-block;
}

.cta--compact {
    padding: 40px 20px;
}

.cta--compact .cta-inner h2 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--text-dark);
    color: #94a3b8;
}

.footer-top {
    padding: 24px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    color: rgba(255,255,255,0.9);
    transition: all 0.25s ease;
}

.social-links a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-links a:hover {
    background: var(--gradient-mixed);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--orange-light);
}

/* Footer Contact - Compact with Icons */
.footer-contact__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact__item:hover {
    color: var(--orange-light);
}

.footer-contact__item--text {
    cursor: default;
}

.footer-contact__item--text:hover {
    color: #94a3b8;
}

.footer-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    color: rgba(255,255,255,0.9);
}

.footer-contact__icon svg {
    width: 14px;
    height: 14px;
}

.footer-contact__item span:last-child {
    word-break: break-word;
}

.footer-bottom {
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    text-align: center;
    font-size: 0.875rem;
}

/* ========== MOBILE - COMPACT APP-LIKE ========== */
@media (max-width: 768px) {
    :root {
        --header-h: 56px;
        --header-h-mobile: 56px;
    }

    .header {
        height: var(--header-h-mobile);
        min-height: var(--header-h-mobile);
        display: flex;
        align-items: stretch;
        background: #fff;
    }

    .header-inner {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 8px 12px;
        gap: 12px;
        min-height: 0;
    }

    body.nav-open .header {
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    body.nav-open .header::after {
        content: '';
        position: fixed;
        top: var(--header-h-mobile);
        left: 0;
        bottom: 0;
        width: calc(100% - min(260px, 85vw));
        background: #fff;
        z-index: 1000;
        pointer-events: none;
    }

    .nav {
        display: flex;
        position: fixed;
        top: var(--header-h-mobile);
        right: 0;
        bottom: 0;
        width: min(260px, 85vw);
        height: auto;
        min-height: calc(100dvh - var(--header-h-mobile));
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border-left: 3px solid transparent;
        border-image: linear-gradient(180deg, #4da6ff, #f97316) 1;
        z-index: 1001;
        box-shadow: -12px 0 40px rgba(37,99,235,0.15);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        pointer-events: none;
    }

    .nav.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: transform 0.2s ease;
    }

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-actions {
        gap: 8px;
    }

    .btn-get-quote {
        padding: 6px 12px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .logo img {
        height: 32px;
    }

    /* Mobile nav - right drawer */
    .nav-backdrop {
        display: none;
        position: fixed;
        top: var(--header-h-mobile);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15,23,42,0.35);
        z-index: 1000;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    body.nav-open .nav-backdrop {
        display: block;
        pointer-events: auto;
    }

    body.nav-open {
        overflow: hidden;
    }


    .nav-drawer-links {
        display: flex;
        flex-direction: column;
        padding: 8px 0;
        overflow-y: auto;
    }

    .nav.active .nav-drawer-links a {
        font-size: 0.9rem;
        font-weight: 500;
        padding: 8px 14px;
        margin: 0;
        display: flex;
        align-items: center;
        color: var(--text-dark);
        text-decoration: none;
        border-bottom: 1px solid #f1f5f9;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav.active .nav-drawer-links a:last-child {
        border-bottom: none;
    }

    .nav.active .nav-drawer-links a:hover,
    .nav.active .nav-drawer-links a:active {
        background: #f8fafc;
        color: var(--blue-mid);
    }

    .nav.active .nav-drawer-links a:focus-visible {
        outline: 2px solid rgba(37,99,235,0.5);
        outline-offset: -2px;
    }

    .header-quick-form {
        right: 16px;
        left: 16px;
        margin: 0 auto;
    }

    .quick-form-slide {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Hero - Stack vertically, compact */
    .hero {
        min-height: auto;
        padding: calc(var(--header-h-mobile) + 16px) 16px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-image-wrap {
        min-height: 200px;
    }

    .hero-image {
        max-height: 220px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-cta {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .hero-cta .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Sections - compact spacing */
    .section {
        padding: 20px 0;
    }

    .section-subtitle {
        margin-bottom: 16px;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card,
    .why-card {
        padding: 14px;
    }

    .services-grid--page {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card--page .service-card__link {
        padding: 20px 18px;
    }

    .page-hero {
        padding: calc(var(--header-h-mobile) + 32px) 0 32px;
    }

    .page-hero__title {
        font-size: 1.6rem;
    }

    .service-content {
        padding: 32px 0 48px;
    }

    .service-detail-header {
        gap: 24px;
    }

    .service-cta-block {
        margin-top: 28px;
        padding: 20px 18px;
    }

    .service-sidebar-card {
        padding: 20px;
    }

    .service-features__grid {
        grid-template-columns: 1fr;
    }

    .service-feature-card {
        padding: 20px 18px;
    }

    .service-section__title {
        margin: 32px 0 16px;
    }

    .service-process__steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-process__step {
        padding: 16px 14px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,0.7) 100%);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-brand p {
        text-align: left;
    }

    .footer-links {
        grid-column: 2;
    }

    .footer-links--legal {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-contact {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-contact__icon {
        width: 26px;
        height: 26px;
    }

    .footer-contact__icon svg {
        width: 13px;
        height: 13px;
    }

    .footer-contact__item {
        font-size: 0.85rem;
        gap: 8px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .cta-inner .btn {
        display: block;
        margin: 0 0 12px 0;
    }

    .cta-phone-full__content,
    .cta-phone-full__actions {
        padding: 28px 20px;
    }

    .cta-phone-full__number {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }

    .cta-phone-full__btns {
        flex-direction: row;
        gap: 10px;
    }

    .cta-phone-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .cta-phone-btn svg {
        width: 18px;
        height: 18px;
    }

    .tech-stack {
        padding: 32px 0 40px;
    }

    .tech-stack__title {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .tech-stack__item {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {

    .container {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* Vertical brand - mobile (aligned with container padding) */
@media (max-width: 768px) {
    .vertical-brand {
        left: 16px;
    }
    .vertical-brand.section-mode {
        right: 16px;
    }
    .vertical-brand-text {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
}

@media (max-width: 480px) {
    .vertical-brand {
        display: none;
    }
}
