
:root {
    --primary: #B91C1C;
    --primary-dark: #991B1B;
    --primary-light: #FEF2F2;
    --bg: #FFFFFF;
    --bg-warm: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-hover: #F5F5F5;
    --border: #E5E5E5;
    --border-light: #F0F0F0;
    --text: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #737373;
    --text-dim: #A3A3A3;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text); background: var(--bg); line-height: 1.6;
    font-size: 15px; -webkit-font-smoothing: antialiased;
}

/* HEADER */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center; height: 68px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img {
    width: 42px; height: 42px; border-radius: var(--radius);
    object-fit: cover; border: 1px solid var(--border);
}
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.logo-subtitle { font-size: 10px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; }

.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links a {
    text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 13px;
    transition: color 0.2s; position: relative; text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 1.5px;
    background: var(--primary); transition: width 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 18px; cursor: pointer; }

/* HERO */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 68px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
}
.hero::before {
    content: ''; position: absolute; top: -20%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(185,28,28,0.06) 0%, transparent 70%);
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-container {
    max-width: 1200px; margin: 0 auto; padding: 60px 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1;
}

.hero-content h1 { font-size: 48px; font-weight: 800; line-height: 1.08; margin-bottom: 24px; color: var(--text); }
.hero-content h1 em { color: var(--primary); font-style: normal; }
.hero-content p { font-size: 16px; margin-bottom: 32px; max-width: 480px; line-height: 1.7; color: var(--text-secondary); }

.hero-buttons { display: flex; gap: 14px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
    border-radius: var(--radius); font-weight: 600; font-size: 13px;
    text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--primary); color: var(--white);
    box-shadow: 0 4px 16px rgba(185,28,28,0.25);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
    background: transparent; color: var(--text-secondary); border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.hero-image { position: relative; }
.hero-image img {
    width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    object-fit: cover; height: 440px;
}
.hero-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--white); padding: 18px 22px; border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 14px;
}
.badge-icon {
    width: 40px; height: 40px; background: var(--primary-light);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 16px;
}
.badge-text h4 { font-size: 20px; font-weight: 800; color: var(--text); }
.badge-text p { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* SECTIONS */
.section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--bg-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header { margin-bottom: 60px; }
.section-label {
    display: inline-block; color: var(--primary); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 14px;
}
.section-title { font-size: 34px; font-weight: 800; color: var(--text); margin-bottom: 14px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 520px; line-height: 1.7; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 28px; transition: all 0.3s; position: relative;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--primary); transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { border-color: var(--text-dim); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 44px; height: 44px; background: var(--primary-light);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 20px; color: var(--primary);
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
    aspect-ratio: 4/3; background: var(--bg-card); border: 1px solid var(--border);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.7); }

