/* ============================================
   CSS VARIABLES - Amber Gold (#CC912E) Palette
   ============================================ */
:root {
    --gold-dark: #5C3D10;
    --gold-medium: #7A5318;
    --gold-primary: #CC912E;
    --gold-light: #D4A048;
    --gold-lighter: #DCAF62;
    --gold-pale: #E4BE7C;
    --gold-100: #C4A56E;
    --gold-50: #B8944E;
    --bg-light: #C4A56E;
    --bg-card: #FFF5E4;
    --bg-white: #FFF8EE;
    --text-primary: #1A0F00;
    --text-secondary: #3B2808;
    --text-muted: #6B4D1A;
    --border-color: #A88848;
    --shadow-sm: 0 2px 4px rgba(92, 61, 16, 0.1);
    --shadow-md: 0 4px 12px rgba(92, 61, 16, 0.12);
    --shadow-lg: 0 8px 24px rgba(92, 61, 16, 0.15);
    --shadow-xl: 0 12px 36px rgba(92, 61, 16, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    }
}

@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes decorativeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.06;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.1;
    }
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0f00 0%, #3B2808 30%, #6B4D12 60%, #A08442 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-screen.hide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.splash-content {
    text-align: center;
    z-index: 2;
    animation: splashFadeIn 1s ease-out 0.3s both;
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.splash-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    animation: splashLogoIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

@keyframes splashLogoIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.splash-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 4px 20px rgba(204, 145, 46, 0.4));
    position: relative;
    z-index: 2;
}

.splash-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(204, 145, 46, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: splashPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes splashPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

.splash-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.25rem;
    letter-spacing: 0.5px;
    animation: splashFadeIn 0.8s ease-out 0.8s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.splash-content h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gold-light);
    margin: 0 0 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: splashFadeIn 0.8s ease-out 1s both;
}

/* Splash Loader */
.splash-loader {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin: 0 auto 1rem;
    overflow: hidden;
    animation: splashFadeIn 0.5s ease-out 1.2s both;
}

.splash-loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light), #FFFFFF);
    border-radius: 4px;
    animation: splashLoad 2s ease-in-out 0.5s forwards;
    box-shadow: 0 0 10px rgba(204, 145, 46, 0.5);
}

@keyframes splashLoad {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

.splash-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
    animation: splashFadeIn 0.8s ease-out 1.3s both;
}

/* Splash Particles */
.splash-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.splash-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(204, 145, 46, 0.4);
    border-radius: 50%;
    animation: splashParticleFloat 4s ease-in-out infinite;
}

.splash-particle:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; animation-duration: 3s; }
.splash-particle:nth-child(2) { top: 30%; left: 80%; animation-delay: -0.5s; animation-duration: 4s; width: 6px; height: 6px; }
.splash-particle:nth-child(3) { top: 60%; left: 10%; animation-delay: -1s; animation-duration: 3.5s; }
.splash-particle:nth-child(4) { top: 75%; left: 70%; animation-delay: -1.5s; animation-duration: 4.5s; width: 5px; height: 5px; }
.splash-particle:nth-child(5) { top: 20%; left: 50%; animation-delay: -2s; animation-duration: 3.8s; width: 3px; height: 3px; }
.splash-particle:nth-child(6) { top: 85%; left: 35%; animation-delay: -0.8s; animation-duration: 4.2s; }
.splash-particle:nth-child(7) { top: 45%; left: 90%; animation-delay: -1.2s; animation-duration: 3.2s; width: 5px; height: 5px; }
.splash-particle:nth-child(8) { top: 50%; left: 5%; animation-delay: -2.5s; animation-duration: 4.8s; width: 3px; height: 3px; }

@keyframes splashParticleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.5);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) translateX(-10px) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-40px) translateX(20px) scale(1.3);
        opacity: 0.8;
    }
}

/* Responsive Splash */
@media (min-width: 768px) {
    .splash-logo {
        width: 150px;
        height: 150px;
    }

    .splash-glow {
        width: 200px;
        height: 200px;
    }

    .splash-content h2 {
        font-size: 2rem;
    }

    .splash-content h3 {
        font-size: 1.15rem;
    }

    .splash-loader {
        width: 250px;
    }

    .splash-tagline {
        font-size: 1rem;
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: linear-gradient(135deg, var(--gold-medium) 0%, var(--gold-primary) 100%);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    animation: fadeInDown 0.6s ease-out;
}

.header-top {
    display: flex;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 4px;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(10deg) scale(1.1);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.header-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    margin: 0;
}

.header-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Fallback gradient jika gambar tidak termuat */
    background: linear-gradient(135deg, #5C3D10 0%, #7A5318 30%, #CC912E 60%, #D4A048 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 30s ease-in-out infinite alternate;
    filter: brightness(0.6) saturate(1.2);
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, 
            rgba(92, 61, 16, 0.4) 0%, 
            rgba(92, 61, 16, 0.55) 40%,
            rgba(196, 165, 110, 0.85) 100%);
    z-index: 1;
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 7s;
    width: 4px;
    height: 4px;
}

