
/* ============================================
   LA VIDA WEDDINGS - FINAL ENQUIRY FORM
   Compact Luxury Design | Gold Borders
============================================ */

.lvw-enquiry-form {
    --lvw-gold: #a77b48;
    --lvw-gold-dark: #805b34;
    --lvw-ink: #29251f;
    --lvw-muted: #82796d;
    --lvw-border: #d6c7b3;
    --lvw-cream: #fbf8f3;

    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #e8dfd2;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(50, 38, 24, 0.06);
    color: var(--lvw-ink);
    overflow: hidden;
}

/* Decorative top line */

.lvw-enquiry-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7%;
    width: 86%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #c9a775,
        #a77b48,
        #c9a775,
        transparent
    );
}

/* Heading */

.lvw-enquiry-form h3 {
    margin: 0 0 22px;
    color: var(--lvw-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 3vw, 30px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.4px;
}

/* Description */

.lvw-enquiry-form > p {
    margin: 0 0 20px;
    color: var(--lvw-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* Two-column grid */

.lvw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 16px;
}

/* Field labels */

.lvw-grid label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
    margin: 0;
    color: #494239;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

/* Required star */

.lvw-grid label span {
    display: inline;
    color: var(--lvw-gold);
}

/* Keep required star on the same line as label text.
   The label text and star must be inside the same
   inline wrapper in the HTML for this to work. */

.lvw-grid label .lvw-label-text {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* Required star styling */

.lvw-grid label .lvw-required,
.lvw-grid label .required,
.lvw-grid label .required-star {
    display: inline;
    color: var(--lvw-gold);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* ============================================
   INPUTS, SELECTS & TEXTAREAS
============================================ */

.lvw-grid input,
.lvw-grid select,
.lvw-grid textarea {
    box-sizing: border-box !important;
    display: block;
    width: 100% !important;
    min-width: 0;
    min-height: 43px;
    margin: 0;
    padding: 10px 12px !important;

    border: 1.5px solid var(--lvw-border) !important;
    border-radius: 8px !important;

    background: #fff !important;
    color: var(--lvw-ink) !important;

    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;

    outline: none !important;
    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

/* Placeholder */

.lvw-grid input::placeholder,
.lvw-grid textarea::placeholder {
    color: #a49a8d !important;
    opacity: 1;
}

/* Hover */

.lvw-grid input:hover,
.lvw-grid select:hover,
.lvw-grid textarea:hover {
    border-color: #b89a73 !important;
}

/* Focus */

.lvw-grid input:focus,
.lvw-grid select:focus,
.lvw-grid textarea:focus {
    border-color: var(--lvw-gold) !important;
    background: #fffefa !important;
    box-shadow: 0 0 0 3px rgba(167, 123, 72, 0.11) !important;
}

/* Dropdown */

.lvw-grid select {
    cursor: pointer;
}

/* Compact textareas */

.lvw-grid textarea {
    height: 76px;
    min-height: 76px;
    resize: vertical;
}

/* Full-width field */

.lvw-wide {
    grid-column: 1 / -1;
}

/* ============================================
   CONSENT CHECKBOX
   Proper space above the consent section
============================================ */

.lvw-consent {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 22px 0 18px !important;
    padding: 13px 14px;

    border: 1px solid #e8dfd2;
    border-radius: 9px;
    background: var(--lvw-cream);

    color: #6f665a;
    font-size: 11px;
    line-height: 1.6;
}

.lvw-consent label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.lvw-consent input {
    flex: 0 0 15px;
    width: 15px !important;
    height: 15px;
    min-height: 15px;
    margin: 2px 0 0;
    padding: 0 !important;
    accent-color: var(--lvw-gold);
    cursor: pointer;
}

/* ============================================
   SUBMIT BUTTON
============================================ */

.lvw-enquiry-form button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 45px;
    margin: 0;
    padding: 12px 24px;

    border: 1px solid var(--lvw-gold);
    border-radius: 7px;

    background: linear-gradient(
        135deg,
        #b18a59 0%,
        #91683e 100%
    );

    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.6px;
    text-transform: uppercase;

    cursor: pointer;
    box-shadow: 0 5px 14px rgba(139, 99, 53, 0.15);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.lvw-enquiry-form button:hover {
    transform: translateY(-1px);
    background: linear-gradient(
        135deg,
        #9d7546 0%,
        #76532f 100%
    );
    box-shadow: 0 8px 18px rgba(139, 99, 53, 0.22);
}

.lvw-enquiry-form button:active {
    transform: translateY(0);
}

.lvw-enquiry-form button:focus-visible {
    outline: 3px solid rgba(167, 123, 72, 0.3);
    outline-offset: 3px;
}

.lvw-enquiry-form button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Privacy note */

.lvw-privacy {
    margin: 8px 0 0;
    color: #958b7e;
    font-size: 10px;
    line-height: 1.5;
}

/* ============================================
   SUCCESS & ERROR NOTICES
============================================ */

.lvw-notice {
    box-sizing: border-box;
    width: 100%;
    max-width: 860px;
    margin: 18px auto;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.lvw-success {
    border: 1px solid #cde6d1;
    background: #f1faf2;
    color: #28643a;
}

.lvw-error {
    border: 1px solid #f0d2ca;
    background: #fff5f2;
    color: #973d30;
}

/* Honeypot anti-spam field */

.lvw-honey {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ============================================
   TABLET
============================================ */

@media (min-width: 601px) and (max-width: 900px) {
    .lvw-enquiry-form {
        max-width: 100%;
        padding: 25px;
    }

    .lvw-grid {
        gap: 14px;
    }
}

/* ============================================
   MOBILE
============================================ */

@media (max-width: 600px) {
    .lvw-enquiry-form {
        width: 100%;
        max-width: 100%;
        margin: 15px auto;
        padding: 22px 16px;
        border-radius: 12px;
    }

    .lvw-enquiry-form h3 {
        font-size: 25px;
        line-height: 1.3;
    }

    .lvw-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .lvw-wide {
        grid-column: auto;
    }

    .lvw-grid input,
    .lvw-grid select,
    .lvw-grid textarea {
        min-height: 46px;
        margin: 16px 0 28px !important;
        padding: 10px 12px !important;
        font-size: 16px;
    }

    .lvw-grid textarea {
        height: 76px;
        min-height: 76px;
    }

    .lvw-consent {
        margin: 16px 0 28px !important;
        padding: 15px;
    }

    .lvw-enquiry-form button {
        width: 100%;
        min-height: 46px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .lvw-enquiry-form *,
    .lvw-enquiry-form *::before,
    .lvw-enquiry-form *::after {
        transition: none !important;
        animation: none !important;
    }
}
