@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    --ink: #17211f;
    --ink-2: #293630;
    --paper: #f5f3ed;
    --white: #fff;
    --clay: #d4673e;
    --clay-light: #efb299;
    --sage: #b8c4b5;
    --line: rgba(23, 33, 31, .14);
    --max: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.55;
}

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

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

h1,
h2,
h3 {
    font-family: Manrope, "DM Sans", sans-serif;
    line-height: 1.04;
    letter-spacing: -.055em;
}

.shell {
    width: min(calc(100% - 48px), var(--max));
    margin-inline: auto;
}

.eyebrow {
    color: var(--clay);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    align-items: center;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
}

.button {
    border: 1px solid transparent;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 14px 21px;
    transition: .2s ease;
    white-space: nowrap;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--clay);
    color: white;
    box-shadow: 0 10px 24px rgba(212, 103, 62, .28);
}

.button-primary:hover {
    background: #bd5733;
}

.button-ghost {
    color: white;
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .05);
}

.button-ghost:hover {
    background: white;
    color: var(--ink);
}

.top-strip {
    background: var(--ink);
    color: #e8ede7;
    font-size: .79rem;
}

.top-strip .shell {
    min-height: 37px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-strip p:last-child {
    color: var(--clay-light);
}

.hero {
    min-height: 820px;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(16, 25, 23, .94) 0%, rgba(16, 25, 23, .78) 45%, rgba(16, 25, 23, .25) 100%), url('roof-restoration-hero-sa.jpeg') center/cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -1px;
    height: 105px;
    background: #e6f0f8;
    clip-path: polygon(0 65%, 100% 0, 100% 100%, 0 100%);
}

nav {
    position: relative;
    z-index: 1;
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 205px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: .87rem;
    font-weight: 600;
}

.nav-links a:not(.button) {
    color: rgba(255, 255, 255, .82);
}

.nav-links a:not(.button):hover {
    color: var(--clay-light);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 90px 0 164px;
    max-width: 760px;
}

.hero .eyebrow {
    color: var(--clay-light);
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    max-width: 15ch;
}

.hero-copy {
    font-size: 1.12rem;
    max-width: 600px;
    color: rgba(255, 255, 255, .84);
    margin: 25px 0 31px;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.trust-line {
    margin-top: 49px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .86rem;
    color: rgba(255, 255, 255, .75);
}

.trust-line strong {
    color: white;
    font-size: 1.35rem;
    letter-spacing: -.07em;
}

section {
    padding: 112px 0;
}

.intro {
    padding-top: 76px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 44px;
}

.section-head h2 {
    font-size: clamp(2.4rem, 4.6vw, 4.35rem);
    max-width: 11ch;
    margin-top: 13px;
}

.section-head>p {
    max-width: 400px;
    color: #56625c;
    padding-bottom: 4px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service {
    border-radius: 18px;
    overflow: hidden;
    min-height: 500px;
    position: relative;
    color: white;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 28px;
}

.service::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .54;
    background: center/cover no-repeat;
    transition: transform .5s ease;
}

.service:hover::before {
    transform: scale(1.05);
}

.service:nth-child(1)::before {
    background-image: url('assets/roof-completed-colourbond-roof.jpeg');
    background-position: bottom center;
}

.service:nth-child(2)::before {
    background-image: url('assets/roof-after-restoration-sa.webp');
}

.service:nth-child(3)::before {
    background-image: url('assets/roof-restoration-during-sa.webp');
}

.service::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 21, 18, .02) 28%, rgba(12, 21, 18, .92) 100%);
}

.service>* {
    position: relative;
    z-index: 1;
}

.service-number {
    font-size: .78rem;
    color: var(--clay-light);
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: auto;
}

.service h3 {
    font-size: 1.8rem;
    margin-bottom: 11px;
}

.service p {
    color: rgba(255, 255, 255, .84);
    font-size: .95rem;
}

.promotion {
    padding: 88px 0;
    background: #e6f0f8;
}

.promotion-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: clamp(35px, 7vw, 95px);
    align-items: center;
}

