/* =========================================================
TORA TRAILS — PUBLIC REVIEWS PAGE
Separate design from review.html
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
--bg: #f5f7fb;
--surface: rgba(255, 255, 255, 0.62);
--surface-strong: rgba(255, 255, 255, 0.82);
--text: #202735;
--muted: #788196;
--soft: #a1a9ba;
--primary: #5b7cff;
--secondary: #7d68f5;
--gold: #f2b84b;
--border: rgba(255, 255, 255, 0.85);
--shadow: 0 25px 70px rgba(61, 75, 115, 0.12);
}

/* =========================================================
RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
min-height: 100vh;
font-family: "Outfit", sans-serif;
color: var(--text);
background:
radial-gradient(
circle at 8% 10%,
rgba(91, 124, 255, 0.13),
transparent 28%
),
radial-gradient(
circle at 92% 25%,
rgba(125, 104, 245, 0.12),
transparent 28%
),
linear-gradient(135deg, #f8faff 0%, #f2f5fb 100%);
overflow-x: hidden;
}

a {
color: inherit;
text-decoration: none;
}

button,
a {
-webkit-tap-highlight-color: transparent;
}

/* =========================================================
BACKGROUND DECORATION
========================================================= */

.review-page {
position: relative;
overflow: hidden;
}

.review-page::before,
.review-page::after {
content: "";
position: absolute;
width: 420px;
height: 420px;
border-radius: 50%;
filter: blur(80px);
pointer-events: none;
z-index: -1;
}

.review-page::before {
top: 250px;
left: -220px;
background: rgba(91, 124, 255, 0.10);
}

.review-page::after {
top: 850px;
right: -220px;
background: rgba(125, 104, 245, 0.10);
}

/* =========================================================
HERO
========================================================= */

.review-hero {
position: relative;
min-height: 540px;
max-width: 1250px;
margin: 0 auto;
padding: 120px 25px 90px;

display: flex;
align-items: center;
justify-content: center;
text-align: center;


}

.review-hero::before {
content: "";
position: absolute;
width: 620px;
height: 620px;
border-radius: 50%;
background:
radial-gradient(
circle,
rgba(91, 124, 255, 0.12),
transparent 68%
);
filter: blur(10px);
z-index: -1;
}

.review-hero-content {
max-width: 900px;
animation: heroFade 1s ease both;
}

.review-eyebrow {
display: inline-block;
margin-bottom: 25px;

font-size: 0.72rem;
font-weight: 700;
letter-spacing: 4px;
color: #7181a8;


}

.review-hero h1 {
font-family: "Space Grotesk", sans-serif;
font-size: clamp(3.2rem, 7vw, 6.5rem);
line-height: 0.94;
letter-spacing: -4px;
font-weight: 700;
}

.review-hero h1 span {
display: block;


background:
    linear-gradient(
        100deg,
        var(--primary),
        var(--secondary)
    );

-webkit-background-clip: text;
background-clip: text;
color: transparent;


}

.review-hero p {
max-width: 620px;
margin: 28px auto 0;

color: var(--muted);
font-size: 1rem;
line-height: 1.8;

}

/* =========================================================
REVIEWS SECTION
========================================================= */

.reviews {
position: relative;
padding: 20px 20px 120px;
}

.reviews-container {
width: min(1180px, 100%);
margin: 0 auto;
}

/* =========================================================
SECTION HEADING
========================================================= */

.review-card-heading {
margin-bottom: 45px;
animation: fadeUp 0.8s ease both;
}

.review-card-heading > span {
display: block;
margin-bottom: 12px;

color: #7282aa;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 3px;
}

.review-card-heading h2 {
font-family: "Space Grotesk", sans-serif;
font-size: clamp(2.2rem, 5vw, 4rem);
line-height: 1;
letter-spacing: -2px;
}

.review-card-heading p {
margin-top: 15px;

color: var(--muted);
font-size: 0.95rem;

}

/* =========================================================
REVIEW GRID
========================================================= */

.reviews-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
}

/* =========================================================
REVIEW CARD
========================================================= */

.review-card {
position: relative;

min-height: 285px;
padding: 30px;

display: flex;
flex-direction: column;

background: var(--surface);

border: 1px solid var(--border);
border-radius: 28px;

backdrop-filter: blur(22px);
-webkit-backdrop-filter: blur(22px);

box-shadow: var(--shadow);

overflow: hidden;

opacity: 0;
animation: cardReveal 0.75s ease forwards;

transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;


}

.review-card::before {
content: "“";


position: absolute;
top: 5px;
right: 22px;

font-family: Georgia, serif;
font-size: 7rem;
line-height: 1;

color: rgba(91, 124, 255, 0.07);

pointer-events: none;
 

}

.review-card:hover {
transform: translateY(-8px);

 
background: rgba(255, 255, 255, 0.78);

box-shadow:
    0 35px 80px rgba(61, 75, 115, 0.17);
 

}

/* =========================================================
STARS
========================================================= */

