/* ═══════════════════════════════════════════════════════
   Linis IT — Main Stylesheet
   Modern dark theme with gold accents
   Inspired by Joby Aviation, Crafto, Behance Modern
   ═══════════════════════════════════════════════════════ */

/* ── Custom Properties ───────────────────────────────── */
:root {
    /* Brand */
    --gold:        #dbb774;
    --gold-light:  #eeca87;
    --gold-dark:   #b18e56;
    --maroon:      #800000;

    /* Neutrals */
    --black:       #000000;
    --gray-950:    #0a0a0a;
    --gray-900:    #111111;
    --gray-850:    #161616;
    --gray-800:    #1a1a1a;
    --gray-700:    #2a2a2a;
    --gray-600:    #3a3a3a;
    --gray-500:    #666666;
    --gray-400:    #999999;
    --gray-300:    #bbbbbb;
    --gray-200:    #dddddd;
    --gray-100:    #f0f0f0;
    --white:       #ffffff;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* Spacing */
    --section-py: clamp(80px, 10vw, 140px);
    --container-px: clamp(20px, 4vw, 60px);
    --container-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    /* Borders */
    --border: 1px solid rgba(255, 255, 255, 0.08);
    --border-gold: 1px solid rgba(219, 183, 116, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-300);
    background: var(--gray-950);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}
a:hover {
    color: var(--gold-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.15;
    font-weight: 600;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.text-gold {
    color: var(--gold);
}

/* ── Page Loader ─────────────────────────────────────── */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-logo {
    position: relative;
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-logo img {
    width: auto;
    height: 52px;
    animation: loaderPulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(219, 183, 116, 0.3));
}
.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(219, 183, 116, 0.1);
    border-top-color: var(--gold);
    animation: loaderSpin 1s linear infinite;
}
@keyframes loaderPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* ── Header ──────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 var(--container-px);
    transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), backdrop-filter 0.4s;
}
.site-header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: var(--border);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-full {
    height: 36px;
    width: auto;
}
.logo-icon {
    display: none;
    height: 28px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}
.nav-link {
    display: block;
    padding: 8px 16px;
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color 0.3s, background 0.3s;
}
.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}
.nav-link--cta {
    background: var(--gold) !important;
    color: var(--black) !important;
    font-weight: 600;
}
.nav-link--cta:hover {
    background: var(--gold-light) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Language Switcher (inside nav-list) */
.nav-lang {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.lang-link {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s;
}
.lang-link:hover {
    color: var(--white);
}
.lang-link.active {
    color: var(--gold);
}
.lang-sep {
    color: var(--gray-600);
    font-size: 0.75rem;
    user-select: none;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(219, 183, 116, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(219, 183, 116, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}
.hero-glow--1 {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -100px;
}
.hero-glow--2 {
    width: 400px;
    height: 400px;
    background: var(--maroon);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    border: var(--border-gold);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 2rem;
    background: rgba(219, 183, 116, 0.05);
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.08;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--gray-400);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}
.btn--primary {
    background: var(--gold);
    color: var(--black);
}
.btn--primary:hover {
    background: var(--gold-light);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(219, 183, 116, 0.25);
}
.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}
.btn--full {
    width: 100%;
    justify-content: center;
}
.btn--lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Hero Scroll Arrow */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: var(--border);
    border-radius: 50%;
    color: var(--gray-500);
    transition: color 0.3s, border-color 0.3s, transform 0.3s;
    animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll a:hover {
    color: var(--gold);
    border-color: var(--gold);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* ── Sections ────────────────────────────────────────── */
.section {
    padding: var(--section-py) 0;
    position: relative;
}
.section--dark {
    background: var(--gray-950);
}
.section--about {
    background: var(--gray-900);
}
.section--portfolio {
    background: var(--gray-850);
}
.section--cta {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-950) 50%, rgba(128, 0, 0, 0.08) 100%);
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 16px;
    padding: 4px 14px;
    border: var(--border-gold);
    border-radius: 100px;
    background: rgba(219, 183, 116, 0.05);
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-subtitle {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--gray-400);
    font-size: 1.05rem;
}

/* ── Services Grid ───────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--gray-900);
    border: var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(219, 183, 116, 0.04) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(219, 183, 116, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    color: var(--gold);
}
.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 16px;
    position: relative;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    position: relative;
}
.service-tags li {
    font-size: 0.78rem;
    padding: 4px 10px;
    border: var(--border);
    border-radius: 100px;
    color: var(--gray-400);
    background: rgba(255, 255, 255, 0.02);
}

/* ── About ───────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--gray-300);
}
.about-text strong {
    color: var(--gold);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 2rem;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-200);
    font-size: 0.95rem;
}
.about-feature svg {
    color: var(--gold);
    flex-shrink: 0;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--gray-850);
    border: var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.about-card:hover {
    transform: translateX(8px);
    border-color: rgba(219, 183, 116, 0.15);
}

.about-card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}
.about-card strong {
    display: block;
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.about-card span {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ── Process Steps ───────────────────────────────────── */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    position: relative;
    padding-bottom: 48px;
}
.process-step:last-child {
    padding-bottom: 0;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;
    padding-top: 4px;
}