.promotion-art {
    justify-self: center;
    width: min(100%, 390px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(20, 57, 88, .2);
}

.promotion-art img {
    width: 100%;
    height: auto;
}

.promotion-content .eyebrow {
    color: #1769bd;
}

.promotion-content h2 {
    font-size: clamp(2.5rem, 4.8vw, 4.5rem);
    max-width: 9ch;
    margin: 14px 0 20px;
}

.promotion-content>p {
    max-width: 510px;
    color: #40596d;
    font-size: 1.06rem;
}

.promotion-offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0;
    max-width: 590px;
}

.promotion-offer {
    padding: 20px;
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(23, 105, 189, .18);
}

.promotion-offer strong {
    display: block;
    color: #1769bd;
    font: 800 clamp(2rem, 4vw, 3rem) Manrope, sans-serif;
    letter-spacing: -.08em;
}

.promotion-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}
.promotion-offer span {
    display: block;
    margin-top: 4px;
    font-weight: 700;
    line-height: 1.25;
}

.restoration {
    background: var(--ink);
    color: white;
    position: relative;
    overflow: hidden;
}

.restoration::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    right: -145px;
    top: -115px;
}

.restoration .section-head h2 {
    max-width: 12ch;
}

.restoration .section-head>p {
    color: #c7d1c8;
}

.process {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    position: relative;
    z-index: 1;
}

.process-copy>p {
    color: #d8dfd9;
    font-size: 1.05rem;
    max-width: 650px;
    margin-bottom: 30px;
}

.process-steps {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.step {
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.step span {
    color: var(--clay-light);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.step h3 {
    font-size: 1.14rem;
    margin-bottom: 5px;
    letter-spacing: -.03em;
}

.step p {
    color: #b8c4b9;
    font-size: .93rem;
}

.warranty {
    background: #dfe5dc;
    padding: 34px;
    align-self: start;
    border-radius: 16px;
    color: var(--ink);
}

.warranty .seal {
    width: 67px;
    height: 67px;
    border: 2px solid var(--clay);
    border-radius: 50%;
    color: var(--clay);
    display: grid;
    place-items: center;
    font: 800 1.25rem Manrope, sans-serif;
    margin-bottom: 21px;
}

.warranty h3 {
    font-size: 1.65rem;
    max-width: 11ch;
    margin-bottom: 13px;
}

.warranty p {
    color: #45534b;
}

.gallery {
    padding-bottom: 124px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.07fr .93fr .93fr;
    grid-template-rows: 330px 260px;
    gap: 16px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: var(--ink);
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-item:hover img,
.gallery-trigger:focus-visible img {
    transform: scale(1.04);
}

.gallery-trigger:focus-visible {
    outline: 3px solid var(--clay);
    outline-offset: -3px;
}

.tag {
    position: absolute;
    z-index: 1;
    left: 14px;
    bottom: 14px;
    background: rgba(16, 25, 23, .88);
    color: white;
    padding: 7px 11px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.lightbox {
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 24px;
    border: 0;
    background: transparent;
    overflow: visible;
}

.lightbox[open] {
    display: grid;
    place-items: center;
}

.lightbox::backdrop {
    background: rgba(5, 10, 8, .88);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    position: relative;
    display: grid;
    place-items: center;
    max-width: 100%;
    max-height: 100%;
}

.lightbox img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 100px;
    padding: 9px 12px;
    background: rgba(16, 25, 23, .88);
    color: white;
    cursor: pointer;
    font: 700 .82rem "DM Sans", sans-serif;
}

.lightbox-close:focus-visible {
    outline: 3px solid var(--clay-light);
    outline-offset: 2px;
}

.proof {
    background: #e2e6de;
}

.proof-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: center;
}

.proof h2 {
    font-size: clamp(2.4rem, 4.4vw, 4.1rem);
    margin: 14px 0 20px;
    max-width: 9ch;
}

.proof p {
    color: #526158;
    max-width: 420px;
}

.proof-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(23, 33, 31, .15);
    border: 1px solid rgba(23, 33, 31, .15);
}

.proof-points div {
    padding: 29px 22px;
    background: #e2e6de;
}

.proof-points strong {
    display: block;
    font: 800 2.1rem Manrope, sans-serif;
    letter-spacing: -.08em;
    color: var(--clay);
}

.proof-points span {
    color: #45534b;
    font-size: .87rem;
}

.service-areas {
    padding: 82px 0;
    background: #edf1ea;
}

.service-areas h2 {
    font-size: clamp(2.2rem, 4.2vw, 3.7rem);
    margin: 12px 0 14px;
    max-width: 13ch;
}

.service-areas p {
    max-width: 840px;
    color: #48574f;
}

.faq {
    background: #f1f5ef;
}

.faq h2 {
    font-size: clamp(2.3rem, 4.4vw, 3.8rem);
    margin: 12px 0 22px;
    max-width: 10ch;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    background: white;
    border: 1px solid rgba(23, 33, 31, .12);
    border-radius: 12px;
    padding: 19px 20px;
}

.faq-item h3 {
    font-size: 1.2rem;
    letter-spacing: -.03em;
    margin-bottom: 7px;
}

.faq-item p {
    color: #4f5f56;
}

.contact {
    padding: 90px 0;
    background: var(--ink);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 80px;
}

.contact h2 {
    font-size: clamp(2.65rem, 5vw, 4.4rem);
    margin: 15px 0 20px;
    max-width: 8ch;
}

.contact-copy {
    color: #c9d2ca;
    max-width: 390px;
}

.contact-details {
    margin-top: 35px;
    display: grid;
    gap: 10px;
    font-size: .93rem;
}

.contact-details strong {
    color: var(--clay-light);
    min-width: 95px;
    display: inline-block;
}

.contact-details a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .4);
    text-underline-offset: 2px;
}

