/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Gold */
    --gold-50: #fbf8ed;
    --gold-100: #f4eccf;
    --gold-200: #ead8a2;
    --gold-300: #dfbd6c;
    --gold-400: #d5a143;
    --gold-500: #c5a02e;
    --gold-600: #a68024;
    --gold-700: #83621f;
    --gold-800: #6d5120;
    --gold-900: #5e451f;

    /* Colors - Beige */
    --beige-50: #F9F7F2;
    --beige-100: #F2EDE4;

    /* Colors - Bronze */
    --bronze-900: #2D2926;

    /* Colors - Stone */
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --stone-950: #0c0a09;

    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--beige-50);
    color: var(--stone-900);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--stone-100);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    fill: var(--bronze-900);
    letter-spacing: 0.2em;
}

.logo-subtext {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 800;
    fill: var(--gold-600);
    letter-spacing: 0.3em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--stone-600);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-600);
}

.btn-whatsapp-menu {
    background: var(--gold-500);
    color: var(--bronze-900);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp-menu:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.chevron-icon {
    transition: transform 0.3s;
}

.btn-whatsapp-menu.active .chevron-icon {
    transform: rotate(180deg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--bronze-900);
    cursor: pointer;
    padding: 0.5rem;
}

/* WhatsApp Dropdown */
.whatsapp-dropdown {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    width: 320px;
    background: white;
    border: 1px solid var(--gold-100);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.whatsapp-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    background: var(--beige-50);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gold-100);
}

.dropdown-header p {
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-600);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--stone-50);
    transition: background 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--beige-50);
}

.dropdown-icon {
    background: var(--gold-100);
    color: var(--gold-600);
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-icon svg {
    width: 16px;
    height: 16px;
}

.dropdown-content {
    flex: 1;
}

.dropdown-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bronze-900);
    margin-bottom: 0.25rem;
}

.dropdown-desc {
    font-size: 0.625rem;
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--stone-100);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    text-decoration: none;
    color: var(--stone-600);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--stone-100);
}

.btn-whatsapp-menu.mobile {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .whatsapp-dropdown {
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bronze-900), rgba(45, 41, 38, 0.8), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    color: var(--gold-500);
    font-weight: 700;
    letter-spacing: 0.5em;
    font-size: 0.625rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-title-italic {
    color: var(--gold-300);
    font-style: italic;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--stone-300);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--bronze-900);
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 0.6875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid var(--gold-500);
    color: var(--bronze-900);
    background: var(--gold-500);
    padding: 1.25rem 2.5rem;
    font-size: 0.6875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: var(--gold-400);
    color: var(--bronze-900);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.hero-card:hover {
    border-color: rgba(197, 160, 46, 0.5);
}

.hero-card.gold {
    background: var(--gold-500);
    border: none;
    transform: translateY(3rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-card .card-icon {
    color: var(--gold-500);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.hero-card.gold .card-icon {
    color: var(--bronze-900);
}

.hero-card:hover .card-icon {
    transform: scale(1.1);
}

.hero-card .card-icon svg {
    width: 32px;
    height: 32px;
}

.hero-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-card.gold h3 {
    color: var(--bronze-900);
}

.hero-card p {
    color: var(--stone-400);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-card.gold p {
    color: var(--bronze-800);
}

.hero-card .card-link {
    color: var(--gold-500);
    font-size: 0.625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-card.gold .card-link {
    color: var(--bronze-900);
}

.hero-card .card-link svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-cards {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   AUTHORITY SECTION
   ======================================== */
.authority-section {
    background: white;
    padding: 4rem 0;
    border-top: 1px solid var(--stone-100);
    border-bottom: 1px solid var(--stone-100);
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.authority-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.authority-icon {
    color: var(--gold-500);
    margin-bottom: 1.5rem;
}

.authority-icon svg {
    width: 40px;
    height: 40px;
}

.authority-point h4 {
    font-size: 0.6875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bronze-900);
    margin-bottom: 0.5rem;
}

.authority-point p {
    font-size: 0.75rem;
    color: var(--stone-500);
    font-weight: 500;
    padding: 0 1rem;
}

@media (max-width: 1024px) {
    .authority-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .authority-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 6rem 0;
    background: var(--beige-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-border {
    position: absolute;
    inset: -1rem;
    border: 1px solid rgba(197, 160, 46, 0.2);
    transform: translate(1rem, 1rem);
    transition: transform 0.3s;
    z-index: -1;
}

.about-visual:hover .about-border {
    transform: translate(0.5rem, 0.5rem);
}

.about-box {
    background: var(--bronze-900);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.about-logo-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.5);
    pointer-events: none;
}

.logo-large {
    height: 400px;
    width: auto;
}

.about-divider {
    width: 80px;
    height: 4px;
    background: var(--gold-500);
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.about-quote {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    color: var(--gold-100);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.about-est {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-weight: 900;
    color: rgba(197, 160, 46, 0.8);
    position: relative;
    z-index: 10;
}

.section-label {
    color: var(--gold-500);
    font-weight: 700;
    letter-spacing: 0.4em;
    font-size: 0.5625rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--bronze-900);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.section-title .italic {
    font-style: italic;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: var(--stone-600);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gold-600);
    font-weight: 900;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: gap 0.3s;
}

.link-arrow:hover {
    gap: 1.25rem;
}

.link-arrow svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .about-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-quote {
        font-size: 1.5rem;
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 6rem 0;
    background: white;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 1.5rem;
}

.section-subtitle {
    color: var(--stone-500);
    font-weight: 300;
}

.link-underline {
    color: var(--gold-500);
    font-weight: 900;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-bottom: 2px solid var(--gold-100);
    padding-bottom: 0.25rem;
    transition: border-color 0.3s;
}

.link-underline:hover {
    border-color: var(--gold-500);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--beige-50);
    border: 1px solid var(--stone-100);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
}

.service-card:hover {
    background: var(--bronze-900);
}

.service-category {
    font-size: 0.5625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.service-category.geo {
    color: var(--gold-500);
}

.service-category.eng {
    color: var(--stone-400);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--bronze-900);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-card:hover .service-title {
    color: white;
}

.service-desc {
    color: var(--stone-500);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    transition: color 0.3s;
}

.service-card:hover .service-desc {
    color: var(--stone-400);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-500);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: color 0.3s;
}

.service-card:hover .service-link {
    color: var(--gold-300);
}

.service-link svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .services-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 8rem 0;
    background: var(--stone-950);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
    opacity: 0.2;
}

.cta-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-logo {
    height: 96px;
    width: auto;
    margin: 0 auto 2.5rem;
    opacity: 0.8;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 3.75rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--stone-400);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: var(--gold-500);
    color: var(--bronze-900);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-cta:hover {
    background: var(--gold-400);
    transform: translateY(-4px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 5rem 0;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bronze-900);
    color: var(--stone-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    color: var(--gold-500);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--stone-400);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--gold-500);
}

.footer-link svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}