.step-content {
    padding: 24px 28px;
    background: var(--gray-900);
    border: var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.step-content:hover {
    border-color: rgba(219, 183, 116, 0.15);
    transform: translateX(4px);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.step-content p {
    font-size: 0.95rem;
    color: var(--gray-400);
}

.step-line {
    position: absolute;
    left: 40px;
    top: 48px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold) 0%, rgba(219, 183, 116, 0.1) 100%);
    opacity: 0.3;
}
.process-step:last-child .step-line {
    display: none;
}

/* ── Portfolio Grid ──────────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    border: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-900);
    transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(219, 183, 116, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-card-inner {
    padding: 32px;
}

.portfolio-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 16px;
}
.portfolio-icon svg {
    width: 100%;
    height: 100%;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 8px;
}

.portfolio-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.portfolio-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.portfolio-tech span {
    font-size: 0.75rem;
    padding: 4px 10px;
    border: var(--border);
    border-radius: 100px;
    color: var(--gray-400);
}

/* ── Tech Grid ───────────────────────────────────────── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--gray-900);
    border: var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-200);
    transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.tech-item:hover {
    border-color: rgba(219, 183, 116, 0.15);
    transform: translateY(-2px);
}
.tech-icon {
    font-size: 1.4rem;
}

/* ── CTA Section ─────────────────────────────────────── */
.cta-content {
    max-width: 700px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

/* ── Contact ─────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(219, 183, 116, 0.08);
    border: var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--gold);
    flex-shrink: 0;
}
.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: var(--gray-400);
}
.contact-item a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--gray-900);
    border: var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    font-size: 0.9rem;
    padding: 12px 0;
    text-align: center;
}
.form-status.success {
    color: #4ade80;
}
.form-status.error {
    color: #f87171;
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
    background: var(--black);
    border-top: var(--border);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}
.footer-tagline {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: var(--border);
    border-radius: 50%;
    color: var(--gray-400);
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.footer-social a:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(219, 183, 116, 0.05);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--gray-400);
    display: block;
    margin-bottom: 6px;
}
.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: var(--border);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* ── Animations (Intersection Observer) ──────────────── */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.services-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-in:nth-child(4) { transition-delay: 0.15s; }
.services-grid .animate-in:nth-child(5) { transition-delay: 0.25s; }
.services-grid .animate-in:nth-child(6) { transition-delay: 0.35s; }

.portfolio-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.portfolio-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }
.portfolio-grid .animate-in:nth-child(4) { transition-delay: 0.15s; }
.portfolio-grid .animate-in:nth-child(5) { transition-delay: 0.25s; }
.portfolio-grid .animate-in:nth-child(6) { transition-delay: 0.35s; }

.process-step.animate-in:nth-child(2) { transition-delay: 0.1s; }
.process-step.animate-in:nth-child(3) { transition-delay: 0.2s; }
.process-step.animate-in:nth-child(4) { transition-delay: 0.3s; }

.tech-grid .tech-item:nth-child(2) { transition-delay: 0.05s; }
.tech-grid .tech-item:nth-child(3) { transition-delay: 0.1s; }
.tech-grid .tech-item:nth-child(4) { transition-delay: 0.15s; }
.tech-grid .tech-item:nth-child(5) { transition-delay: 0.2s; }
.tech-grid .tech-item:nth-child(6) { transition-delay: 0.25s; }
.tech-grid .tech-item:nth-child(7) { transition-delay: 0.3s; }
.tech-grid .tech-item:nth-child(8) { transition-delay: 0.35s; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .header-nav {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s, visibility 0.4s;
        z-index: 999;
    }
    .header-nav.open {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .nav-link {
        font-size: 1.3rem;
        padding: 12px 24px;
    }
    .nav-lang {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
    }
    .lang-link { font-size: 1rem; padding: 8px 12px; }

    .logo-full { display: none; }
    .logo-icon { display: block; }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 24px; }

    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card-inner { padding: 24px; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .process-step {
        grid-template-columns: 50px 1fr;
        gap: 12px;
    }
    .step-number { font-size: 1.8rem; }
    .step-line { left: 25px; }
    .step-content { padding: 20px; }

    .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .section-subtitle { font-size: 0.95rem; }

    .cta-content h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .cta-content p { font-size: 1rem; }

    .footer-top { padding: 48px 0 40px; }

    .hero-stats { gap: 32px; }
    .hero-scroll { bottom: 20px; }
}

@media (max-width: 480px) {
    .tech-grid { grid-template-columns: 1fr; }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .stat-number { font-size: 2rem; }
    .stat-plus { font-size: 1.5rem; }

    .service-card { padding: 20px; }
    .service-card h3 { font-size: 1.1rem; }
    .service-card p { font-size: 0.88rem; }

    .portfolio-card-inner { padding: 20px; }

    .about-card { padding: 16px; flex-direction: column; gap: 8px; }

    .contact-icon { width: 40px; height: 40px; }
    .form-group input,
    .form-group textarea { padding: 14px 16px; font-size: 0.9rem; }

    .btn { padding: 12px 20px; font-size: 0.9rem; }
    .btn--lg { padding: 14px 28px; font-size: 0.95rem; }

    .nav-link { font-size: 1.1rem; padding: 10px 20px; }

    .footer-links h4,
    .footer-contact h4 { font-size: 0.85rem; }
}

/* ── WordPress Specific ──────────────────────────────── */
.wp-block-image img { border-radius: var(--radius-md); }
.entry-content { color: var(--gray-300); }
.entry-content h1,
.entry-content h2,
.entry-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.entry-content p { margin-bottom: 1rem; }
.entry-content a { color: var(--gold); }
