/* ========================================
   TELL PROJECTS - SERVICES PAGE STYLESHEET
   Premium Dark Blue + Gold Luxury Theme
   Depends on: main.css (CSS variables)
   ======================================== */


/* ========================================
   LEGACY: Original Services Grid
   (Preserved for backward compatibility)
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(209, 160, 4, 0.2), 0 0 20px rgba(209, 160, 4, 0.5);
    cursor: pointer;
}

.service-icon {
    font-size: 48px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

.service-link i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.service-media {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.service-media img,
.service-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   SERVICE CARDS GRID (Catalog Section)
   ======================================== */

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-cards-grid .service-card {
    padding: 0;
    overflow: hidden;
}

.services-cards-grid .service-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.services-cards-grid .service-card-image video,
.services-cards-grid .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.services-cards-grid .service-card:hover .service-card-image video,
.services-cards-grid .service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.services-cards-grid .service-card-content {
    padding: 25px;
}

.services-cards-grid .service-card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(209, 160, 4, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--gold-primary);
    font-size: 18px;
}

.services-cards-grid .service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.services-cards-grid .service-card-link:hover {
    gap: 10px;
}

/* Tablet: 2-column service cards */
@media (max-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile: 1-column service cards */
@media (max-width: 576px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Legacy hero section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
    padding: 100px 0 60px;
    text-align: center;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-section h1 {
    font-family: var(--font-secondary);
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}


/* ========================================
   LEGACY: Project Tell Typography Section
   ======================================== */

.project-tell-typography-grid {
    display: grid;
    grid-template-columns: repeat(48, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 3px;
    max-width: 1200px;
    margin: 0 auto;
    height: 100px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.project-box {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid rgba(209, 160, 4, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(209, 160, 4, 0.2),
        inset 0 0 15px rgba(209, 160, 4, 0.1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    cursor: pointer;
    animation: projectFallIn 5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    opacity: 0;
}

.project-box.round {
    border-radius: var(--border-radius);
}

.project-box:hover {
    transform: scale(1.15) rotateX(5deg) rotateY(5deg) translateZ(40px);
    border-color: var(--gold-primary);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(209, 160, 4, 0.8),
        0 0 60px rgba(209, 160, 4, 0.5),
        inset 0 0 30px rgba(209, 160, 4, 0.3);
    z-index: 100;
    filter: brightness(1.2) contrast(1.1);
}

.project-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stagger animation delays */
.project-box:nth-child(n) { animation-delay: calc(0.03s * (var(--box-index, 0))); }
.project-box:nth-child(1) { --box-index: 1; }
.project-box:nth-child(2) { --box-index: 2; }
.project-box:nth-child(3) { --box-index: 3; }
.project-box:nth-child(4) { --box-index: 4; }
.project-box:nth-child(5) { --box-index: 5; }
.project-box:nth-child(6) { --box-index: 6; }
.project-box:nth-child(7) { --box-index: 7; }
.project-box:nth-child(8) { --box-index: 8; }
.project-box:nth-child(9) { --box-index: 9; }
.project-box:nth-child(10) { --box-index: 10; }
.project-box:nth-child(11) { --box-index: 11; }
.project-box:nth-child(12) { --box-index: 12; }
.project-box:nth-child(13) { --box-index: 13; }
.project-box:nth-child(14) { --box-index: 14; }
.project-box:nth-child(15) { --box-index: 15; }
.project-box:nth-child(16) { --box-index: 16; }
.project-box:nth-child(17) { --box-index: 17; }
.project-box:nth-child(18) { --box-index: 18; }
.project-box:nth-child(19) { --box-index: 19; }
.project-box:nth-child(20) { --box-index: 20; }
.project-box:nth-child(21) { --box-index: 21; }
.project-box:nth-child(22) { --box-index: 22; }
.project-box:nth-child(23) { --box-index: 23; }
.project-box:nth-child(24) { --box-index: 24; }
.project-box:nth-child(25) { --box-index: 25; }
.project-box:nth-child(26) { --box-index: 26; }
.project-box:nth-child(27) { --box-index: 27; }
.project-box:nth-child(28) { --box-index: 28; }
.project-box:nth-child(29) { --box-index: 29; }
.project-box:nth-child(30) { --box-index: 30; }
.project-box:nth-child(31) { --box-index: 31; }
.project-box:nth-child(32) { --box-index: 32; }
.project-box:nth-child(33) { --box-index: 33; }
.project-box:nth-child(34) { --box-index: 34; }
.project-box:nth-child(35) { --box-index: 35; }
.project-box:nth-child(36) { --box-index: 36; }
.project-box:nth-child(37) { --box-index: 37; }
.project-box:nth-child(38) { --box-index: 38; }
.project-box:nth-child(39) { --box-index: 39; }
.project-box:nth-child(40) { --box-index: 40; }
.project-box:nth-child(41) { --box-index: 41; }
.project-box:nth-child(42) { --box-index: 42; }
.project-box:nth-child(43) { --box-index: 43; }
.project-box:nth-child(44) { --box-index: 44; }
.project-box:nth-child(45) { --box-index: 45; }
.project-box:nth-child(46) { --box-index: 46; }
.project-box:nth-child(47) { --box-index: 47; }
.project-box:nth-child(48) { --box-index: 48; }
.project-box:nth-child(49) { --box-index: 49; }
.project-box:nth-child(50) { --box-index: 50; }
.project-box:nth-child(51) { --box-index: 51; }
.project-box:nth-child(52) { --box-index: 52; }
.project-box:nth-child(53) { --box-index: 53; }
.project-box:nth-child(54) { --box-index: 54; }
.project-box:nth-child(55) { --box-index: 55; }
.project-box:nth-child(56) { --box-index: 56; }

.project-box:nth-child(7),
.project-box:nth-child(14),
.project-box:nth-child(21),
.project-box:nth-child(28),
.project-box:nth-child(35),
.project-box:nth-child(42),
.project-box:nth-child(49),
.project-box:nth-child(56) {
    animation: projectFallIn 5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
               projectHeartbeat 2.5s ease-in-out 8s infinite;
}

.project-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
}

.project-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.project-lightbox-content {
    position: relative;
    max-width: 70%;
    max-height: 70%;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-gold);
    animation: scaleIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.project-lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    border: 2px solid var(--bg-dark);
}

.project-lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.project-lightbox-close i {
    color: var(--bg-dark);
    font-size: 20px;
}

.project-lightbox-media {
    max-height: 70vh;
    border-radius: 10px;
}

.project-lightbox-media video,
.project-lightbox-media img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
}

/* Legacy keyframes */
@keyframes projectFallIn {
    0% {
        transform: translateY(-2000px) rotate(720deg) scale(0.3);
        opacity: 0;
    }
    40% {
        transform: translateY(15px) rotate(360deg) scale(1.1);
        opacity: 1;
    }
    60% {
        transform: translateY(-8px) rotate(0deg) scale(0.95);
    }
    80% {
        transform: translateY(4px) scale(1.02);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes projectHeartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}


/* ========================================
   1. TRUST SIGNAL BAR
   ======================================== */

.services-trust-bar {
    background: var(--gold-gradient);
    position: sticky;
    top: 70px;
    z-index: 900;
    padding: 12px 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(209, 160, 4, 0.3);
}

.trust-bar-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-dark);
    white-space: nowrap;
}

.trust-bar-item i {
    font-size: 18px;
    flex-shrink: 0;
}


/* ========================================
   2. COMPANY INTRODUCTION (ABOUT GRID)
   ======================================== */

.services-about {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    /* Text content side — inherits flow layout */
}

.about-content h2 {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Checklist — gold checkmarks via pseudo-element */
.checklist {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--gold-primary);
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 14px;
}

/* Video wrapper — media side */
.video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--accent-gold-border);
    box-shadow: var(--shadow-gold);
}

