:root {
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.text-gold {
    color: var(--accent-gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 9999px; /* Editorial pill shape */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-primary {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover .play-icon {
    background: var(--accent-gold);
    color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400; /* Editorial prefers regular weight serifs */
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    color: var(--accent-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    height: 1px;
    width: 30px; flex-shrink: 1; min-width: 0;
    background-color: var(--accent-gold);
}

.section-title {
    font-size: 48px;
    margin-bottom: 50px;
    line-height: 1.2;
}

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

.text-center .section-subtitle {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
}

/* Header / Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.3s ease, padding 0.3s ease;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.header.header--hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .header {
        transition: background 0.3s ease, padding 0.3s ease;
    }
    .header.header--hidden {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.3s ease, opacity 0.3s ease;
    color: var(--text-primary);
    opacity: 0.6;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    padding: 160px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-color) 0%, rgba(var(--bg-color-rgb), 0.6) 40%, transparent 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero-subtitle {
    max-width: 100%;
    overflow-wrap: break-word;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 400;
}

.hero-title span {
    font-style: italic;
    color: var(--accent-gold);
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.play-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-icon {
    width: 28px;
    height: 28px;
    background: var(--text-light);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.hero-features {
    display: flex;
    gap: 15px;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    flex: 1;
}

.hero-feature i {
    color: var(--accent-gold);
}

.hero-feature span {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Sections Shared */
.section-padding {
    padding: 100px 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    display: block;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.service-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(to top, rgba(var(--shadow-rgb), 0.85) 0%, rgba(var(--shadow-rgb), 0) 100%);
    box-sizing: border-box;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.service-title {
    font-size: 18px;
    margin-bottom: 0;
    font-family: var(--font-heading);
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(var(--shadow-rgb), 0.6);
}

.service-title span {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    font-family: var(--font-main);
    text-shadow: 0 1px 3px rgba(var(--shadow-rgb), 0.6);
}

/* Gallery Preview */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 24px;
    overflow: hidden;
    height: 280px;
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.feature-item h3 {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    font-size: 18px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.faq-question i { flex-shrink: 0; 
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--accent-gold);
}

.faq-item.active .faq-question i { flex-shrink: 0; 
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 400px;
    opacity: 1;
}

/* Contact Section */
.contact-card {
    background: var(--bg-secondary);
    border-radius: 40px;
    padding: 60px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 400;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method > div { min-width: 0; word-break: break-word; }
.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.contact-method-icon {
    color: var(--accent-gold);
    background: transparent;
    border: 1px solid rgba(var(--white-rgb), 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.contact-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 18px 24px;
    font-size: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-method div span {
    display: block;
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-method div a,
.contact-method div p {
    font-weight: 400;
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-light);
}



/* Footer */
.footer {
    background: var(--bg-color);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer .logo-area,
.footer .b-name {
    color: var(--footer-brand, var(--accent-gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about p {
    color: var(--footer-tagline, var(--footer-text, var(--text-primary)));
    font-size: 14px;
    margin: 20px 0;
    max-width: 250px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--footer-icon-border, var(--border-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-icon, var(--accent-gold));
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--footer-icon-hover-border, var(--accent-gold));
    color: var(--footer-icon-hover-color, #ffffff);
    background-color: var(--footer-icon-hover-bg, var(--accent-gold));
}

.footer-heading {
    font-family: var(--font-main);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--footer-heading, var(--text-primary));
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-link, var(--accent-gold));
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-link-hover, var(--text-primary));
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-contact li > span { min-width: 0; word-break: break-word; }
.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--footer-text, var(--text-primary));
    font-size: 14px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--footer-icon, var(--accent-gold));
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--footer-text, var(--text-primary));
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Page Hero (Service/Gallery) */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    padding: 180px 0 100px;
    overflow: hidden;
}

.page-hero .hero-bg {
    width: 100%;
}

.page-hero .hero-overlay {
    background: linear-gradient(to top, var(--bg-color) 0%, rgba(var(--bg-color-rgb), 0.5) 50%, rgba(var(--bg-color-rgb), 0.3) 100%);
}

.page-hero .hero-container {
    text-align: center;
}

.page-hero .hero-title {
    font-size: 64px;
    margin-bottom: 20px;
}

.page-hero .hero-desc {
    margin: 0 auto 40px;
    max-width: 700px;
}

.page-hero .hero-actions {
    justify-content: center;
}

.btn-solid {
    background: var(--accent-gold);
    color: var(--text-dark);
    border: 1px solid var(--accent-gold);
}

.btn-solid:hover {
    background: transparent;
    color: var(--accent-gold);
}

.btn-icon {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 16px 36px;
    font-size: 14px;
}

/* Service Gallery */
.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--bg-card);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.service-gallery-item::after {
    content: 'Image Preview';
    position: absolute;
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 0;
}

.service-gallery-item img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-gallery-item:hover img {
    transform: scale(1.05);
}

/* Floating Contact Buttons */
.floating-contact-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(var(--shadow-rgb), 0.15);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 16px rgba(var(--shadow-rgb), 0.2);
    color: var(--text-light);
}

.floating-call {
    
    background: var(--accent-gold);
}

.floating-wa {
    background: var(--whatsapp-color);
}

/* WhatsApp Pulse Animation */
@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--whatsapp-color-rgb), 0.7);
    }
    15% {
        box-shadow: 0 0 0 15px rgba(var(--whatsapp-color-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--whatsapp-color-rgb), 0);
    }
}

.floating-wa {
    animation: wa-pulse 4s infinite;
}

.floating-wa:hover {
    animation: none; /* Pause pulse on hover */
}

/* Subtle transitions for all contact links */
.contact-method a, .b-address {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.contact-method a:hover, .b-address:hover {
    color: var(--accent-gold);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .floating-contact-wrapper {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.footer-contact a {
    color: var(--footer-link, var(--accent-gold));
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-contact a:hover {
    color: var(--footer-link-hover, var(--text-primary));
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-method div a {
    color: var(--text-primary);
    text-decoration: none;
}

/* Fix text logo height to match old image height */
.logo-area .b-name {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
}
.faq-question i { flex-shrink: 0; }


/* ==========================================
   SERVICE PAGE SKELETON LOADER
   ========================================== */

/* 1. Base Skeleton Elements */
.service-loading-skeleton .hero-title::after,
.service-loading-skeleton .hero-desc::after,
.service-loading-skeleton .hero-actions .btn::after,
.service-loading-skeleton .section-subtitle::after,
.service-loading-skeleton .section-title::after,
.service-loading-skeleton .service-gallery-item::after,
.service-loading-skeleton .faq-item::after,
.service-loading-skeleton .hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    border-radius: inherit;
    z-index: 10;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.service-loading-skeleton .hero-title::before,
.service-loading-skeleton .hero-desc::before,
.service-loading-skeleton .hero-actions .btn::before,
.service-loading-skeleton .section-subtitle::before,
.service-loading-skeleton .section-title::before,
.service-loading-skeleton .service-gallery-item::before,
.service-loading-skeleton .faq-item::before,
.service-loading-skeleton .hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    z-index: 11;
    transform: translateX(-100%);
    border-radius: inherit;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Ensure positioning for pseudo-elements */
.service-loading-skeleton .hero-title,
.service-loading-skeleton .hero-desc,
.service-loading-skeleton .hero-actions .btn,
.service-loading-skeleton .section-subtitle,
.service-loading-skeleton .section-title,
.service-loading-skeleton .service-gallery-item,
.service-loading-skeleton .faq-item,
.service-loading-skeleton .hero-bg {
    position: relative;
}

/* Explicit border radii */
.service-loading-skeleton .hero-title::after, .service-loading-skeleton .hero-title::before { border-radius: 8px; }
.service-loading-skeleton .hero-desc::after, .service-loading-skeleton .hero-desc::before { border-radius: 8px; }
.service-loading-skeleton .hero-actions .btn::after, .service-loading-skeleton .hero-actions .btn::before { border-radius: 30px; }
.service-loading-skeleton .section-subtitle::after, .service-loading-skeleton .section-subtitle::before { border-radius: 4px; }
.service-loading-skeleton .section-title::after, .service-loading-skeleton .section-title::before { border-radius: 8px; }
.service-loading-skeleton .service-gallery-item::after, .service-loading-skeleton .service-gallery-item::before { border-radius: 12px; }
.service-loading-skeleton .faq-item::after, .service-loading-skeleton .faq-item::before { border-radius: 12px; }
.service-loading-skeleton .hero-bg::after, .service-loading-skeleton .hero-bg::before { border-radius: 0; }

/* 2. Hide Actual Content While Loading */
body.is-loading .hero-title,
body.is-loading .hero-desc,
body.is-loading .hero-actions .btn,
body.is-loading .section-subtitle,
body.is-loading .section-title,
body.is-loading .service-gallery-item,
body.is-loading .faq-item,
body.is-loading .hero-bg {
    color: transparent !important;
    border-color: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    overflow: hidden;
}

body.is-loading .hero-title span,
body.is-loading .hero-actions .btn i {
    color: transparent !important;
    opacity: 0;
}

/* Start Shimmer */
body.is-loading .hero-title::before,
body.is-loading .hero-desc::before,
body.is-loading .hero-actions .btn::before,
body.is-loading .section-subtitle::before,
body.is-loading .section-title::before,
body.is-loading .service-gallery-item::before,
body.is-loading .faq-item::before,
body.is-loading .hero-bg::before {
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.is-loading .hero-title::before,
    body.is-loading .hero-desc::before,
    body.is-loading .hero-actions .btn::before,
    body.is-loading .section-subtitle::before,
    body.is-loading .section-title::before,
    body.is-loading .service-gallery-item::before,
    body.is-loading .faq-item::before,
    body.is-loading .hero-bg::before {
        animation: none;
        background: rgba(255, 255, 255, 0.05);
        transform: none;
    }
}

/* 3. Transition to Loaded State */
.hero-title,
.hero-desc,
.hero-actions .btn,
.section-subtitle,
.section-title,
.service-gallery-item,
.faq-item,
.hero-bg {
    transition: color 0.5s ease, background-color 0.5s ease, border-color 0.5s ease;
}

body.is-loaded .hero-title::after,
body.is-loaded .hero-title::before,
body.is-loaded .hero-desc::after,
body.is-loaded .hero-desc::before,
body.is-loaded .hero-actions .btn::after,
body.is-loaded .hero-actions .btn::before,
body.is-loaded .section-subtitle::after,
body.is-loaded .section-subtitle::before,
body.is-loaded .section-title::after,
body.is-loaded .section-title::before,
body.is-loaded .service-gallery-item::after,
body.is-loaded .service-gallery-item::before,
body.is-loaded .faq-item::after,
body.is-loaded .faq-item::before,
body.is-loaded .hero-bg::after,
body.is-loaded .hero-bg::before {
    opacity: 0;
}

/* ==========================================
   REUSABLE SKELETON CARD
   ========================================== */

.skeleton-card {
    position: relative;
    background-color: var(--bg-secondary);
    border-radius: inherit;
    overflow: hidden;
}

.skeleton-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    z-index: 1;
    transform: translateX(-100%);
    pointer-events: none;
    animation: skeleton-shimmer 1.5s infinite;
}

/* Ensure images and overlays sit above the skeleton background but below the shimmer if needed? 
   Actually, the image should sit above the shimmer, so the image fading in covers the shimmer. */
.skeleton-card img {
    position: relative;
    z-index: 2;
}
.skeleton-card .overlay {
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-card::before {
        animation: none;
        background: rgba(255, 255, 255, 0.05);
        transform: none;
    }
}
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lightbox-bg);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(var(--shadow-rgb), 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(var(--white-rgb), 0.1);
    color: var(--text-light);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    color: var(--btn-disabled-color);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 40px;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 400;
    z-index: 10000;
    background: rgba(var(--white-rgb), 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* ==========================================
   BRANDING SYSTEM
   ========================================== */

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: var(--bg-card, transparent);
}

.brand-logo-wrapper.shape-circle {
    border-radius: 50%;
}

.brand-logo-wrapper.shape-square {
    border-radius: 8px; /* Slightly rounded square */
}

.brand-logo-img {
    width: 100%;
    height: 100%;
}

.brand-logo-wrapper.fit-cover .brand-logo-img {
    object-fit: cover;
}

.brand-logo-wrapper.fit-contain .brand-logo-img {
    object-fit: contain;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .brand-logo-wrapper {
        width: 40px;
        height: 40px;
    }
    .brand-text {
        font-size: 16px; /* Slightly smaller for mobile to fit better */
        line-height: 1.3;
        white-space: normal; /* Allow wrapping */
        word-break: break-word; /* Ensure long words break instead of overflowing */
        max-width: calc(100vw - 120px); /* Leave room for the hamburger and padding */
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Limit to 2 lines for extreme cases */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
