/* ═══════════════════════════════════════════════════════
   RestartAGD — HERO v3 ULTIMATE 
   Conversion-optimized: 3-second trust & action
   Two-column: content left, contact card right
   ═══════════════════════════════════════════════════════ */

/* ── Prevent horizontal overflow on mobile ── */
html,
body {
    overflow-x: hidden;
}

/* ── Hero Container ── */
.ragd-hero {
    position: relative;
    background: linear-gradient(135deg, #0A1628 0%, #1A365D 50%, #2D5185 100%);
    background-size: cover;
    background-position: center;
    padding: 0;
    overflow: hidden;
    min-height: 420px;
}

/* Background image */
.ragd-hero--has-bg {
    background-image: url('../img/generated/hero-bg-hands.webp');
    background-size: cover;
    background-position: center 30%;
}

/* Dark overlay for text readability */
.ragd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 22, 40, 0.92) 0%,
            rgba(26, 54, 93, 0.82) 40%,
            rgba(45, 81, 133, 0.68) 100%);
    z-index: 1;
}

/* Decorative accent glow */
.ragd-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 116, 12, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* ═══════════════════════════════════════════
   LAYOUT — Two Column Flex
   ═══════════════════════════════════════════ */
.ragd-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 36px;
}

/* ── Left Column — Content ── */
.ragd-hero-content {
    flex: 1;
    min-width: 0;
    animation: heroFadeIn 0.6s ease-out both;
}

/* ═══════════════════════════════════════════
   GOOGLE RATING — Instant social proof
   ═══════════════════════════════════════════ */
.ragd-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 50px;
    margin-bottom: 18px;
    animation: heroFadeIn 0.5s ease-out both;
}

.ragd-hero-stars {
    color: #FFC107;
    font-size: 0.9rem;
    letter-spacing: 2px;
    line-height: 1;
}

.ragd-hero-rating span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   HEADLINE — Clear value proposition
   ═══════════════════════════════════════════ */
.ragd-hero-content h1 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.ragd-hero-accent {
    display: block;
    background: linear-gradient(135deg, #E8740C, #F5A623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.3rem, 3.5vw, 2.1rem);
}

.ragd-hero-subtitle {
    font-size: clamp(0.88rem, 1.8vw, 1.02rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 580px;
}

/* ═══════════════════════════════════════════
   TRUST BADGES — Quick credibility signals
   ═══════════════════════════════════════════ */
.ragd-hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ragd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.ragd-hero-badge:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-2px);
}

.ragd-hero-badge svg {
    width: 18px;
    height: 18px;
    stroke: #E8740C;
    fill: none;
    flex-shrink: 0;
}

/* Free diagnosis badge — highlighted */
.ragd-hero-badge--free {
    background: rgba(232, 116, 12, 0.12);
    border-color: rgba(232, 116, 12, 0.3);
    color: #F5A623;
}

.ragd-hero-badge--free svg {
    stroke: #4CAF50;
}

/* ═══════════════════════════════════════════
   CTA BUTTONS — Primary action
   ═══════════════════════════════════════════ */
.ragd-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.ragd-hero-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #E8740C 0%, #C86000 100%);
    color: #fff;
    font-weight: 700;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(232, 116, 12, 0.4);
    transition: transform 0.25s, box-shadow 0.25s;
    animation: ctaPulse 3s ease-in-out infinite;
}

.ragd-hero-btn-call:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 36px rgba(232, 116, 12, 0.5);
    color: #fff;
    text-decoration: none;
}

.ragd-hero-btn-call svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    stroke: none;
    animation: phoneRing 2s ease-in-out infinite;
}

.ragd-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.ragd-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   TRUST STATS BAR — Hard numbers build trust
   ═══════════════════════════════════════════ */
.ragd-hero-stats {
    display: flex;
    gap: 0;
    align-items: center;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: heroFadeIn 0.7s ease-out 0.3s both;
}

.ragd-hero-stat {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}

.ragd-hero-stat:first-child {
    padding-left: 0;
}

.ragd-hero-stat-number {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #E8740C;
    line-height: 1.1;
}