.particle:nth-child(2) {
    top: 40%;
    left: 75%;
    animation-delay: -2s;
    animation-duration: 9s;
    width: 8px;
    height: 8px;
    opacity: 0.2;
}

.particle:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: -4s;
    animation-duration: 6s;
    width: 5px;
    height: 5px;
}

.particle:nth-child(4) {
    top: 25%;
    left: 85%;
    animation-delay: -1s;
    animation-duration: 10s;
    width: 3px;
    height: 3px;
    opacity: 0.4;
}

.particle:nth-child(5) {
    top: 70%;
    left: 60%;
    animation-delay: -3s;
    animation-duration: 8s;
    width: 6px;
    height: 6px;
    opacity: 0.25;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) translateX(-10px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-40px) translateX(20px);
        opacity: 0.7;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Kaaba Icon / Hero Logo */
.hero-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: iconPulse 3s ease-in-out infinite;
    overflow: hidden;
    padding: 8px;
}

.hero-icon i {
    font-size: 2.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.1);
    }
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

/* Decorative Divider */
.hero-divider {
    width: 80px;
    height: 3px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        transparent);
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
        width: 80px;
    }
    50% {
        opacity: 1;
        width: 120px;
    }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--bg-light);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
    z-index: 4;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding: 1rem;
    max-width: 100%;
}

/* ============================================
   SERVICE SECTIONS
   ============================================ */
.service-section {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out both;
}

.service-section:nth-child(1) {
    animation-delay: 0.3s;
}

.service-section:nth-child(2) {
    animation-delay: 0.5s;
}

.service-section:nth-child(3) {
    animation-delay: 0.7s;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    transition: transform 0.3s ease;
}

.section-header:hover {
    transform: translateX(5px);
}

.section-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-medium), var(--gold-primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.section-header:hover .section-icon::before {
    left: 100%;
}

.section-header:hover .section-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(93, 64, 55, 0.3);
}

.section-icon i {
    font-size: 1.2rem;
    color: #FFFFFF;
}

.section-title h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.section-title p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-medium), var(--gold-primary), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(141, 110, 99, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-light);
}

.service-card:active {
    transform: translateY(-4px) scale(0.98);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.25);
}

.service-icon i {
    font-size: 1.4rem;
    color: #FFFFFF;
}

.service-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover .service-name {
    color: var(--gold-medium);
}

/* Last item spans full width on mobile */
.services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
    text-align: left;
    padding: 1rem;
}

