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

:root {
    --crimson: #8b1a2a;
    --crimson-dark: #6e141f;
    --dark: #1a1a1a;
    --mid: #444;
    --light: #777;
    --border: #ddd;
    --bg: #f0f0f0;
    --white: #fff;
    --card: #fff;
    --gradient: linear-gradient(135deg, var(--crimson), #c4263b);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Helvetica, sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ── NAV ── */
nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 5%;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    display: block;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.nav-brand {
    line-height: 1.15;
}

.nav-brand strong {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--dark);
}

.nav-brand span {
    font-size: 0.75rem;
    color: var(--light);
    display: block;
    font-weight: 500;
}

.logo-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    overflow: hidden;
    background: var(--white);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links.open {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    color: var(--mid);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s, transform 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--crimson);
}

/* ── HERO ── */
#hero {
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 100px 5% 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225,29,72,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(225, 29, 72, 0.1);
    color: var(--crimson);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 0 0 1px rgba(225, 29, 72, 0.2);
}

.hero-h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0px;
    color: var(--dark);
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--mid);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(225, 29, 72, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--crimson);
    color: var(--crimson);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

    /* ── SHARED SECTION ── */
    section {
    padding: 100px 5%;
    }

    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    .sec-title {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    color: var(--dark);
    }

    /* ── SERVICES ── */
    #services {
    background: var(--white);
    }

    .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
    }

    .svc-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    }

    .svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(139,26,42,0.03) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
    }

    .svc-card:hover {
    box-shadow: 0 15px 30px -10px rgba(139,26,42,0.15);
    transform: translateY(-8px);
    border-color: rgba(139,26,42,0.2);
    }

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

    .svc-icon {
    font-size: 1.8rem;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background: var(--crimson);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 16px -6px var(--crimson-dark);
    transition: transform 0.3s ease;
    }

    .svc-card:hover .svc-icon {
    transform: scale(1.1) rotate(5deg);
    }

    .svc-icon svg {
    width: 24px;
    height: 24px;
    }

    .svc-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--dark);
    }

    .svc-card p {
    font-size: 0.85rem;
    color: var(--light);
    line-height: 1.6;
    }

/* ───────── PORTFOLIO ───────── */

#portfolio {
    background: var(--bg);
    padding: 70px 40px;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 10px;
}

.portfolio-sub {
    text-align: center;
    font-size: .8rem;
    color: var(--light);
    margin-bottom: 36px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1060px;
    margin: 0 auto;
    align-items: stretch;
}

.proj-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.proj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.15);
}

.proj-screen {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
    flex-shrink: 0;
}

.proj-screen-inner {
    width: 100%;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.proj-screen-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    z-index: 2;
}

.proj-screen-inner::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow:
        14px 0 0 #ffbd2e,
        28px 0 0 #28ca41;
    z-index: 3;
}

.proj-screen-inner img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 24px;
    transition: transform 0.4s ease;
}

.proj-card:hover .proj-screen-inner img {
    transform: scale(1.03);
}
.mock-bar {
  height: 6px;
  background: #e0e0e0;
  border-radius: 2px;
  width: 80%;
}

.mock-bar.short {
  width: 50%;
}

.mock-img-row {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.mock-img {
  flex: 1;
  aspect-ratio: 1;
  background: #d4d4d4;
  border-radius: 2px;
}

.mock-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}

.mock-line {
  height: 4px;
  background: #ececec;
  border-radius: 2px;
}

.mock-line.w60 { width: 60%; }
.mock-line.w80 { width: 80%; }
.mock-line.w40 { width: 40%; }

.mock-table {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 2px;
}

.mock-row {
  display: flex;
  gap: 4px;
}

.mock-cell {
  flex: 1;
  height: 8px;
  background: #e8e8e8;
  border-radius: 1px;
}

.mock-cell.dark {
  background: #c8c8c8;
}

.proj-info {
  padding: 14px 16px;
}

.proj-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--dark);
  margin-bottom: 4px;
}