.ragd-hero-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.ragd-hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   RIGHT COLUMN — Contact Card
   Glassmorphism with availability indicator
   ═══════════════════════════════════════════ */
.ragd-hero-contact {
    flex-shrink: 0;
    width: 280px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    overflow: hidden;
    animation: heroFadeIn 0.7s ease-out 0.15s both;
}

/* Green availability status */
.ragd-hero-contact-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(76, 175, 80, 0.15);
    border-bottom: 1px solid rgba(76, 175, 80, 0.2);
    color: #81C784;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.ragd-hero-status-dot {
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 6px rgba(76, 175, 80, 0.5);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 12px rgba(76, 175, 80, 0.8);
    }
}

/* Card inner padding */
.ragd-hero-contact-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    padding: 16px 20px 12px;
}

.ragd-hero-contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E8740C;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    padding: 8px 20px;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}

.ragd-hero-contact-phone:hover {
    color: #F5A623;
    background: rgba(232, 116, 12, 0.06);
    text-decoration: none;
}

.ragd-hero-contact-phone--city {
    font-size: 0.95rem;
    color: #F5A623;
    padding-bottom: 8px;
}

.ragd-hero-contact-phone svg {
    flex-shrink: 0;
}

.ragd-hero-contact-hours {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ragd-hero-contact-hours svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.ragd-hero-contact-hours strong {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

/* Free visit guarantee badge */
.ragd-hero-contact-guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(76, 175, 80, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #81C784;
    font-size: 0.78rem;
    font-weight: 600;
}

.ragd-hero-contact-guarantee svg {
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════ */
.ragd-hero-breadcrumb {
    position: relative;
    z-index: 2;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.ragd-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.ragd-hero-breadcrumb a:hover {
    color: #E8740C;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ctaPulse {

    0%,
    70%,
    100% {
        box-shadow: 0 8px 28px rgba(232, 116, 12, 0.4);
    }

    35% {
        box-shadow: 0 8px 36px rgba(232, 116, 12, 0.6), 0 0 0 8px rgba(232, 116, 12, 0.1);
    }
}

@keyframes phoneRing {

    0%,
    80%,
    100% {
        transform: rotate(0);
    }

    5% {
        transform: rotate(15deg);
    }

    10% {
        transform: rotate(-15deg);
    }

    15% {
        transform: rotate(12deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    25% {
        transform: rotate(0);
    }
}

/* ═══════════════════════════════════════════
   FIX — Red sidebar overlap
   ═══════════════════════════════════════════ */
.ragd-hero~.diagnoza-sidebar,
.ragd-hero~[class*="diagnoz"] {
    z-index: 3;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
    .ragd-hero-inner {
        flex-direction: column;
        padding: 40px 16px 16px;
        gap: 20px;
    }

    .ragd-hero-contact {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        border-radius: 12px;
    }

    .ragd-hero-contact-status {
        width: 100%;
        border-radius: 12px 12px 0 0;
    }

    .ragd-hero-contact-title {
        display: none;
    }

    .ragd-hero-contact-phone {
        padding: 8px 16px;
    }

    .ragd-hero-contact-hours {
        border-top: none;
        padding: 8px 16px;
    }

    .ragd-hero-contact-guarantee {
        border-top: none;
        margin-left: auto;
        padding: 8px 16px;
    }

    .ragd-hero-stats {
        flex-wrap: wrap;
        gap: 12px;
    }

    .ragd-hero-stat {
        padding: 0 16px;
    }

    .ragd-hero-stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .ragd-hero {
        min-height: 340px;
    }

    .ragd-hero-inner {
        padding: 32px 12px 12px;
    }

    .ragd-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .ragd-hero-btn-call,
    .ragd-hero-btn-secondary {
        justify-content: center;
        text-align: center;
    }

    .ragd-hero-badges {
        gap: 6px;
    }

    .ragd-hero-badge {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .ragd-hero-stat-number {
        font-size: 1.3rem;
    }

    .ragd-hero-contact {
        flex-direction: column;
    }

    .ragd-hero-contact-guarantee {
        margin-left: 0;
    }
}

/* ═══════════════════════════════════════════
   HOMEPAGE HERO — Modifier & Icons Row
   ═══════════════════════════════════════════ */

/* Homepage gets slightly taller hero to accommodate icons */
.ragd-hero--homepage {
    min-height: 520px;
    padding-bottom: 0;
}

/* Homepage hero inner alignment to match nav container */
.ragd-hero--homepage .ragd-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px 12px;
}

/* Hide old bg-container if it leaks through */
.bg-container:not(.ragd-hero) {
    display: none !important;
}

/* Icons row at bottom of homepage hero — full-width */
.ragd-hero-icons {
    position: relative;
    z-index: 2;
    padding: 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.15);
}

.ragd-hero-icons-inner {
    display: flex;
    justify-content: stretch;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.ragd-hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 12px 24px;
    flex: 1;
    border-radius: 0;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 0;
}

.ragd-hero-icon:last-child {
    border-right: none;
}

.ragd-hero-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    box-shadow: inset 0 -3px 0 #E8740C;
}

.ragd-hero-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    transition: filter 0.3s, transform 0.3s;
}

.ragd-hero-icon:hover img {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transform: scale(1.12);
}

.ragd-hero-icon span {
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Responsive icons — tablet */
@media (max-width: 900px) {
    .ragd-hero-icons-inner {
        flex-wrap: wrap;
    }

    .ragd-hero-icon {
        flex: 1 1 30%;
        padding: 20px 10px 16px;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ragd-hero-icon img {
        width: 60px;
        height: 60px;
    }
}

/* Responsive icons — mobile */
@media (max-width: 480px) {
    .ragd-hero--homepage {
        min-height: auto;
    }

    .ragd-hero-icons-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }

    .ragd-hero-icon {
        padding: 16px 8px 14px;
        font-size: 0.75rem;
        gap: 8px;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ragd-hero-icon:nth-child(3n) {
        border-right: none;
    }

    .ragd-hero-icon:nth-child(n+4) {
        border-bottom: none;
    }

    .ragd-hero-icon img {
        width: 48px;
        height: 48px;
    }
}

/* ═══════════════════════════════════════════
   BLOG HERO — Content-Focused Design
   ═══════════════════════════════════════════ */

.ragd-hero--blog {
    min-height: 320px;
    text-align: center;
}

.ragd-hero--blog .ragd-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ragd-hero-blog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* "Baza wiedzy" label */
.ragd-hero-blog-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(232, 116, 12, 0.15);
    border: 1px solid rgba(232, 116, 12, 0.3);
    color: #E8740C;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ragd-hero-blog-label svg {
    flex-shrink: 0;
}

/* Blog H1 */
.ragd-hero--blog h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 4px 0 0;
    text-align: center;
}

/* Blog subtitle override */
.ragd-hero--blog .ragd-hero-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    opacity: 0.8;
}

/* Article count badge */
.ragd-hero-blog-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.ragd-hero-blog-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 500;
}

.ragd-hero-blog-count svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* Category filter pills */
.ragd-hero-blog-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.ragd-hero-blog-cat {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ragd-hero-blog-cat:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.ragd-hero-blog-cat--active {
    background: rgba(232, 116, 12, 0.2);
    border-color: rgba(232, 116, 12, 0.5);
    color: #E8740C;
}

.ragd-hero-blog-cat--active:hover {
    background: rgba(232, 116, 12, 0.3);
    border-color: rgba(232, 116, 12, 0.6);
    color: #E8740C;
}

/* Search bar */
.ragd-hero-blog-search {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 4px 4px 4px 16px;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.ragd-hero-blog-search:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(232, 116, 12, 0.4);
    box-shadow: 0 0 0 3px rgba(232, 116, 12, 0.1);
}

.ragd-hero-blog-search svg {
    flex-shrink: 0;
    margin-right: 10px;
}

.ragd-hero-blog-search input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    padding: 10px 0;
    font-family: inherit;
}

.ragd-hero-blog-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.ragd-hero-blog-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.ragd-hero-blog-search button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #E8740C;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.ragd-hero-blog-search button:hover {
    background: #d06a0b;
    box-shadow: 0 2px 8px rgba(232, 116, 12, 0.3);
}