.contact-details a:hover {
    text-decoration-color: var(--clay-light);
}

form {
    display: grid;
    gap: 13px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

input,
textarea {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    padding: 15px 16px;
    color: white;
    font: inherit;
    width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: #b9c3bb;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--clay);
    outline-offset: 1px;
}

textarea {
    min-height: 125px;
    resize: vertical;
}

form .button {
    justify-self: start;
    margin-top: 5px;
    cursor: pointer;
    font: 700 1rem "DM Sans", sans-serif;
}


.sticky-phone {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--clay);
    color: white;
    box-shadow: 0 14px 32px rgba(23, 33, 31, .28);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.sticky-phone:hover {
    transform: translateY(-3px);
    background: #bd5733;
    box-shadow: 0 18px 38px rgba(23, 33, 31, .34);
}

.sticky-phone:focus-visible {
    outline: 3px solid var(--clay-light);
    outline-offset: 4px;
}

footer {
    background: #101815;
    color: #8d9a90;
    padding: 25px 0 108px;
    font-size: .81rem;
}

footer .shell {
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media(max-width:820px) {
    .nav-links a:not(.button) {
        display: none;
    }

    .hero {
        min-height: 730px;
        background-position: 60% center;
    }

    .hero-content {
        padding-top: 65px;
    }

    .section-head,
    .promotion-grid,
    .process,
    .proof-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .section-head {
        align-items: start;
    }

    .promotion-grid {
        gap: 38px;
    }

    .promotion-art {
        justify-self: start;
        width: min(100%, 330px);
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service {
        min-height: 370px;
    }

    .process,
    .proof-grid,
    .contact-grid {
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 210px 210px;
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media(max-width:540px) {
    .shell {
        width: min(calc(100% - 32px), var(--max));
    }

    .top-strip p:last-child {
        display: none;
    }

    nav {
        padding: 18px 0;
    }

    .nav-links .button {
        padding: 10px 14px;
        font-size: .82rem;
    }

    .brand img {
        width: 150px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 58px 0 138px;
    }

    section {
        padding: 78px 0;
    }

    .intro {
        padding-top: 52px;
    }

    .promotion {
        padding: 68px 0;
    }

    .promotion-offers,
    .gallery-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-rows: 260px repeat(4, 210px);
    }

    .gallery-item:first-child {
        grid-column: auto;
    }

    .proof-points {
        grid-template-columns: 1fr;
    }

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

    .contact-details strong {
        min-width: 0;
        display: block;
    }

    .contact {
        padding: 72px 0;
    }

    footer {
        padding-bottom: 94px;
    }

    .sticky-phone {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

}