.video-wrapper video {
    width: 100%;
    display: block;
}


/* ========================================
   3. ANIMATED STATS (ACHIEVEMENTS)
   ======================================== */

.services-achievements {
    padding: 70px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--accent-gold-border);
    border-bottom: 1px solid var(--accent-gold-border);
}

.achievements-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.achievement-item {
    text-align: center;
    padding: 40px 50px;
    flex: 1;
    min-width: 180px;
    position: relative;
}

/* Vertical divider between items */
.achievement-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--accent-gold-border);
}

.achievement-number {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    display: block;
}

.achievement-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: 10px;
    display: block;
}


/* ========================================
   4. SERVICES FILTER TABS
   ======================================== */

.services-section {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--accent-gold-border);
    color: var(--text-secondary);
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    border-color: var(--gold-primary);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-color: transparent;
}

/* Hide filtered service cards */
.service-card[data-category].hidden {
    display: none;
}


/* ========================================
   5. SERVICE SPOTLIGHT SECTIONS
   ======================================== */

.services-spotlight {
    padding: var(--section-padding) 0;
}

.services-spotlight:nth-of-type(even) {
    background: var(--bg-secondary);
}

.services-spotlight:nth-of-type(odd) {
    background: var(--bg-dark);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Reverse layout — media goes to the right */
.spotlight-grid--reverse .spotlight-media {
    order: 2;
}

.spotlight-grid--reverse .spotlight-content {
    order: 1;
}

.spotlight-content h2 {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.spotlight-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* Gold badge overlaid on media */
.spotlight-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Video / image container */
.spotlight-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--accent-gold-border);
    box-shadow: var(--shadow-gold);
}