/* Blog hero breadcrumb */
.ragd-hero--blog .ragd-hero-breadcrumb {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 24px;
}

.ragd-hero--blog .ragd-hero-breadcrumb-inner {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.ragd-hero--blog .ragd-hero-breadcrumb-inner a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.ragd-hero--blog .ragd-hero-breadcrumb-inner a:hover {
    color: #fff;
}

/* Blog hero responsive */
@media (max-width: 640px) {
    .ragd-hero--blog {
        min-height: 280px;
    }

    .ragd-hero--blog .ragd-hero-inner {
        padding: 32px 16px 16px;
    }
}


/* ═══════════════════════════════════════════
   BLOG LISTING — World-Class Card Grid
   ═══════════════════════════════════════════ */

.ragd-blog-listing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.ragd-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Card */
.ragd-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ragd-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.ragd-blog-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.ragd-blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.ragd-blog-card-title a {
    text-decoration: none;
    color: inherit;
}

.ragd-blog-card-title a:hover {
    color: #E8740C;
}

.ragd-blog-card-readmore {
    text-decoration: none;
}

/* Card image */
.ragd-blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f2f5;
}

.ragd-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ragd-blog-card:hover .ragd-blog-card-image img {
    transform: scale(1.05);
}

/* Placeholder for posts without images */
.ragd-blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f2f5, #e4e7eb);
    color: #bfc5cc;
}