.review-stars {
position: relative;
z-index: 1;

 
margin-bottom: 20px;

color: var(--gold);

font-size: 0.95rem;
letter-spacing: 4px;
 

}

/* =========================================================
REVIEW TEXT
========================================================= */

.review-text {
position: relative;
z-index: 1;

 
flex: 1;

color: #626c7e;

font-size: 0.94rem;
line-height: 1.85;
 

}

/* =========================================================
REVIEW AUTHOR
========================================================= */

.review-author {
position: relative;
z-index: 1;

 
display: flex;
align-items: center;

gap: 13px;

margin-top: 25px;
padding-top: 18px;

border-top:
    1px solid rgba(110, 120, 145, 0.12);
 

}

.author-avatar {
flex: 0 0 auto;

 
width: 44px;
height: 44px;

display: flex;
align-items: center;
justify-content: center;

border-radius: 50%;

background:
    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

color: white;

font-size: 0.82rem;
font-weight: 700;

box-shadow:
    0 8px 20px rgba(91, 124, 255, 0.22);
 

}

.author-info {
min-width: 0;
}

.author-info strong {
display: block;

 
color: #303846;

font-size: 0.88rem;
font-weight: 700;

white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
 

}

.author-info span {
display: block;

 
margin-top: 3px;

color: #929aaa;

font-size: 0.72rem;

white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
 

}

/* =========================================================
LOADING / EMPTY STATE
========================================================= */

.reviews-empty {
grid-column: 1 / -1;

 
min-height: 260px;

display: flex;
flex-direction: column;
align-items: center;
justify-content: center;

text-align: center;

padding: 40px;

background: var(--surface);

border:
    1px solid var(--border);

border-radius: 28px;

backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);

box-shadow: var(--shadow);
 

}

.reviews-empty-icon {
width: 58px;
height: 58px;

 
display: flex;
align-items: center;
justify-content: center;

margin-bottom: 15px;

border-radius: 18px;

background:
    rgba(91, 124, 255, 0.09);

color: var(--primary);

font-size: 1.2rem;
 

}

.reviews-empty h3 {
font-family: "Space Grotesk", sans-serif;

 
font-size: 1.1rem;
 

}

.reviews-empty p {
margin-top: 6px;

 
color: var(--muted);

font-size: 0.82rem;
 

}

/* =========================================================
WRITE REVIEW BUTTON
========================================================= */

.reviews-actions {
display: flex;
justify-content: center;

 
margin-top: 55px;
 

}

.review-write-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;

 
padding: 14px 24px;

border-radius: 50px;

color: white;

font-size: 0.88rem;
font-weight: 700;

background:
    linear-gradient(
        110deg,
        var(--primary),
        var(--secondary)
    );

box-shadow:
    0 15px 35px rgba(91, 124, 255, 0.25);

transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
 

}

.review-write-btn:hover {
transform: translateY(-4px);

 
box-shadow:
    0 22px 45px rgba(91, 124, 255, 0.32);
 

}

/* =========================================================
FOOTER
========================================================= */

body > footer {
position: relative;

 
padding: 35px 25px;

background:
    rgba(255, 255, 255, 0.55);

border-top:
    1px solid rgba(100, 110, 140, 0.1);

backdrop-filter: blur(18px);
 

}

.footer-content {
width: min(1180px, 100%);
margin: 0 auto;

 
display: flex;
align-items: center;
justify-content: space-between;

gap: 20px;
 

}

.footer-content p {
color: #8991a2;
font-size: 0.78rem;
}

.footer-content a {
color: #6375b4;
font-size: 0.8rem;
font-weight: 600;

 
transition: color 0.25s ease;
 

}

.footer-content a:hover {
color: var(--primary);
}

/* =========================================================
ANIMATIONS
========================================================= */

@keyframes heroFade {
from {
opacity: 0;
transform: translateY(35px);
}

 
to {
    opacity: 1;
    transform: translateY(0);
}
 

}

@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(28px);
}

 
to {
    opacity: 1;
    transform: translateY(0);
}
 

}

@keyframes cardReveal {
from {
opacity: 0;
transform:
translateY(35px)
scale(0.98);
}

 
to {
    opacity: 1;
    transform:
        translateY(0)
        scale(1);
}
 

}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 950px) {

 
.reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-hero {
    min-height: 480px;
}
 

}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 650px) {

 
body {
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(91, 124, 255, 0.10),
            transparent 35%
        ),
        #f5f7fb;
}

.review-hero {
    min-height: 430px;

    padding:
        100px 18px
        65px;
}

.review-hero h1 {
    font-size:
        clamp(3rem, 15vw, 4.3rem);

    letter-spacing: -2.5px;
}

.review-hero p {
    max-width: 500px;

    font-size: 0.88rem;
    line-height: 1.7;
}

.review-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 2.5px;
}

.reviews {
    padding:
        10px 14px
        75px;
}

.review-card-heading {
    margin-bottom: 30px;
}

.review-card-heading h2 {
    font-size: 2.35rem;
    letter-spacing: -1.5px;
}