.gallery-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-size: 15px; font-weight: 600; }
.gallery-overlay p { color: var(--text-dim); font-size: 12px; margin-top: 4px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-content h2 { font-size: 32px; font-weight: 800; margin-bottom: 20px; color: var(--text); letter-spacing: -0.5px; }
.about-content h2 em { color: var(--primary); font-style: normal; }
.about-content p { margin-bottom: 18px; font-size: 15px; line-height: 1.8; color: var(--text-secondary); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.stat-item {
    text-align: center; padding: 22px 14px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.stat-number { font-size: 30px; font-weight: 800; color: var(--primary); display: block; letter-spacing: -1px; }
.stat-label { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; display: block; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h3 { font-size: 28px; font-weight: 800; margin-bottom: 18px; color: var(--text); }
.contact-info > p { margin-bottom: 36px; font-size: 15px; color: var(--text-secondary); }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
    width: 44px; height: 44px; background: var(--primary-light);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 16px; flex-shrink: 0; border: 1px solid var(--border);
}
.contact-item h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item p, .contact-item a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.contact-item a:hover { color: var(--primary); }

.contact-form {
    background: var(--bg-card); padding: 40px; border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 28px; color: var(--text); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 14px; font-family: inherit;
    transition: all 0.2s; background: var(--bg-warm); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary); background: var(--white);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23A3A3A3' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* FOOTER */
.footer { background: var(--bg-warm); border-top: 1px solid var(--border); padding: 64px 24px 28px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-brand h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.footer-brand h3 em { color: var(--primary); font-style: normal; }
.footer-brand p { color: var(--text-muted); font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 36px; height: 36px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); text-decoration: none; transition: all 0.2s; font-size: 14px;
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.footer-links h4 { font-size: 12px; font-weight: 700; margin-bottom: 18px; color: var(--text); text-transform: uppercase; letter-spacing: 1.5px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 28px;
    border-top: 1px solid var(--border); display: flex; justify-content: space-between;
    color: var(--text-muted); font-size: 12px;
}

/* PAGE HEADER */
.page-header {
    background: var(--bg-warm); padding: 130px 24px 70px;
    text-align: center; border-bottom: 1px solid var(--border); position: relative;
}
.page-header h1 { font-size: 40px; font-weight: 800; margin-bottom: 14px; color: var(--text); letter-spacing: -0.5px; }
.page-header h1 em { color: var(--primary); font-style: normal; }
.page-header p { font-size: 16px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; }

/* CTA */
.cta-section {
    background: var(--bg-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 80px 24px; text-align: center;
}
.cta-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; color: var(--text); }
.cta-section p { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { text-align: center; padding: 28px 20px; position: relative; }
.process-step::after {
    content: ''; position: absolute; top: 52px; right: -10px; width: 20px; height: 1px;
    background: var(--border);
}
.process-step:last-child::after { display: none; }
.process-num {
    width: 44px; height: 44px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; margin: 0 auto 18px; color: var(--primary);
}
.process-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.process-step p { font-size: 13px; color: var(--text-secondary); }

/* SERVICE DETAIL */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.service-detail.reverse .service-text { order: 2; }
.service-detail.reverse .service-visual { order: 1; }
.service-text h3 { font-size: 28px; font-weight: 800; margin-bottom: 18px; color: var(--text); letter-spacing: -0.3px; }
.service-text p { margin-bottom: 14px; line-height: 1.8; color: var(--text-secondary); font-size: 15px; }
.service-text ul { color: var(--text-secondary); line-height: 2.2; margin-left: 18px; margin-bottom: 24px; font-size: 14px; }
.service-visual { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.service-visual img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.3s; }
.service-visual:hover img { transform: scale(1.02); }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 28px; text-align: center; transition: all 0.3s;
}
.team-card:hover { border-color: var(--text-dim); transform: translateY(-3px); box-shadow: var(--shadow); }
.team-card img {
    width: 90px; height: 90px; border-radius: 50%; object-fit: cover;
    margin-bottom: 18px; border: 2px solid var(--border);
}
.team-card .avatar-placeholder {
    width: 90px; height: 90px; border-radius: 50%; background: var(--bg-warm);
    border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; color: var(--primary); font-size: 32px;
}
.team-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.team-card p { color: var(--primary); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* BRAND */
.brand-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all 0.3s;
}
.brand-card:hover { border-color: var(--text-dim); transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-card img { width: 100%; height: 200px; object-fit: cover; }
.brand-card .brand-info { padding: 22px; }
.brand-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.brand-card p { font-size: 13px; color: var(--text-secondary); }

/* FILTERS */
.filter-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    padding: 9px 20px; border-radius: var(--radius); font-size: 12px; font-weight: 600;
    cursor: pointer; border: 1px solid var(--border); background: var(--bg-card);
    color: var(--text-secondary); transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.5px;
}
.filter-btn:hover { border-color: var(--text-dim); color: var(--text); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* LIGHTBOX */
.lightbox {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.96);
    z-index: 2000; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute; top: 20px; right: 20px; color: var(--text-dim);
    font-size: 28px; cursor: pointer; background: none; border: none; transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-detail { grid-template-columns: 1fr; gap: 40px; }
    .service-detail.reverse .service-text, .service-detail.reverse .service-visual { order: unset; }
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    .section-title { font-size: 26px; }
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); gap: 16px; }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-container, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero { min-height: auto; }
    .hero-image img { height: 280px; }
    .hero-badge { left: 12px; bottom: -12px; padding: 14px 16px; }
    .services-grid, .team-grid, .process-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .service-text h3 { font-size: 22px; }
    .page-header h1 { font-size: 32px; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
