/* =========================================
   GOOGLE REVIEWS SEAL — HERO
   Stamp-in entrance, gold glow, shine sweep, gentle float
========================================= */

.nc-seal {
    --seal-size: clamp(110px, 8vw, 124px);
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: block;
    width: var(--seal-size);
    aspect-ratio: 1;
    margin: -18px 0 -18px 18px;
    border-radius: 50%;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    animation:
        nc-seal-stamp 1.1s cubic-bezier(.2, 1.4, .4, 1) .6s both,
        nc-seal-float 5s ease-in-out 1.8s infinite;
}

/* Rotating golden halo behind the seal */
.nc-seal::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        rgb(255 214 102 / 0) 0deg,
        rgb(255 214 102 / .55) 60deg,
        rgb(255 214 102 / 0) 120deg,
        rgb(255 214 102 / 0) 180deg,
        rgb(255 214 102 / .55) 240deg,
        rgb(255 214 102 / 0) 300deg);
    filter: blur(10px);
    opacity: 0;
    animation:
        nc-seal-halo-in .6s ease-out 1.5s forwards,
        nc-seal-spin 8s linear 1.5s infinite;
}

/* Soft pulse ring */
.nc-seal::after {
    content: "";
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgb(255 199 94 / .6);
    animation: nc-seal-pulse 2.8s ease-out 1.8s infinite;
    pointer-events: none;
}

.nc-seal-img {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 18px rgb(0 0 0 / .35));
    transition: transform .35s ease;
}

/* Shine sweep, clipped to the seal's own shape */
.nc-seal-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    -webkit-mask: url("/images/google-reviews-seal-200.webp") center / contain no-repeat;
            mask: url("/images/google-reviews-seal-200.webp") center / contain no-repeat;
    background: linear-gradient(115deg,
        transparent 35%,
        rgb(255 255 255 / .75) 48%,
        transparent 60%) no-repeat;
    background-size: 250% 100%;
    background-position: 150% 0;
    animation: nc-seal-shine 4.5s ease-in-out 2s infinite;
}

.nc-seal:hover .nc-seal-img,
.nc-seal:focus-visible .nc-seal-img {
    transform: scale(1.08) rotate(-6deg);
}

.nc-seal:focus-visible {
    outline: 3px solid #FFC75E;
    outline-offset: 4px;
}

@keyframes nc-seal-stamp {
    0%   { opacity: 0; transform: scale(2.4) rotate(-220deg); }
    60%  { opacity: 1; transform: scale(.88) rotate(8deg); }
    80%  { transform: scale(1.06) rotate(-3deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes nc-seal-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50%      { transform: translateY(-7px) rotate(2deg); }
}

@keyframes nc-seal-halo-in { to { opacity: 1; } }

@keyframes nc-seal-spin { to { transform: rotate(360deg); } }

@keyframes nc-seal-pulse {
    0%   { box-shadow: 0 0 0 0 rgb(255 199 94 / .55); }
    70%  { box-shadow: 0 0 0 18px rgb(255 199 94 / 0); }
    100% { box-shadow: 0 0 0 0 rgb(255 199 94 / 0); }
}

@keyframes nc-seal-shine {
    0%, 55% { background-position: 150% 0; }
    100%    { background-position: -60% 0; }
}

/* TABLET / MOBILE: buttons stack, seal sits centered under them */
@media (max-width: 900px) {
    .nc-seal {
        --seal-size: 112px;
        margin: 10px auto 0;
    }
}

@media (max-width: 600px) {
    .nc-seal {
        --seal-size: 104px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nc-seal,
    .nc-seal::before,
    .nc-seal::after,
    .nc-seal-shine {
        animation: none;
    }
    .nc-seal::before { opacity: 1; }
}

/* =========================================
   GOOGLE RATING CARD — REVIEWS SECTION
   Animates when it scrolls into view (.is-visible added by JS)
========================================= */

.nc-rating-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 44px);
    width: fit-content;
    max-width: 100%;
    margin: 0 auto clamp(28px, 4vw, 40px);
    padding: clamp(18px, 3vw, 26px) clamp(26px, 5vw, 56px);
    box-sizing: border-box;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 48px rgb(11 45 72 / 13%);
    color: var(--nc-ink, #1E2A44);
    text-decoration: none;
    opacity: 0;
    transform: translateY(28px) scale(.97);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s ease;
}

.nc-rating-card.is-visible {
    opacity: 1;
    transform: none;
}

.nc-rating-card:hover {
    box-shadow: 0 24px 60px rgb(11 45 72 / 20%);
}

.nc-rating-card:focus-visible {
    outline: 3px solid #009C90;
    outline-offset: 4px;
}

.nc-rating-seal {
    position: relative;
    flex: 0 0 auto;
    width: clamp(120px, 16vw, 170px);
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0;
}

.nc-rating-seal .nc-seal-img {
    filter: drop-shadow(0 14px 18px rgb(11 45 72 / .28));
}

.nc-rating-seal::before {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 199 94 / .45), rgb(255 199 94 / 0) 70%);
    opacity: 0;
}

