/* =========================
   HERO
========================= */

.hero {
    display: flex;
    justify-content: center;

    padding:
        90px
        var(--page-padding)
        40px;
}

.hero-inner {
    width: 100%;
    text-align: center;
}

.hero h1 {
    color: var(--charcoal);

    font-size: clamp(56px, 6.5vw, 96px);
    font-weight: 900;
    line-height: 0.95;

    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-copy {
    margin-top: 36px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
}

.hero-subtitle strong {
    font-weight: 700;
}

.hero-description {
    max-width: 640px;
    margin: 14px auto 0;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.hero-description em {
    font-weight: 700;
}

.hero-cta {
    width: 337px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 45px auto 0;

    border-radius: 100px;

    background-color: var(--charcoal);
    color: var(--off-white);

    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
}


/* =========================
   HERO STATEMENT
========================= */

.hero-statement {
    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding:
        40px
        var(--page-padding)
        55px;

    text-align: center;
}

.hero-statement h2 {
    max-width: 1300px;

    font-size: clamp(40px, 4vw, 55px);
    font-weight: 900;
    line-height: 0.92;

    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.hero-statement .statement-normal {
    display: inline;
    color: var(--charcoal);
    font-style: normal;
    font-weight: 900;
}

.hero-statement .statement-highlight {
    display: inline-block;
    color: var(--coral);
    font-style: italic;
    font-weight: 900;
}


/* =========================
   HERO CARDS
========================= */

.hero-cards {
    padding:
        45px
        max(var(--page-padding), calc((100vw - 1400px) / 2))
        90px;

    background-color: var(--off-white);
}

.hero-cards-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 64px 96px;
}

.hero-card {
    display: flex;
    flex-direction: column;

    padding: 40px 36px 44px;

    border-radius: 15px;

    background-color: var(--charcoal);
    color: var(--off-white);
}

.hero-card-icon {
    width: 80px;
    height: 80px;

    margin-bottom: 28px;

    object-fit: contain;
    object-position: left center;
}

.hero-card h3 {
    color: var(--yellow);

    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.hero-card p {
    margin-top: 14px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================
   HOME — TABLET
========================= */

@media (max-width: 1100px) {

    .hero-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}


/* =========================
   HOME — MOBILE
========================= */

@media (max-width: 760px) {

    /* HERO */

    .hero {
        min-height: auto;

        padding:
            65px
            22px
            60px;
    }

    .hero h1 {
        font-size: 47px;
        line-height: 0.95;
    }

    .hero-copy {
        margin-top: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        max-width: 380px;

        margin:
            13px
            auto
            0;
    }

    .hero-description br {
        display: none;
    }

    .hero-cta {
        width: min(335px, 100%);
        height: 60px;

        margin-top: 36px;
    }


    /* STATEMENT */

    .hero-statement {
        min-height: auto;

        padding:
            55px
            22px
            70px;
    }

    .hero-statement h2 {
        font-size: 43px;
        line-height: 0.93;
    }

    .hero-statement br {
        display: none;
    }


    /* CARDS */

    .hero-cards {
        padding:
            20px
            22px
            60px;
    }

    .hero-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================
   FEATURED PROJECTS
========================= */

.featured-projects {
    background-color: var(--coral);

    padding:
        40px
        var(--page-padding)
        70px;

    color: var(--off-white);
}

.featured-projects-title {
    margin-bottom: 55px;

    text-align: center;

    font-size: clamp(52px, 4.5vw, 72px);
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.featured-projects-grid {
    max-width: 1540px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 80px;
}

.featured-project {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.featured-project-image {
    width: 100%;
    aspect-ratio: 1.5 / 1;

    object-fit: cover;

    border-radius: 15px;

    filter: grayscale(100%);
}

.featured-project-label {
    margin-top: 22px;

    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    opacity: 0.85;
}

.featured-project-name {
    margin-top: 6px;

    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
}

.featured-project-description {
    min-height: 100px;

    margin-top: 12px;

    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.featured-project-button {
    min-width: 185px;
    min-height: 80px;

    margin-top: 12px;
    padding: 10px 35px;

    border: 1px solid var(--off-white);
    border-radius: 100px;

    background: transparent;
    color: var(--off-white);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;

    text-transform: uppercase;
    text-decoration: none;

    transition: background-color 0.2s, color 0.2s;
}

.featured-project-button:hover {
    background-color: var(--off-white);
    color: var(--coral);
}

.featured-project-image-link {
    width: 100%;
    display: block;
}


/* =========================
   FEATURED PROJECTS — TABLET
========================= */

@media (max-width: 1100px) {

    .featured-projects-grid {
        gap: 35px;
    }

    .featured-project-description {
        min-height: 190px;

        font-size: 16px;
    }
}


/* =========================
   FEATURED PROJECTS — MOBILE
========================= */

@media (max-width: 760px) {

    .featured-projects {
        padding:
            50px
            22px
            65px;
    }

    .featured-projects-title {
        margin-bottom: 40px;

        font-size: 48px;
    }

    .featured-projects-grid {
        grid-template-columns: 1fr;

        gap: 65px;
    }

    .featured-project {
        max-width: 520px;

        margin: 0 auto;
    }

    .featured-project-description {
        min-height: auto;

        margin-top: 18px;

        font-size: 16px;
    }

    .featured-project-button {
        min-height: 60px;

        margin-top: 25px;

        font-size: 15px;
    }
}
/* =========================
   SERVICES
========================= */

.home-services {
    background-color: var(--off-white);

    padding:
        80px
        var(--page-padding)
        80px;
}


/* =========================
   HEADING
========================= */

.home-services-heading {
    max-width: 760px;
    margin: 0 auto;

    text-align: center;
}

.home-services-heading h2 {
    color: var(--charcoal);

    font-size: clamp(44px, 4.1vw, 66px);
    font-weight: 900;
    line-height: 1;

    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.home-services-intro {
    margin-top: 22px;

    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
}


/* =========================
   SERVICES ROW
========================= */

.home-services-row {
    max-width: 1200px;

    margin:
        56px
        auto
        0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}


/* =========================
   SERVICE CARD
========================= */

.service-card {
    display: flex;
    flex-direction: column;

    padding: 34px 36px 36px;

    border-radius: 15px;

    background-color: var(--charcoal);
    color: var(--off-white);
}

.service-card-blueprint {
    --card-accent: var(--coral);
}

.service-card-optimization {
    --card-accent: var(--blue);
}

.service-card-icon {
    width: 56px;
    height: 56px;

    object-fit: contain;
    object-position: left center;
}

.service-card-tag {
    margin-top: 18px;

    color: var(--card-accent);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.service-card h3 {
    margin-top: 4px;

    color: var(--off-white);

    font-size: clamp(28px, 2.2vw, 34px);
    font-weight: 900;
    line-height: 1;

    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.service-card-row {
    margin-top: 16px;
    padding-top: 14px;

    border-top: 1px solid rgba(255, 253, 238, 0.14);
}

.service-card-row h4 {
    margin-bottom: 5px;

    color: var(--card-accent);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.service-card-row p,
.service-card-row li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

.service-card-row ul {
    padding-left: 20px;
}

.service-card-row li + li {
    margin-top: 4px;
}


/* =========================
   BUTTON
========================= */

.service-card-button {
    min-height: 58px;

    margin-top: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 36px;

    border: 0;
    border-radius: 100px;

    background-color: var(--card-accent);
    color: var(--charcoal);

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;
}

.service-card .service-card-button:hover {
    background-color: var(--off-white);
    color: var(--charcoal);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

    .home-services-row {
        gap: 24px;
    }

    .service-card {
        padding: 36px 30px 40px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

    .home-services {
        padding:
            55px
            22px
            65px;
    }

    .home-services-heading h2 {
        font-size: 42px;
        line-height: 1.05;
    }

    .home-services-intro {
        font-size: 17px;
    }

    .home-services-row {
        margin-top: 40px;

        grid-template-columns: 1fr;

        gap: 24px;
    }

    .service-card {
        padding: 28px 24px 30px;
    }

    .service-card-button {
        width: 100%;
    }
}

/* =========================
   DIY RESOURCES
========================= */

.diy-resources {
    background-color: var(--off-white);

    padding:
        80px
        var(--page-padding)
        80px;

    text-align: center;
}


/* =========================
   HEADING
========================= */

.diy-heading {
    max-width: 720px;
    margin: 0 auto;
}

.diy-heading h2 {
    color: var(--charcoal);

    font-size: clamp(44px, 4vw, 64px);
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.diy-heading p {
    margin-top: 22px;

    color: var(--charcoal);

    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
}


/* =========================
   PRODUCT CARDS
========================= */

.diy-products {
    max-width: 1200px;

    margin:
        52px
        auto
        0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

    text-align: left;
}

.diy-product {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 2px solid var(--charcoal);
    border-radius: 15px;

    background-color: var(--off-white);
    color: var(--charcoal);
}

.diy-product-image {
    display: block;
}

.diy-product-image img {
    width: 100%;
    aspect-ratio: 1 / 1;

    display: block;

    object-fit: cover;
    object-position: 50% 100%;
}

.diy-product-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 8px 34px 38px;
}

.diy-product-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    opacity: 0.6;
}

.diy-product h3 {
    margin-top: 12px;

    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.diy-product-price {
    margin-top: 10px;

    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.diy-product-text {
    margin-top: 16px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.diy-product-note {
    margin-top: 12px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;

    opacity: 0.7;
}

.diy-product-button {
    min-height: 56px;

    margin-top: auto;
    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 100px;

    background-color: var(--charcoal);
    color: var(--off-white);

    font-size: 15px;
    font-weight: 600;

    text-transform: uppercase;
    text-decoration: none;

    transition: background-color 0.2s;
}

.diy-product-text + .diy-product-button,
.diy-product-note + .diy-product-button {
    margin-top: 28px;
}

.diy-product-button:hover {
    background-color: #3a3637;
}

.diy-all-link {
    display: inline-block;

    margin-top: 36px;

    color: var(--charcoal);

    font-size: 16px;
    font-weight: 600;

    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}


/* =========================
   DIY — TABLET
========================= */

@media (max-width: 1100px) {

    .diy-products {
        gap: 18px;
    }

    .diy-product-body {
        padding: 4px 24px 30px;
    }
}


/* =========================
   DIY — MOBILE
========================= */

@media (max-width: 760px) {

    .diy-resources {
        padding:
            55px
            22px
            65px;
    }

    .diy-heading h2 {
        font-size: 40px;
        line-height: 1.05;
    }

    .diy-heading p {
        font-size: 17px;
    }

    .diy-products {
        margin-top: 36px;

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .diy-product-button {
        width: 100%;
    }
}


/* =========================
   GOOD FIT
========================= */

.good-fit {
    background-color: var(--off-white);

    padding:
        55px
        var(--page-padding)
        70px;

    text-align: center;
}


/* =========================
   TITLE
========================= */

.good-fit-title {
    color: var(--charcoal);

    font-size: clamp(50px, 4.2vw, 68px);
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.good-fit-title .good-fit-title-normal {
    text-decoration: none;
}

.good-fit-title > span:not(.good-fit-title-normal) {
    text-decoration: underline;
    text-decoration-color: var(--coral);
    text-decoration-thickness: 5px;
    text-underline-offset: 8px;
}


/* =========================
   GRID
========================= */

.good-fit-grid {
    max-width: 1100px;

    margin:
        55px
        auto
        0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}


/* =========================
   CARD
========================= */

.fit-card {
    padding:
        38px
        44px
        40px;

    border: 2px solid var(--charcoal);
    border-radius: 15px;

    text-align: start;
}

.fit-card-positive {
    --fit-accent: var(--mint);
}

.fit-card-negative {
    --fit-accent: var(--coral);
}

.fit-card h3 {
    margin-bottom: 30px;

    color: var(--charcoal);

    font-size: 28px;
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;
}

.fit-positive,
.fit-negative {
    color: var(--fit-accent);

    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================
   LIST
========================= */

.fit-card ul {
    padding: 0;
    list-style: none;
}

.fit-card li {
    position: relative;

    margin-bottom: 14px;

    padding-inline-start: 34px;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.fit-card li:last-child {
    margin-bottom: 0;
}

/* Check / cross markers, drawn so they need no icon files */

.fit-card li::before {
    content: "";

    position: absolute;
    inset-inline-start: 0;
    top: 1px;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background-color: var(--fit-accent);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 11px;
}

.fit-card-positive li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.5L10 3' fill='none' stroke='%23221f20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fit-card-negative li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='%23221f20' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.fit-card strong {
    font-weight: 700;
}


/* =========================
   CTA
========================= */

.good-fit-button {
    min-width: 340px;
    height: 70px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 50px;
    padding: 0 40px;

    border: 0;
    border-radius: 100px;

    background-color: var(--charcoal);
    color: var(--off-white);

    font-family: inherit;

    font-size: 16px;
    font-weight: 400;

    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;
}


/* =========================
   GOOD FIT — TABLET
========================= */

@media (max-width: 1100px) {

    .good-fit-grid {
        gap: 18px;
    }

    .fit-card {
        padding:
            35px
            35px
            40px;
    }
}


/* =========================
   GOOD FIT — MOBILE
========================= */

@media (max-width: 760px) {

    .good-fit {
        padding:
            50px
            22px
            65px;
    }

    .good-fit-title {
        font-size: 45px;
    }

    .good-fit-grid {
        margin-top: 45px;

        grid-template-columns: 1fr;
    }

    .fit-card {
        padding:
            35px
            28px
            35px;
    }

    .fit-card h3 {
        margin-bottom: 40px;

        font-size: 26px;
    }

    .fit-card li {
        font-size: 15px;
    }

    .good-fit-button {
        min-width: 0;
        width: 100%;
        height: 60px;

        margin-top: 40px;
    }
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials {
    background-color: var(--blue);

    padding:
        70px
        var(--page-padding)
        70px;
}


/* =========================
   TITLE
========================= */

.testimonials-title {
    margin-bottom: 45px;

    color: var(--off-white);

    text-align: center;

    font-size: clamp(50px, 4vw, 66px);
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: -1.5px;
}


/* =========================
   GRID
========================= */

.testimonials-grid {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* =========================
   CARD
========================= */

.testimonial-card {
    display: flex;
    flex-direction: column;

    padding: 30px 30px 28px;

    border-radius: 15px;

    background-color: var(--off-white);
    color: var(--charcoal);
}

.testimonial-quote {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.testimonial-quote br {
    display: none;
}

/* "Read more" only shows when the quote is actually cut off (set by js/main.js) */

.testimonial-more {
    display: none;

    align-self: flex-start;

    margin-top: 8px;
    padding: 0;

    border: 0;
    background: none;
    color: var(--charcoal);

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;
}

.testimonial-card.is-clamped .testimonial-more {
    display: inline;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: auto;
    padding-top: 22px;
}

.testimonial-avatar {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: var(--coral);
    color: var(--charcoal);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.testimonial-card:nth-child(3n + 2) .testimonial-avatar {
    background-color: var(--yellow);
}

.testimonial-card:nth-child(3n) .testimonial-avatar {
    background-color: var(--mint);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
}

.testimonial-author {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.testimonial-role {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;

    opacity: 0.7;
}

.testimonial-role:empty {
    display: none;
}


/* =========================
   FULL REVIEW POP-UP
========================= */

.testimonial-modal[hidden] {
    display: none;
}

.testimonial-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background-color: rgba(34, 31, 32, 0.6);
}

.testimonial-modal-box {
    position: relative;

    width: min(680px, 100%);
    max-height: 85vh;
    overflow-y: auto;

    padding: 44px 44px 36px;

    border-radius: 15px;

    background-color: var(--off-white);
    color: var(--charcoal);
}

.testimonial-modal-close {
    position: absolute;
    top: 14px;
    inset-inline-end: 18px;

    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 50%;

    background: none;
    color: var(--charcoal);

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}

.testimonial-modal-close:hover {
    background-color: rgba(34, 31, 32, 0.08);
}

.testimonial-modal-quote {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.testimonial-modal .testimonial-footer {
    padding-top: 26px;
}

.testimonial-modal .testimonial-avatar {
    background-color: var(--coral);
}

body.modal-open {
    overflow: hidden;
}


/* =========================
   TESTIMONIALS — TABLET
========================= */

@media (max-width: 1100px) {

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   TESTIMONIALS — MOBILE
========================= */

@media (max-width: 760px) {

    .testimonials {
        padding:
            55px
            22px
            60px;
    }

    .testimonials-title {
        font-size: 44px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .testimonial-card {
        padding: 26px 24px 24px;
    }

    .testimonial-modal-box {
        padding: 40px 24px 28px;
    }
}


/* =========================
   ABOUT TAWLÉ
========================= */

.about-tawle {
    background-color: var(--off-white);

    padding:
        90px
        var(--page-padding)
        90px;
}

.about-tawle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;

    /* keep the two halves close together on wide screens */
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: content-box;
}


/* =========================
   ABOUT CONTENT
========================= */

.about-content h2 {
    color: var(--charcoal);

    font-size: clamp(44px, 4vw, 64px);
    font-weight: 900;
    line-height: 1;

    text-transform: uppercase;
    letter-spacing: -1.5px;
}

.about-content p {
    margin-top: 22px;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
}

.about-content strong {
    font-weight: 700;
}

.about-button {
    min-height: 64px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 34px;
    padding: 0 40px;

    border-radius: 100px;

    background-color: var(--charcoal);
    color: var(--off-white);

    font-size: 16px;
    font-weight: 400;

    text-transform: uppercase;
    text-decoration: none;
}


/* =========================
   ABOUT VISUAL - TRANSFORMATION ART
========================= */

.transformation-art {
    width: 100%;
    height: auto;

    display: block;
}

.transformation-captions {
    display: flex;
    justify-content: space-between;

    margin-top: 6px;
    padding: 0 8%;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.transformation-captions span:last-child {
    color: var(--coral);
}


/* =========================
   ABOUT — TABLET
========================= */

@media (max-width: 1100px) {

    .about-tawle {
        gap: 36px;
    }

}


/* =========================
   ABOUT — MOBILE
========================= */

@media (max-width: 760px) {

    .about-tawle {
        padding:
            60px
            22px
            65px;

        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h2 {
        font-size: 42px;
    }

    .transformation-captions {
        font-size: 11px;
        padding: 0 4%;
    }
}


/* =========================
   CONTACT
========================= */

.home-contact {
    min-height: 735px;

    display: grid;
    grid-template-columns: 0.9fr 1.25fr;

    gap: 90px;

    padding:
        125px
        max(var(--page-padding), calc((100vw - 1500px) / 2))
        80px;

    background-color: var(--off-white);
}


/* =========================
   CONTACT INTRO
========================= */

.contact-intro {
    max-width: 540px;
}

.contact-intro h2 {
    color: var(--charcoal);

    font-size: clamp(70px, 6vw, 105px);
    font-weight: 900;
    line-height: 0.9;

    text-transform: uppercase;
    letter-spacing: -3px;
}

.contact-intro p {
    max-width: 525px;

    margin-top: 35px;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
}


/* =========================
   FORM
========================= */

.contact-form {
    width: 100%;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 16px;
    font-weight: 400;
}

.form-field label span + span {
    margin-inline-start: 5px;

    color: #696969;

    font-size: 14px;
}


/* =========================
   INPUTS
========================= */

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    border: 1px solid var(--charcoal);

    background-color: transparent;
    color: var(--charcoal);

    font-family: inherit;
    font-size: 16px;

    outline: none;
}

.form-field input,
.form-field select {
    height: 43px;

    padding: 0 16px;

    border-radius: 100px;
}

.form-field textarea {
    min-height: 108px;

    padding: 15px 18px;

    border-radius: 22px;

    resize: vertical;
}


/* SELECT */

.form-field select {
    appearance: auto;
    cursor: pointer;
}


/* FOCUS */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-width: 1.5px;
}


/* =========================
   SEND BUTTON
========================= */

.contact-submit {
    width: 100%;
    height: 64px;

    margin-top: 6px;

    border: 0;
    border-radius: 100px;

    background-color: var(--charcoal);
    color: var(--off-white);

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    text-transform: uppercase;

    cursor: pointer;
}


/* FILE INPUT */

.form-field input[type="file"] {
    height: auto;

    padding: 10px 16px;

    font-size: 14px;
}

.form-field input[type="file"]::file-selector-button {
    margin-inline-end: 12px;
    padding: 6px 14px;

    border: 0;
    border-radius: 100px;

    background-color: var(--charcoal);
    color: var(--off-white);

    font-family: inherit;
    font-size: 13px;

    cursor: pointer;
}


/* =========================
   CONTACT — TABLET
========================= */

@media (max-width: 1100px) {

    .home-contact {
        grid-template-columns: 0.8fr 1.2fr;

        gap: 55px;

        padding-top: 90px;
    }

    .contact-intro h2 {
        font-size: 75px;
    }
}


/* =========================
   CONTACT — MOBILE
========================= */

@media (max-width: 760px) {

    .home-contact {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 55px;

        padding:
            65px
            22px
            70px;
    }

    .contact-intro {
        max-width: 100%;
    }

    .contact-intro h2 {
        font-size: 65px;
    }

    .contact-intro p {
        margin-top: 25px;

        font-size: 16px;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        width: 120px;
        height: 60px;
    }
}


/* =========================
   ARABIC / RTL
========================= */

html[lang="ar"] .hero,
html[lang="ar"] .featured-projects,
html[lang="ar"] .home-services,
html[lang="ar"] .diy-resources,
html[lang="ar"] .good-fit,
html[lang="ar"] .testimonials,
html[lang="ar"] .about-tawle,
html[lang="ar"] .home-contact {
    font-family: "Noto Sans Arabic", Arial, sans-serif;
}


/* Arabic text generally needs more relaxed line-height */

html[lang="ar"] .hero h1,
html[lang="ar"] .hero-statement h2,
html[lang="ar"] .featured-projects-title,
html[lang="ar"] .home-services-heading h2,
html[lang="ar"] .diy-heading h2,
html[lang="ar"] .good-fit-title,
html[lang="ar"] .testimonials-title,
html[lang="ar"] .contact-intro h2 {
    line-height: 1.2;
    letter-spacing: 0;
}


/* Do not force Latin-style letter spacing */

html[lang="ar"] .service-card h3,
html[lang="ar"] .fit-card h3,
html[lang="ar"] .about-content h2 {
    letter-spacing: 0;
}


/* Contact form */

html[lang="ar"] .contact-form {
    text-align: start;
}

html[lang="ar"] .form-field input,
html[lang="ar"] .form-field textarea,
html[lang="ar"] .form-field select {
    text-align: start;
}


/* Testimonials */

html[lang="ar"] .testimonial-quote {
    line-height: 1.35;
}


/* About labels */

html[lang="ar"] .about-success,
html[lang="ar"] .about-existing {
    line-height: 1.3;
}


/* =========================
   BUTTON HOVER EFFECTS
========================= */

/* Smooth transition for all homepage buttons */
.hero-cta,
.featured-project-button,
.service-card-button,
.diy-outline-button,
.diy-dark-button,
.good-fit-button,
.about-button,
.contact-submit {
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


/* =========================
   WHITE / OUTLINE BUTTONS
   → BLACK
========================= */

/* FEATURED PROJECT — WHITE ON HOVER */

.featured-project-button:hover {
    background-color: var(--off-white);
    color: var(--coral);
    border-color: var(--off-white);
}


/* DIY OUTLINE — BLACK ON HOVER */

.diy-outline-button:hover {
    background-color: var(--charcoal);
    color: var(--off-white);
    border-color: var(--charcoal);
}


/* =========================
   BLACK BUTTONS
   → LIGHTER BLACK
========================= */

.hero-cta:hover,
.service-card-button:hover,
.diy-dark-button:hover,
.good-fit-button:hover,
.about-button:hover {
    background-color: #3a3637;
}


/* =========================
   ORANGE / CORAL BUTTONS
   → WHITE
========================= */

/*
Add orange/coral CTA classes here later if you have
other coral buttons that should become white.
*/


/* =========================
   CONTACT SEND
   CORAL → LIGHTER CORAL
========================= */

.contact-submit:hover {
    background-color: #ff9d80;
}


/* =========================
   POINTER
========================= */

.hero-cta,
.featured-project-button,
.service-card-button,
.diy-outline-button,
.diy-dark-button,
.good-fit-button,
.about-button,
.contact-submit {
    cursor: pointer;
}

/* =========================
   INPUT HOVER + FOCUS
========================= */

.form-field input,
.form-field select,
.form-field textarea {
    transition: background-color 0.2s ease;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background-color: #fbcf77;
}