/* ========== BASE STYLES ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0d9488;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #0d9488;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    border: 2px solid #0d9488;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-size: 1rem;
    line-height: 1.4;
}

.btn-secondary:hover {
    background: #0d9488;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========== NAVBAR ========== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0d9488;
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 60%;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ========== SELECTION ========== */
::selection {
    background: #ccfbf1;
    color: #134e4a;
}

/* ========== FOCUS VISIBLE ========== */
:focus-visible {
    outline: 3px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
}

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

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .btn-pulse {
        animation: none !important;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    nav, .btn-pulse, #contact-form, .map-container {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
