:root {
    --tp-green: #6B9236;
    --tp-blue: #1E88C7;
    --tp-yellow: #E8A62B;
    --tp-black: #1A1A1A;
    --tp-white: #ffffff;
}

body {
    font-family: "Bai Jamjuree", system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.brand-gradient {
    background: linear-gradient(
            135deg,
            var(--tp-green) 0%,
            #A6C96A 40%,
            var(--tp-white) 100%
    );
}

.card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    border-radius: 16px;
}

.btn {
    padding: .7rem 1rem;
    border-radius: .75rem;
    font-weight: 700;
}

.nav-link.active {
    color: var(--tp-green);
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--tp-green);
    border-radius: 2px;
}

#langToggle {
    position: relative;
    min-width: 60px;
    text-align: center;
    transition: background-color 0.3s;
}

#langToggle.es #currentLang::after {
    content: ' / EN';
    opacity: 0.5;
}

#langToggle.en #currentLang::after {
    content: ' / ES';
    opacity: 0.5;
}

#langToggle:hover {
    background-color: var(--tp-green);
    color: white;
}

.form-control { position: relative; padding-bottom: 10px; }
.error-input { border-color: #ef4444 !important; background-color: #fef2f2 !important; }

.error-message {
    position: absolute;
    left: 10px;
    top: 90%;
    transform: translateY(2px);
    color: #ef4444;
    font-size: 0.75rem;
    line-height: 1rem;
}

#contactForm .error-message { grid-column: auto; margin: 0; }
#contactForm textarea + .error-message { grid-column: auto; }