:root {
    --primary-color: #4A6066; /* Main Color/Color 1 */
    --secondary-color: #607F85; /* Main Color/Color 2 */
    --accent-color: #A6602C; /* Main Color/Color 3 */
    --text-color: #4E4C4C; /* Letter/2 */
    --light-text: #FFFFFF;
    --border-color: #D1D1D1; /* Letter/3 rough approx */
    --bg-color: #FFFFFF;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

.img-skeleton {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.12) 35%, rgba(0, 0, 0, 0.06) 70%);
    background-size: 200% 100%;
    animation: img-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes img-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 200;
}

.top-banner {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.top-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 20px;
}

.top-banner-message {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.top-banner-divider {
    opacity: 0.9;
}

.top-banner-phone {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.top-banner-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.top-banner-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.top-banner-social img {
    width: 18px;
    height: 18px;
}

/* Header */
.header {
    background-color: var(--bg-color);
    padding: 15px 0;
    /* border-top: 4px solid var(--accent-color); */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

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

.nav a {
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav a.is-active {
    color: var(--secondary-color);
}

.nav a:hover {
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text) !important;
    padding: 10px 24px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #8f5225;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #3a4b50;
}

.btn-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0 100px;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.hero-text {
    flex: 1;
    color: var(--light-text);
    max-width: 550px;
    padding-top: 40px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
}

.quote-form-container {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.quote-form-container h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.quote-form-container p {
    color: #777;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-row {
    display: flex;
    gap: 15px;
}

.input-group {
    flex: 1;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    text-align: left;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
}

.input-group textarea {
    resize: vertical;
}

.form-feedback {
    min-height: 24px;
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 600;
}

.form-feedback.is-success {
    color: #2f7a45;
}

.form-feedback.is-error {
    color: #c44949;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.about-media {
    flex: 0 0 520px;
    max-width: 520px;
}

.about-media-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 520px;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

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

.about-title {
    font-size: 3rem;
    line-height: 1.36;
    margin-bottom: 16px;
}

.about-desc {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.about-desc strong {
    color: #000;
}

.features-list {
    margin-top: 20px;
}

.features-list li {
    position: relative;
    padding-left: 26px;
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 400;
    color: var(--text-color);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--text-color);
}

.image-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.img-large {
    border-radius: 8px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.img-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.img-group img {
    border-radius: 8px;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.what-we-do {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.what-we-do h2 {
    color: var(--accent-color);
}

/* What We Do Gallery */
.what-we-do-gallery {
    padding: 70px 0 90px;
    background-color: #fff;
}

.what-we-do-head {
    text-align: center;
    margin-bottom: 34px;
}

.what-we-do-subtitle {
    color: var(--text-color);
}

.what-we-do-title {
    max-width: 980px;
    margin: 0 auto;
    color: var(--accent-color);
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* gap: 18px; */
}

.w-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-img-1,
.w-img-4 {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
    max-height: 460px;
}

.w-img-2,
.w-img-3 {
    aspect-ratio: 16 / 10;
    max-height: 380px;
}

/* Catalog Section */
.catalog {
    padding: 110px 0 90px;
    background-color: #fff;
}

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

.catalog-carousel {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 16px;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    will-change: transform;
    transition: transform 600ms ease;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    color: var(--text-color);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.carousel-btn:active {
    transform: translateY(1px);
}

.catalog-card {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 8px 0;
    transition: transform 350ms ease, opacity 350ms ease;
}

.catalog-card.is-active {
    transform: scale(1.06);
}

.catalog-card.is-inactive {
    opacity: 0.6;
}

.catalog-card-img {
    width: 100%;
    max-width: 220px;
    height: 190px;
    object-fit: contain;
}

.catalog-card-title {
    margin-top: 18px;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-color);
}

.catalog-card-desc {
    margin-top: 10px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.catalog-card-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-color);
    font-size: 1.05rem;
}

.catalog-card-list li::before {
    content: '•';
    margin-right: 8px;
}

.contact-section {
    padding: 90px 0 110px;
    background-color: #fff;
}

.contact-container {
    display: flex;
    align-items: stretch;
    gap: 50px;
}

.contact-media {
    flex: 1;
    min-width: 0;
}

.contact-media-img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.contact-form {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.quote-form-container--contact {
    width: 100%;
    max-width: 560px;
    box-shadow: none;
    padding: 0;
}

.quote-form-container--contact h2 {
    text-align: center;
}

.quote-form-container--contact p {
    text-align: center;
}

.contact-note {
    margin-top: 18px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(0,0,0,0.18);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: var(--secondary-color);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.catalog-item {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.catalog-item:hover {
    transform: translateY(-5px);
}

.catalog-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.catalog-item h3 {
    padding: 20px;
    font-size: 1.2rem;
    color: var(--text-color);
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.footer-top {
    padding: 60px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand {
    max-width: 620px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light-text);
}

.footer-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 640px;
}

.footer-social {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
}

.footer-social img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 6px;
}

.footer-contact-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--light-text);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.footer-contact-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.footer-contact-list a {
    color: inherit;
}

.footer-contact-list a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom {
    background-color: var(--secondary-color);
    padding: 20px 0;
    text-align: left;
}

.footer-bottom p {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        padding-top: 0;
        margin-bottom: 30px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-media {
        flex: unset;
        max-width: 100%;
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .top-banner {
        display: none;
    }

    .top-banner-inner {
        padding: 10px 20px;
        flex-direction: column;
        align-items: center;
    }

    .top-banner-message {
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    h2 {
        font-size: 2rem;
    }

    .about-title {
        font-size: 2.25rem;
    }

    .catalog {
        padding: 90px 0 70px;
    }

    .catalog-carousel {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-track {
        transition: transform 450ms ease;
        gap: 18px;
    }

    .catalog-card {
        flex-basis: 78vw;
        max-width: 78vw;
    }

    .catalog-card-img {
        max-width: 78vw;
        height: 220px;
    }

    .contact-section {
        padding: 70px 0 80px;
    }

    .contact-container {
        flex-direction: column;
        gap: 26px;
    }

    .contact-media-img {
        min-height: unset;
        height: auto;
    }

    .quote-form-container--contact {
        padding: 0;
    }

    .what-we-do-gallery {
        padding: 60px 0 70px;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .w-img-1,
    .w-img-2,
    .w-img-3,
    .w-img-4 {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
        max-height: unset;
    }
}

@media (max-width: 480px) {
    .img-group {
        grid-template-columns: 1fr;
    }
    
    .quote-form-container {
        padding: 20px;
    }
}
