/* ========================================
   PRODUKT BASTAL - Modern Website
   ======================================== */

:root {
    --color-bg: #0a0a0f;
    --color-bg-alt: #111118;
    --color-bg-card: #16161f;
    --color-bg-elevated: #1c1c28;
    --color-primary: #f97316;
    --color-primary-light: #fb923c;
    --color-primary-dark: #ea580c;
    --color-accent: #3b82f6;
    --color-text: #f1f5f9;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-border: rgba(255,255,255,0.08);
    --color-border-hover: rgba(255,255,255,0.15);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.nav--scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.nav__logo-icon {
    height: 54px;
    width: auto;
    border-radius: 14px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav__links a:hover { color: var(--color-text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
    background: var(--color-primary) !important;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600 !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-1px);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 12px;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.lang-switcher__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    list-style: none;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1001;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.lang-switcher__dropdown--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    text-align: left;
}

.lang-switcher__option span {
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.lang-switcher__option:hover {
    background: var(--color-bg-elevated);
    color: var(--color-text);
}

.lang-switcher__option--active {
    color: var(--color-primary) !important;
    background: rgba(249, 115, 22, 0.08);
}

.lang-switcher__option--active span {
    color: var(--color-primary-light);
}

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

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
    border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: var(--color-bg);
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: saturate(0.2) brightness(0.7);
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(249, 115, 22, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(10,10,15,0.5) 0%, rgba(10,10,15,0.9) 100%);
    z-index: 1;
}

.hero__grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 120px 24px 80px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-light);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-hover);
}

.btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
}

.hero__stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero__stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero__scroll-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.hero__scroll-btn:hover { color: var(--color-primary); }

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

.section__header {
    margin-bottom: 64px;
}

.section__header--center {
    text-align: center;
}

.section__tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section__desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-top: 16px;
    max-width: 560px;
}

.section__header--center .section__desc {
    margin-left: auto;
    margin-right: auto;
}

/* ========== ABOUT ========== */
.section--about {
    background: var(--color-bg-alt);
}

.about__image-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 64px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about__strip-item {
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius);
}

