
/* Review Section — Alternate (Figma node 2001:1092) */

.review-section-alternate {
    position: relative;
    overflow: hidden;
    padding: 55px 132px 72px 134px;
    background-color: #966655;
    color: #FFF5EB;
}

.review-section-alternate *,
.review-section-alternate *::before,
.review-section-alternate *::after {
    box-sizing: border-box;
}

/* Botanical watermark — 2% opacity per Figma */
.review-section-alternate::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -11.79%;
    height: 102.34%;
    background-image: url('../images/review-section-alternate/bg-pattern.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0.02;
    pointer-events: none;
    z-index: 0;
}

.review-section-alternate > .container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    padding-left: 0;
    padding-right: 0;
}

/* Heading (2001:1093) — PP Hatton Ultralight 24px cream, 0.48px tracking */
.review-section-alternate header {
    margin-bottom: 30px;
}

.review-section-alternate header h2 {
    font-family: 'PP Hatton', 'Cormorant Garamond', Georgia, serif;
    font-weight: 200;
    font-size: 24px;
    line-height: normal;
    letter-spacing: 0.48px;
    color: #FFF5EB;
    margin: 0;
    text-align: left;
    text-transform: none;
}

.review-section-alternate header h2 span {
	font-style: italic;
}

.review-section-alternate header h2 em,
.review-section-alternate header h2 i {
    font-style: italic;
    font-weight: 200;
    font-family: 'PP Hatton', 'Cormorant Garamond', Georgia, serif;
}

/* Row — Bootstrap grid override to 30px gutters */
.review-section-alternate .row.g-3 {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
    margin: 0;
}

/* Slick slider container */
.review-section-alternate .slider2 {
    position: relative;
}

.review-section-alternate .slider .item {
    padding: 0 12px;
}