.services-grid .service-card:last-child:nth-child(odd) .service-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.services-grid .service-card:last-child:nth-child(odd) .service-icon i {
    font-size: 1.2rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    margin: 1.5rem 0;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

.contact-card {
    background: linear-gradient(135deg, var(--gold-medium), var(--gold-primary));
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #FFFFFF;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.contact-card:hover::before {
    top: -30%;
    right: -30%;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: rotate(10deg) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.contact-icon i {
    font-size: 1.3rem;
}

.contact-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.contact-info p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    animation: bounceIn 0.6s ease-out;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #FFFFFF;
    padding: 0.875rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: gentlePulse 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    font-size: 1.4rem;
}

.whatsapp-text {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-medium));
    color: #FFFFFF;
    margin-top: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.footer-content {
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-logo {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 6px;
}

.footer-logo:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(15deg) scale(1.1);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer-logo i {
    font-size: 1.5rem;
}

.footer-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.footer-info p {
    font-size: 0.85rem;
    margin: 0.25rem 0;
    opacity: 0.9;
}

.footer-address {
    line-height: 1.5;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-contact i {
    font-size: 1rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
}

/* ============================================
   TABLET (480px and up)
   ============================================ */
@media (min-width: 480px) {
    .header {
        padding: 1.25rem 2rem;
    }

    .logo {
        width: 64px;
        height: 64px;
        padding: 6px;
    }

    .header-text h1 {
        font-size: 1.25rem;
    }

    .header-text p {
        font-size: 0.85rem;
    }

    .hero {
        padding: 2.5rem 2rem 3.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .main-content {
        padding: 1.5rem 2rem;
    }

    .section-header {
        margin-bottom: 1.25rem;
    }

    .section-icon {
        width: 52px;
        height: 52px;
    }

    .section-icon i {
        font-size: 1.4rem;
    }

    .section-title h3 {
        font-size: 1.25rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .services-grid .service-card:last-child:nth-child(odd) {
        grid-column: auto;
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 0.75rem;
    }

    .services-grid .service-card:last-child:nth-child(odd) .service-icon {
        width: 56px;
        height: 56px;
    }

    .services-grid .service-card:last-child:nth-child(odd) .service-icon i {
        font-size: 1.4rem;
    }

    .service-icon {
        width: 64px;
        height: 64px;
    }

    .service-icon i {
        font-size: 1.6rem;
    }

    .service-name {
        font-size: 0.9rem;
    }

    .whatsapp-float {
        bottom: 2rem;
        right: 2rem;
    }

    .whatsapp-btn {
        padding: 1rem 1.5rem;
    }

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

    .whatsapp-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   DESKTOP (768px and up)
   ============================================ */
@media (min-width: 768px) {
    .main-content {
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem;
    }

    /* Survey - desktop */
    .survey-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .survey-card {
        padding: 1.5rem;
    }

    .survey-icon-card {
        width: 64px;
        height: 64px;
    }

    .survey-icon-card i {
        font-size: 1.5rem;
    }

    .survey-info h4 {
        font-size: 1.15rem;
    }

    .survey-info p {
        font-size: 0.85rem;
    }

    /* Hero - desktop enhancements */
    .hero {
        padding: 5rem 2rem 6rem;
        min-height: 500px;
    }

    .hero-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 2rem;
        padding: 10px;
    }

    .hero-content h2 {
        font-size: 3rem;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 1.15rem;
        max-width: 600px;
    }

    .hero-divider {
        width: 100px;
        height: 4px;
    }

    /* Section headers - desktop layout */
    .section-header {
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1rem 0;
        position: relative;
    }

    .section-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--gold-light), var(--gold-primary), var(--gold-light));
        border-radius: 2px;
        opacity: 0;
        transition: all 0.4s ease;
    }

    .section-header:hover::after {
        opacity: 1;
        width: 100px;
    }

    .section-icon {
        width: 60px;
        height: 60px;
    }

    .section-icon i {
        font-size: 1.6rem;
    }

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

    .section-title h3 {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* Services grid - desktop */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .services-grid .service-card:last-child:nth-child(odd) {
        grid-column: auto;
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .services-grid .service-card:last-child:nth-child(odd) .service-icon {
        width: 56px;
        height: 56px;
    }

    .services-grid .service-card:last-child:nth-child(odd) .service-icon i {
        font-size: 1.4rem;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-xl);
    }

    .service-icon {
        width: 68px;
        height: 68px;
    }

    .service-icon i {
        font-size: 1.6rem;
    }

    .service-name {
        font-size: 0.95rem;
    }

    /* Contact section - desktop */
    .contact-section {
        margin: 2.5rem 0;
    }

    .contact-card {
        padding: 1.75rem 2rem;
        border-radius: var(--radius-xl);
        justify-content: center;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
    }

    .contact-icon i {
        font-size: 1.5rem;
    }

    .contact-info h4 {
        font-size: 1.15rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    /* Footer - desktop */
    .footer-content {
        padding: 3rem 2rem;
    }

    .footer-logo {
        width: 72px;
        height: 72px;
        padding: 8px;
    }

    .footer-info h5 {
        font-size: 1.25rem;
    }

    .footer-info p {
        font-size: 0.95rem;
    }

    .whatsapp-float {
        bottom: 2.5rem;
        right: 2.5rem;
    }
}

/* ============================================
   LARGE DESKTOP (1024px and up)
   ============================================ */
@media (min-width: 1024px) {
    .main-content {
        max-width: 1200px;
    }

    /* Hero - large desktop */
    .hero {
        padding: 6rem 3rem 7rem;
        min-height: 550px;
    }

    .hero-icon {
        width: 120px;
        height: 120px;
        padding: 12px;
    }

    .hero-content h2 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }

    /* Services grid - 5 columns */
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.75rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        width: 76px;
        height: 76px;
    }

    .service-icon i {
        font-size: 1.8rem;
    }

    .service-name {
        font-size: 1rem;
    }

    /* Enhanced hover on large screens */
    .service-card:hover {
        transform: translateY(-12px) scale(1.03);
    }
}

/* ============================================
   WIDE DESKTOP (1280px and up)
   ============================================ */
@media (min-width: 1280px) {
    .main-content {
        max-width: 1320px;
    }

    .hero {
        padding: 7rem 4rem 8rem;
        min-height: 600px;
    }

    .hero-content h2 {
        font-size: 3.75rem;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 1.35rem;
    }

    .services-grid {
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

/* ============================================
   SURVEY SECTION
   ============================================ */
.survey-section {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.survey-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.survey-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.survey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-medium), var(--gold-primary));
    transition: width 0.3s ease;
}

.survey-card:hover::before {
    width: 6px;
}

.survey-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.survey-icon-card {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold-medium), var(--gold-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(204, 145, 46, 0.25);
}

.survey-card:hover .survey-icon-card {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(204, 145, 46, 0.35);
}

.survey-icon-card i {
    font-size: 1.4rem;
    color: #FFFFFF;
}

.survey-info {
    flex: 1;
}

.survey-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.125rem;
}

