/* ==========================================================================
   Design System - Mariachi Gala de México
   ========================================================================== */

/* Google Fonts & Reset */
:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #141417;
    --bg-card: #1b1b20;
    --bg-glass: rgba(20, 20, 23, 0.75);
    
    --gold-light: #fbeea7;
    --gold-main: #d4af37;
    --gold-dark: #b8860b;
    --gold-gradient: linear-gradient(135deg, #fbeea7 0%, #d4af37 50%, #996515 100%);
    
    --crimson-light: #cc1111;
    --crimson-main: #8b0000;
    --crimson-dark: #5c0000;
    --crimson-gradient: linear-gradient(135deg, #cc1111 0%, #8b0000 100%);
    
    --text-primary: #f5efeb;
    --text-muted: #a09e9b;
    --text-dark: #121214;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --border-glass: rgba(212, 175, 55, 0.15);
    --border-focus: rgba(212, 175, 55, 0.5);
    --shadow-gold: 0 8px 32px 0 rgba(212, 175, 55, 0.15);
    --shadow-inset: inset 0 0 10px rgba(0, 0, 0, 0.8);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-main);
}

.contenedor-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-video {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.tarjeta-video:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--border-focus);
}

/* 2. El truco de la proporción 16:9 */
.caja-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Esto mantiene la proporción 16:9 (9 dividido entre 16 = 0.5625) */
    background-color: #000;
}

/* 3. Estilo para que el iframe ocupe todo el espacio de la caja */
.caja-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 20px;
    text-align: center;
}

.video-titulo {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.video-subtitulo {
    font-size: 0.85rem;
    color: var(--gold-main);
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* ==========================================================================
   Reusable Utilities
   ========================================================================== */

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 20px;
}

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

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.grid-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

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

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

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.white-text {
    color: var(--text-primary);
}

.section-title {
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin-top: 15px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.text-center .section-title::after,
.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-title .subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--gold-main);
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title .title-main {
    font-size: 2.5rem;
    line-height: 1.2;
    display: block;
}

.section-desc {
    max-width: 600px;
    margin: -20px auto 50px;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #fff2be 0%, #d4af37 50%, #aa7c11 100%);
}

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

.btn-outline:hover {
    background: var(--gold-gradient);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    z-index: 1001;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 12, 0.95);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-gradient);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--gold-main);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-glass);
    color: var(--gold-main);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}


.hero-description {
    font-size: 1.15rem;
    color: var(--text-primary);
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--gold-main);
    animation: bounce 2s infinite;
    display: inline-block;
    cursor: pointer;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background-color: var(--bg-secondary);
}

.about-image-wrapper {
    position: relative;
    padding: 10px;
}

.about-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-gold);
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold-gradient);
    color: var(--text-dark);
    padding: 20px 25px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.about-experience-badge .badge-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
}

.about-experience-badge .badge-txt {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.4rem;
    margin-top: 3px;
}

.feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
}



/* ==========================================================================
   Audio Player Section
   ========================================================================== */

.audio-section {
    background-color: var(--bg-secondary);
}

.audio-player-wrapper {
    padding: 20px 0;
}

.player-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.player-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-main);
    font-weight: 600;
}

/* Equalizer Visualizer */
.visualizer-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.wave-bar {
    width: 3px;
    background-color: var(--gold-main);
    height: 3px;
    border-radius: 1px;
    transition: height 0.1s ease;
}

.player-card.playing .wave-bar:nth-child(1) { animation: wave 1s infinite alternate; }
.player-card.playing .wave-bar:nth-child(2) { animation: wave 1.2s infinite alternate 0.2s; }
.player-card.playing .wave-bar:nth-child(3) { animation: wave 0.8s infinite alternate 0.4s; }
.player-card.playing .wave-bar:nth-child(4) { animation: wave 1.1s infinite alternate 0.1s; }
.player-card.playing .wave-bar:nth-child(5) { animation: wave 0.9s infinite alternate 0.3s; }

@keyframes wave {
    0% { height: 3px; }
    100% { height: 18px; }
}

.player-info {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.album-art {
    width: 80px;
    height: 80px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--gold-main);
    box-shadow: var(--shadow-inset);
    position: relative;
}

.vinyl-spin {
    animation: rotate 12s linear infinite;
    animation-play-state: paused;
}

