/* =====================================================================
   Atlantis Almere — Google Reviews  (dc-reviews)
   hero-banner style: left intro + Google panel, right a floating cluster
   of review cards with depth, dotted connectors and motion.
   Scoped under .dc-rev. Edge-to-edge, self-contained.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,500&display=swap');

.elementor-widget-dc-reviews,
.elementor-widget-dc-reviews .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
}

.dc-rev {
    --dc-ink:       #f6f7f9;
    --dc-gold:      #c4923c;
    --dc-gold-soft: #e7c98b;
    --dc-star:      #fbbc04;
    --dc-heading:   #1f2329;
    --dc-text:      #5f6368;
    --dc-line:      rgba(32,33,36,.12);
    --dc-card:      #ffffff;
    --dc-radius:    18px;
    --dc-ease:      cubic-bezier(.16,1,.3,1);

    position: relative;
    width: 100%; max-width: 100%; margin: 0;
    padding: clamp(72px, 10vw, 130px) 0;
    overflow: hidden; isolation: isolate;
    color: var(--dc-text);
    background:
        radial-gradient(60% 60% at 92% 12%, rgba(196,146,60,.10) 0%, transparent 55%),
        var(--dc-ink);
    font-family: 'Karla', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.dc-rev__inner {
    position: relative; z-index: 1;
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(22px, 5vw, 60px);
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr);
    gap: clamp(32px, 5vw, 72px); align-items: center;
}

/* ----------------------------- left ------------------------------- */
.dc-rev__title {
    margin: 18px 0 0;
    font-family: 'Playfair Display', Georgia, serif; font-weight: 600; color: var(--dc-heading);
    font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.01em;
}
.dc-rev__title em { font-style: italic; font-weight: 500; color: var(--dc-gold); }
.dc-rev__intro { margin: 16px 0 0; font-size: clamp(1rem,1.15vw,1.12rem); line-height: 1.7; max-width: 46ch; }

.dc-rev__gpanel {
    display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap;
    margin-top: 26px; padding: 16px 24px;
    background: var(--dc-card); border: 1px solid var(--dc-line); border-radius: 18px;
    box-shadow: 0 18px 44px -24px rgba(32,33,36,.4);
}
.dc-rev__g { width: 30px; height: 30px; flex: none; }
.dc-rev__gscore { font-size: 2rem; font-weight: 700; color: var(--dc-heading); line-height: 1; }
.dc-rev__gscore span { font-size: .9rem; font-weight: 600; color: var(--dc-text); }
.dc-rev__gmeta { display: flex; flex-direction: column; gap: 4px; }
.dc-rev__stars { display: inline-flex; gap: 2px; }
.dc-rev__stars svg { width: 18px; height: 18px; color: #dadce0; }
.dc-rev__stars svg.is-on { color: var(--dc-star); }
.dc-rev__gcount { font-size: .82rem; color: var(--dc-text); }
.dc-rev__gcta {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
    padding: 14px 26px; border-radius: 999px;
    background: linear-gradient(135deg, var(--dc-gold-soft), var(--dc-gold)); color: #1c1206;
    font-size: .95rem; font-weight: 700; text-decoration: none;
    box-shadow: 0 16px 34px -14px rgba(196,146,60,.7);
    transition: transform .35s var(--dc-ease), box-shadow .35s var(--dc-ease);
}
.dc-rev__gcta:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -16px rgba(196,146,60,.85); }
.dc-rev__gcta svg { width: 17px; height: 17px; }

/* ----------------------------- right: floating cluster ----------- */
.dc-rev__stage { position: relative; min-height: 560px; }
.dc-rev__connect { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.dc-rev__connect path { stroke: rgba(196,146,60,.45); stroke-width: 2; stroke-dasharray: 2 7; fill: none; stroke-linecap: round; }
.dc-rev__connect circle { fill: var(--dc-gold); }

.dc-rev__card {
    position: absolute; z-index: 2;
    width: clamp(240px, 26vw, 312px);
    will-change: transform;
}
.dc-rev__card-fl {
    --r: 0deg;
    display: flex; flex-direction: column;
    padding: 20px 22px;
    background: var(--dc-card); border: 1px solid var(--dc-line); border-radius: var(--dc-radius);
    box-shadow: 0 26px 60px -26px rgba(32,33,36,.5);
    rotate: var(--r);
    animation: dc-rev-float 7s var(--dc-ease) infinite;
    transition: box-shadow .4s var(--dc-ease);
}
.dc-rev__card:hover { z-index: 5; }
.dc-rev__card:hover .dc-rev__card-fl { box-shadow: 0 40px 80px -28px rgba(32,33,36,.55); }

.dc-rev__card--a { top: 0;    left: 2%;  z-index: 3; }
.dc-rev__card--b { top: 28%;  right: 0;  width: clamp(220px, 24vw, 286px); z-index: 4; }
.dc-rev__card--c { bottom: 0; left: 12%; width: clamp(225px, 24vw, 292px); z-index: 3; }
.dc-rev__card--a .dc-rev__card-fl { --r: -3deg; animation-duration: 7.5s; }
.dc-rev__card--b .dc-rev__card-fl { --r:  3deg; animation-duration: 6.5s; animation-delay: -1.6s; }
.dc-rev__card--c .dc-rev__card-fl { --r: -2deg; animation-duration: 8s;   animation-delay: -3.2s; }

.dc-rev__card-top { display: flex; align-items: flex-start; gap: 12px; }
.dc-rev__avatar {
    flex: none; width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--dc-gold-soft), var(--dc-gold));
    color: #1c1206; font-weight: 700; font-size: 1rem;
}
.dc-rev__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dc-rev__who { flex: 1 1 auto; min-width: 0; }
.dc-rev__name { font-size: .98rem; font-weight: 700; color: var(--dc-heading); line-height: 1.2; }
.dc-rev__meta { font-size: .76rem; color: var(--dc-text); margin-top: 1px; }
.dc-rev__src { flex: none; width: 22px; height: 22px; }
.dc-rev__line { display: flex; align-items: center; gap: 9px; margin: 11px 0 0; }
.dc-rev__line .dc-rev__stars svg { width: 16px; height: 16px; }
.dc-rev__time { font-size: .76rem; color: var(--dc-text); }
.dc-rev__text {
    margin: 10px 0 0; font-size: .9rem; line-height: 1.55; color: #3c4043;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

@keyframes dc-rev-float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -16px; }
}

/* ----------------------------- reveal states --------------------- */
.dc-rev--anim .dc-rev__left > *,
.dc-rev--anim .dc-rev__card { opacity: 0; }

/* ----------------------------- responsive ------------------------- */
@media (max-width: 920px) {
    .dc-rev__inner { grid-template-columns: 1fr; gap: 44px; }
    .dc-rev__connect { display: none; }
    .dc-rev__stage { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .dc-rev__card,
    .dc-rev__card--a, .dc-rev__card--b, .dc-rev__card--c {
        position: relative; inset: auto; width: auto;
    }
    .dc-rev__card-fl { rotate: 0deg !important; animation: none !important; }
}
@media (max-width: 560px) {
    .dc-rev__stage { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .dc-rev__card-fl { animation: none !important; }
    .dc-rev--anim .dc-rev__left > *,
    .dc-rev--anim .dc-rev__card { opacity: 1 !important; }
}
