/* Reusable interface components shared across sections. */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer-brand .logo img {
    height: 64px;
}

.logo-provider {
    color: var(--gold-dark);
    font-size: .58em;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(200, 153, 58, .12);
    border: 1px solid rgba(200, 153, 58, .24);
    line-height: 1.2;
}

.footer-brand .logo-provider {
    color: var(--gold-soft);
    background: rgba(200, 153, 58, .16);
    border-color: rgba(224, 179, 88, .30);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--r);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    min-height: 46px;
    text-align: center;
    line-height: 1.35;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 35, 68, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background-color: rgba(200, 153, 58, 0.05);
    transform: translateY(-2px);
}

/* Sections General */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sec-label {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.sec-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-0);
    margin-bottom: 16px;
}

.sec-lead {
    font-size: 18px;
    color: var(--text-1);
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    margin: 0;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-0);
    font-weight: 800;
    font-size: 14px;
}

.form-group label span {
    color: var(--text-2);
    font-size: 12px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border-radius: var(--r);
    border: 1px solid rgba(26, 21, 16, .12);
    background-color: var(--bg-1);
    font-size: 15px;
    color: var(--text-0);
    outline: none;
    transition: var(--transition);
}

select.form-control {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--primary) 50%),
        linear-gradient(135deg, var(--primary) 50%, transparent 50%);
    background-position:
        left 20px center,
        left 14px center;
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
    padding-left: 42px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.7;
}

.form-control::placeholder {
    color: rgba(92, 82, 70, .58);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(128, 35, 68, .10);
}

.contact-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 22px;
    font-size: 16px;
    border-radius: var(--r);
}

.form-message {
    min-height: 22px;
    margin: 14px 0 0;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.form-message.is-error {
    color: #b3261e;
}

.form-message.is-success {
    color: #177245;
}

.photo-modal-open {
    overflow: hidden;
}

.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 6, 0.88);
    backdrop-filter: blur(8px);
    padding: 28px;
}

.photo-modal.is-open {
    display: flex;
}

.photo-modal img {
    max-width: min(96vw, 1500px);
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.photo-modal-close {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.photo-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.04);
}

.photo-modal-trigger {
    cursor: zoom-in;
}

/* Floating WA */
.wa-float {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(26, 21, 16, 0.14);
    z-index: 999;
    transition: var(--transition);
}

.wa-float img {
    width: 28px;
    height: 28px;
    display: block;
    cursor: pointer;
}

.join-float {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 22px;
    border-radius: 999px;
    color: #fff;
    background:
        linear-gradient(135deg, var(--primary), var(--primary-light));
    border: 1px solid rgba(200, 153, 58, .38);
    box-shadow:
        0 14px 34px rgba(128, 35, 68, .28),
        inset 0 1px 0 rgba(255, 255, 255, .12);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    transition: background-color .25s ease, box-shadow .25s ease;
}

.join-float:hover {
    background:
        linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow:
        0 16px 38px rgba(128, 35, 68, .34),
        inset 0 1px 0 rgba(255, 255, 255, .16);
}

.join-float svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-brand .logo {
    color: #fff;
}

.field-error {
    display: none;
    margin-top: 6px;
    color: #b3261e;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.field-error:not(:empty) {
    display: block;
}

.form-control[aria-invalid="true"] {
    border-color: #b3261e;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(179, 38, 30, .10);
}

.contact-submit:disabled {
    cursor: not-allowed;
    opacity: .72;
}