/* Category badge on image */
.ragd-blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(232, 116, 12, 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

/* Card body */
.ragd-blog-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta line */
.ragd-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.ragd-blog-card-meta time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8c939c;
    font-size: 0.78rem;
    font-weight: 500;
}

.ragd-blog-card-meta time svg {
    opacity: 0.6;
}

.ragd-blog-card-readtime {
    color: #8c939c;
    font-size: 0.78rem;
    font-weight: 500;
}

.ragd-blog-card-readtime::before {
    content: '\2022';
    margin-right: 8px;
    color: #d0d5dc;
}

/* Title */
.ragd-blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1a1f2b;
    margin: 0 0 8px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ragd-blog-card:hover .ragd-blog-card-title {
    color: #E8740C;
}

/* Excerpt */
.ragd-blog-card-excerpt {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #5a6270;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read more CTA */
.ragd-blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: #E8740C;
    font-size: 0.85rem;
    font-weight: 700;
    transition: gap 0.2s ease;
}

.ragd-blog-card:hover .ragd-blog-card-readmore {
    gap: 10px;
}

.ragd-blog-card-readmore svg {
    transition: transform 0.2s ease;
}

.ragd-blog-card:hover .ragd-blog-card-readmore svg {
    transform: translateX(3px);
}

/* Featured first card — spans full width */
.ragd-blog-card:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
}

.ragd-blog-card:first-child .ragd-blog-card-image {
    width: 50%;
    flex-shrink: 0;
    aspect-ratio: auto;
    min-height: 300px;
}

.ragd-blog-card:first-child .ragd-blog-card-body {
    padding: 28px 32px;
    justify-content: center;
}

.ragd-blog-card:first-child .ragd-blog-card-title {
    font-size: 1.5rem;
    -webkit-line-clamp: 3;
}

.ragd-blog-card:first-child .ragd-blog-card-excerpt {
    font-size: 0.95rem;
    -webkit-line-clamp: 4;
}

/* Pagination */
.ragd-blog-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.ragd-blog-pagination-inner {
    display: flex;
    gap: 16px;
}

.ragd-blog-pagination a,
.ragd-blog-pagination-prev a,
.ragd-blog-pagination-next a {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 10px;
    background: #f0f2f5;
    color: #1a1f2b;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ragd-blog-pagination a:hover,
.ragd-blog-pagination-prev a:hover,
.ragd-blog-pagination-next a:hover {
    background: #E8740C;
    color: #fff;
    text-decoration: none;
}

.ragd-blog-pagination .current {
    background: #E8740C;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
}

/* Empty state */
.ragd-blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 24px;
    color: #8c939c;
}