.about__strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about__strip-item:hover img {
    transform: scale(1.08);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about__lead {
    font-size: 1.15rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__text p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about__feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.about__feature:hover {
    border-color: var(--color-border-hover);
    transform: translateX(4px);
}

.about__feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    color: var(--color-primary);
}

.about__feature h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about__feature p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ========== SERVICES ========== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card__icon {
    color: var(--color-primary);
    margin-bottom: 24px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.service-card__line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover .service-card__line {
    transform: scaleX(1);
}

/* ========== PROJECTS ========== */
.section--projects {
    background: var(--color-bg-alt);
}

.projects__filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.projects__filter-btn {
    padding: 8px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.projects__filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.projects__filter-btn--active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

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

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 300px;
    cursor: pointer;
    transition: var(--transition);
}

.project-card--featured {
    grid-column: 1 / 3;
    min-height: 500px;
}

.project-card--hidden {
    display: none;
}

.project-card__meta {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.project-card__meta span {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    padding: 3px 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.project-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card__image {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.project-card__tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-card--featured .project-card__title {
    font-size: 1.8rem;
}

.project-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ========== CERTIFICATIONS ========== */
.section--certs {
    background: var(--color-bg);
}

.certs__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.certs__text p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-top: 20px;
}

.certs__image {
    margin-top: 32px;
    border-radius: var(--radius);
    opacity: 0.85;
    max-width: 100%;
}

.certs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cert-card {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.cert-card__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(249, 115, 22, 0.15);
    margin-bottom: 8px;
    line-height: 1;
}

.cert-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cert-card__desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Cert downloads */
.certs__downloads {
    margin-top: 48px;
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.certs__downloads-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.certs__download-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.certs__download-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.certs__download-link:hover {
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.certs__download-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.certs__download-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.certs__download-badge {
    padding: 3px 10px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.cert-card__icon {
    color: var(--color-primary);
    margin-bottom: 16px;
}

/* ========== CONTACT ========== */
.section--contact {
    background: var(--color-bg-alt);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact__card:hover {
    border-color: var(--color-border-hover);
}

.contact__card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 10px;
    color: var(--color-primary);
}

.contact__card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact__card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.contact__card a {
    color: var(--color-primary);
    transition: var(--transition);
}

.contact__card a:hover { color: var(--color-primary-light); }

.contact__team-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.team-member {
    padding: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--color-border-hover);
}

.team-member__role {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.team-member__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.team-member__phone {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.team-member__phone a {
    color: var(--color-primary);
    transition: var(--transition);
}

.team-member__phone a:hover {
    color: var(--color-primary-light);
}

/* ========== FOOTER ========== */
.footer {
    padding: 60px 0 40px;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__tagline {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer__data p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-8px) translateX(-50%); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.service-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.cert-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.cert-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.cert-card.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about__grid,
    .certs__layout,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .projects__grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card--featured {
        grid-column: 1 / -1;
        min-height: 350px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .about__image-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .about__strip-item { height: 200px; }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: var(--transition);
        border-left: 1px solid var(--color-border);
        z-index: 1001;
    }

    .nav__links--open {
        right: 0;
    }

    .nav__toggle {
        display: flex;
        z-index: 1002;
    }

    .nav__toggle--active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav__toggle--active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Lang switcher mobile - beside hamburger */
    .lang-switcher {
        margin-left: auto;
        margin-right: 8px;
    }

    .lang-switcher__dropdown {
        right: -40px;
    }

    .section { padding: 64px 0; }
    .section__header { margin-bottom: 40px; }

    .hero__stats {
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__stat-number { font-size: 2rem; }
    .hero__stat-plus { font-size: 1.5rem; }
    .hero__stat-label { font-size: 0.75rem; }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero__content {
        padding: 100px 20px 60px;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__badge {
        font-size: 0.8rem;
        margin-bottom: 24px;
    }

    .about__image-strip {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 40px;
    }

    .about__strip-item { height: 140px; }

    .about__grid { gap: 40px; }
    .about__features { gap: 16px; }

    .about__feature {
        padding: 16px;
        gap: 14px;
    }

    .about__feature-icon {
        width: 44px;
        height: 44px;
    }

    .about__feature h3 { font-size: 0.95rem; }
    .about__feature p { font-size: 0.85rem; }

    .projects__grid {
        grid-template-columns: 1fr;
    }

    .project-card { min-height: 260px; }
    .project-card--large { min-height: 300px; }

    .project-card__title { font-size: 1.15rem; }
    .project-card--large .project-card__title { font-size: 1.4rem; }
    .project-card__overlay { padding: 20px; }

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

    .service-card {
        padding: 28px 24px;
    }

    .service-card__icon svg {
        width: 36px;
        height: 36px;
    }

    .service-card__title { font-size: 1.05rem; }
    .service-card__desc { font-size: 0.9rem; }

    .certs__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .cert-card {
        padding: 20px 16px;
    }

    .cert-card__number { font-size: 1.8rem; }
    .cert-card__title { font-size: 0.9rem; }
    .cert-card__desc { font-size: 0.8rem; }

    .contact__team-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact__card {
        padding: 16px;
        gap: 14px;
    }

    .contact__card-icon {
        width: 40px;
        height: 40px;
    }

    .contact__team-title { font-size: 1.1rem; }

    .team-member { padding: 16px; }
    .team-member__name { font-size: 0.9rem; }

    .section__title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    .section__desc {
        font-size: 0.95rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer { padding: 48px 0 32px; }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__stat-number {
        font-size: 1.7rem;
    }

    .hero__stat-plus {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 16px;
    }

    .nav__logo-text {
        font-size: 0.95rem;
    }

    .nav__logo-icon {
        height: 46px;
        width: auto;
    }

    .section { padding: 48px 0; }

    .about__image-strip {
        gap: 6px;
    }

    .about__strip-item { height: 110px; }

    .certs__grid {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        gap: 16px;
    }

    .project-card { min-height: 220px; }
    .project-card--large { min-height: 260px; }

    .hero__scroll { bottom: 20px; }
}

@media (max-width: 360px) {
    .hero__title { font-size: 1.7rem; }
    .hero__content { padding: 90px 14px 50px; }
    .nav { padding: 14px 0; }
    .nav--scrolled { padding: 8px 0; }
}

/* ========== LARGE SCREENS (1440px+) ========== */
@media (min-width: 1440px) {
    .container,
    .nav__container {
        max-width: 1400px;
    }

    .section { padding: 140px 0; }

    .projects__grid { gap: 28px; }
    .project-card { min-height: 340px; }
    .project-card--featured { min-height: 540px; }

    .about__strip-item { height: 280px; }
    .about__grid { gap: 100px; }

    .footer__grid { gap: 64px; }
}

/* ========== FULL HD (1920px+) ========== */
@media (min-width: 1920px) {
    html { font-size: 18px; }

    .container,
    .nav__container {
        max-width: 1680px;
    }

    .section { padding: 160px 0; }

    .hero__content { max-width: 1100px; }
    .hero__stats { gap: 80px; }
    .hero__stat-number { font-size: 3rem; }

    .about__strip-item { height: 320px; }
    .about__grid { gap: 120px; }

    .services__grid { gap: 32px; }
    .service-card { padding: 48px 40px; }

    .projects__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    .project-card { min-height: 380px; }
    .project-card--featured { min-height: 580px; }
    .project-card__title { font-size: 1.5rem; }
    .project-card--featured .project-card__title { font-size: 2rem; }
    .project-card__overlay { padding: 40px; }

    .certs__layout { gap: 100px; }
    .certs__grid { gap: 24px; }
    .cert-card { padding: 40px; }

    .contact__grid { gap: 80px; }
    .contact__card { padding: 28px; gap: 24px; }

    .team-member { padding: 24px; }

    .footer { padding: 80px 0 48px; }
}

/* ========== QHD / 2K (2560px+) ========== */
@media (min-width: 2560px) {
    html { font-size: 22px; }

    .container,
    .nav__container {
        max-width: 2200px;
    }

    .nav { padding: 28px 0; }
    .nav--scrolled { padding: 16px 0; }
    .nav__logo-icon { height: 64px; }

    .section { padding: 180px 0; }

    .hero__content { max-width: 1400px; padding: 160px 32px 120px; }
    .hero__stats { gap: 100px; }
    .hero__stat-number { font-size: 3.5rem; }

    .about__strip-item { height: 400px; }
    .about__image-strip { gap: 24px; }

    .services__grid { gap: 40px; }
    .service-card { padding: 56px 48px; }

    .projects__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 36px;
    }
    .project-card { min-height: 420px; }
    .project-card--featured {
        grid-column: 1 / 3;
        min-height: 640px;
    }
    .project-card__overlay { padding: 48px; }

    .certs__layout { gap: 120px; }
    .certs__grid { gap: 28px; }
    .cert-card { padding: 48px; }

    .contact__grid { gap: 100px; }

    .footer__grid { gap: 80px; }
}

/* ========== 4K (3840px+) ========== */
@media (min-width: 3840px) {
    html { font-size: 28px; }

    .container,
    .nav__container {
        max-width: 3200px;
    }

    .nav { padding: 36px 0; }
    .nav--scrolled { padding: 20px 0; }
    .nav__logo-icon { height: 80px; border-radius: 20px; }

    .section { padding: 220px 0; }
    .section__header { margin-bottom: 80px; }

    .hero__content { max-width: 1800px; padding: 200px 40px 160px; }
    .hero__stats { gap: 120px; }
    .hero__stat-number { font-size: 4rem; }
    .hero__scroll { bottom: 60px; }

    .about__strip-item { height: 500px; }
    .about__image-strip { gap: 32px; margin-bottom: 80px; }
    .about__grid { gap: 160px; }

    .services__grid { gap: 48px; }
    .service-card { padding: 64px 56px; }

    .projects__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 48px;
    }
    .projects__filter { gap: 12px; margin-bottom: 60px; }
    .projects__filter-btn { padding: 12px 28px; }
    .project-card { min-height: 500px; }
    .project-card--featured {
        grid-column: 1 / 3;
        min-height: 780px;
    }
    .project-card__overlay { padding: 56px; }
    .project-card__title { font-size: 1.6rem; }
    .project-card--featured .project-card__title { font-size: 2.2rem; }

    .certs__layout { gap: 160px; }
    .certs__grid { gap: 36px; }
    .cert-card { padding: 56px; }
    .certs__downloads { padding: 48px; margin-top: 64px; }
    .certs__download-link { padding: 20px 24px; }

    .contact__grid { gap: 120px; }
    .contact__card { padding: 36px; gap: 28px; }
    .contact__card-icon { width: 64px; height: 64px; }
    .contact__team-grid { gap: 24px; }
    .team-member { padding: 28px; }

    .footer { padding: 100px 0 60px; }
    .footer__grid { gap: 100px; margin-bottom: 64px; }
}

/* ========================================
   SPLASH SCREEN
   ======================================== */

/* Hide nav during splash */
body:has(.splash:not(.fade-out)) .nav {
    opacity: 0;
    pointer-events: none;
}

.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    overflow: hidden;
    background: #0a0a0f;
    transition: opacity 0.8s ease;
}

.splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    width: 100%;
    height: 100%;
    gap: 3px;
    background: #0a0a0f;
}

.splash__cell {
    background-size: cover;
    background-position: center;
    will-change: transform;
    overflow: hidden;
}

.splash__cell:nth-child(odd) {
    animation: splashZoomIn 5s ease-in-out forwards;
}

.splash__cell:nth-child(even) {
    animation: splashZoomOut 5s ease-in-out forwards;
}

.splash__cell:nth-child(1)  { animation-delay: 0.0s; }
.splash__cell:nth-child(2)  { animation-delay: 0.15s; }
.splash__cell:nth-child(3)  { animation-delay: 0.05s; }
.splash__cell:nth-child(4)  { animation-delay: 0.2s; }
.splash__cell:nth-child(5)  { animation-delay: 0.1s; }
.splash__cell:nth-child(6)  { animation-delay: 0.25s; }
.splash__cell:nth-child(7)  { animation-delay: 0.0s; }
.splash__cell:nth-child(8)  { animation-delay: 0.15s; }
.splash__cell:nth-child(9)  { animation-delay: 0.2s; }
.splash__cell:nth-child(10) { animation-delay: 0.05s; }
.splash__cell:nth-child(11) { animation-delay: 0.1s; }
.splash__cell:nth-child(12) { animation-delay: 0.25s; }
.splash__cell:nth-child(13) { animation-delay: 0.15s; }
.splash__cell:nth-child(14) { animation-delay: 0.0s; }
.splash__cell:nth-child(15) { animation-delay: 0.2s; }
.splash__cell:nth-child(16) { animation-delay: 0.1s; }

@keyframes splashZoomIn {
    0% {
        transform: scale(1);
        filter: brightness(0.7);
    }
    50% {
        transform: scale(1.15);
        filter: brightness(1);
    }
    100% {
        transform: scale(1.08);
        filter: brightness(0.9);
    }
}

@keyframes splashZoomOut {
    0% {
        transform: scale(1.15);
        filter: brightness(0.7);
    }
    50% {
        transform: scale(1);
        filter: brightness(1);
    }
    100% {
        transform: scale(1.05);
        filter: brightness(0.9);
    }
}

.splash__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

.splash__brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splash__logo-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 6px 30px rgba(0,0,0,0.6));
    animation: splashLogoIn 0.8s ease-out 0.2s both;
}

.splash__divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    margin: 22px 0;
    animation: splashDividerIn 0.6s ease-out 0.5s both;
}

.splash__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 8px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.7);
    animation: splashTextIn 0.8s ease-out 0.7s both;
}

.splash__tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--orange);
    text-align: center;
    margin: 18px 0 0;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    animation: splashTextIn 0.8s ease-out 1s both;
}

