@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
    --red: #c0392b;
    --red-dark: #a93226;
    --red-darker: #7b241c;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111827;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }
.container-wide { max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container-wide { padding: 0 2.5rem; } }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transition: all 500ms ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.navbar-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 4rem;
}
@media (min-width: 768px) {
    .navbar-inner { padding: 0 2.5rem; height: 5rem; }
}
.navbar-logo {
    font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
    transition: color 300ms ease; color: #fff;
}
.navbar.scrolled .navbar-logo { color: var(--red); }

.navbar-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .navbar-links { display: flex; } }
.navbar-link {
    font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
    transition: color 300ms ease; color: rgba(255,255,255,0.7);
}
.navbar-link:hover { color: #fff; }
.navbar.scrolled .navbar-link { color: #6b7280; }
.navbar.scrolled .navbar-link:hover { color: #111827; }

.navbar-cta {
    font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.625rem 1.5rem; border-radius: 0.375rem;
    transition: all 300ms ease;
    background: #fff; color: var(--red);
}
.navbar.scrolled .navbar-cta { background: var(--red); color: #fff; }

.mobile-toggle {
    display: block; padding: 0.5rem; color: #fff;
    transition: color 300ms ease;
}
@media (min-width: 768px) { .mobile-toggle { display: none; } }
.navbar.scrolled .mobile-toggle { color: #333; }

.mobile-menu {
    position: fixed; inset: 0; z-index: 40; background: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
    opacity: 0; pointer-events: none; transition: all 500ms ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
@media (min-width: 768px) { .mobile-menu { display: none; } }
.mobile-menu a {
    font-size: 1.25rem; font-weight: 500; color: #1f2937;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.mobile-menu .mobile-cta {
    margin-top: 1rem; font-size: 1rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; padding: 0.75rem 2rem; border-radius: 0.375rem;
    background: var(--red); color: #fff;
}

/* HERO */
.hero {
    position: relative; min-height: 110vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 50%, var(--red-darker) 100%);
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shape-1 {
    position: absolute; bottom: 0; right: 0; width: 27%; height: 25%;
    background: #fff; clip-path: polygon(100% 15%, 100% 100%, 0% 100%);
}
.hero-shape-2 {
    position: absolute; bottom: 10%; right: 5%; width: 19%; height: 17%;
    background: rgba(255,255,255,0.10); clip-path: polygon(100% 10%, 100% 100%, 0% 100%);
}
.hero-shape-3 {
    position: absolute; top: 12%; right: 3%; width: 12%; height: 10%;
    background: rgba(255,255,255,0.05); clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
}
.hero-shape-4 {
    position: absolute; top: 0; left: 0; width: 27%; height: 25%;
    background: #fff; clip-path: polygon(0% 0%, 0% 100%, 100% 0%);
}
.hero-shape-5 {
    position: absolute; top: 3%; left: 4%; width: 19%; height: 17%;
    background: rgba(255,255,255,0.10); clip-path: polygon(0% 0%, 0% 100%, 100% 0%);
}
.hero-content {
    position: relative; z-index: 10; max-width: 1200px; margin: 0 auto;
    padding: 8rem 1.5rem 6rem; width: 100%;
}
@media (min-width: 768px) { .hero-content { padding: 10rem 2.5rem 8rem; } }
.hero-text { max-width: 42rem; }
.hero-subtitle {
    font-size: 1.125rem; color: rgba(255,255,255,0.8); font-weight: 300; margin-bottom: 1.5rem;
    opacity: 0; transform: translateY(30px);
    animation: heroFadeIn 900ms cubic-bezier(0.16,1,0.3,1) 200ms forwards;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-title {
    font-size: 2.25rem; font-weight: 800; color: #fff;
    line-height: 1.05; letter-spacing: -0.02em;
    opacity: 0; transform: translateY(40px);
    animation: heroFadeIn 1000ms cubic-bezier(0.16,1,0.3,1) 400ms forwards;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5.5rem; } }
.hero-title span { color: rgba(255,255,255,0.9); }
.hero-desc {
    font-size: 1rem; color: rgba(255,255,255,0.65); margin-top: 2rem;
    max-width: 32rem; line-height: 1.7;
    opacity: 0; transform: translateY(25px);
    animation: heroFadeIn 900ms cubic-bezier(0.16,1,0.3,1) 700ms forwards;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.125rem; } }
.hero-actions {
    margin-top: 3rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    opacity: 0; transform: translateY(20px);
    animation: heroFadeIn 900ms cubic-bezier(0.16,1,0.3,1) 950ms forwards;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2rem; background: #fff; color: var(--red);
    font-weight: 700; font-size: 0.875rem; text-transform: uppercase;
    letter-spacing: 0.05em; border-radius: 0.5rem;
    transition: all 500ms ease;
}
.hero-btn-primary:hover { box-shadow: 0 25px 50px rgba(0,0,0,0.15); transform: translateY(-2px); }
.hero-btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2rem; border: 2px solid rgba(255,255,255,0.3); color: #fff;
    font-weight: 600; font-size: 0.875rem; text-transform: uppercase;
    letter-spacing: 0.05em; border-radius: 0.5rem;
    transition: all 500ms ease;
}
.hero-btn-secondary:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); }
.hero-contact-bar {
    margin-top: 5rem; display: flex; align-items: center; gap: 2rem;
    color: rgba(255,255,255,0.5); font-size: 0.875rem;
    opacity: 0; animation: heroFadeIn 1000ms ease 1400ms forwards;
}
.hero-contact-bar a { transition: color 300ms ease; }
.hero-contact-bar a:hover { color: rgba(255,255,255,0.9); }
.hero-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
    transition: opacity 300ms ease;
}
.scroll-indicator {
    width: 1.5rem; height: 2.5rem; border-radius: 9999px;
    border: 2px solid rgba(255,255,255,0.3);
    display: flex; justify-content: center; padding-top: 0.5rem;
}
.scroll-dot {
    width: 4px; height: 10px; border-radius: 9999px; background: rgba(255,255,255,0.6);
    animation: bounce 1.5s infinite;
}

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* SECTIONS */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 10rem 0; } }
.section-gray { background: #f9fafb; }

.section-label {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.25em; color: var(--red); margin-bottom: 1rem;
}
.section-title {
    font-size: 1.875rem; font-weight: 800; color: #111827;
    letter-spacing: -0.02em; line-height: 1.08;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3.75rem; } }
