* {
    font-family: 'Alexandria', sans-serif;
}

:root {
    --bg: #faf7f2;
    --bg-alt: #ffffff;
    --fg: #000000;
    --fg-light: #000000;
    --muted: #cba87c;
    --accent-blue: #bb965f;
    --accent-teal: #efa83e;
    --accent-light: #ebd08d;
    --card: rgba(255, 255, 255, 0.9);
    --border: rgba(187, 150, 95, 0.2);
    --shadow: rgba(187, 150, 95, 0.1);

    --color-gold: #bb965f;
    --color-orange: #efa83e;
    --color-brown-light: #a27b63;
    --color-brown-dark: #504336;
    --color-gold-light: #ebd08d;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
}

h1 {
    line-height: 1.5 !important;
}

h2 {
    line-height: 1.45 !important;
    color: var(--color-brown-dark);
}

h3 {
    line-height: 1.5 !important;
    color: var(--color-brown-dark);
}

h4 {
    line-height: 1.5 !important;
}

.hero-bg {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(187, 150, 95, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(239, 168, 62, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.particle-blue {
    background: radial-gradient(circle, rgba(187, 150, 95, 0.4) 0%, transparent 70%);
}

.particle-teal {
    background: radial-gradient(circle, rgba(239, 168, 62, 0.4) 0%, transparent 70%);
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.shimmer-active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

i.fa-solid,
i.fa-brands,
i.fa-regular {
    filter: drop-shadow(0 0 8px rgba(239, 168, 62, 0.2));
    transition: transform 0.3s ease;
}

i:hover {
    transform: scale(1.15);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(187, 150, 95, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(187, 150, 95, 0.4);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-right {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-up {
    animation: slide-up 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slide-right 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 247, 242, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(187, 150, 95, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(187, 150, 95, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #bb965f 0%, #efa83e 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(187, 150, 95, 0.3);
}

.btn-outline {
    border: 2px solid #bb965f;
    color: #bb965f;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #bb965f 0%, #efa83e 100%);
    color: white;
}

.img-hover {
    overflow: hidden;
}

.img-hover img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-hover:hover img {
    transform: scale(1.1);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    color: var(--bg);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #bb965f, #efa83e);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-teal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(187, 150, 95, 0.15);
}

.nav-scrolled .nav-link {
    color: var(--fg-light);
}

.nav-scrolled .nav-link:hover {
    color: var(--accent-blue);
}

.logo-text {
    color: var(--bg);
    transition: color 0.3s ease;
}

.logo-subtext {
    color: var(--accent-teal);
    transition: color 0.3s ease;
}

.nav-scrolled .logo-text {
    color: var(--fg);
}

.nav-scrolled .logo-subtext {
    color: var(--accent-blue);
}

.nav-scrolled #mobile-menu-btn {
    color: var(--fg) !important;
}

.service-icon {
    background: linear-gradient(135deg, rgba(187, 150, 95, 0.1) 0%, rgba(239, 168, 62, 0.1) 100%);
    border: 1px solid rgba(187, 150, 95, 0.2);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    animation: pulse-glow 2s infinite;
}

.phone-float {
    position: fixed;
    bottom: 110px;
    left: 30px;
    z-index: 1000;
    animation: pulse-glow 2s infinite;
    animation-delay: 1s;
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(187, 150, 95, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(187, 150, 95, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

*:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #bb965f, #efa83e);
    border-radius: 4px;
}

.section-divider {
    background: linear-gradient(90deg, transparent, rgba(187, 150, 95, 0.2), transparent);
    height: 1px;
}

.gradient-text {
    background: linear-gradient(135deg, #ebd08d 0%, #efa83e 50%, #bb965f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}