@keyframes splashLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splashDividerIn {
    0% {
        opacity: 0;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 50px;
    }
}

@keyframes splashTextIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
        letter-spacing: 14px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive splash */
@media (max-width: 768px) {
    .splash__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
    .splash__cell:nth-child(n+10) {
        display: none;
    }
    .splash__logo-img {
        width: 70px;
        height: 70px;
    }
    .splash__title {
        font-size: 1.8rem;
        letter-spacing: 5px;
    }
    .splash__tagline {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }
}

@media (min-width: 2560px) {
    .splash__logo-img {
        width: 120px;
        height: 120px;
    }
    .splash__title {
        font-size: 3.4rem;
    }
    .splash__tagline {
        font-size: 1.1rem;
    }
    .splash__divider {
        width: 70px;
    }
}

@media (min-width: 3840px) {
    .splash__logo-img {
        width: 160px;
        height: 160px;
    }
    .splash__title {
        font-size: 4.5rem;
    }
    .splash__tagline {
        font-size: 1.4rem;
    }
    .splash__divider {
        width: 90px;
        height: 3px;
    }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor,
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    will-change: transform, width, height;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                border-color 0.3s ease;
}
.cursor {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    background: transparent;
}
.cursor-dot {
    width: 5px;
    height: 5px;
    background: #ffffff;
}
.cursor.hover {
    width: 64px;
    height: 64px;
    background: rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.9);
}
.cursor.clicking {
    width: 24px;
    height: 24px;
    background: rgba(249, 115, 22, 0.5);
}
@media (hover: none), (max-width: 900px) {
    .cursor,
    .cursor-dot {
        display: none;
    }
}
