/* ============================================
   MX ESTIMATION — ORDER FORM STYLES
   Matching mxestimation.com brand identity
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors — from mxestimation.com */
    --teal: #00a884;
    --teal-dark: #008f70;
    --teal-light: #00c49a;
    --teal-bg: rgba(0, 168, 132, 0.08);
    --teal-border: rgba(0, 168, 132, 0.25);

    --green-dark: #0b332d;
    --green-footer: #04322b;
    --green-copyright: #001b17;

    --white: #ffffff;
    --bg-light: #f0f6f5;
    --bg-section: #f8fafa;

    --text-dark: #333333;
    --text-body: #555555;
    --text-muted: #888888;

    --border-color: #e0e6e5;
    --border-light: #eef2f1;

    --error: #dc3545;
    --success: #00a884;

    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-pill: 30px;

    /* Transitions */
    --transition: 250ms ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img { max-width: 100%; }


/* ============================================
   TOP BAR (matching mxestimation.com)
   ============================================ */
.top-bar {
    background: var(--green-dark);
    padding: 8px 0;
    font-size: 0.8rem;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-link,
.top-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    transition: all var(--transition);
}

.top-bar-link:hover,
.top-bar-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.follow-label {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.social-icons {
    display: flex;
    gap: 6px;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--white);
    transition: transform var(--transition);
}
.social-icon:hover { transform: translateY(-2px); }

.social-fb { background: #1877f2; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-wa { background: #25d366; }
.social-li { background: #0077b5; }


/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.logo-mx {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--green-dark);
}

.logo-estimation {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--teal);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width var(--transition);
}

.header-nav a:hover {
    color: var(--teal);
}

.header-nav a:hover::after {
    width: 100%;
}


/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, var(--green-dark), #145a4f);
    padding: 3.5rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.banner-breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.banner-breadcrumb a {
    color: var(--teal-light);
    transition: color var(--transition);
}

.banner-breadcrumb a:hover { color: var(--white); }

.breadcrumb-sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.4);
}


/* ============================================
   FORM SECTION
   ============================================ */
.form-section {
    padding: 3rem 1.5rem 4rem;
    background: var(--bg-section);
}

.form-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ---------- Info Panel (Left) ---------- */
.form-info-panel {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: sticky;
    top: 80px;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--teal-bg);
    color: var(--teal);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-info-panel h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.form-info-panel > p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Features list */
.info-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-bg);
    border-radius: var(--radius);
    color: var(--teal);
}

.info-feature strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.info-feature span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Contact box */
.info-contact {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.info-contact p {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 0.4rem;
}

.info-contact a {
    display: block;
    font-size: 0.85rem;
    color: var(--teal);
    font-weight: 600;
    margin-top: 4px;
    transition: color var(--transition);
}

.info-contact a:hover { color: var(--teal-dark); }

/* ---------- Form Panel (Right) ---------- */
.form-panel {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.form-panel-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--teal-bg);
}

.form-panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.25rem;
}

.form-panel-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
}


/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-group label svg {
    color: var(--teal);
    flex-shrink: 0;
}

.label-block {
    display: flex !important;
}

.required {
    color: var(--error);
    font-weight: 700;
}

.field-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all var(--transition);
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-bg);
}

input::placeholder,
textarea::placeholder {
    color: #b0b8b7;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Error state */
input.error,
textarea.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-error {
    display: block;
    font-size: 0.78rem;
    color: var(--error);
    margin-top: 0.3rem;
    min-height: 0;
    opacity: 0;
    transition: all var(--transition);
}

.field-error.visible {
    opacity: 1;
    min-height: 1.2em;
}


/* ============================================
   COORDINATES ROW
   ============================================ */
.coords-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.coord-field {
    display: flex;
    flex-direction: column;
}

.coord-label {
    font-family: var(--font-heading) !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: var(--text-muted) !important;
    margin-bottom: 0.25rem !important;
}

.coord-field input[readonly] {
    background: var(--bg-light);
    cursor: default;
}


/* ============================================
   MAP CONTAINER
   ============================================ */
.map-container {
    margin-top: 0.6rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--border-color);
    height: 300px;
    opacity: 1;
    transition: all 400ms ease;
}

.map-help-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    font-style: italic;
}

.map-help-text svg {
    color: var(--teal);
    flex-shrink: 0;
}

.leaflet-map {
    width: 100%;
    height: 100%;
    min-height: 240px;
    border-radius: var(--radius);
}


/* ============================================
   ADDRESS SEARCH & DROPDOWN
   ============================================ */
.address-search-wrapper {
    position: relative;
    width: 100%;
}

.address-search-wrapper input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition);
}

.address-search-wrapper input[type="text"]:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-bg);
}

.address-search-wrapper input[type="text"]::placeholder {
    color: #b0b8b7;
}

.address-search-wrapper input[type="text"].error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
}

/* Dropdown */
.address-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 260px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none;
}