.section-desc { color: #6b7280; margin-top: 1.25rem; font-size: 1.125rem; max-width: 32rem; margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.mb-section { margin-bottom: 5rem; }
@media (min-width: 768px) { .mb-section { margin-bottom: 7rem; } }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .services-grid { gap: 2rem; } }
.service-card {
    padding: 2rem 2.5rem; border-radius: 1.5rem;
    border: 1px solid #f3f4f6; background: rgba(249,250,251,0.4);
    transition: all 700ms ease; height: 100%;
}
.service-card:hover {
    background: #fff; box-shadow: 0 25px 50px rgba(229,231,235,0.6);
    transform: translateY(-4px);
}
.service-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.75rem; background: rgba(192,57,43,0.06);
    transition: transform 500ms ease;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-icon svg { width: 1.5rem; height: 1.5rem; color: var(--red); }
.service-title { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.service-desc { color: #6b7280; line-height: 1.7; font-size: 0.9375rem; }

/* TWO COL LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 6rem; } }

.benefit-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.benefit-item svg { width: 1rem; height: 1rem; color: var(--red); flex-shrink: 0; }
.benefit-item span { color: #374151; font-weight: 500; font-size: 0.9375rem; }

.img-wrapper {
    position: relative; border-radius: 1.5rem; overflow: hidden;
    box-shadow: 0 25px 50px rgba(209,213,219,0.4);
}
.img-wrapper img { width: 100%; height: auto; }
.img-accent-1 {
    position: absolute; bottom: -2rem; left: -2rem; width: 8rem; height: 8rem;
    border-radius: 1.5rem; background: var(--red); opacity: 0.06; z-index: -1;
}
.img-accent-2 {
    position: absolute; top: -2rem; right: -2rem; width: 6rem; height: 6rem;
    border-radius: 1.5rem; background: var(--red); opacity: 0.04; z-index: -1;
}

/* VALUE PROPOSITION */
.value-section {
    position: relative; overflow: hidden;
    padding: 5rem 0; background: linear-gradient(160deg, #111 0%, #1a1a1a 100%);
}
@media (min-width: 768px) { .value-section { padding: 7rem 0; } }
.value-line { height: 2px; background: var(--red); margin-bottom: 1.5rem; width: 0; transition: width 100ms ease-out; transform-origin: left; }
.value-heading {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    letter-spacing: -0.02em; line-height: 1.15;
}
.value-heading span { color: rgba(255,255,255,0.4); }
@media (min-width: 768px) { .value-heading { font-size: 1.875rem; } }
@media (min-width: 1024px) { .value-heading { font-size: 2.25rem; } }
.value-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.value-item { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.value-number { font-size: 1.875rem; font-weight: 900; color: var(--red); letter-spacing: -0.05em; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .value-number { font-size: 2.25rem; } }
.value-label { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
@media (min-width: 768px) { .value-label { font-size: 1.125rem; } }
.value-desc { color: rgba(255,255,255,0.4); font-size: 0.875rem; line-height: 1.7; }

/* PROCESS */
.process-step { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; margin-bottom: 6rem; }
@media (min-width: 768px) { .process-step { grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 8rem; } }
.process-step:last-child { margin-bottom: 0; }
.process-step.reverse .process-img { order: 1; }
@media (min-width: 768px) { .process-step.reverse .process-img { order: 2; } .process-step.reverse .process-text { order: 1; } }
.process-img {
    position: relative; border-radius: 1.5rem; overflow: hidden;
    box-shadow: 0 25px 50px rgba(229,231,235,0.5);
}
.process-img img { width: 100%; height: auto; transition: all 1000ms ease; }
.process-img:hover img { transform: scale(1.05); }
.process-num {
    position: absolute; top: 1.25rem; left: 1.25rem;
    width: 3.5rem; height: 3.5rem; border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.125rem;
    background: rgba(192,57,43,0.87); box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
}
.process-step-label { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.process-step-line { width: 3rem; height: 2px; background: var(--red); }
.process-step-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #9ca3af; }
.process-title { font-size: 1.5rem; font-weight: 800; color: #111827; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .process-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .process-title { font-size: 2.25rem; } }
.process-desc { color: #6b7280; line-height: 1.7; font-size: 0.9375rem; }
@media (min-width: 768px) { .process-desc { font-size: 1rem; } }

/* SHOWCASE */
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .showcase-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.showcase-text h2 { margin-bottom: 1.75rem; }
.showcase-text p { color: #4b5563; line-height: 1.7; margin-bottom: 2rem; }
.tech-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tech-badge {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.625rem 1rem; border-radius: 9999px; border: 1px solid #e5e7eb;
    color: #6b7280; background: rgba(249,250,251,0.5); transition: all 300ms ease;
}
.tech-badge:hover { border-color: #d1d5db; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 5rem; } }
.contact-input {
    width: 100%; background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem;
    padding: 1rem 1.5rem; color: #111827; font-size: 1rem;
    outline: none; transition: all 500ms ease;
}
.contact-input:focus { box-shadow: 0 0 0 2px #e5e7eb; }
.contact-input.error { border-color: #fca5a5; }
.contact-input.error:focus { box-shadow: 0 0 0 2px #fecaca; }
.contact-input::placeholder { color: #9ca3af; }
textarea.contact-input { resize: none; min-height: 7.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-error { font-size: 0.75rem; color: var(--red); margin-top: 0.5rem; }
.contact-submit {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1.125rem; background: var(--red); color: #fff; border: none;
    font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    border-radius: 1rem; cursor: pointer; transition: all 500ms ease;
}
.contact-submit:hover { box-shadow: 0 20px 40px rgba(192,57,43,0.15); transform: translateY(-2px); }
.contact-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.contact-success {
    text-align: center; padding: 5rem 2rem; background: #fff;
    border-radius: 1.5rem; border: 1px solid #f3f4f6;
}
.success-icon {
    width: 4rem; height: 4rem; border-radius: 50%; margin: 0 auto 1.75rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(192,57,43,0.03);
}
.success-icon svg { width: 2rem; height: 2rem; color: var(--red); }
.contact-info-block { margin-bottom: 2rem; }
.contact-info-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #9ca3af; margin-bottom: 0.75rem; }
.contact-info-link {
    display: flex; align-items: center; gap: 0.75rem;
    color: #1f2937; font-weight: 500; transition: color 300ms ease;
}
.contact-info-link:hover { color: #111827; }
.contact-info-link svg { width: 1rem; height: 1rem; color: var(--red); }

/* FOOTER */
.footer { padding: 3rem 0; border-top: 1px solid #f3f4f6; background: #fff; }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-logo img { height: 12rem; width: auto; object-fit: contain; }
.footer-links { display: flex; align-items: center; gap: 1.5rem; font-size: 0.875rem; color: #9ca3af; }
.footer-links a { transition: color 300ms ease; }
.footer-links a:hover { color: #4b5563; }
.footer-copy { font-size: 0.75rem; color: #d1d5db; }

/* SCROLL REVEAL */
.scroll-reveal {
    opacity: 0; transform: translateY(12px);
    transition: opacity 800ms cubic-bezier(0.4,0,0.2,1), transform 800ms cubic-bezier(0.4,0,0.2,1);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
noscript ~ .scroll-reveal, .no-js .scroll-reveal { opacity: 1; transform: none; }
.process-img img { display: block; width: 100%; height: auto; }

/* PORTFOLIO PAGE */
.portfolio-hero {
    position: relative; padding-top: 8rem; padding-bottom: 2.5rem; overflow: hidden;
}
@media (min-width: 768px) { .portfolio-hero { padding-top: 10rem; padding-bottom: 3.5rem; } }
.portfolio-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 40%, var(--red-darker) 100%);
}
.portfolio-hero-fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 4rem;
    background: linear-gradient(to top, #fff, transparent);
}
.portfolio-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }
.portfolio-title { font-size: 2.25rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .portfolio-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .portfolio-title { font-size: 4.5rem; } }
.portfolio-desc { color: rgba(255,255,255,0.6); max-width: 32rem; margin: 0 auto; font-size: 1.125rem; line-height: 1.7; }

.filter-buttons { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .filter-buttons { margin-bottom: 5rem; } }
.filter-btn {
    padding: 0.75rem 1.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600;
    transition: all 500ms ease; color: #6b7280; background: #fff;
    border: 1px solid #e5e7eb; cursor: pointer;
}
.filter-btn:hover { border-color: #d1d5db; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.filter-btn.active { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 10px 25px rgba(192,57,43,0.2); }
.filter-count { margin-left: 0.5rem; font-size: 0.75rem; }
.filter-btn.active .filter-count { color: rgba(255,255,255,0.7); }
.filter-btn:not(.active) .filter-count { color: #9ca3af; }

.portfolio-items { display: flex; flex-direction: column; gap: 6rem; }
@media (min-width: 768px) { .portfolio-items { gap: 9rem; } }

.portfolio-card { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .portfolio-card { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.portfolio-card.reverse .portfolio-card-img { order: 1; }
@media (min-width: 1024px) { .portfolio-card.reverse .portfolio-card-img { order: 2; } .portfolio-card.reverse .portfolio-card-text { order: 1; } }

.portfolio-card-img { position: relative; }
.portfolio-card-img a { display: block; position: relative; }
.portfolio-hover-icon {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: all 500ms ease; pointer-events: none;
}
.portfolio-card-img a:hover .portfolio-hover-icon { opacity: 1; }
.portfolio-hover-icon .icon-circle {
    background: #fff; border-radius: 50%; padding: 1rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); transform: scale(0.75);
    transition: transform 500ms ease;
}
.portfolio-card-img a:hover .icon-circle { transform: scale(1); }

.portfolio-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.portfolio-card-meta-icon {
    width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(192,57,43,0.07);
}
.portfolio-card-meta-icon svg { width: 1.25rem; height: 1.25rem; color: var(--red); }
.portfolio-card-meta span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #9ca3af; }
.portfolio-card-title { font-size: 1.875rem; font-weight: 800; color: #111827; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .portfolio-card-title { font-size: 2.25rem; } }
.portfolio-card-desc { color: #6b7280; line-height: 1.7; font-size: 1rem; margin-bottom: 1.75rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.portfolio-tag {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.5rem 1rem; border-radius: 9999px; background: #f9fafb;
    color: #6b7280; border: 1px solid #f3f4f6;
}
.portfolio-visit {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--red); transition: gap 500ms ease;
}
.portfolio-visit:hover { gap: 1rem; }
.portfolio-visit svg { width: 1rem; height: 1rem; transition: transform 500ms ease; }
.portfolio-visit:hover svg { transform: translateX(4px); }

.portfolio-empty {
    text-align: center; padding: 5rem 2rem; background: #f9fafb;
    border-radius: 1.5rem; border: 1px solid #f3f4f6;
    color: #9ca3af; font-size: 1.125rem;
}

/* SVG ICONS - inline helper */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

/* RESPONSIVE HELPERS */
@media (max-width: 639px) {
    .hide-mobile { display: none !important; }
}
