:root {
    --bg: #f5f7f6;
    --surface: #ffffff;
    --text: #1f2933;
    --muted: #52606d;
    --primary: #8b1e1e;
    --primary-dark: #651515;
    --border: #d9e2ec;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(6px);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--text);
}

.brand-logo {
    width: 180px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    border-radius: 0;
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 6px;
    padding: 0.45rem 0.8rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.nav-list a {
    color: var(--text);
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-list a.active,
.nav-list a.is-active,
.nav-list a:hover {
    background: #f0f3f7;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero {
    background: radial-gradient(circle at 10% 10%, #fff6f6, #f4f7fa 55%, #eef1f6);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.hero-small {
    padding: 2.6rem 0;
}

.hero h1 {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-title {
    max-width: 20ch;
    background: linear-gradient(90deg, #651515, #b83838);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: slideInUp 0.8s ease both;
}

.hero p {
    max-width: 760px;
    color: var(--muted);
    animation: fadeIn 1.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.7rem 1.1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    background: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(101, 21, 21, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: #f7ecec;
    color: var(--primary-dark);
}

.section {
    padding: 2.25rem 0;
}

.section-dark {
    background: linear-gradient(120deg, #1f2933, #2d3b47);
    color: #f7fafc;
}

.section-dark h2,
.section-dark span {
    color: #f7fafc;
}

.section-dark .card {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-dark .card h3 {
    color: #1f2933;
}

.section-dark .card p {
    color: #334e68;
}

.section h2 {
    margin-top: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(31, 41, 51, 0.08);
}

.card h3 {
    margin-top: 0;
}

.site-footer {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 1.2rem 0;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.contact-list {
    list-style: none;
    padding-left: 0;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.2rem;
    align-items: center;
}

.feature-list {
    padding-left: 1.2rem;
}

.image-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.7rem;
    box-shadow: 0 10px 18px rgba(31, 41, 51, 0.07);
}

.image-panel img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.image-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.photo-banner {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(31, 41, 51, 0.16);
}

.photo-banner img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
}

.testimonial-slider {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    padding: 1rem;
    box-shadow: 0 10px 22px rgba(31, 41, 51, 0.08);
}

.testimonial {
    display: none;
}

.testimonial.is-active {
    display: block;
    animation: fadeIn 0.5s ease both;
}

.testimonial p {
    font-size: 1.1rem;
    margin-top: 0;
}

.testimonial h3 {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
}

.slider-controls {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
}

.slider-btn {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider-btn:hover {
    background: #f3f5f7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(31, 41, 51, 0.12);
    transition: transform 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    padding: 1rem;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(1100px, 95vw);
    max-height: 85vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    border-radius: 6px;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
}

.contact-form {
    margin-top: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    margin-top: 0.75rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font: inherit;
}

.alert {
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    margin: 0.9rem 0;
}

.alert.success {
    background: #e8f8ee;
    border: 1px solid #b7e4c7;
    color: #1e5631;
}

.alert.error {
    background: #fdecec;
    border: 1px solid #f7c6c6;
    color: #7a1f1f;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .container {
        width: min(1100px, 94%);
    }

    .photo-banner img {
        height: 340px;
    }

    .image-panel img {
        height: 280px;
    }
}

@media (max-width: 860px) {
    .top-bar {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
    }

    .site-nav {
        display: none;
        width: 100%;
        margin-top: 0.35rem;
    }

    .site-header.nav-open .site-nav {
        display: block;
    }

    .nav-list {
        width: 100%;
        gap: 0.45rem;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-list a {
        display: flex;
        align-items: center;
        min-height: 40px;
        padding: 0.4rem 0.6rem;
        width: 100%;
    }

    .hero {
        padding: 2.8rem 0;
    }

    .hero-small {
        padding: 2rem 0;
    }

    .hero-title {
        max-width: 100%;
    }

    .split-layout,
    .image-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 1.75rem 0;
    }

    .site-footer .container {
        align-items: flex-start;
    }

    .footer-links {
        gap: 0.7rem;
        flex-wrap: wrap;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(1100px, 95%);
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }

    .photo-banner img,
    .image-panel img {
        height: 240px;
    }

    .brand-logo {
        width: 140px;
        max-height: 56px;
    }

    .testimonial-slider {
        padding: 0.85rem;
    }

    .slider-controls {
        flex-wrap: wrap;
    }

    .slider-btn {
        flex: 1 1 140px;
        text-align: center;
    }

    .contact-form {
        padding: 0.85rem;
    }
}

@media (max-width: 420px) {
    .brand-logo {
        width: 120px;
        max-height: 48px;
    }

    .nav-list a {
        min-height: 38px;
        font-size: 0.92rem;
    }

    .hero {
        padding: 2.2rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .section h2 {
        font-size: 1.35rem;
    }

    .photo-banner img,
    .image-panel img {
        height: 210px;
    }
}