.ragd-blog-empty svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

.ragd-blog-empty h2 {
    font-size: 1.4rem;
    color: #1a1f2b;
    margin: 0 0 8px;
}

.ragd-blog-empty p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.ragd-blog-empty a {
    color: #E8740C;
    text-decoration: underline;
}

/* Blog listing responsive — tablet */
@media (max-width: 900px) {
    .ragd-blog-listing {
        padding: 32px 16px 48px;
    }

    .ragd-blog-grid {
        gap: 24px;
    }

    .ragd-blog-card:first-child .ragd-blog-card-link {
        flex-direction: column;
    }

    .ragd-blog-card:first-child .ragd-blog-card-image {
        width: 100%;
        min-height: 200px;
        aspect-ratio: 16 / 9;
    }

    .ragd-blog-card:first-child .ragd-blog-card-body {
        padding: 20px 24px;
    }

    .ragd-blog-card:first-child .ragd-blog-card-title {
        font-size: 1.25rem;
    }
}

/* Blog listing responsive — mobile */
@media (max-width: 640px) {
    .ragd-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ragd-blog-card-body {
        padding: 16px 18px 20px;
    }

    .ragd-blog-card-title {
        font-size: 1.05rem;
    }
}

/* FoundationPress pagination overrides inside blog listing */
.ragd-blog-pagination ul.pagination,
.ragd-blog-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ragd-blog-pagination .pagination li {
    display: inline-flex;
}

.ragd-blog-pagination .pagination li a,
.ragd-blog-pagination .pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f0f2f5;
    color: #1a1f2b;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ragd-blog-pagination .pagination li a:hover {
    background: #E8740C;
    color: #fff;
    text-decoration: none;
}

.ragd-blog-pagination .pagination li.current a,
.ragd-blog-pagination .pagination li.current span,
.ragd-blog-pagination .pagination li .current {
    background: #E8740C;
    color: #fff;
    font-weight: 700;
}

.ragd-blog-pagination .pagination li.unavailable a,
.ragd-blog-pagination .pagination li.unavailable span,
.ragd-blog-pagination .pagination li.disabled a,
.ragd-blog-pagination .pagination li.disabled span {
    color: #c0c5cc;
    cursor: default;
    pointer-events: none;
}

.ragd-blog-pagination .pagination li.ellipsis::after,
.ragd-blog-pagination .pagination li.dots::after {
    content: '\2026';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #8c939c;
    font-size: 0.88rem;
}

/* Also handle the arrow nav links */
.ragd-blog-pagination .pagination li:first-child a,
.ragd-blog-pagination .pagination li:last-child a {
    font-size: 1rem;
}


/* ==========================================================================
   CITY PAGE — Modern sections for city.php template
   ========================================================================== */

/* ── Base Layout ── */
.ragd-city {
    background: #fff;
}

.ragd-city *,
.ragd-city *::before,
.ragd-city *::after {
    box-sizing: border-box;
}

.ragd-city-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.ragd-city-section {
    padding: 0;
    width: 100%;
    float: none;
    clear: both;
}

/* ── Section Header (reusable) ── */
.ragd-city-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.8rem;
}

.ragd-city-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1A365D 0%, #132B4D 100%);
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.ragd-city-section-header h2 {
    font-family: Poppins, sans-serif;
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 700;
    color: #1A365D;
    margin: 0;
    line-height: 1.3;
}

/* ── 2. WHY CHOOSE US — icon cards ── */
.ragd-city-why {
    padding: 3rem 0;
}

.ragd-city .ragd-city-why-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ragd-city-why-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #f8f9fb;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ragd-city-why-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 54, 93, 0.08);
}

.ragd-city-why-card-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.ragd-city-why-card-text {
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #31383e;
    margin: 0;
    line-height: 1.5;
}

