/* Top-Rated Spa Hotel in the Southern Tier landing page — page-specific styles */

.tr-eyebrow {
    color: #a80532;
}

/* ---------- Scroll reveal ---------- */
.tr-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.tr-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Ranking proof strip ---------- */
.tr-rank-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 -10px;
}
.tr-rank-card {
    flex: 1 1 220px;
    max-width: 280px;
    text-align: center;
    background: #ffffff;
    border-radius: 6px;
    padding: 28px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tr-rank-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(168, 5, 50, 0.16);
}
.tr-rank-card i {
    font-size: 1.9em;
    color: #a80532;
    margin-bottom: 12px;
    display: inline-block;
    transition: transform 0.35s ease;
}
.tr-rank-card:hover i {
    transform: scale(1.15) rotate(-4deg);
}
.tr-rank-card .tr-rank-number {
    display: block;
    font-family: "Montserrat", "sans-serif";
    font-weight: 700;
    font-size: 1.4em;
    color: #343432;
    line-height: 1.2;
}
.tr-rank-card .tr-rank-label {
    display: block;
    font-size: 0.85em;
    letter-spacing: 0.3px;
    color: #6b6b6b;
    margin-top: 4px;
}
.tr-rank-source {
    display: block;
    font-size: 0.74em;
    color: #a80532;
    font-weight: 600;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ---------- Feature grid ---------- */
.tr-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 991px) {
    .tr-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .tr-feature-grid {
        grid-template-columns: 1fr;
    }
}
.tr-feature-card {
    background: #ffffff;
    border: 1px solid #ece9e3;
    border-radius: 6px;
    padding: 34px 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.tr-feature-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #a80532;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.tr-feature-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1);
}
.tr-feature-card:hover:before {
    transform: scaleX(1);
}
.tr-feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f2f2ef;
    color: #a80532;
    font-size: 1.6em;
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.tr-feature-card:hover .tr-feature-icon {
    background: #a80532;
    color: #ffffff;
    transform: rotateY(180deg);
}
.tr-feature-card h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
}
.tr-feature-card p {
    font-size: 0.93em;
    color: #6b6b6b;
    margin-bottom: 0;
}

/* ---------- Spa highlight cards ---------- */
.tr-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
@media (max-width: 767px) {
    .tr-highlight-grid {
        grid-template-columns: 1fr;
    }
}
.tr-highlight-card {
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
}
.tr-highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.14);
}
.tr-highlight-card .tr-highlight-icon {
    width: 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    border-radius: 50%;
    background: #fdf6f7;
    color: #a80532;
    font-size: 1.5em;
    margin-bottom: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}
.tr-highlight-card:hover .tr-highlight-icon {
    background: #a80532;
    color: #ffffff;
}
.tr-highlight-card h3 {
    font-size: 1.18em;
    margin-bottom: 10px;
    color: #343432;
}
.tr-highlight-card p {
    color: #6b6b6b;
    margin-bottom: 0;
}
.tr-highlight-badge {
    display: inline-block;
    margin-top: 14px;
    background: #fdf6f7;
    color: #a80532;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 12px;
    border-radius: 30px;
}

/* ---------- Comparison table ---------- */
.tr-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
@media (max-width: 991px) {
    .tr-compare-grid {
        grid-template-columns: 1fr;
    }
}
.tr-compare-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 30px 26px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.tr-compare-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ccc;
}
.tr-compare-card.tr-compare-winner:before {
    background: #a80532;
}
.tr-compare-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}
.tr-compare-card.tr-compare-winner {
    background: #fdf6f7;
}
.tr-compare-card h3 {
    font-size: 1.08em;
    margin-bottom: 12px;
}
.tr-compare-card h3 i {
    margin-right: 8px;
    color: #a80532;
}
.tr-compare-card p {
    color: #6b6b6b;
    font-size: 0.93em;
    margin-bottom: 0;
}
.tr-compare-card.tr-compare-winner p {
    color: #4a4a4a;
}
.tr-compare-tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.74em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #ffffff;
    background: #a80532;
    padding: 3px 12px;
    border-radius: 30px;
}

/* ---------- Trust / testimonial cards ---------- */
.tr-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
@media (max-width: 991px) {
    .tr-trust-grid {
        grid-template-columns: 1fr;
    }
}
.tr-trust-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 30px 26px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tr-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}
.tr-trust-card i.fa-quote-left {
    color: #a80532;
    font-size: 1.4em;
    margin-bottom: 12px;
    display: inline-block;
}
.tr-trust-card .tr-trust-author {
    display: block;
    margin-top: 14px;
    font-weight: 600;
    color: #a80532;
    font-size: 0.9em;
}

/* ---------- Urgency / plan callout ---------- */
.tr-urgency {
    background: #f2f2ef;
    border-left: 4px solid #a80532;
    border-radius: 0 6px 6px 0;
    padding: 22px 26px;
}

/* ---------- Final CTA banner ---------- */
.tr-final-cta {
    position: relative;
    background: url("../images/spa/traditionsattheglen-experience-saltsanctuary.webp") no-repeat center 40%;
    background-size: cover;
    padding: 90px 0;
    text-align: center;
}
.tr-final-cta:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 12, 18, 0.78);
}
.tr-final-cta .container {
    position: relative;
    z-index: 1;
}
.tr-final-cta h2 {
    color: #ffffff;
}
.tr-final-cta p {
    color: #e7d9dc;
    font-size: 1.1em;
    max-width: 640px;
    margin: 0 auto 30px;
}
.tr-final-cta .btn {
    margin: 0 8px 12px;
}