.survey-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.survey-arrow {
    width: 36px;
    height: 36px;
    background: var(--gold-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.survey-arrow i {
    font-size: 0.9rem;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.survey-card:hover .survey-arrow {
    background: var(--gold-primary);
    transform: scale(1.1);
}

.survey-card:hover .survey-arrow i {
    color: #FFFFFF;
    transform: translateX(3px);
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 22, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(180deg, #FFF8EE 0%, #F5E8C8 100%);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(92, 61, 16, 0.3);
    border: 2px solid var(--gold-lighter);
    transform: scale(0.8) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, var(--gold-medium), var(--gold-primary));
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    position: relative;
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-icon i {
    font-size: 1.3rem;
    color: #FFFFFF;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* Modal Body */
.modal-body {
    padding: 1.5rem;
}

.modal-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(204, 145, 46, 0.08);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-primary);
    margin-bottom: 1.25rem;
}

.modal-info i {
    font-size: 1.2rem;
    color: var(--gold-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.modal-info strong {
    color: var(--text-primary);
}

.modal-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--gold-medium), var(--gold-primary));
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    background: rgba(204, 145, 46, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.modal-list li:hover {
    background: rgba(204, 145, 46, 0.12);
    transform: translateX(5px);
}

.modal-list li i {
    color: var(--gold-primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Modal Footer */
.modal-footer {
    padding: 0 1.5rem 1.5rem;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--gold-medium), var(--gold-primary));
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(204, 145, 46, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 145, 46, 0.4);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-medium));
}

.modal-btn:active {
    transform: translateY(0);
}

.modal-btn i {
    font-size: 0.9rem;
}

/* Large Modal */
.modal-lg {
    max-width: 640px;
}

/* Modal Services Grid */
.modal-services-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-service-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.modal-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold-medium), var(--gold-primary));
    transition: width 0.3s ease;
}

.modal-service-card:hover::before {
    width: 6px;
}

.modal-service-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.modal-service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold-medium), var(--gold-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(204, 145, 46, 0.25);
}

.modal-service-card:hover .modal-service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(204, 145, 46, 0.35);
}

.modal-service-icon i {
    font-size: 1.4rem;
    color: #FFFFFF;
}

.modal-service-info {
    flex: 1;
}

.modal-service-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.125rem;
}

.modal-service-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.modal-service-arrow {
    width: 36px;
    height: 36px;
    background: var(--gold-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.modal-service-arrow i {
    font-size: 0.9rem;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.modal-service-card:hover .modal-service-arrow {
    background: var(--gold-primary);
    transform: scale(1.1);
}

.modal-service-card:hover .modal-service-arrow i {
    color: #FFFFFF;
    transform: translateX(3px);
}

/* Modal Section */
.modal-section {
    margin-bottom: 1.25rem;
}

.modal-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-pale);
}

.modal-section-title i {
    color: var(--gold-primary);
    font-size: 1rem;
}

/* Detailed List */
.modal-list-detailed {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.modal-list-detailed li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    background: rgba(204, 145, 46, 0.05);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    line-height: 1.5;
}

.modal-list-detailed li i {
    color: var(--gold-primary);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-list-detailed li div {
    flex: 1;
}

/* Modal Note */
.modal-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(204, 145, 46, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-dark);
    margin-bottom: 1.25rem;
}

.modal-note i {
    font-size: 1.2rem;
    color: var(--gold-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-note p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Footer Buttons */
.modal-footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.modal-btn-secondary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(204, 145, 46, 0.2);
}

.modal-btn-secondary:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-medium));
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(204, 145, 46, 0.3);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.service-card:focus,
.whatsapp-float:focus {
    outline: 3px solid var(--gold-primary);
    outline-offset: 2px;
}

/* ============================================
   LOADING STATE
   ============================================ */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}