.player-card.playing .vinyl-spin {
    animation-play-state: running;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.track-details {
    overflow: hidden;
}

.track-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.track-artist {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Progress bar */
.player-progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.time-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 35px;
}

.progress-bar-bg {
    flex-grow: 1;
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    border-radius: 10px;
    position: relative;
}

/* Controls */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    color: var(--gold-main);
}

.control-btn.play-btn {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: var(--text-dark);
    border-radius: 50%;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.control-btn.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

/* Volume */
.player-volume-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-muted);
}

.player-volume-container i {
    cursor: pointer;
}

.player-volume-container i:hover {
    color: var(--text-primary);
}

.volume-slider {
    width: 100px;
    height: 4px;
    accent-color: var(--gold-main);
    cursor: pointer;
}

/* Playlist Right Side */
.audio-text-content {
    display: flex;
    flex-direction: column;
}

.music-p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(212, 175, 55, 0.2);
}

.playlist-item.active {
    border-color: var(--gold-main);
    background: rgba(212, 175, 55, 0.04);
}

.item-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-main);
    margin-right: 20px;
    font-weight: bold;
}

.item-info {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
}

.item-title {
    font-size: 0.95rem;
    font-weight: 500;
}

.playlist-item.active .item-title {
    color: var(--gold-light);
    font-weight: 600;
}

.item-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.item-play-btn {
    background: transparent;
    border: none;
    color: var(--gold-main);
    cursor: pointer;
    font-size: 0.9rem;
}

.playlist-item.active .item-play-btn i::before {
    content: "\f04b"; /* Font Awesome Pause icon is handled in script, defaults to play icon */
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-section {
    background-color: var(--bg-primary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-glass);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--gold-main);
    transform: translateY(20px);
    transition: transform var(--transition-fast);
}

.overlay-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    transform: translateY(20px);
    transition: transform var(--transition-fast) 0.05s;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay .overlay-title {
    transform: translateY(0);
}

.gallery-action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ==========================================================================
   Repertoire Section
   ========================================================================== */

.repertoire-section {
    background-color: var(--bg-primary);
}

.repertoire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.repertoire-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 20px 25px;
    border-radius: 6px;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.repertoire-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold-main);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
}

.repertoire-title-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.repertoire-card-title i {
    font-size: 1.2rem;
    color: var(--gold-main);
}

.repertoire-card-title .chevron-icon {
    font-size: 0.9rem;
    transition: transform var(--transition-smooth);
}

.repertoire-card.active .repertoire-card-title .chevron-icon {
    transform: rotate(180deg);
}

.repertoire-card.active .repertoire-card-title {
    margin-bottom: 20px;
}

.repertoire-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.repertoire-card.active .repertoire-content {
    max-height: 500px;
    transition: max-height var(--transition-smooth);
}

.repertoire-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.repertoire-list li {
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    transition: all var(--transition-fast);
}

.repertoire-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.repertoire-list li span:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.repertoire-list li .composer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.repertoire-list li:hover span:first-child {
    color: var(--gold-light);
}

.repertoire-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
    text-align: center;
}

/* ==========================================================================
   Coverage Section
   ========================================================================== */

.coverage-section {
    background-color: var(--bg-secondary);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.coverage-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 30px 25px;
    border-radius: 6px;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.coverage-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-main);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.coverage-card-title i {
    font-size: 1.1rem;
    color: var(--gold-main);
}

.coverage-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coverage-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-fast);
}

.coverage-list li::before {
    content: "\f3c5"; /* Font Awesome map-marker-alt icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold-main);
    font-size: 0.8rem;
}

.coverage-list li:hover {
    color: var(--text-primary);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 8, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.lightbox-caption {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10001;
}

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

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--gold-gradient);
    color: var(--text-dark);
    border-color: transparent;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 8, 0.95);
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.video-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
}

.video-close:hover {
    color: var(--gold-main);
}

/* ==========================================================================
   Calculator & Booking Section
   ========================================================================== */

.quote-section {
    background-color: var(--bg-secondary);
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.booking-form .form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group select,
.form-group input {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group select:focus,
.form-group input:focus {
    border-color: var(--gold-main);
    box-shadow: 0 0 0 1px var(--gold-main);
}

/* Price card display */
.price-display-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(20, 20, 23, 0.9) 100%);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-display-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
}

.price-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--gold-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.price-amount-container {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.price-currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-main);
}