/* Review card (2001:1095) — fixed 342px wide per Figma, cream border, decorative quote */
.review-section-alternate .blockquote {
    position: relative;
    padding: 33px 25px 25px 25px;
    border: 1px solid #FFF5EB;
    background: transparent;
    color: #FFF5EB;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-section-alternate .blockquote p,
.review-section-alternate .blockquote .blockquote-footer {
	font-style: normal;
}

@media (min-width: 992px) {
	.review-section-alternate .slick-list {
		overflow: visible;
	}
}

@media (min-width: 991px) {
		.review-section-alternate .slider-controls,
		.review-section-alternate .slick-dots {
		display: none !important;
	}
}

/* Quote mark (2001:1105 decorative SVG) — positioned top-left, cream */
.review-section-alternate .blockquote .quote {
    position: absolute;
    top: -20px;
    left: -3px;
    width: 42px;
    height: 45px;
    display: inline-block;
    line-height: 0;
}

.review-section-alternate .blockquote .quote svg {
    width: 100%;
    height: 100%;
    display: block;
}

.review-section-alternate .blockquote .quote svg path {
    fill: #FFF5EB;
    stroke: none;
}

/* Star rating row (2001:1097) — cream outlined stars, 18px */
.review-section-alternate .blockquote .rating {
    display: inline-flex;
    gap: 3px;
    background: none;
    width: auto;
    height: auto;
    margin: 0 0 4px 0;
    padding: 0;
}

.review-section-alternate .blockquote .rating .star {
    width: 18px;
    height: 18px;
    margin: 0;
}

.review-section-alternate .blockquote .rating .star path {
    fill: none;
    stroke: #FFF5EB;
    stroke-width: 24;
}

/* Review copy (2001:1103) — Gesta Regular 15px cream */
.review-section-alternate .blockquote p {
    font-family: 'Gesta', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: normal;
    color: #FFF5EB;
    margin: 0;
}

/* Attribution (2001:1104) — Gesta Regular 12px cream */
.review-section-alternate .blockquote .blockquote-footer {
    font-family: 'Gesta', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: normal;
    color: #FFF5EB;
    margin: auto 0 0 0;
    padding: 0;
    background: transparent;
    border: none;
}

.review-section-alternate .blockquote .blockquote-footer::before {
    content: none;
}

/* Slick arrows — cream circular */
.review-section-alternate .slider-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.review-section-alternate .slider-controls .slick-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid #FFF5EB;
    background: transparent;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-section-alternate .slider-controls .slick-arrow:hover {
    background: rgba(255, 245, 235, 0.12);
}

.review-section-alternate .slider-controls .slick-arrow svg line {
    stroke: #FFF5EB;
}

/* Rating card (2001:1134) — cream block on right, offset 42px from row top */
.review-section-alternate .col-lg-3 {
    padding-top: 0;
}

.review-section-alternate .box.bg-secondary-light {
    background: #FFF5EB !important;
    border-radius: 0 !important;
    color: #006D8F;
    padding: 32px 0 !important;
    width: 100%;
    height: 289px;
    min-height: 289px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.review-section-alternate .box.bg-secondary-light,
.review-section-alternate .box.bg-secondary-light * {
    color: #006D8F;
    font-family: 'Gesta', sans-serif;
}

/* Common score patterns — headings/strongs render as big score */
.review-section-alternate .box.bg-secondary-light h1,
.review-section-alternate .box.bg-secondary-light h2,
.review-section-alternate .box.bg-secondary-light h3,
.review-section-alternate .box.bg-secondary-light .score {
    font-weight: 500;
    font-size: 56px;
    line-height: 42px;
    color: #006D8F;
    margin: 0;
    white-space: nowrap;
}

.review-section-alternate .box.bg-secondary-light .score-label,
.review-section-alternate .box.bg-secondary-light h4,
.review-section-alternate .box.bg-secondary-light h5 {
    font-family: 'Gesta', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    color: #006D8F;
    margin: 0;
}

/* Subtext paragraph — Gesta Regular 20px blue (2001:1131) */
.review-section-alternate .box.bg-secondary-light p {
    font-family: 'Gesta', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    color: #006D8F;
    margin: 0;
}

/* Gold stars for rating card (2001:1126) — 18px #9D8453 */
.review-section-alternate .box.bg-secondary-light .rating,
.review-section-alternate .box.bg-secondary-light .stars {
    display: inline-flex;
    gap: 4px;
    color: #9D8453;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 1px;
    height: 33px;
    align-items: center;
    justify-content: center;
    background: none;
    width: auto;
    margin: 0;
}

.review-section-alternate .box.bg-secondary-light .rating .star,
.review-section-alternate .box.bg-secondary-light .stars .star {
    width: 18px;
    height: 18px;
    margin: 0;
}

.review-section-alternate .box.bg-secondary-light .rating .star path,
.review-section-alternate .box.bg-secondary-light .stars .star path {
    fill: #9D8453;
    stroke: none;
}

/* carehome.co.uk logo — 121.611 × 21.568px (2001:1132) */
.review-section-alternate .box.bg-secondary-light img {
    width: 121.611px;
    height: 100%;
    max-width: 121.611px;
    object-fit: contain;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 1200px) {
    .review-section-alternate {
        padding: 48px 64px 56px;
    }
}

@media (max-width: 1024px) {
    .review-section-alternate {
        padding: 48px 40px 56px;
    }

    .review-section-alternate .col-lg-3 {
        padding-top: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .review-section-alternate {
        padding: 40px 20px 48px;
    }

    .review-section-alternate header h2 {
        font-size: 22px;
        letter-spacing: 0.4px;
        text-align: center;
    }

    .review-section-alternate .blockquote {
        padding: 56px 20px 24px;
    }

    .review-section-alternate .box.bg-secondary-light {
        height: auto;
        min-height: 260px;
        padding: 28px 20px !important;
    }

    .review-section-alternate .box.bg-secondary-light h1,
    .review-section-alternate .box.bg-secondary-light h2,
    .review-section-alternate .box.bg-secondary-light h3,
    .review-section-alternate .box.bg-secondary-light .score {
        font-size: 48px;
        line-height: 1;
    }

    .review-section-alternate .box.bg-secondary-light p,
    .review-section-alternate .box.bg-secondary-light .score-label {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .review-section-alternate *,
    .review-section-alternate *::before,
    .review-section-alternate *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
