/* ===== Root & Base ===== */
:root {
    --primary: #ff6b3d;
    --primary-strong: #e35a2e;
    --secondary: #1fa59a;
    --accent: #f2c94c;
    --ink: #0c1727;
    --muted: #5f6c7b;
    --sand: #f7f5f0;
    --card: #ffffff;
    --stroke: rgba(12, 23, 39, 0.08);
    --primary-color: #ff6b3d;
    --text-dark: #0c1727;
    --text-gray: #5f6c7b;
    --light-bg: #f7f5f0;
    --shadow-sm: 0 8px 24px rgba(12, 23, 39, 0.08);
    --shadow-md: 0 16px 40px rgba(12, 23, 39, 0.12);
    --shadow-lg: 0 28px 80px rgba(12, 23, 39, 0.14);
    --gradient-hero: radial-gradient(circle at 10% 20%, rgba(255, 164, 119, 0.35), transparent 28%), radial-gradient(circle at 80% 0%, rgba(35, 165, 154, 0.35), transparent 30%), linear-gradient(135deg, #f7f5f0 0%, #f8fafc 40%, #f6f4f0 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 107, 61, 0.08), rgba(31, 165, 154, 0.08));
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --transition: 0.28s ease;
    --transition-fast: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', 'Space Grotesk', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f7f5f0 0%, #f8fafc 50%, #f6f4f0 100%);
    overflow-x: hidden;
    line-height: 1.65;
}

::selection {
    background: rgba(255, 107, 61, 0.18);
    color: var(--ink);
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
    position: relative;
}

.street-art-bg::before {
    content: '';
    position: absolute;
    inset: 30px 20px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 61, 0.06), transparent 30%), radial-gradient(circle at 80% 60%, rgba(31, 165, 154, 0.06), transparent 32%), linear-gradient(135deg, rgba(12, 23, 39, 0.03), rgba(12, 23, 39, 0.02));
    z-index: 0;
    pointer-events: none;
}

.section > * {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(12, 23, 39, 0.05);
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    letter-spacing: -0.02em;
    margin: 14px 0 10px;
}

.section-subtitle {
    color: var(--muted);
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary) 0%, #ff874f 50%, var(--primary-strong) 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--stroke);
}

.btn-ghost:hover {
    border-color: rgba(12, 23, 39, 0.18);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(12, 23, 39, 0.05);
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 62px;
    width: auto;
}

.logo-wordmark {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    padding: 8px 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
}

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

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

.nav-cta {
    padding: 10px 16px;
    border-radius: 999px;
    background: #0c172710;
    border: 1px solid var(--stroke);
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--ink);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 160px 0 120px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(12, 23, 39, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.18;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-copy h1 {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(38px, 6vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 18px 0 14px;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 18px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin: 24px 0 18px;
    flex-wrap: wrap;
}

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

.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-card.main {
    border: 1px solid var(--stroke);
    padding: 14px;
}

.hero-card.main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.card-label {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    font-weight: 700;
    color: var(--ink);
    border: 1px solid var(--stroke);
}

.hero-badge {
    position: absolute;
    bottom: 22px;
    left: 22px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(6px);
}

.hero-badge span {
    display: block;
    font-size: 13px;
    opacity: 0.9;
}

.hero-card.floating {
    position: absolute;
    bottom: -30px;
    right: -26px;
    width: 280px;
    padding: 18px;
    border: 1px solid var(--stroke);
    display: grid;
    gap: 6px;
}

.floating-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gradient-card);
    display: grid;
    place-items: center;
    color: var(--ink);
}

.floating-title {
    font-weight: 700;
    font-size: 17px;
}

.floating-text {
    color: var(--muted);
    font-size: 14px;
}

.scroll-indicator {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    gap: 8px;
    justify-items: center;
    color: var(--muted);
    z-index: 1;
}

.mouse {
    width: 28px;
    height: 44px;
    border-radius: 16px;
    border: 2px solid var(--muted);
    display: grid;
    place-items: center;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--muted);
    border-radius: 999px;
    animation: wheel 1.6s infinite;
}

@keyframes wheel {
    0% { transform: translateY(-6px); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(6px); opacity: 0; }
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-text .about-intro {
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--muted);
}

.about-list {
    display: grid;
    gap: 16px;
    margin: 26px 0;
}

.about-list-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    background: #fff;
}

.about-list-item i {
    color: var(--primary);
    background: rgba(255, 107, 61, 0.12);
    padding: 10px;
    border-radius: 12px;
}

.about-list-item strong {
    font-weight: 800;
    display: block;
}

.about-list-item span {
    color: var(--muted);
    font-size: 14px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.stat-item {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--muted);
    font-weight: 600;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-md);
}

.image-frame img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.image-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ink);
}

.floating-note {
    position: absolute;
    top: -20px;
    right: -18px;
    width: 240px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-md);
}

.note-title {
    font-weight: 800;
    margin-bottom: 4px;
}