.spotlight-video video {
    width: 100%;
    display: block;
}

.spotlight-media {
    position: relative;
}

/* Two-column includes list */
.spotlight-includes {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.spotlight-includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.spotlight-includes li i {
    color: var(--gold-primary);
    font-size: 14px;
    flex-shrink: 0;
}

/* Meta stats row inside spotlight */
.spotlight-meta {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-gold-border);
}

.meta-item {
    text-align: center;
    flex: 1;
}

.meta-value {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--gold-primary);
    font-weight: 700;
    display: block;
}

.meta-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
}


/* ========================================
   6. PROCESS TIMELINE
   ======================================== */

.services-process {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
    margin-top: 60px;
}

/* Connecting line behind steps */
.process-timeline::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--accent-gold-border);
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 200px;
}

/* Large decorative step number */
.step-number {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--gold-primary);
    opacity: 0.3;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

/* Circular icon badge */
.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-gold);
}

.step-icon i {
    font-size: 28px;
    color: var(--gold-primary);
}

.process-step h4 {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.process-cta {
    text-align: center;
    margin-top: 60px;
}


/* ========================================
   7. VIDEO GALLERY GRID
   ======================================== */

.services-video-gallery {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.services-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-thumb {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
}

/* Featured tile spans two columns and two rows */
.video-thumb--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark gradient overlay — revealed on hover */
.video-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-thumb:hover .video-thumb-overlay {
    opacity: 1;
}

.video-thumb-overlay i {
    font-size: 48px;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.video-thumb-overlay span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
    font-family: var(--font-primary);
}


/* ========================================
   8. REVIEWS / TESTIMONIALS
   ======================================== */

.services-reviews {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.aggregate-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.aggregate-rating .stars i {
    color: #fbbc04;
    font-size: 24px;
}

.aggregate-rating span {
    color: var(--text-secondary);
    font-size: 18px;
    font-family: var(--font-primary);
}

/* Testimonial card enhancements */
.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 35px;
    border: 1px solid var(--accent-gold-border);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

.testimonial-avatar--initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-primary);
    flex-shrink: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-author {
    flex: 1;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 13px;
}

.testimonial-stars i {
    color: #fbbc04;
    font-size: 14px;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    font-size: 15px;
    margin-bottom: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}


/* ========================================
   9. SERVICE AREAS
   ======================================== */

.services-areas {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.areas-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    border: 2px solid var(--accent-gold-border);
    display: block;
}

.areas-content h2 {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: 15px;
}

.areas-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

/* City badge chips */
.area-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-primary);
}

