:root {
    --bg: #dce2ea;
    --bg-soft: #e7ecf3;
    --card: #f6f8fc;
    --primary: #4d4d4d;
    --primary-strong: #62615f;
    --accent: #cc1a1e;
    --text: #000000;
    --muted: #374151;
    --white: #949494;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(2, 10, 24, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 140px;
}

a {
    color: var(--primary);
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.narrow {
    width: min(760px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(245, 248, 252, 0.92);
    border-bottom: 1px solid rgba(17, 24, 39, 0.14);
}

.nav-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.9rem 0;
    min-height: 122px;
}

.brand {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(11, 18, 32, 0.12);
    border-radius: 12px;
    padding: 0.35rem 0.6rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    width: auto;
    height: 184px;
    object-fit: contain;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.header-slogan {
    margin: 0;
    font-family: "Arial", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(0.95rem, 1.45vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    color: #7a2629;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-left: auto;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 22px rgba(2, 10, 24, 0.08);
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    background: #62615f;
    color: #000000;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: var(--shadow);
}

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

.btn-small {
    padding: 0.52rem 1rem;
}

.btn-outline {
    background: #62615f;
    color: #000000;
    border-color: #62615f;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
}

/* Sticky Call Now Button */
.call-now-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(204, 26, 30, 0.35);
    z-index: 40;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    cursor: pointer;
    animation: pulse-button 2s infinite;
}

.call-now-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 16px 40px rgba(204, 26, 30, 0.5);
    animation: none;
}

.call-now-btn:active {
    transform: translateY(-3px);
}

.call-icon {
    font-size: 1.8rem;
    display: inline-block;
    animation: ring 1.5s infinite;
}

.call-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    text-align: left;
}

.call-text-main {
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 900;
}

.call-text-sub {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

@keyframes pulse-button {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(204, 26, 30, 0.35);
    }

    50% {
        box-shadow: 0 12px 32px rgba(204, 26, 30, 0.55);
    }
}

@keyframes ring {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    width: 42px;
    height: 42px;
    padding: 0;
}

.menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 6px;
    background: var(--text);
    margin: 5px auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero {
    padding: 5.4rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    align-items: start;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    font-size: 0.78rem;
}

h1,
h2,
h3 {
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.hero-copy {
    color: var(--muted);
    max-width: 60ch;
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    margin: 0.35rem 0 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
    box-shadow: 0 8px 20px rgba(2, 10, 24, 0.08);
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.hero-contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: start;
}

.contact-person {
    margin-top: 1.3rem;
}

.contact-head {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.contact-avatar {
    width: 102px;
    height: 102px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #eceff4, #cfd5df);
    box-shadow: 0 2px 8px rgba(2, 10, 24, 0.14);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.55rem;
}

.contact-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
}

.btn-phone {
    background: #62615f;
    border-color: #62615f;
}

.btn-email {
    background: #b84e52;
    border-color: #b84e52;
}

.hero-card {
    background: linear-gradient(160deg, var(--card), var(--bg-soft));
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow);
}

.hero-card ul {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.section {
    padding: 3.4rem 0;
}

#services,
#about,
#contact {
    scroll-margin-top: 140px;
}

.section-alt {
    background: #d3dae5;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.trust-section {
    padding-top: 1rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.trust-card,
.reviews-panel {
    background: linear-gradient(180deg, #f8faff, #e9eef6);
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: var(--radius);
    padding: 1.15rem;
    box-shadow: var(--shadow);
}

.service-areas-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e3e9f3 100%);
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.area-column {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(2, 10, 24, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.area-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(2, 10, 24, 0.12);
}

.area-column h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
}

.area-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-column li {
    padding: 0.5rem 0;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.area-column li:last-child {
    border-bottom: none;
}

.trust-label {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(204, 26, 30, 0.1);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.parallax-banner {
    height: 380px;
    background-image: url('resources/ikoArmorShingles.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 24, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-tagline {
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.slideshow-section {
    background: #d3dae5;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.tile-gallery {
    margin-top: 1.4rem;
    overflow: hidden;
}

.tile-track {
    display: flex;
    animation: tile-scroll 14s linear infinite;
    width: max-content;
}

.tile-gallery:hover .tile-track {
    animation-play-state: paused;
}

@keyframes tile-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.tile-set {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    padding-right: 1rem;
}

.tile {
    width: 380px;
    height: 260px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
    display: block;
}

.reviews-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(231, 236, 243, 0.95));
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.reviews-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
}

.reviews-stars {
    margin-bottom: 0.8rem;
    color: #d29a17;
    letter-spacing: 0.16em;
    font-size: 1.15rem;
}

.reviews-kicker {
    margin: 0 0 0.45rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reviews-meta {
    display: none;
}

.featured-review {
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 3px solid rgba(204, 26, 30, 0.35);
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.65;
    min-height: 6.5rem;
    display: flex;
    align-items: center;
}

.reviews-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 0.85rem;
}

.review-control {
    border: 1px solid rgba(17, 24, 39, 0.18);
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    background: #ffffff;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.review-control:disabled {
    opacity: 0.45;
    cursor: default;
}

.reviews-index {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--muted);
}

.reviews-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.reviews-note {
    font-size: 0.95rem;
}

.card {
    background: linear-gradient(180deg, #f8faff, #e9eef6);
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow);
}

.card p,
.section p,
.hero-card p {
    color: var(--muted);
}

.contact-box {
    background: #f3f6fb;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: var(--radius);
    padding: 1.2rem 1.2rem;
    box-shadow: var(--shadow);
}

.site-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--muted);
}

.footer-badge {
    width: auto;
    height: 164px;
    object-fit: contain;
}

@media (max-width: 920px) {

    html {
        scroll-padding-top: 96px;
    }

    #services,
    #about,
    #contact {
        scroll-margin-top: 96px;
    }

    .nav-wrap {
        min-height: auto;
        gap: 0.75rem;
        padding: 0.6rem 0;
    }

    .logo {
        height: 70px;
    }

    .header-slogan {
        font-size: 0.98rem;
        line-height: 1.2;
    }

    .menu-btn {
        display: block;
    }

    .hero-grid,
    .cards,
    .trust-grid,
    .reviews-layout,
    .hero-contacts,
    .service-areas-grid {
        grid-template-columns: 1fr;
    }

    /* Optimize Call Now button for mobile */
    .call-now-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 1rem 1.3rem;
    }

    .call-text-main {
        font-size: 1.15rem;
    }

    .call-text-sub {
        font-size: 0.8rem;
    }

    .nav {
        position: absolute;
        right: 4%;
        top: calc(100% - 0.35rem);
        background: rgba(243, 247, 252, 0.98);
        border: 1px solid rgba(17, 24, 39, 0.1);
        border-radius: 12px;
        padding: 0.8rem;
        flex-direction: column;
        align-items: stretch;
        min-width: 220px;
        display: none;
    }

    .nav.open {
        display: flex;
    }

    .contact-name {
        white-space: normal;
        font-size: 1.2rem;
    }

    .footer-wrap {
        flex-direction: column;
    }

    .footer-badge {
        height: 136px;
    }
}

@media (max-width: 1120px) {
    .header-slogan {
        display: none;
    }
}