:root {
    --ink: #1d1d1f;
    --muted: #52525b;
    --page: #f5f5f7;
    --paper: #ffffff;
    --blue: #0071e3;
    --cyan: #00c7be;
    --green: #30d158;
    --orange: #ff9500;
    --purple: #af52de;
    --red: #ff3b30;
    --line: rgba(29, 29, 31, 0.12);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.13);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--page);
    color: var(--ink);
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.5;
}

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

a {
    color: inherit;
}

.container {
    margin: 0 auto;
    max-width: 1240px;
    padding: 0 24px;
}

.site-header {
    background: rgba(245, 245, 247, 0.86);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-wrapper {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 50px;
}

.logo {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    align-items: center;
    background: var(--ink);
    border-radius: 8px;
    color: var(--paper);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.company-name {
    font-size: 0.86rem;
    font-weight: 700;
}

.company-type {
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 600;
}

.main-nav {
    align-items: center;
    display: flex;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-link {
    color: rgba(29, 29, 31, 0.78);
    font-size: 0.76rem;
    font-weight: 500;
    padding: 17px 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
}

.mobile-menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    padding: 6px;
}

.mobile-menu-toggle span {
    background: var(--ink);
    display: block;
    height: 2px;
    margin: 5px 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    width: 24px;
}

.banner {
    align-items: center;
    background: var(--paper);
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 50px;
    position: relative;
    text-align: center;
}

.banner-media {
    background-image: linear-gradient(180deg, rgba(245, 245, 247, 0.98) 0%, rgba(245, 245, 247, 0.82) 24%, rgba(245, 245, 247, 0.05) 56%), url("../images/hero-quarry.png");
    background-position: center bottom;
    background-size: cover;
    inset: 50px 0 0;
    position: absolute;
}

.banner-content {
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 24px;
    position: relative;
    width: 100%;
}

.banner h1 {
    font-size: clamp(2.1rem, 5.4vw, 4.2rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

.hero-statement {
    font-size: clamp(1.1rem, 2.3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 10px auto 0;
    max-width: 760px;
    text-align: center;
}

.hero-copy {
    color: var(--muted);
    font-size: clamp(0.88rem, 1.2vw, 1.02rem);
    font-weight: 500;
    margin: 12px auto 0;
    max-width: 620px;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 24px;
}

.primary-btn,
.secondary-btn,
.download-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 9px;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-btn {
    background: var(--ink);
    color: var(--paper);
}

.download-btn {
    background: var(--blue);
    color: var(--paper);
}

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

.primary-btn:hover,
.secondary-btn:hover,
.download-btn:hover {
    transform: translateY(-2px);
}

.secondary-btn:hover {
    background: var(--ink);
    color: var(--paper);
}

.scroll-cue {
    bottom: 30px;
    color: var(--paper);
    font-size: 0.78rem;
    font-weight: 600;
    left: 50%;
    position: absolute;
    text-decoration: none;
    transform: translateX(-50%);
}

.scroll-cue::after {
    background: currentColor;
    content: "";
    display: block;
    height: 28px;
    margin: 8px auto 0;
    width: 1px;
}

section {
    padding: 76px 0;
}

.section-kicker {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

h2 {
    font-size: clamp(1.9rem, 4.4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 auto 34px;
    max-width: 900px;
    text-align: center;
}

.about {
    background: var(--page);
}

.about-content {
    display: grid;
    gap: 28px;
}

.about-columns {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: 1.05fr 0.95fr;
}

.about-text {
    background: var(--paper);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    padding: 40px;
}

.about-text p {
    color: var(--ink);
    font-size: clamp(0.92rem, 1.3vw, 1.12rem);
    font-weight: 400;
    line-height: 1.5;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    height: 350px;
    object-fit: cover;
    width: 100%;
}

.about-features,
.license-grid,
.resources-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature,
.resource-card,
.license-item,
.contact-info,
.map {
    background: var(--paper);
    border-radius: 8px;
    overflow: hidden;
}

.feature {
    min-height: 220px;
    padding: 26px;
}

.feature:nth-child(1) {
    background: #eaf5ff;
}

.feature:nth-child(2) {
    background: #efffe9;
}

.feature:nth-child(3) {
    background: #fff3df;
}

.feature i,
.resource-icon {
    align-items: center;
    border-radius: 8px;
    color: var(--paper);
    display: inline-flex;
    font-size: 1.15rem;
    height: 42px;
    justify-content: center;
    margin-bottom: 20px;
    width: 42px;
}

.feature:nth-child(1) i {
    background: var(--blue);
}

.feature:nth-child(2) i {
    background: var(--green);
}

.feature:nth-child(3) i {
    background: var(--orange);
}

.feature h3,
.resource-card h3,
.license-item h3,
.contact-info h3 {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 8px;
}

.feature p,
.resource-card p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery {
    background: var(--paper);
}

.gallery-grid {
    column-count: 4;
    column-gap: 16px;
}

.gallery-grid a {
    background: var(--page);
    border-radius: 8px;
    break-inside: avoid;
    display: block;
    margin-bottom: 16px;
    overflow: hidden;
}

.gallery-grid img {
    display: block;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    transition: filter 0.35s ease, transform 0.35s ease;
    width: 100%;
}

.gallery-grid a:hover img {
    filter: saturate(1.14) contrast(1.03);
    transform: scale(1.035);
}

.resources {
    background: #111318;
    color: var(--paper);
}

.resources .section-kicker {
    color: var(--cyan);
}

.resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 980px;
}

.resource-card {
    color: var(--ink);
    padding: 34px;
}

.resource-card:nth-child(1) {
    background: #e8f2ff;
}

.resource-card:nth-child(2) {
    background: #f4e9ff;
}

.resource-card:nth-child(1) .resource-icon {
    background: var(--blue);
}

.resource-card:nth-child(2) .resource-icon {
    background: var(--purple);
}

.resource-meta {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 10px;
    margin: 20px 0 24px;
}

.resource-meta span {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    padding: 7px 12px;
}

.contact {
    background: var(--page);
}

.contact .section-kicker {
    color: var(--orange);
}

.contact-content {
    display: grid;
    gap: 18px;
    grid-template-columns: 0.9fr 1.1fr;
}

.contact-info {
    padding: 34px;
}

.contact-details {
    display: grid;
    gap: 24px;
}

.contact-item {
    align-items: flex-start;
    display: flex;
    gap: 14px;
}

.contact-item > i {
    align-items: center;
    background: var(--orange);
    border-radius: 8px;
    color: var(--paper);
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.contact-item h4 {
    font-size: 0.96rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.phone-number {
    color: var(--blue);
    display: block;
    font-weight: 600;
    text-decoration: none;
}

.working-hours {
    background: var(--page);
    border-radius: 8px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 12px;
}

.time-label {
    font-weight: 700;
}

.map {
    min-height: 430px;
}

.map iframe {
    display: block;
    height: 100%;
    width: 100%;
}

.license {
    background: var(--paper);
}

.license .section-kicker {
    color: var(--green);
}

.license-item {
    border: 1px solid var(--line);
    border-top: 3px solid var(--blue);
    padding: 26px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.license-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.license-item:nth-child(2) {
    border-top-color: var(--green);
}

.license-item:nth-child(3) {
    border-top-color: var(--purple);
}

.license-icon {
    align-items: center;
    background: var(--blue);
    border-radius: 8px;
    color: var(--paper);
    display: inline-flex;
    font-size: 1.1rem;
    height: 42px;
    justify-content: center;
    margin-bottom: 16px;
    width: 42px;
}

.license-item:nth-child(2) .license-icon {
    background: var(--green);
}

.license-item:nth-child(3) .license-icon {
    background: var(--purple);
}

.license-list {
    display: grid;
    gap: 11px;
    list-style: none;
}

.license-list li {
    background: var(--page);
    border-radius: 8px;
    padding: 12px 14px;
}

.license-list strong,
.license-list span {
    display: block;
}

.license-list strong {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.license-list > li > span:not(.validity) {
    font-size: 0.92rem;
    font-weight: 600;
}

.validity {
    background: rgba(48, 209, 88, 0.14);
    border-radius: 999px;
    color: #1f8a4c;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 8px;
    padding: 4px 10px;
    width: fit-content;
}

footer {
    background: var(--page);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 980px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        background: rgba(245, 245, 247, 0.98);
        border-top: 1px solid var(--line);
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 10px 24px 20px;
        position: absolute;
        right: 0;
        top: 100%;
    }

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

    .nav-link {
        display: block;
        font-size: 1rem;
        padding: 12px 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-columns,
    .about-features,
    .license-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .company-name {
        font-size: 0.76rem;
    }

    .company-type {
        display: none;
    }

    .banner {
        min-height: 92vh;
    }

    .hero-actions,
    .resources-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        column-count: 1;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .scroll-cue {
        display: none;
    }

    section {
        padding: 66px 0;
    }

    .about-text,
    .feature,
    .resource-card,
    .contact-info,
    .license-item {
        padding: 24px;
    }

}
