/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn--secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn--white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn--white:hover {
    background-color: #f0f0f0;
}

.btn--text {
    background: none;
    color: var(--color-text);
    text-decoration: underline;
}

.btn--lg {
    min-height: 56px;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn--sm {
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
}

/* Cards */
.card {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: transform 0.2s;
}

.card:hover {
    border-color: var(--color-primary);
}

/* Accordion */
.accordion {
    border-bottom: 1px solid var(--color-border);
}

.accordion__trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: var(--space-sm) 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--color-text);
}

.accordion__content {
    padding-bottom: var(--space-sm);
    color: #555;
    line-height: 1.6;
}

/* Forms */
.form-group {
    margin-bottom: var(--space-sm);
}

label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(200, 164, 93, 0.2);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    /* Mobile bottom sheet style */
    justify-content: center;
}

@media (min-width: 768px) {
    .modal {
        align-items: center;
    }
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.modal__content {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1010;
    animation: slideUp 0.3s ease-out;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .modal__content {
        border-radius: var(--radius-lg);
        animation: fadeInScale 0.3s ease-out;
    }
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}