.address-dropdown.visible {
    display: block;
    animation: dropIn 0.2s ease;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.4;
    transition: background 0.15s;
    border-bottom: 1px solid var(--border-light);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--teal-bg);
}

.dropdown-item.disabled {
    cursor: default;
    opacity: 0.5;
    font-style: italic;
}

.dropdown-item .dropdown-pin {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--teal);
}

.dropdown-item span {
    flex: 1;
}


/* ============================================
   FILE UPLOAD
   ============================================ */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-light);
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: var(--teal);
    background: var(--teal-bg);
}

.file-upload-area.drag-over {
    transform: scale(1.01);
    box-shadow: 0 0 0 4px var(--teal-bg);
}

.upload-icon {
    color: var(--teal);
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.upload-text {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 0.3rem;
}

.upload-browse {
    color: var(--teal);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.file-input-hidden {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* File list */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0.75rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-size: 0.82rem;
    animation: fadeIn 0.2s ease;
}

.file-item .file-icon {
    flex-shrink: 0;
    color: var(--teal);
}

.file-item .file-name {
    flex: 1;
    color: var(--text-dark);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item .file-size {
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.file-item .file-remove {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    padding: 0;
}

.file-item .file-remove:hover {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error);
}

/* Progress bar */
.upload-progress {
    margin-top: 0.75rem;
}

.progress-bar-track {
    width: 100%;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    text-align: right;
}


/* ============================================
   CHECKBOX GRID
   ============================================ */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.85rem;
    color: var(--text-body);
    user-select: none;
}

.checkbox-item:hover {
    border-color: var(--teal-border);
    background: var(--teal-bg);
}

.checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    position: relative;
}

.custom-checkbox::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 150ms ease;
    margin-top: -2px;
}

.checkbox-item input:checked ~ .custom-checkbox {
    background: var(--teal);
    border-color: var(--teal);
}

.checkbox-item input:checked ~ .custom-checkbox::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-item:has(input:checked) {
    border-color: var(--teal);
    background: var(--teal-bg);
    color: var(--text-dark);
    font-weight: 500;
}


/* ============================================
   SUBMIT BUTTON
   ============================================ */
.btn-submit {
    width: 100%;
    padding: 14px 28px;
    margin-top: 0.5rem;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(0, 168, 132, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 132, 0.4);
}

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

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-text,
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ============================================
   SUCCESS OVERLAY
   ============================================ */
.success-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.success-box {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: scaleIn 0.4s ease;
}

.success-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.75rem;
}

.success-box p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.success-box .btn-submit {
    width: auto;
    padding: 12px 40px;
    margin: 0 auto;
}

.success-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
}

.success-checkmark {
    width: 72px;
    height: 72px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: var(--teal);
    animation: strokeCircle 0.6s cubic-bezier(0.65,0,0.45,1) forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--teal);
    stroke-width: 3;
    stroke-linecap: round;
    animation: strokeCheck 0.3s cubic-bezier(0.65,0,0.45,1) 0.4s forwards;
}

@keyframes strokeCircle { 100% { stroke-dashoffset: 0; } }
@keyframes strokeCheck { 100% { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }


/* ============================================
   FOOTER (matching mxestimation.com)
   ============================================ */
.site-footer {
    background: var(--green-footer);
    color: rgba(255,255,255,0.8);
    padding: 3rem 1.5rem 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--teal-light); }

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.footer-contact p svg { color: var(--teal); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    text-align: center;
    background: var(--green-copyright);
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    max-width: 800px;
    margin: 0 auto;
}


/* ============================================
   GOOGLE PLACES AUTOCOMPLETE STYLING
   ============================================ */
.pac-container {
    background: var(--white) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    font-family: var(--font-body) !important;
    margin-top: 4px !important;
    z-index: 10000 !important;
}

.pac-item {
    padding: 10px 14px !important;
    border-top: 1px solid var(--border-light) !important;
    color: var(--text-body) !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: background var(--transition) !important;
}

.pac-item:first-child { border-top: none !important; }
.pac-item:hover { background: var(--teal-bg) !important; }

.pac-item-query {
    color: var(--text-dark) !important;
    font-weight: 600 !important;
}

.pac-icon { display: none !important; }

.pac-matched {
    color: var(--teal) !important;
    font-weight: 600 !important;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .form-container {
        grid-template-columns: 1fr;
    }

    .form-info-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar-left { flex-wrap: wrap; justify-content: center; }
    .top-bar-right { justify-content: center; width: 100%; }

    .header-inner {
        height: auto;
        padding: 12px 0;
        flex-direction: column;
        gap: 10px;
    }

    .header-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-banner h1 { font-size: 1.6rem; }

    .form-panel { padding: 1.5rem; }
    .form-info-panel { padding: 1.5rem; }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p { justify-content: center; }
}

@media (min-width: 500px) {
    .checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }
}