.nc-rating-card.is-visible .nc-rating-seal {
    animation:
        nc-seal-stamp 1.1s cubic-bezier(.2, 1.4, .4, 1) .2s both,
        nc-seal-float 5s ease-in-out 1.4s infinite;
}

.nc-rating-card.is-visible .nc-rating-seal::before {
    animation: nc-rating-glow 2.6s ease-in-out 1.3s infinite;
}

.nc-rating-card.is-visible .nc-seal-shine {
    animation: nc-seal-shine 4.5s ease-in-out 1.6s infinite;
}

.nc-rating-card:hover .nc-seal-img {
    transform: scale(1.06) rotate(-5deg);
}

.nc-rating-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.nc-rating-score {
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.nc-rating-stars {
    display: flex;
    gap: 4px;
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    line-height: 1;
    color: #F4B400;
}

.nc-rating-stars span {
    display: inline-block;
    opacity: 0;
    transform: scale(0) rotate(-90deg);
}

.nc-rating-card.is-visible .nc-rating-stars span {
    animation: nc-star-pop .5s cubic-bezier(.2, 1.6, .4, 1) both;
}

.nc-rating-card.is-visible .nc-rating-stars span:nth-child(1) { animation-delay: .9s; }
.nc-rating-card.is-visible .nc-rating-stars span:nth-child(2) { animation-delay: 1.02s; }
.nc-rating-card.is-visible .nc-rating-stars span:nth-child(3) { animation-delay: 1.14s; }
.nc-rating-card.is-visible .nc-rating-stars span:nth-child(4) { animation-delay: 1.26s; }
.nc-rating-card.is-visible .nc-rating-stars span:nth-child(5) { animation-delay: 1.38s; }

.nc-rating-count {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 600;
    color: var(--nc-body, #5A6478);
}

@keyframes nc-star-pop {
    0%   { opacity: 0; transform: scale(0) rotate(-90deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes nc-rating-glow {
    0%, 100% { opacity: .35; transform: scale(.95); }
    50%      { opacity: 1;   transform: scale(1.05); }
}

@media (max-width: 480px) {
    .nc-rating-card {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }
    .nc-rating-info {
        align-items: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nc-rating-card,
    .nc-rating-seal,
    .nc-rating-stars span {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none !important;
    }
    .nc-rating-card .nc-rating-seal::before,
    .nc-rating-card .nc-seal-shine {
        animation: none !important;
    }
}

/* Reviews page hero: compact card so the navy hero stays short */
.rv-hero {
    padding-top: clamp(30px, 4vw, 46px) !important;
    padding-bottom: clamp(28px, 3.5vw, 40px) !important;
}

.rv-hero .rv-kicker { margin-bottom: 12px; }
.rv-hero h1 { margin-bottom: 10px; }

.nc-rating-card--hero {
    gap: 18px;
    margin: 20px auto 0;
    padding: 12px 28px 12px 16px;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgb(0 0 0 / 26%);
}

.nc-rating-card--hero .nc-rating-seal { width: clamp(78px, 8vw, 96px); }
.nc-rating-card--hero .nc-rating-score { font-size: clamp(2rem, 3.4vw, 2.4rem); }
.nc-rating-card--hero .nc-rating-stars { font-size: 1.2rem; gap: 3px; }
.nc-rating-card--hero .nc-rating-count { font-size: .95rem; }
.nc-rating-card--hero .nc-rating-info { gap: 4px; }

.rv-hero .rv-summary {
    margin-top: 14px;
    padding: 8px 18px;
}

@media (max-width: 480px) {
    .nc-rating-card--hero {
        flex-direction: row;
        width: auto;
        padding: 12px 20px 12px 12px;
    }
    .nc-rating-card--hero .nc-rating-info {
        align-items: flex-start;
        text-align: left;
    }
}

/* =========================================
   HERO BALANCE — right column holds the carousel + availability strip
========================================= */

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.hero-side .hero-availability {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    width: 100%;
    margin: 0;
    padding: 10px 12px 10px 16px;
    box-sizing: border-box;
    border-radius: 18px;
}

.hero-side .hero-avail-item--hot {
    flex: 1 1 auto;
    justify-content: center;
}

@media (max-width: 900px) {
    .hero-side {
        width: min(100%, 760px);
        margin-inline: auto;
    }
    .hero-side .hero-image { width: 100%; }
    .hero-side .hero-availability { justify-content: center; }
}


/* =========================================
   REVIEW GOAL — progress toward 100 Google reviews
   The number shown is always the real review count.
========================================= */

.nc-rating-card:has(+ .nc-goal) {
    margin-bottom: 14px;
}

.nc-goal {
    width: min(100%, 460px);
    margin: 0 auto clamp(28px, 4vw, 40px);
    padding: 16px 20px 18px;
    box-sizing: border-box;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(11 45 72 / 10%);
    text-align: left;
}

.nc-goal-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.nc-goal-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nc-ink, #1E2A44);
}

.nc-goal-num {
    flex: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nc-body, #5A6478);
    font-variant-numeric: tabular-nums;
}

.nc-goal-num strong {
    color: var(--nc-teal-text, #00786C);
    font-size: 1.05rem;
}

.nc-goal-bar {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(0 156 144 / 12%);
}

.nc-goal-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--nc-teal, #009C90), #F4B400);
    transition: width 1.6s cubic-bezier(.2, .9, .3, 1);
}

.nc-goal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--nc-teal, #009C90);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}

.nc-goal-btn .nc-ic {
    color: #F4B400;
}

.nc-goal-btn:hover {
    background: var(--nc-teal-text, #00786C);
    transform: translateY(-1px);
}

.nc-goal-btn:focus-visible {
    outline: 3px solid #F4B400;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .nc-goal-top {
        flex-direction: column;
        gap: 2px;
    }

    .nc-goal-btn {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nc-goal-fill,
    .nc-goal-btn {
        transition: none;
    }
}

.nc-goal-stars {
    display: block;
    margin-bottom: 2px;
    color: #F4B400;
    font-size: 0.95rem;
    letter-spacing: 2px;
    line-height: 1;
}

/* =========================================
   RATING + GOAL SIDE BY SIDE (one compact row)
========================================= */

.nc-rating-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    margin: 0 auto clamp(24px, 3.5vw, 36px);
}

.nc-rating-row > .nc-rating-card,
.nc-rating-row > .nc-rating-card:has(+ .nc-goal),
.nc-rating-row > .nc-goal {
    margin: 0;
}

.nc-rating-row > .nc-goal {
    display: flex;
    flex: 0 1 380px;
    flex-direction: column;
    justify-content: center;
    width: auto;
    padding: 14px 18px;
}

.nc-rating-row .nc-goal-top {
    margin-bottom: 8px;
}

.nc-rating-row .nc-goal-label {
    font-size: 0.86rem;
}

.nc-rating-row .nc-goal-btn {
    align-self: flex-start;
    margin-top: 10px;
    padding: 7px 14px;
    font-size: 0.84rem;
}

/* Reviews hero: the row sits under the intro text */
.rv-hero .nc-rating-row {
    margin: 22px auto 0;
}

@media (max-width: 860px) {
    .nc-rating-row {
        flex-direction: column;
        align-items: center;
    }

    .nc-rating-row > .nc-goal {
        flex: none;
        width: min(100%, 420px);
    }

    .nc-rating-row .nc-goal-btn {
        align-self: stretch;
        justify-content: center;
    }
}

/* =========================================
   REVIEW GOAL — rising bar chart (decorative)
========================================= */

.nc-goal {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 18px;
}

.nc-goal-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.nc-goal-top {
    margin-bottom: 0 !important;
}

.nc-goal-chart {
    position: relative;
    display: flex;
    flex: none;
    align-items: flex-end;
    gap: 5px;
    width: 104px;
    height: 72px;
    padding: 0 2px 4px;
    box-sizing: border-box;
    border-bottom: 2px solid rgb(0 156 144 / 25%);
}

.nc-goal-chart span {
    flex: 1;
    height: 0;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--nc-teal, #009C90), rgb(0 156 144 / 45%));
    transition: height .9s cubic-bezier(.2, .9, .3, 1.15);
}

.nc-goal-chart span:last-of-type {
    background: linear-gradient(180deg, #F4B400, #F7CF5C);
}

.nc-goal.is-visible .nc-goal-chart span:nth-of-type(1) { height: 28%; transition-delay: .10s; }
.nc-goal.is-visible .nc-goal-chart span:nth-of-type(2) { height: 40%; transition-delay: .22s; }
.nc-goal.is-visible .nc-goal-chart span:nth-of-type(3) { height: 52%; transition-delay: .34s; }
.nc-goal.is-visible .nc-goal-chart span:nth-of-type(4) { height: 66%; transition-delay: .46s; }
.nc-goal.is-visible .nc-goal-chart span:nth-of-type(5) { height: 82%; transition-delay: .58s; }
.nc-goal.is-visible .nc-goal-chart span:nth-of-type(6) { height: 100%; transition-delay: .70s; }

.nc-goal-trend {
    position: absolute;
    inset: -6px 0 6px;
    width: 100%;
    height: calc(100% - 6px);
    overflow: visible;
    fill: none;
    stroke: var(--nc-ink, #1E2A44);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 1.2s ease .9s;
}

.nc-goal.is-visible .nc-goal-trend {
    stroke-dashoffset: 0;
}

.nc-rating-row > .nc-goal {
    flex: 0 1 420px;
}

@media (max-width: 480px) {
    .nc-goal {
        gap: 14px;
    }

    .nc-goal-chart {
        width: 78px;
        height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nc-goal-chart span,
    .nc-goal-trend {
        transition: none;
    }
}

@media (max-width: 860px) {
    .nc-rating-row > .nc-goal {
        flex: none;
        width: min(100%, 420px);
    }
}

.nc-goal-body .nc-goal-btn {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}