.review-card-heading p {
    font-size: 0.84rem;
}

.reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.review-card {
    min-height: 250px;
    padding: 25px;

    border-radius: 24px;
}

.review-text {
    font-size: 0.88rem;
    line-height: 1.75;
}

.review-stars {
    margin-bottom: 15px;
    font-size: 0.82rem;
}

.reviews-empty {
    min-height: 220px;
    padding: 30px 20px;
    border-radius: 24px;
}

.reviews-actions {
    margin-top: 38px;
}

.review-write-btn {
    width: 100%;
    max-width: 320px;
}

.footer-content {
    flex-direction: column;
    text-align: center;
}
 

}

/* =========================================================
SMALL PHONES
========================================================= */

@media (max-width: 380px) {

 
.review-hero {
    padding-left: 15px;
    padding-right: 15px;
}

.review-hero h1 {
    font-size: 2.9rem;
}

.review-card {
    padding: 22px;
}
 

}

/* =========================================================
ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

 
*,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

}
/* =========================================================
   SYSTEMATIC REVIEW LAYOUT
========================================================= */

.reviews-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;

    align-items: stretch;
}


/* =========================================================
   REVIEW CARD
========================================================= */

.review-card {
    width: 100%;
    min-width: 0;
    min-height: 330px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    position: relative;

    background: rgba(255, 255, 255, 0.68);

    border: 1px solid rgba(255, 255, 255, 0.9);

    border-radius: 30px;

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    box-shadow:
        0 20px 55px rgba(70, 85, 125, 0.10);

    overflow: hidden;

    opacity: 0;

    animation: cardReveal 0.7s ease forwards;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}


.review-card:hover {
    transform: translateY(-7px);

    background: rgba(255, 255, 255, 0.82);

    box-shadow:
        0 28px 65px rgba(70, 85, 125, 0.16);
}


/* =========================================================
   QUOTE DECORATION
========================================================= */

.review-card::before {
    content: "“";

    position: absolute;

    top: 8px;
    right: 25px;

    font-family: Georgia, serif;

    font-size: 90px;

    line-height: 1;

    color: rgba(91, 124, 255, 0.07);

    pointer-events: none;
}


/* =========================================================
   STARS
========================================================= */

.review-stars {
    position: relative;
    z-index: 2;

    height: 24px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;

    color: #f2b84b;

    font-size: 18px;

    letter-spacing: 4px;
}


/* =========================================================
   REVIEW TEXT
========================================================= */

.review-text {
    position: relative;
    z-index: 2;

    margin: 0;

    flex: 1;

    color: #667085;

    font-size: 17px;

    line-height: 1.75;

    word-break: break-word;
}


/* =========================================================
   AUTHOR AREA
========================================================= */

.review-author {
    position: relative;
    z-index: 2;

    width: 100%;

    margin-top: 28px;
    padding-top: 20px;

    display: flex;
    align-items: center;

    gap: 14px;

    border-top:
        1px solid rgba(100, 110, 140, 0.12);
}


/* Avatar */

.author-avatar {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #5b7cff,
            #8068f5
        );

    color: white;

    font-size: 15px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(91, 124, 255, 0.20);
}


/* Author information */

.author-info {
    min-width: 0;

    flex: 1;
}


.author-info strong {
    display: block;

    color: #283142;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.2;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.author-info span {
    display: block;

    margin-top: 5px;

    color: #858e9f;

    font-size: 14px;

    line-height: 1.2;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .reviews-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }

    .review-card {
        min-height: 310px;
    }
}


/* =========================================================
   MOBILE — IMPORTANT
========================================================= */

@media (max-width: 650px) {

    .reviews {
        width: 100%;

        padding-left: 16px;
        padding-right: 16px;
    }


    .reviews-container {
        width: 100%;
        max-width: 100%;
    }


    .reviews-grid {

        width: 100%;

        display: grid;

        grid-template-columns: minmax(0, 1fr);

        gap: 22px;

        margin: 0 auto;

        padding: 0;
    }


    /* EVERY CARD SAME WIDTH */

    .review-card {

        width: 100%;

        max-width: none;

        min-width: 0;

        min-height: 285px;

        margin: 0;

        padding: 26px;

        border-radius: 26px;

        transform: none;
    }


    .review-card:hover {
        transform: translateY(-4px);
    }


    .review-stars {
        font-size: 17px;

        margin-bottom: 18px;
    }


    .review-text {

        font-size: 16px;

        line-height: 1.7;
    }


    .review-author {

        margin-top: 25px;

        padding-top: 18px;
    }


    .author-avatar {

        width: 44px;
        height: 44px;

        flex-basis: 44px;
    }


    .author-info strong {
        font-size: 17px;
    }


    .author-info span {
        font-size: 13px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .reviews {
        padding-left: 12px;
        padding-right: 12px;
    }


    .reviews-grid {
        gap: 18px;
    }


    .review-card {

        padding: 23px;

        border-radius: 23px;

        min-height: 275px;
    }


    .review-text {
        font-size: 15px;
    }
}