/* ── 4. CONTENT BLOCKS — alternating ── */
.ragd-city-content {
    padding: 3rem 0;
}

.ragd-city-content--alt {
    background: #f8f9fb;
}

.ragd-city-content-inner {
    font-family: Poppins, sans-serif;
    line-height: 1.7;
    color: #31383e;
}

.ragd-city-content-inner h2 {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
    font-weight: 700;
    color: #1A365D;
    margin: 0 0 1.2rem;
    line-height: 1.3;
}

.ragd-city-content-inner h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1A365D;
    margin: 1.5rem 0 0.6rem;
}

.ragd-city-content-inner p {
    font-size: 1.125rem;
    margin: 0 0 1rem;
}

.ragd-city-content-inner ul,
.ragd-city-content-inner ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1.2rem;
}

.ragd-city-content-inner li {
    font-size: 1.125rem;
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.ragd-city-content-inner a {
    color: #E8740C;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ragd-city-content-inner a:hover {
    color: #c45e05;
}

/* ── 5. SERVICES GRID ── */
.ragd-city-services {
    padding: 2.5rem 0;
}

.ragd-city .ragd-city-services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
}

/* ── Process Steps inside city page — container constraint ── */
.ragd-city .ragd-process {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.ragd-city-service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #fff;
    border: 1.5px solid #e8ecf1;
    border-radius: 12px;
    text-decoration: none;
    color: #31383e;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ragd-city-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.1);
    border-color: #1A365D;
    color: #1A365D;
}

.ragd-city-service-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ragd-city-service-name {
    font-family: Poppins, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
}

.ragd-city-service-arrow {
    flex-shrink: 0;
    opacity: 0.3;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ragd-city-service-card:hover .ragd-city-service-arrow {
    opacity: 0.8;
    transform: translateX(3px);
}

/* ── 6. MAP ── */
.ragd-city-map-section {
    padding: 2.5rem 0;
}

.ragd-city-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ragd-city-map {
    width: 100%;
    height: 400px;
    background: #f0f2f5;
}

.ragd-city-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── 7. BRANDS GRID ── */
.ragd-city-brands {
    padding: 2.5rem 0;
}

.ragd-city-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.ragd-city-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: #f8f9fb;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ragd-city-brand-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ragd-city-brand-item img {
    max-width: 100%;
    height: 40px;
    object-fit: contain;
    filter: grayscale(40%);
    transition: filter 0.3s ease;
}

.ragd-city-brand-item:hover img {
    filter: grayscale(0%);
}

/* ── 10. CTA BANNER ── */
.ragd-city-cta {
    padding: 3rem 0;
    margin-top: 1rem;
}

.ragd-city-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, #1A365D 0%, #0f2440 100%);
    border-radius: 20px;
    color: #fff;
}