.area-badge:hover {
    border-color: var(--gold-primary);
    color: var(--text-primary);
}

.area-badge i {
    color: var(--gold-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.areas-note {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
    margin-top: 20px;
}


/* ========================================
   10. CREDENTIALS / LICENSES
   ======================================== */

.services-credentials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.credential-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.credential-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

/* Circular icon container with subtle gold tint */
.credential-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(209, 160, 4, 0.15), rgba(209, 160, 4, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.credential-icon i {
    font-size: 28px;
    color: var(--gold-primary);
}

.credential-card h4 {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.credential-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.credentials-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 30px;
    font-style: italic;
}


/* ========================================
   11. FAQ ACCORDION
   ======================================== */

.services-faq {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.faq-accordion {
    max-width: 850px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold-border);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--gold-primary);
}

.faq-item.active {
    border-color: var(--gold-primary);
    box-shadow: 0 5px 20px rgba(209, 160, 4, 0.15);
}

/* Full-width clickable button row */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover .faq-icon {
    color: var(--gold-primary);
    opacity: 0.8;
}

.faq-question span {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 600;
    padding-right: 20px;
    line-height: 1.4;
}

/* Plus icon that rotates to X when active */
.faq-icon {
    color: var(--gold-primary);
    font-size: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Answer panel — collapsed by default, expanded when .active */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 0 28px 22px;
    font-size: 15px;
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}


/* ========================================
   12. BLOG PREVIEW CARDS
   ======================================== */

.services-blog {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-preview-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    display: block;
}

.blog-preview-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

/* Image container with fixed height */
.blog-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

/* Category pill overlaid on image */
.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-primary);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-primary);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: gap 0.3s ease;
}

.blog-preview-card:hover .blog-read-more {
    gap: 10px;
}

.blog-cta {
    text-align: center;
    margin-top: 50px;
}


/* ========================================
   13. FINAL CTA WITH VIDEO BACKGROUND
   ======================================== */

.services-final-cta {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

/* Full-bleed background video */
.services-final-cta > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Gradient overlay sits above video */
.services-final-cta > .hero-gradient-overlay {
    z-index: 1;
}

/* Content sits above overlay */
.services-final-cta > .container {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

.services-final-cta h2 {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: 20px;
}

.services-final-cta p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Trust indicators below CTA buttons */
.final-cta-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.final-cta-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: var(--font-primary);
}

.final-cta-trust i {
    color: var(--gold-primary);
}


/* ========================================
   14. HERO GRADIENT OVERLAY (shared)
   ======================================== */

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.75) 0%,
        rgba(10, 22, 40, 0.55) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}


/* ========================================
   15. UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 20px auto;
    border-radius: 2px;
}


/* ========================================
   16. QUOTE PAGE — Form & Sections
   ======================================== */

/* Form grid: form left, trust sidebar right */
.quote-form-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: start;
}

/* The form container */
.quote-form {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--accent-gold-border);
}

.quote-form h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--gold-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-dark);
    border: 1px solid var(--accent-gold-border);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(209, 160, 4, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(168, 192, 216, 0.5);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d1a004' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-dark);
    background: var(--gold-gradient);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(209, 160, 4, 0.4);
}

.form-disclaimer {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* Trust sidebar next to form */
.quote-trust-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.trust-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid var(--accent-gold-border);
    text-align: center;
}

.trust-card i {
    font-size: 32px;
    color: var(--gold-primary);
    margin-bottom: 12px;
    display: block;
}

.trust-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* What's included grid */
.quote-includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.quote-includes-grid .include-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border-left: 3px solid var(--gold-primary);
}