.proj-info p {
  font-size: .78rem;
  color: var(--light);
  line-height: 1.6;
}

    /* ── ABOUT + CONTACT (split) ── */
    #bottom {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    }

    .about-col {
    padding: 60px 40px;
    }

    .about-col h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: var(--dark);
    }
    .about-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    }

    .about-photo-ph {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    }

    .about-photo-ph img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    }

    .about-text-block {
    min-width: 0;
    }

    .about-text-block h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--dark);
    }

    .about-text-block p {
    font-size: .78rem;
    color: var(--mid);
    line-height: 1.7;
    }

    /* contact col */
    .contact-col {
    background: #2a2a2a;
    padding: 60px 40px;
    }

    .contact-col h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
    }

    .form-field {
    margin-bottom: 14px;
    }

    .form-field label {
    display: block;
    font-size: .7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 5px;
    }

    .form-field input,
    .form-field textarea {
    width: 100%;
    background: #383838;
    border: 1px solid #555;
    color: #fff;
    padding: 10px 12px;
    font-size: .82rem;
    font-family: 'Open Sans', sans-serif;
    outline: none;
    transition: border-color .2s;
    border-radius: 0;
    }

    .form-field input::placeholder,
    .form-field textarea::placeholder {
    color: #777;
    }

    .form-field input:focus,
    .form-field textarea:focus {
    border-color: var(--crimson);
    }

    .form-field textarea {
    height: 90px;
    resize: vertical;
    }

    .privacy-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 16px 0 18px;
    }

    .privacy-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 7px 12px;
    border: 1px solid #7f0f24;
    background: linear-gradient(135deg, #7a0e1f, #a7132a);
    border-radius: 999px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 6px 18px rgba(138, 15, 35, 0.32);
    }

    .privacy-link:hover {
    color: #fff;
    transform: translateY(-1px);
    background: linear-gradient(135deg, #9e1330, #c11638);
    box-shadow: 0 10px 22px rgba(180, 20, 54, 0.4);
    }

    .privacy-status {
    font-size: .72rem;
    font-weight: 600;
    }

    .privacy-status.neutral {
    color: #ffc7cf;
    }

    .privacy-status.error {
    color: #ff7b7b;
    }

    .privacy-status.success {
    color: #7dff9b;
    }

    .btn-send {
    width: 100%;
    padding: 13px;
    background: var(--crimson);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: background .2s;
    }

    .btn-send:hover {
    background: #6e141f;
    }

    .privacy-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
    }

    .privacy-modal.open {
    display: flex;
    }

    .privacy-modal-card {
    position: relative;
    width: min(760px, 100%);
    max-height: 86vh;
    overflow: auto;
    background: #171717;
    border: 1px solid #454545;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.36);
    padding: 26px 24px;
    }

    .privacy-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    }

    .privacy-note {
    color: #f5f5f5;
    line-height: 1.6;
    }

    .privacy-note h3 {
    margin: 0 0 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    }

    .privacy-note p,
    .privacy-note li,
    .privacy-note a {
    font-size: .84rem;
    word-break: break-word;
    }

    .privacy-note ul {
    margin: 10px 0 16px 18px;
    }

    .privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 14px;
    font-size: .82rem;
    cursor: pointer;
    }

    .privacy-checkbox input {
    accent-color: var(--crimson);
    }

    .btn-privacy-accept {
    border: none;
    background: var(--crimson);
    color: #fff;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    }

    .btn-privacy-accept:hover {
    background: #6e141f;
    }

    .cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: #111;
    border-top: 1px solid #323232;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    padding: 14px 18px;
    }

    .cookie-banner.hidden {
    display: none;
    }

    .cookie-banner-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    }

    .cookie-banner-content p {
    margin: 4px 0 0;
    color: #ddd;
    font-size: .78rem;
    }

    .cookie-banner-content strong {
    color: #fff;
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    }

    .cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    }

    .cookie-btn {
    border: none;
    cursor: pointer;
    padding: 10px 14px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    }

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

    .cookie-btn-secondary {
    background: #2d2d2d;
    color: #fff;
    }

    .cookie-btn:hover {
    filter: brightness(1.1);
    }

    .cookie-reset {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--mid);
    padding: 8px 12px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    }

    .cookie-reset:hover {
    color: var(--crimson);
    border-color: var(--crimson);
    }

    /* ── FOOTER ── */
    footer {
    background: var(--white);
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    row-gap: 14px;
    }

    .footer-brand strong {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    }

    .footer-brand span {
    font-size: .7rem;
    color: var(--light);
    display: block;
    margin-top: 2px;
    }

    .footer-socials {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    }

    .soc-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
    text-decoration: none;
    font-size: .75rem;
    font-weight: 600;
    transition: all .2s;
    border-radius: 2px;
    flex-shrink: 0;
    }

    .soc-btn:hover {
    border-color: var(--crimson);
    color: var(--crimson);
    }

    .footer-logo-badge img{
    width: 50px;
    height: 60px;
    }
    /* ── RESPONSIVE ── */
@media(max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 900px) {
    nav {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 14px;
    }

    .nav-toggle {
    display: flex;
    }

    .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 12px 0 4px;
    }

    .nav-links a {
    font-size: .72rem;
    }

    #hero { grid-template-columns: 1fr; padding: 40px 20px; gap: 20px; min-height: 0; }
    .hero-img { justify-content: center; }
    .hero-photo-ph { max-width: 320px; margin: 0 auto; }
    .hero-sub { max-width: 100%; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    #bottom { grid-template-columns: 1fr; }
    .about-col, .contact-col { padding: 40px 20px; }
    section { padding: 50px 20px; }
    footer { padding: 20px; flex-direction: column; gap: 16px; text-align: center; justify-content: center; }
    }

@media(max-width: 600px) {
    .cookie-banner-content { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cookie-banner-actions { width: 100%; }
    .cookie-btn { flex: 1 1 auto; }
}

@media(max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .about-inner {
    flex-direction: column;
    }

    .about-photo-ph img {
        width: 100%;
        max-width: 260px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
}

@media(max-width: 420px) {
    .nav-brand strong { font-size: 1.1rem; }
    .logo-badge { width: 42px; height: 42px; }
    .btn-cta { padding: 12px 24px; width: 100%; text-align: center; }
    .hero-photo-ph { max-width: 240px; }
    .sec-title { margin-bottom: 28px; }
    .svc-card { padding: 22px 14px; }
    .privacy-link { width: 100%; justify-content: center; }
}