.ragd-city-cta-heading {
    font-family: Poppins, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.ragd-city-cta-sub {
    font-family: Poppins, sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.ragd-city-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.ragd-city-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #E8740C;
    color: #fff;
    border-radius: 12px;
    font-family: Poppins, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.ragd-city-cta-phone:hover {
    background: #d6690b;
    transform: translateY(-2px);
    color: #fff;
}

.ragd-city-cta-contact {
    color: rgba(255, 255, 255, 0.85);
    font-family: Poppins, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.ragd-city-cta-contact:hover {
    color: #fff;
}

/* ── Trust Badges inside city page — container constraint ── */
.ragd-city .ragd-trust-bar {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ── FAQ inside city page — container constraint ── */
.ragd-city .ragd-faq-section {
    max-width: 100%;
}

/* ── Testimonials inside city page — container constraint ── */
.ragd-city .ragd-testimonials {
    max-width: 100%;
}

/* ── City Page — enforce min 18px on ALL text ── */
.ragd-city .ragd-trust-text strong {
    font-size: 1.125rem !important;
}

.ragd-city .ragd-trust-text span {
    font-size: 0.95rem !important;
}

.ragd-city .ragd-process-title {
    font-size: 1.2rem !important;
}

.ragd-city .ragd-process-desc {
    font-size: 1.125rem !important;
}

.ragd-city .ragd-city-service-name {
    font-size: 1.125rem !important;
}

.ragd-city .ragd-faq-question h3 {
    font-size: 1.125rem !important;
}

.ragd-city .ragd-faq-answer-inner,
.ragd-city .ragd-faq-answer-inner p {
    font-size: 1.125rem !important;
}

.ragd-city .ragd-testimonial-text {
    font-size: 1.125rem !important;
}

.ragd-city .ragd-city-cta-sub {
    font-size: 1.125rem !important;
}

/* ── RESPONSIVE: City Page ── */
@media (max-width: 768px) {
    .ragd-city .ragd-city-why-grid {
        grid-template-columns: 1fr !important;
    }

    .ragd-city .ragd-city-services-grid {
        grid-template-columns: 1fr !important;
    }

    .ragd-city-map-section {
        display: none;
    }

    .ragd-city-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ragd-city-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .ragd-city-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .ragd-city-cta-phone {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Main Footer — Premium World-Class Design
   Dark navy theme: #0A1628, Orange accent: #E8740C, Poppins font
   ========================================================================== */

/* ── Pre-Footer CTA Banner ── */
.ragd-footer-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0A1628 0%, #1A365D 50%, #0D1B2A 100%);
    padding: 0;
}

.ragd-footer-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ragd-footer-cta-glow {
    position: absolute;
    top: 50%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 116, 12, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: footer-glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footer-glow-pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.15);
    }
}

.ragd-footer-cta-heading {
    font-family: 'Inter', Poppins, sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.ragd-footer-cta-sub {
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.ragd-footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.ragd-footer-cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #E8740C 0%, #F5A623 100%);
    color: #fff;
    border-radius: 14px;
    font-family: Poppins, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(232, 116, 12, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    animation: footer-phone-pulse 3s ease-in-out infinite;
}

@keyframes footer-phone-pulse {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(232, 116, 12, 0.35);
    }

    50% {
        box-shadow: 0 8px 48px rgba(232, 116, 12, 0.55);
    }
}

.ragd-footer-cta-phone:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(232, 116, 12, 0.5);
    color: #fff;
}

.ragd-footer-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-family: Poppins, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ragd-footer-cta-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.ragd-footer-cta-secondary svg {
    transition: transform 0.3s ease;
}

.ragd-footer-cta-secondary:hover svg {
    transform: translateX(4px);
}

/* ── Main Footer ── */
.ragd-footer {
    background: linear-gradient(180deg, #0D1B2A 0%, #0A1628 100%);
    color: #c5d0dc;
    font-family: Poppins, sans-serif;
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
}

.ragd-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 24px 3rem;
}

.ragd-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr 1.2fr;
    gap: 48px;
    text-align: left;
}

.ragd-footer-col {
    text-align: left;
}

/* ── Column: Brand ── */
.ragd-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.ragd-footer-logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.ragd-footer-logo-prefix {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #E8740C;
    opacity: 0.9;
}

.ragd-footer-logo-text {
    font-family: Poppins, sans-serif;
    font-size: 1.7rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.5px;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.ragd-footer-logo-text strong {
    font-weight: 800;
    color: #E8740C;
}

.ragd-footer-logo:hover .ragd-footer-logo-text {
    opacity: 1;
}

.ragd-footer-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    max-width: 300px;
}

/* ── Trust Badges in Footer ── */
.ragd-footer-trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.ragd-footer-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
}

.ragd-footer-trust-item:hover {
    color: rgba(255, 255, 255, 0.85);
}

.ragd-footer-trust-item svg {
    color: #E8740C;
    opacity: 0.7;
    flex-shrink: 0;
}

/* ── Column: Links ── */
.ragd-footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 24px;
}

.ragd-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ragd-footer-links li {
    margin: 0;
}

.ragd-footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
    position: relative;
}

.ragd-footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #E8740C, #F5A623);
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 1px;
}

.ragd-footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.ragd-footer-links a:hover::before {
    width: 100%;
}