.note-text {
    color: var(--muted);
    font-size: 14px;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 22px;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient-card);
    display: grid;
    place-items: center;
    color: var(--ink);
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 14px;
}

.service-features {
    list-style: none;
    display: grid;
    gap: 8px;
}

.service-features li {
    color: var(--muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features i {
    color: var(--primary);
}

.service-card-highlight {
    border: 1px solid rgba(255, 107, 61, 0.35);
    background: linear-gradient(135deg, rgba(255, 107, 61, 0.06), rgba(31, 165, 154, 0.06));
}

.service-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
}

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

.project-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(12, 23, 39, 0.65) 100%);
    opacity: 0;
    display: grid;
    place-items: end center;
    padding: 16px;
    transition: var(--transition);
}

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

.view-project-btn {
    background: #fff;
    color: var(--ink);
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.view-project-btn:hover {
    transform: translateY(-2px);
}

.project-info {
    padding: 18px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.project-info p {
    color: var(--muted);
    margin-bottom: 10px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(12, 23, 39, 0.05);
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
}

/* ===== Stats (Intranet) ===== */
.stats-card {
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.stats-status {
    color: var(--muted);
    margin-bottom: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.stats .stat-number {
    color: var(--primary);
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.team-member {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.member-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 23, 39, 0.6);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--ink);
}

.member-info {
    padding: 16px;
}

.member-role {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.member-bio {
    color: var(--muted);
    font-size: 14px;
}

/* ===== Contact ===== */
.contact-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.info-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--stroke);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-card);
    display: grid;
    place-items: center;
    color: var(--ink);
}

.info-text h3 {
    margin-bottom: 4px;
}

.info-text p {
    color: var(--muted);
    font-size: 14px;
}

.social-media {
    margin-top: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    display: grid;
    place-items: center;
    color: var(--ink);
    background: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-md);
    padding: 26px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 14px 12px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(12, 23, 39, 0.02);
    font-size: 15px;
    transition: var(--transition);
    color: var(--ink);
}

.form-group textarea {
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 14px;
    top: 12px;
    color: var(--muted);
    font-size: 14px;
    transition: var(--transition);
    pointer-events: none;
}

.file-group label {
    position: static;
    padding: 0;
    background: transparent;
    border: none;
    font-weight: 700;
}

.file-group input[type="file"] {
    padding: 12px 10px;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.file-group input[type="file"]::file-selector-button {
    padding: 10px 14px;
    margin-right: 10px;
    border: 1px solid var(--stroke);
    border-radius: 10px;
    background: linear-gradient(120deg, var(--primary) 0%, #ff874f 50%, var(--primary-strong) 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.file-group input[type="file"]::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.file-group input[type="file"]::-webkit-file-upload-button {
    padding: 10px 14px;
    margin-right: 10px;
    border: 1px solid var(--stroke);
    border-radius: 10px;
    background: linear-gradient(120deg, var(--primary) 0%, #ff874f 50%, var(--primary-strong) 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.file-group input[type="file"]::-webkit-file-upload-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.form-hint {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 107, 61, 0.4);
    background: #fff;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    background: #fff;
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
}

.btn-submit {
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: #0c1727;
    color: #d7dce3;
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 26px;
}

.footer h3 {
    font-size: 22px;
    color: #fff;
}

.footer h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}

.footer p {
    color: #d7dce3;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer a {
    color: #d7dce3;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(215, 220, 227, 0.2);
    text-align: center;
    color: #9da7b6;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: none;
    grid-template-columns: 1.2fr auto;
    gap: 14px;
    align-items: center;
    z-index: 3000;
}

.cookie-text h4 {
    margin-bottom: 6px;
}

.cookie-text p {
    color: var(--muted);
    margin-bottom: 6px;
}

.cookie-text a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(12, 23, 39, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    width: min(900px, 95vw);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(12, 23, 39, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
}

.project-modal-header h2 {
    margin-bottom: 6px;
}

.project-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(12, 23, 39, 0.04);
    border-radius: 10px;
}

.project-gallery {
    margin: 16px 0;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--stroke);
}

.gallery-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: opacity var(--transition);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.gallery-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumbnails img.active {
    border-color: var(--primary);
}

.project-details {
    display: grid;
    gap: 16px;
    margin-top: 10px;
}

.project-features ul {
    list-style: none;
    display: grid;
    gap: 6px;
}

.project-features li {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tech-tag {
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(12, 23, 39, 0.05);
    color: var(--muted);
    font-weight: 700;
    font-size: 12px;
}

/* ===== Scroll reveal defaults ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: 0.6s ease;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-card.floating {
        position: relative;
        inset: unset;
        margin-top: 12px;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 900px) {
    .nav-menu {
        position: absolute;
        top: 82px;
        right: 0;
        background: #fff;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        gap: 14px;
        border-bottom: 1px solid var(--stroke);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-actions {
        gap: 8px;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 640px) {
    .nav-cta {
        display: none;
    }

    .hero {
        padding: 140px 0 90px;
    }

    .hero-card.main img {
        height: 300px;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid,
    .projects-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
}