.quote-includes-grid .include-item i {
    color: var(--gold-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.quote-includes-grid .include-item span {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
}

/* Cost guide cards */
.cost-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cost-guide-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    border: 1px solid var(--accent-gold-border);
    text-align: center;
    transition: all 0.3s ease;
}

.cost-guide-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.cost-guide-card .cost-icon {
    width: 60px;
    height: 60px;
    background: rgba(209, 160, 4, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.cost-guide-card .cost-icon i {
    font-size: 24px;
    color: var(--gold-primary);
}

.cost-guide-card h4 {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cost-guide-card .cost-range {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.cost-guide-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Phone CTA section */
.quote-phone-cta {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #111a2e 100%);
    position: relative;
    overflow: hidden;
}

.phone-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 22px 50px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(209, 160, 4, 0.3);
}

.phone-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 50px rgba(209, 160, 4, 0.45);
}

.phone-cta-btn i {
    font-size: 1.5rem;
}


/* ========================================
   17. RESPONSIVE OVERRIDES
   ======================================== */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
    /* Collapse two-column grids to single column */
    .about-grid,
    .spotlight-grid,
    .areas-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Reset reverse grid ordering on tablet */
    .spotlight-grid--reverse .spotlight-media {
        order: 0;
    }

    .spotlight-grid--reverse .spotlight-content {
        order: 0;
    }

    /* Stack timeline vertically */
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    /* Hide horizontal connecting line in vertical layout */
    .process-timeline::before {
        display: none;
    }

    /* Wider achievement items */
    .achievement-item {
        padding: 30px 30px;
    }

    .achievement-number {
        font-size: 2.8rem;
    }

    /* Testimonials: 2 columns on tablet */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Credentials: 2 columns on tablet */
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog: 2 columns on tablet */
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Video gallery: 2 columns on tablet */
    .services-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Quote form: stack on tablet */
    .quote-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Cost guide: 2 columns on tablet */
    .cost-guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
    /* Unstick trust bar on mobile — it would eat too much vertical space */
    .services-trust-bar {
        position: relative;
        top: 0;
    }

    .trust-bar-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 15px 20px;
    }

    .trust-bar-item {
        font-size: 12px;
        white-space: nowrap;
    }

    /* Achievements: stack vertically */
    .achievements-grid {
        flex-direction: column;
    }

    .achievement-item:not(:last-child)::after {
        display: none;
    }

    .achievement-item {
        padding: 20px;
    }

    .achievement-number {
        font-size: 2.5rem;
    }

    /* Tighter tab buttons */
    .services-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Video gallery: single column */
    .services-video-grid {
        grid-template-columns: 1fr;
    }

    /* Featured tile: no longer spans */
    .video-thumb--featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Credentials: 1 column on mobile */
    .credentials-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Blog: 2 columns on mobile */
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials: single column */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Service areas: 2-column chips */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Spotlight includes: single column */
    .spotlight-includes {
        grid-template-columns: 1fr;
    }

    /* Spotlight meta: stack vertically */
    .spotlight-meta {
        flex-direction: column;
        gap: 15px;
    }

    /* Smaller final CTA */
    .services-final-cta {
        min-height: 60vh;
    }

    .final-cta-trust {
        gap: 15px;
    }

    /* Legacy hero */
    .hero-section h1 {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Legacy project boxes */
    .project-tell-typography-grid {
        max-width: 100%;
        height: 80px;
        gap: 2px;
    }

    .project-box:hover {
        transform: scale(1.05);
    }

    /* Maps: reduced height */
    .areas-map iframe {
        height: 300px;
    }

    /* Quote form row: stack on mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form {
        padding: 25px 20px;
    }

    /* Includes: single column on mobile */
    .quote-includes-grid {
        grid-template-columns: 1fr;
    }

    /* Cost guide: single column on mobile */
    .cost-guide-grid {
        grid-template-columns: 1fr;
    }

    /* Phone CTA: smaller on mobile */
    .phone-cta-btn {
        font-size: 1.1rem;
        padding: 18px 35px;
    }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .trust-bar-items {
        gap: 10px;
    }

    .trust-bar-item {
        font-size: 11px;
    }

    .achievement-number {
        font-size: 2rem;
    }

    .final-cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .spotlight-meta {
        padding: 15px;
    }

    .meta-value {
        font-size: 1.25rem;
    }

    /* Legacy project grid */
    .project-tell-typography-grid {
        height: 60px;
    }
}