.price-clarification {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.booking-summary-box {
    background: var(--bg-primary);
    border: 1px dashed var(--border-glass);
    border-radius: 4px;
    padding: 20px;
    text-align: left;
    margin-bottom: 30px;
}

.booking-summary-box h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-main);
    margin-bottom: 15px;
}

.summary-list {
    list-style: none;
}

.summary-list li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    background-color: var(--bg-primary);
}

/* Testimonials Multi-Card Slider */
.testimonials-slider-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 20px 45px; /* Leave space for arrows */
}

.testimonial-slides-window {
    overflow: hidden;
    width: 100%;
}

.testimonial-slides-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}

.testimonial-slide-card {
    flex: 0 0 calc(33.333% - 13.33px); /* 3 cards on desktop */
    box-sizing: border-box;
    transition: transform var(--transition-smooth);
}

@media (max-width: 991px) {
    .testimonial-slide-card {
        flex: 0 0 calc(50% - 10px); /* 2 cards on tablet */
    }
}

@media (max-width: 600px) {
    .testimonial-slide-card {
        flex: 0 0 100%; /* 1 card on mobile */
    }
    .testimonials-slider-container {
        padding: 20px 10px; /* Less space on mobile */
    }
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid var(--border-glass);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
    background: var(--gold-main);
    color: var(--bg-secondary);
    border-color: var(--gold-main);
    box-shadow: var(--shadow-gold);
}

.slider-arrow-prev {
    left: 0;
}

.slider-arrow-next {
    right: 0;
}

@media (max-width: 600px) {
    .slider-arrow {
        display: none; /* Hide arrows on mobile */
    }
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot:hover, .slider-dot.active {
    background-color: var(--gold-main);
    transform: scale(1.2);
}

.google-reviews-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px auto;
    max-width: 1000px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.google-reviews-summary .summary-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.google-reviews-summary .google-logo-wrapper {
    display: flex;
    align-items: center;
}

.google-reviews-summary .google-label {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.google-reviews-summary .summary-rating {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.google-reviews-summary .rating-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.google-reviews-summary .total-reviews {
    color: var(--text-muted);
    margin-left: 6px;
}

.google-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

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

.google-review-card .review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    width: 100%;
}

.google-review-card .user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.google-review-card .user-meta {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.google-review-card .user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    text-align: left;
}

.google-review-card .review-date-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    text-align: left;
}

.google-review-card .google-icon {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
}

.google-review-card .review-rating {
    display: flex;
    align-items: center;
}

.google-review-card .stars {
    color: #fbbc05; /* Google star color */
    display: flex;
    gap: 3px;
    font-size: 0.95rem;
}

.google-review-card .review-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
    font-style: normal;
    text-align: left;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    background-color: var(--bg-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 22px 30px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--gold-main);
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--gold-main);
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px; /* Large value to accommodate content */
    padding-bottom: 25px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */

.footer {
    background-color: var(--bg-primary);
    position: relative;
    padding-top: 80px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--gold-gradient);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.1rem;
    color: var(--gold-main);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-main);
    padding-left: 5px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-info-list i {
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-cta-wrapper {
    margin-top: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Payment Methods Section
   ========================================================================== */

.payments-section {
    background-color: var(--bg-primary);
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.payment-card-3d {
    background: transparent;
    perspective: 1000px;
    height: 180px;
    cursor: pointer;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* On hover or active, flip the card */
.payment-card-3d:hover .card-3d-inner,
.payment-card-3d.flipped .card-3d-inner {
    transform: rotateY(180deg);
}

.card-3d-front, .card-3d-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card-3d-front {
    background-color: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.card-3d-back {
    background-color: var(--bg-card);
    transform: rotateY(180deg);
    box-shadow: var(--shadow-gold);
}

.logo-container {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container svg,
.logo-container img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.payment-card-3d:hover .logo-container svg,
.payment-card-3d:hover .logo-container img {
    transform: scale(1.1);
}

.tap-hint {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-main);
    margin-top: 10px;
    opacity: 0.6;
}

.card-3d-back h4 {
    font-size: 0.95rem;
    color: var(--gold-light);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.card-3d-back p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .grid-3col {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .navbar {
        padding: 5px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        gap: 35px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-glass);
        z-index: 999;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-cta {
        display: none; /* Shown inside the mobile menu drawer or small action buttons */
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-experience-badge {
        right: 0;
    }
}

@media (max-width: 576px) {
    .section-container {
        padding: 60px 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-large {
        width: 100%;
    }

    .booking-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 15px; right: 20px; font-size: 30px; }

    .price-number {
        font-size: 3rem;
    }

    .whatsapp-floating-btn {
        left: 5px;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 45px;
        height: 45px;
    }

    .whatsapp-floating-btn svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-badge {
        width: 15px;
        height: 15px;
        font-size: 8px;
        top: -3px;
        right: -3px;
    }

    .scroll-to-top-btn {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    outline: none;
}

.scroll-to-top-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #fff2be 0%, #d4af37 50%, #aa7c11 100%);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-floating-btn {
    position: fixed;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.whatsapp-floating-btn svg {
    width: 28px;
    height: 28px;
}

.whatsapp-floating-btn.visible {
    opacity: 0.8;
    visibility: visible;
}

.whatsapp-floating-btn.visible.scrolling {
    opacity: 0.45;
}

.whatsapp-floating-btn.visible:hover {
    opacity: 1;
    transform: translateY(-50%) translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-btn.has-notification {
    animation: pulse-green-glow 2s infinite;
}

@keyframes pulse-green-glow {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.75), 0 0 0 10px rgba(37, 211, 102, 0.15); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

/* WhatsApp Badge & Chat Box Widget */
.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
    animation: pulse-badge 2s infinite;
    z-index: 2002;
}

@keyframes pulse-badge {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.whatsapp-chat-box {
    position: fixed;
    top: 50%;
    left: 75px;
    transform: translateY(-50%) translateX(-20px);
    width: 300px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
    font-family: var(--font-body);
}

.whatsapp-chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.chat-box-header {
    background: var(--gold-gradient);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-dark);
}

.chat-box-avatar-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-box-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--text-dark);
    background-color: var(--bg-primary);
    overflow: hidden;
}

.chat-box-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border: 1.5px solid var(--text-dark);
    border-radius: 50%;
}

.chat-box-info {
    display: flex;
    flex-direction: column;
}

.chat-box-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.chat-box-status {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.8;
    color: var(--text-dark);
}

.chat-box-close {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: transform var(--transition-fast);
}

.chat-box-close:hover {
    transform: scale(1.1);
}

.chat-box-body {
    padding: 20px 15px;
    background-color: var(--bg-primary);
    background-image: radial-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 0);
    background-size: 16px 16px;
    min-height: 90px;
    display: flex;
    align-items: flex-start;
}

.chat-box-message {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 0 12px 12px 12px;
    padding: 10px 12px;
    max-width: 85%;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.chat-box-message p {
    margin: 0 0 4px 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.chat-box-time {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: right;
}

.chat-box-footer {
    padding: 12px 15px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: center;
}

.chat-box-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #25d366;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.chat-box-send-btn:hover {
    background-color: #20ba59;
    transform: translateY(-2px);
    color: #fff;
}

/* ==========================================================================
   Floating Call Button & Label
   ========================================================================== */
.call-floating-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 2000;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.call-floating-btn {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    text-decoration: none;
    position: relative;
    z-index: 2000;
}

.call-floating-btn.visible {
    opacity: 0.85;
    visibility: visible;
}

.call-floating-btn.visible.scrolling {
    opacity: 0.35;
}

.call-floating-btn.visible:hover {
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.call-floating-label {
    position: absolute;
    left: 58px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background-color: var(--bg-secondary);
    border: 1px solid var(--gold-main);
    color: var(--gold-main);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: bounce-label 3s infinite;
}

.call-floating-label::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--gold-main);
    border-bottom: 1px solid var(--gold-main);
}

@keyframes bounce-label {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(4px); }
}

@media (max-width: 768px) {
    .whatsapp-chat-box {
        left: 20px;
        right: 20px;
        width: auto;
        top: auto;
        bottom: 90px;
        transform: translateY(20px);
    }
    .whatsapp-chat-box.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .call-floating-container {
        bottom: 15px;
        left: 15px;
    }
    
    .call-floating-btn {
        width: 45px;
        height: 45px;
    }

    .call-floating-btn svg {
        width: 18px;
        height: 18px;
    }

    .call-floating-label {
        left: 52px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