/* ── Column: Contact ── */
.ragd-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ragd-footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: rgba(232, 116, 12, 0.12);
    border: 1.5px solid rgba(232, 116, 12, 0.25);
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.ragd-footer-phone:hover {
    background: rgba(232, 116, 12, 0.2);
    border-color: #E8740C;
    box-shadow: 0 4px 24px rgba(232, 116, 12, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.ragd-footer-phone svg {
    color: #E8740C;
    opacity: 0.9;
}

.ragd-footer-contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.ragd-footer-contact-detail svg {
    margin-top: 2px;
    opacity: 0.5;
    flex-shrink: 0;
}

.ragd-footer-contact-detail strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.ragd-footer-contact-detail span {
    display: block;
    color: rgba(255, 255, 255, 0.55);
}

.ragd-footer-contact-detail a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ragd-footer-contact-detail a:hover {
    color: #E8740C;
}

/* ── City List Section in Footer ── */
.ragd-footer-cities {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
    text-align: left;
}

.ragd-footer-cities-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 24px;
    text-align: left;
}

.ragd-footer-cities-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ragd-footer-cities-header .ragd-footer-heading {
    margin: 0;
}

.ragd-footer-city-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    max-width: 260px;
}

.ragd-footer-city-search svg {
    opacity: 0.35;
    flex-shrink: 0;
}

.ragd-footer-city-search input {
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: Poppins, sans-serif;
    font-size: 0.85rem;
    width: 100%;
    padding: 0;
    margin: 0;
}

.ragd-footer-city-search input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.ragd-footer-city-search #filter-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.ragd-footer-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px 16px;
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(232, 116, 12, 0.3) transparent;
}

.ragd-footer-cities-grid::-webkit-scrollbar {
    width: 4px;
}

.ragd-footer-cities-grid::-webkit-scrollbar-track {
    background: transparent;
}

.ragd-footer-cities-grid::-webkit-scrollbar-thumb {
    background: rgba(232, 116, 12, 0.3);
    border-radius: 2px;
}

.ragd-footer-city-item a {
    display: block;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    text-align: left;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.ragd-footer-city-item a:hover {
    color: #E8740C;
    padding-left: 4px;
}

/* ── Animated Gradient Divider ── */
.ragd-footer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 116, 12, 0.4), rgba(245, 166, 35, 0.3), transparent);
    background-size: 200% 100%;
    animation: footer-divider-shimmer 6s ease-in-out infinite;
}

@keyframes footer-divider-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ── Bottom Bar ── */
.ragd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.ragd-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ragd-footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.ragd-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ragd-footer-bottom-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.ragd-footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ragd-footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.ragd-footer-totop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 8px;
}

.ragd-footer-totop:hover {
    background: rgba(232, 116, 12, 0.15);
    border-color: rgba(232, 116, 12, 0.3);
    color: #E8740C;
    transform: translateY(-3px);
}

/* ── Responsive: Footer ── */
@media (max-width: 1024px) {
    .ragd-footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 36px;
    }

    .ragd-footer-contact {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ragd-footer-contact .ragd-footer-heading {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ragd-footer-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 20px;
        gap: 24px;
    }

    .ragd-footer-cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

    .ragd-footer-cta-phone {
        width: 100%;
        justify-content: center;
    }

    .ragd-footer-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .ragd-footer-cta-glow {
        right: 50%;
        transform: translate(50%, -50%);
        width: 200px;
        height: 200px;
    }

    .ragd-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ragd-footer-inner {
        padding: 3rem 20px 2rem;
    }

    .ragd-footer-desc {
        max-width: 100%;
    }

    .ragd-footer-phone {
        width: 100%;
        justify-content: center;
    }

    .ragd-footer-contact {
        flex-direction: column;
        border-top: none;
        padding-top: 0;
    }

    .ragd-footer-bottom-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .ragd-footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ragd-footer-trust {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .ragd-footer-cities-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ragd-footer-city-search {
        max-width: 100%;
        width: 100%;
    }

    .ragd-footer-cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ragd-footer-trust {
        flex-direction: column;
    }

    .ragd-footer-cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}