:root{
    --navy:#0a1730;
    --gold:#f4ad19;
    --muted:#667085;
    --line:#e3e8ef;
    --soft:#f6f8fb;
    --white:#fff;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Inter,Segoe UI,Arial,sans-serif;
    color:var(--navy);
    background:var(--soft);
}

button,
input,
textarea{
    font:inherit;
}

.container{
    width:min(1180px,calc(100% - 48px));
    margin:auto;
}

.review-header{
    background:#fff;
    border-bottom:1px solid var(--line);
}

.review-header .container{
    height:86px;
    display:flex;
    align-items:center;
}

.brand img{
    width:174px;
    display:block;
}

.review-page{
    padding:72px 0 90px;
}

.review-layout{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:70px;
    align-items:start;
}

.eyebrow{
    display:inline-block;
    margin-bottom:18px;
    color:#9b6b00;
    font-size:12px;
    font-weight:850;
    letter-spacing:1.3px;
    text-transform:uppercase;
}

.review-intro h1{
    max-width:560px;
    margin:0 0 24px;
    font-size:54px;
    line-height:1.02;
    letter-spacing:-2.4px;
}

.review-intro > p{
    max-width:540px;
    margin:0;
    color:var(--muted);
    font-size:18px;
    line-height:1.7;
}

.review-note{
    margin-top:36px;
    padding:20px 22px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
}

.review-note strong,
.review-note span{
    display:block;
}

.review-note strong{
    margin-bottom:5px;
    font-size:14px;
}

.review-note span{
    color:var(--muted);
    font-size:13px;
}

.review-card{
    padding:34px;
    border:1px solid var(--line);
    border-radius:26px;
    background:#fff;
    box-shadow:0 20px 55px rgba(10,23,48,.08);
}

#review-form{
    display:grid;
    gap:24px;
}

.field-group{
    display:grid;
    gap:9px;
}

.field-group label,
.rating-field legend{
    color:var(--navy);
    font-size:14px;
    font-weight:800;
}

.field-group input,
.field-group textarea{
    width:100%;
    border:1px solid #d9e1ea;
    border-radius:14px;
    background:#fff;
    color:#111;
    padding:14px 15px;
    outline:none;
}

.field-group textarea{
    resize:vertical;
    min-height:145px;
    line-height:1.6;
}

.field-group input:focus,
.field-group textarea:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(244,173,25,.12);
}

.field-help{
    color:#7d8796;
    font-size:12px;
}

.rating-field{
    margin:0;
    padding:0;
    border:0;
}

.star-rating{
    display:flex;
    gap:7px;
    margin-top:12px;
}

.star-rating button{
    padding:0;
    border:0;
    background:transparent;
    color:#d5dbe3;
    font-size:42px;
    line-height:1;
    cursor:pointer;
    transition:
        transform .15s ease,
        color .15s ease;
}

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

.star-rating button.is-active{
    color:var(--gold);
}

.rating-text{
    display:block;
    margin-top:10px;
    color:var(--muted);
    font-size:13px;
}

.consent{
    display:flex;
    align-items:flex-start;
    gap:11px;
    color:#404b5c;
    font-size:13px;
    line-height:1.5;
    cursor:pointer;
}

.consent input{
    margin-top:3px;
    width:17px;
    height:17px;
    flex:0 0 auto;
}

.submit-review{
    min-height:52px;
    border:0;
    border-radius:14px;
    background:var(--gold);
    color:var(--navy);
    font-weight:850;
    cursor:pointer;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.submit-review:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(244,173,25,.25);
}

.form-status{
    min-height:20px;
    margin:0;
    color:var(--muted);
    font-size:13px;
    line-height:1.5;
}

footer{
    padding:30px 0;
    background:#071225;
    color:#b9c4d2;
}

.footer-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    font-size:13px;
}

.footer-content a{
    color:#fff;
    text-decoration:none;
}

@media(max-width:850px){

    .review-layout{
        grid-template-columns:1fr;
        gap:40px;
    }

    .review-intro h1{
        font-size:45px;
    }
}

@media(max-width:600px){

    .container{
        width:calc(100% - 30px);
    }

    .review-header .container{
        height:72px;
    }

    .brand img{
        width:145px;
    }

    .review-page{
        padding:46px 0 64px;
    }

    .review-intro h1{
        font-size:38px;
        letter-spacing:-1.5px;
    }

    .review-intro > p{
        font-size:16px;
    }

    .review-card{
        padding:22px;
        border-radius:20px;
    }

    .star-rating{
        justify-content:space-between;
    }

    .star-rating button{
        font-size:39px;
    }

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