#listings-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 22, 16, 0.85) 0%, rgba(28, 22, 16, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 20px;
}

.hero-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* ── Main Listings Section ────────────────────────────────────── */
#main-listings {
    padding: 80px 0;
    background: #FAFAF7;
}

/* ── Filter Panel ────────────────────────────────────────────── */
.filter-panel {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #E8E4DC;
    position: sticky;
    top: 100px;
}

.filter-header {
    margin-bottom: 30px;
}

.filter-header h4 , .filter-header-new span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1C1610;
    margin-bottom: 8px;
}

.filter-header p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.search-box {
    position: relative;
    margin-bottom: 24px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #C0BAB0;
    font-size: 14px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1.5px solid #E8E4DC;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #FAFAF7;
}

.search-box input:focus {
    outline: none;
    border-color: #C9A96E;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.filter-section {
    margin-bottom: 24px;
}

.filter-section h3 , .filter-section .filter-heading-span {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-section h3 i , .filter-section .filter-heading-span i {
    color: #C9A96E;
    font-size: 12px;
}

.custom-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E8E4DC;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A96E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.custom-select:focus {
    outline: none;
    border-color: #C9A96E;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.year-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.year-inputs input {
    padding: 12px 16px;
    border: 1.5px solid #E8E4DC;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.year-inputs input:focus {
    outline: none;
    border-color: #C9A96E;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.year-inputs span {
    color: #888;
    font-size: 14px;
    text-align: center;
}

.reset-btn {
    width: fit-content;
    margin: 20px auto;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1C1610, #2A2318);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28, 22, 16, 0.2);
}

/* ── Listings Content ────────────────────────────────────────────── */
.listings-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #E8E4DC;
}

.status-toggle {
    display: flex;
    background: #F5F2ED;
    border-radius: 30px;
    padding: 4px;
    gap: 4px;
}

.toggle-pill {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 26px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-pill.active {
    background: #fff;
    color: #1C1610;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toggle-pill i {
    font-size: 12px;
}

.results-info {
    font-size: 14px;
    color: #888;
}

/* ── Aircraft Cards ────────────────────────────────────────────── */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.aircraft-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #E8E4DC;
    transition: all 0.3s ease;
    position: relative;
}

.aircraft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.aircraft-card.is-featured {
    border-color: #C9A96E;
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.2);
}

.card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.aircraft-card:hover .card-image {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.status-badge.status-available {
    background: rgba(34, 197, 94, 0.9);
    color: #fff;
}

.status-badge.status-sold {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

.status-badge.status-purchased {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

.card-content {
    padding: 24px;
}

.card-header {
    margin-bottom: 16px;
}

.aircraft-title h3 ,.aircraft-title .aircraft-title-h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1C1610;
    margin: 0;
    line-height: 1.3;
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E8E4DC;
}

.tail-number {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.price-tag {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #C9A96E;
}

.aircraft-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #FAFAF7;
    border-radius: 8px;
}

.spec-row i {
    color: #C9A96E;
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.spec-label {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 12px;
    font-weight: 600;
    color: #1C1610;
    margin-left: auto;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #E8E4DC;
}

.year-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.year-badge i {
    color: #C9A96E;
    font-size: 11px;
}

.inquire-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.inquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

/* ── Pagination ────────────────────────────────────────────── */
.pagination-section {
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px solid #E8E4DC;
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pagination-info {
    font-size: 14px;
    color: #888;
}

.showing-text {
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.items-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
}

.items-per-page label {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.pagination-select {
    width: auto;
    min-width: 120px;
    padding: 8px 32px 8px 12px;
}

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1.5px solid #E8E4DC;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #C9A96E;
    color: #C9A96E;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-number {
    width: 36px;
    height: 36px;
    border: 1.5px solid #E8E4DC;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover {
    border-color: #C9A96E;
    color: #C9A96E;
}

.page-number.active {
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    border-color: #C9A96E;
    color: #fff;
}

.page-ellipsis {
    padding: 0 8px;
    color: #888;
    font-size: 14px;
}

/* ── No Results ────────────────────────────────────────────── */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A96E;
    font-size: 32px;
}

.no-results h3 , .no-results span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: #1C1610;
    margin-bottom: 12px;
}

.no-results p {
    font-size: 16px;
    color: #888;
    margin-bottom: 24px;
}

/* ── Trigger Section ────────────────────────────────────────────── */
.trigger-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1C1610, #2A2318);
    color: #fff;
    text-align: center;
}

.trigger-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
}

.trigger-subheadline {
    font-size: 18px;
    color: #C9A96E;
    margin-bottom: 20px;
    font-weight: 500;
}

.trigger-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trigger-cta {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.trigger-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
    color: #fff;
}

/* ── Can't Find Section ────────────────────────────────────────────── */
.section-label {
    display: inline-block;
    background: rgba(201, 169, 110, 0.1);
    color: #C9A96E;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #666;
}

.service-list li i {
    color: #C9A96E;
    font-size: 14px;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.primary-btn, .secondary-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    color: #fff;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.3);
    color: #fff;
}

.secondary-btn {
    background: #fff;
    color: #1C1610;
    border: 1.5px solid #E8E4DC;
}

.secondary-btn:hover {
    border-color: #C9A96E;
    color: #C9A96E;
}

/* ── Gallery ────────────────────────────────────────────── */
/* ── Gallery Overlay ─────────────────────────────────────────── */
.gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay.active {
    display: flex;
    opacity: 1;
}

.gallery-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

/* ── Desktop: horizontal layout ──────────────────────────────── */
.gallery-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 80vw;
    max-width: 900px;
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0 14px;
}

.gallery-info {
    text-align: left;
    color: #fff;
}

.gallery-info h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 2px;
}

.gallery-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.gallery-close {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gallery-main {
    width: 100%;
    text-align: center;
}

.gallery-image {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Desktop nav: prev/next beside image */
.gallery-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 14px 0 10px;
    width: 100%;
}

.gallery-nav {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: static;
    transform: none;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.gallery-prev,
.gallery-next {
    left: auto;
    right: auto;
}

.gallery-counter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    min-width: 50px;
    text-align: center;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 0 4px;
}

.gallery-thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.gallery-thumb.active {
    border-color: #C9A96E;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Inquiry Modal ────────────────────────────────────────────── */
.inq-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 8, 5, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .32s ease;
}

.inq-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.inq-modal {
    position: relative;
    width: 100%;
    max-width: 540px;
    background: #FAFAF7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.38), 0 0 0 1px rgba(201,169,110,.18);
    transform: translateY(28px) scale(.97);
    transition: transform .36s cubic-bezier(.22,.68,0,1.2), opacity .32s ease;
    opacity: 0;
}

.inq-overlay.is-open .inq-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.inq-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.12);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    z-index: 10;
}

.inq-close:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }

.inq-header {
    background: #111110;
    padding: 28px 28px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.inq-plane-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    color: #fff;
}

.inq-aircraft-info { flex: 1; min-width: 0; }

.inq-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C9A96E;
    margin: 0 0 4px;
}

.inq-name  {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inq-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inq-year {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    font-weight: 500;
}

.inq-dot { color: rgba(255,255,255,.25); font-size: 11px; }

.inq-price {
    font-size: 14px;
    font-weight: 600;
    color: #C9A96E;
    letter-spacing: .5px;
}

.inq-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A96E44, transparent);
}

.inq-form {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.inq-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.inq-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.inq-field--full { grid-column: 1 / -1; }

.inq-field label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
}

.inq-field label span {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: #bbb;
}

.inq-field input,
.inq-field select,
.inq-field textarea {
    width: 100%;
    background: #fff;
    border: 1.5px solid #E8E4DC;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1C1610;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.inq-field input::placeholder,
.inq-field textarea::placeholder { color: #C0BAB0; }

.inq-field input:focus,
.inq-field select:focus,
.inq-field textarea:focus {
    border-color: #C9A96E;
    box-shadow: 0 0 0 3px rgba(201,169,110,.12);
}

.inq-field textarea { resize: none; line-height: 1.5; }

.inq-field select { 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A96E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 12px center; 
    padding-right: 34px; 
    cursor: pointer; 
}

.inq-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
    margin-top: 4px;
}

.inq-submit:hover { opacity: .88; transform: translateY(-1px); }

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

.inq-privacy {
    font-size: 11px;
    color: #B0A89A;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.inq-privacy i { color: #C9A96E; font-size: 10px; }

.inq-success {
    padding: 48px 28px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.inq-success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    color: #fff;
    animation: inqPop .4s cubic-bezier(.22,.68,0,1.3) both;
}

@keyframes inqPop {
    from { transform: scale(.4); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}

.inq-success h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: #1C1610;
    margin: 0;
}

.inq-success p {
    font-size: 14px;
    color: #888;
    margin: 0;
    max-width: 320px;
}

.inq-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.inq-consent input[type="checkbox"] { display: none; }

.inq-consent-box {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    border: 1.5px solid #D4C5A9;
    border-radius: 4px;
    background: #fff;
    transition: background .18s, border-color .18s;
    position: relative;
}

.inq-consent-box::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 9px;
    height: 5px;
    border-left: 1.8px solid #fff;
    border-bottom: 1.8px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity .15s;
}

.inq-consent input:checked + .inq-consent-box {
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    border-color: #C9A96E;
}

.inq-consent input:checked + .inq-consent-box::after { opacity: 1; }

.inq-consent-text {
    font-size: 11px;
    color: #5A5450;
    line-height: 1.5;
}

.inq-privacy {font-size: 10px; }

@media (max-width: 540px) {
    .inq-overlay { align-items: center; justify-content: center; padding: 16px; }
    .inq-modal {
        border-radius: 20px;
        width: 88%;
        max-width: 340px;
        max-height: 88vh;
        overflow-y: auto;
        transform: scale(.92) translateY(16px);
    }
    .inq-overlay.is-open .inq-modal { transform: scale(1) translateY(0); }

    .inq-header { padding: 16px 18px 12px; gap: 12px; }
    .inq-plane-icon { width: 36px; height: 36px; font-size: 14px; }
    .inq-label { font-size: 9px; margin-bottom: 1px; }
    .inq-name { font-size: 17px; }
    .inq-meta-row { gap: 6px; }
    .inq-year, .inq-price { font-size: 11px; padding: 2px 7px; }

    .inq-close { top: 14px; right: 14px; width: 28px; height: 28px; }

    .inq-divider { margin: 0 18px; }

    .inq-form { padding: 14px 18px 24px; gap: 10px; }
    .inq-row { grid-template-columns: 1fr; gap: 10px; }
    .inq-field label { font-size: 9px; letter-spacing: 1px; }
    .inq-field input,
    .inq-field select,
    .inq-field textarea { padding: 8px 12px; font-size: 13px; }
    .inq-field textarea { max-height: 64px; min-height: 64px; }

    .inq-submit { padding: 11px; font-size: 12px; }
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .listings-topbar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .pagination-wrapper {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    /* ── Mobile Gallery ── */
    .gallery-container {
        width: 100vw;
        height: 100dvh;
        max-width: 100vw;
        justify-content: flex-start;
    }

    /* Header row: title + close */
    .gallery-header {
        width: 100%;
        padding: 14px 16px 10px;
        flex-shrink: 0;
        height: 64px;
    }

    .gallery-info h4 {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 80px);
    }

    .gallery-info p {
        font-size: 12px;
    }

    .gallery-close {
        width: 32px;
        height: 32px;
        font-size: 13px;
        flex-shrink: 0;
    }

    /* Image area fills remaining space */
    .gallery-main {
        width: 100%;
        flex: 1;
        min-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }

    .gallery-image {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        object-fit: contain;
        display: block;
    }

    /* Nav row below image */
    .gallery-nav-row {
        width: 100%;
        padding: 12px 24px;
        flex-shrink: 0;
        height: 64px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .gallery-counter {
        font-size: 13px;
    }

    /* Thumbnails strip */
    .gallery-thumbnails {
        width: 100%;
        padding: 0 16px 16px;
        flex-shrink: 0;
        justify-content: flex-start;
        height: 68px;
    }

    .gallery-thumb {
        width: 56px;
        height: 44px;
    }
    .inq-success { padding: 32px 18px; }
    .inq-success-icon { width: 50px; height: 50px; font-size: 20px; }
    .inq-success h4 { font-size: 22px; }
    .inq-success p { font-size: 13px; }
}



/* Can't find section */
.cant-find-content h2 {
    font-size: clamp(24px, 3vw, 34px) !important;
    font-weight: 300 !important;
}

/* Contact banner */
.banner-content h2 {
    font-size: clamp(24px, 3.5vw, 38px) !important;
    font-weight: 300 !important;
}

/* Newsletter */
.newsletter-content h3 {
    font-size: clamp(18px, 2.5vw, 24px) !important;
    font-weight: 400 !important;
}

/* End grid trigger */
.buyers-section h2 {
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 300 !important;
}

/* No results */
.no-results h3 , .no-results span {
    font-size: 24px !important;
    font-weight: 400 !important;
}

/* Aircraft card name */
.aircraft-title h3 ,.aircraft-title .aircraft-title-h3 {
    font-size: 16px !important;
}

/* Filter panel title */
.filter-header h4 , .filter-header-new span {
    font-size: 17px !important;
}

/* Listings background — white */
#main-listings {
    background: #ffffff !important;
}

/* End-grid trigger — slightly different from footer */
#end-grid-trigger,
.buyers-trigger {
    background: #2A2620 !important;
}

/* End-grid trigger — warmer tone */
#end-grid-trigger,
.buyers-trigger {
    background: #3D2E1A !important;
}

/* End-grid trigger — refined warm dark */
#end-grid-trigger,
.buyers-trigger {
    background: #1E1A14 !important;
}

/* End-grid trigger — removed from page */
#end-grid-trigger,
.buyers-trigger,
.buyers-section,
.buyers-subheadline {
    display: none !important;
}

/* ========================================
   NEWSLETTER STRIP — ultra compact fancy
   ======================================== */

#newsletter-section {
    background: #111110;
    padding: 0;
}

.nl-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-top: 1px solid rgba(201,169,110,0.15);
    border-bottom: 1px solid rgba(201,169,110,0.15);
}

.nl-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.nl-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A96E;
    padding: 5px 12px;
    border: 1px solid rgba(201,169,110,0.35);
    border-radius: 100px;
    white-space: nowrap;
}

.nl-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 300;
    color: #F0EBE0;
    margin: 0;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nl-form {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 420px;
    max-width: 420px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .3s;
}

.nl-form:focus-within {
    border-color: rgba(201,169,110,0.5);
}

.nl-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #F0EBE0;
    font-weight: 300;
}

.nl-form input::placeholder {
    color: rgba(240,235,224,0.3);
}

.nl-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #C9A96E 0%, #A8863E 100%);
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background .25s;
    flex-shrink: 0;
}

.nl-form button:hover {
    background: linear-gradient(135deg, #D9B97E 0%, #B8963E 100%);
}

.nl-form button i {
    font-size: 10px;
    transition: transform .2s;
}

.nl-form button:hover i {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .nl-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 28px 24px;
    }
    .nl-form {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    .nl-title { white-space: normal; }
}

/* Inquire btn — gold as default, no black */
.inquire-btn {
    background: linear-gradient(135deg, #C9A96E 0%, #A8863E 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(168,134,62,0.25) !important;
}
.inquire-btn:hover {
    background: linear-gradient(135deg, #D9B97E 0%, #B8963E 100%) !important;
    box-shadow: 0 4px 18px rgba(168,134,62,0.4) !important;
    color: #fff !important;
}

/* Reset btn — gold as default */
.reset-btn {
    background: linear-gradient(135deg, #C9A96E 0%, #A8863E 100%) !important;
    color: #fff !important;
    border: none !important;
}
.reset-btn:hover {
    background: linear-gradient(135deg, #D9B97E 0%, #B8963E 100%) !important;
    color: #fff !important;
}

/* ========================================
   HERO — editorial left-aligned redesign
   ======================================== */

#listings-hero {
    position: relative;
    height: calc(100vh - 88px);
    min-height: 560px;
    max-height: 900px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #111 !important;
}

/* Rich layered overlay */
#listings-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%),
        linear-gradient(to right, rgba(0,0,0,0.4) 0%, transparent 60%);
    z-index: 1;
}

/* Content — bottom left */
#listings-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 0 64px 68px;
    max-width: 820px;
    text-align: left;
    margin: 0;
}

/* Label */
#listings-hero .hero-subtitle {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #C9A96E;
    background: transparent;
    border: 1px solid rgba(201,169,110,0.5);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 22px;
    margin-left: 0;
    box-shadow: none;
    backdrop-filter: none;
}

/* H1 */
#listings-hero .hero-content h1 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(38px, 6.5vw, 86px) !important;
    font-weight: 300 !important;
    color: #fff !important;
    line-height: .95 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 24px !important;
}

/* Subtext */
#listings-hero .hero-content p {
    font-size: 15px !important;
    color: rgba(255,255,255,0.6) !important;
    font-weight: 300 !important;
    line-height: 1.65 !important;
    max-width: 480px !important;
    margin: 0 !important;
    letter-spacing: 0.01em !important;
}

/* Gold accent line left */
#listings-hero .hero-content::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: #C9A96E;
    margin-bottom: 28px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    #listings-hero .hero-content {
        padding: 0 28px 48px;
    }
    #listings-hero .hero-content h1 {
        font-size: clamp(30px, 8vw, 52px) !important;
    }
}

/* Hero bg via <img> tag */
#listings-hero {
    background: #111 !important;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* H1 — SEO tag kept, visually smaller */
#listings-hero .hero-content h1 {
    font-size: clamp(28px, 4vw, 52px) !important;
    font-weight: 300 !important;
    line-height: 1.05 !important;
}

/* Hero subtitle — more readable */
#listings-hero .hero-subtitle {
    color: #fff !important;
    background: rgba(201,169,110,0.25) !important;
    border-color: rgba(201,169,110,0.7) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
}

/* Hero glass container */
.hero-glass {
    display: inline-block;
    background: rgba(10, 8, 6, 0.45);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 12px;
    padding: 32px 40px;
    max-width: 560px;
}

#listings-hero .hero-content::before {
    display: none !important;
}

/* Hero glass — compact */
.hero-glass {
    padding: 20px 28px !important;
    max-width: 420px !important;
    border-radius: 10px !important;
}

#listings-hero .hero-content h1 {
    font-size: clamp(20px, 2.8vw, 36px) !important;
    margin-bottom: 10px !important;
}

#listings-hero .hero-content p {
    font-size: 12.5px !important;
    margin: 0 !important;
}

#listings-hero .hero-subtitle {
    font-size: 9px !important;
    padding: 4px 12px !important;
    margin-bottom: 14px !important;
}

/* Hero glass — wider, less tall */
.hero-glass {
    max-width: 680px !important;
    padding: 20px 36px !important;
}

/* Hero glass — white frosted */
.hero-glass {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: saturate(180%) blur(24px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.4) !important;
}

/* Mobile — year + Inquire Now stay side by side */
@media (max-width: 640px) {
    .card-footer {
        flex-wrap: nowrap !important;
    }
    .card-footer-right {
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }
    .inquire-btn {
        padding: 7px 12px !important;
        font-size: 9.5px !important;
    }
    .year-badge {
        font-size: 10px !important;
        padding: 4px 7px !important;
    }
}

/* Mobile — card footer always row, never wrap */
@media (max-width: 768px) {
    .card-footer {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .card-footer .year-badge {
        flex-shrink: 0;
        font-size: 10px !important;
        padding: 4px 8px !important;
        white-space: nowrap;
    }
    .card-footer .inquire-btn {
        flex-shrink: 0;
        padding: 7px 12px !important;
        font-size: 9.5px !important;
        white-space: nowrap;
    }
}

/* Inquire Now — fixed size, never changes */
.inquire-btn {
    padding: 8px 16px !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
@media (max-width: 768px) {
    .card-footer .inquire-btn {
        padding: 8px 16px !important;
        font-size: 10.5px !important;
    }
}
@media (max-width: 480px) {
    .card-footer .inquire-btn {
        padding: 8px 16px !important;
        font-size: 10.5px !important;
    }
}

/* Override Bootstrap card-footer conflict */
#listingsGrid .card-footer,
#listingsGrid .card-footer * {
    flex-wrap: nowrap !important;
}

#listingsGrid .card-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #f0ece4 !important;
    background: transparent !important;
}

/* Make button-type .inquire-btn match anchor styling */
button.inquire-btn {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}

#listingsGrid .card-footer .inquire-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    font-size: 10.5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: unset !important;
    width: auto !important;
}

#listingsGrid .card-footer .year-badge {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* Hide filter sidebar on mobile — toggle is enough */
@media (max-width: 991px) {
    .col-lg-3 {
        display: none !important;
    }
    .col-lg-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* Remove status-toggle wrapper container look on mobile */
@media (max-width: 991px) {
    .status-toggle {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}

/* ─── 320–400px — very small mobile ─────────────────────────── */
@media (max-width: 400px) {

    /* Hero */
    #listings-hero {
        min-height: 420px;
    }
    #listings-hero .hero-content {
        padding: 0 16px 36px;
    }
    .hero-glass {
        padding: 14px 18px !important;
        border-radius: 8px !important;
    }
    #listings-hero .hero-content h1 {
        font-size: clamp(18px, 7vw, 26px) !important;
        margin-bottom: 8px !important;
    }
    #listings-hero .hero-content p {
        font-size: 11.5px !important;
    }
    #listings-hero .hero-subtitle {
        font-size: 9px !important;
        padding: 3px 10px !important;
        margin-bottom: 10px !important;
    }

    /* Main section padding */
    #main-listings { padding: 40px 0; }

    /* Listings topbar */
    .listings-topbar {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
        padding: 14px 0 !important;
    }

    /* Status toggle pills */
    .status-toggle {
        width: 100%;
        justify-content: stretch;
    }
    .toggle-pill {
        flex: 1;
        padding: 8px 10px !important;
        font-size: 11px !important;
        justify-content: center;
    }

    /* Results info */
    .results-info { font-size: 12px; }

    /* Aircraft card */
    .card-image-wrapper { height: 180px; }
    .card-content { padding: 16px !important; }
    .aircraft-title h3 ,.aircraft-title .aircraft-title-h3  { font-size: 16px !important; }

    .card-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    /* Card specs — 1 sütun, sığmayan içerik yok */
    .specs-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .spec-row {
        padding: 6px 8px !important;
        gap: 5px !important;
    }
    .spec-label {
        font-size: 9px !important;
        letter-spacing: 0 !important;
    }
    .spec-value {
        font-size: 11px !important;
    }

    /* Price */
    .price-tag { font-size: 16px !important; }

    /* Card footer */
    #listingsGrid .card-footer .inquire-btn {
        padding: 7px 12px !important;
        font-size: 10px !important;
    }

    /* Pagination */
    .pagination-wrapper {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    .pagination-controls {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    .items-per-page,
    .pagination-buttons {
        width: 100%;
    }

    /* Newsletter strip */
    .nl-strip {
        padding: 20px 16px !important;
        gap: 14px !important;
    }
    .nl-title {
        font-size: 15px !important;
        white-space: normal !important;
    }
    .nl-label { font-size: 8px; padding: 4px 10px; }
    .nl-form { flex: 1 1 100%; max-width: 100%; width: 100%; }
    .nl-form input  { padding: 11px 14px; font-size: 12px; }
    .nl-form button { padding: 11px 16px; font-size: 10px; }

    /* Inquiry modal */
    .inq-modal {
        width: 95% !important;
        max-width: unset !important;
    }

    /* List Your Aircraft modal */
    .lya-modal {
        width: 95% !important;
        max-width: unset !important;
    }
    .lya-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   LIST YOUR AIRCRAFT MODAL
═══════════════════════════════════════════════ */
.lya-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 8, 5, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}
.lya-overlay.is-open { opacity: 1; pointer-events: all; }

.lya-modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0,0,0,.42), 0 0 0 1px rgba(201,169,110,.2);
    transform: translateY(20px) scale(.98);
    transition: transform .32s cubic-bezier(.22,.68,0,1.2), opacity .28s ease;
    opacity: 0;
}
.lya-overlay.is-open .lya-modal { transform: translateY(0) scale(1); opacity: 1; }

.lya-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.1);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s;
    z-index: 10;
}
.lya-close svg { width: 11px; height: 11px; }
.lya-close:hover { background: rgba(255,255,255,.2); }

.lya-header {
    background: linear-gradient(135deg, #141412 0%, #1e1c19 100%);
    padding: 18px 20px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}
.lya-icon {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: #fff;
}
.lya-header-text { flex: 1; min-width: 0; }
.lya-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C9A96E;
    margin: 0 0 2px;
}
.lya-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
    line-height: 1.1;
}
.lya-subtitle {
    font-size: 11.5px;
    color: rgba(255,255,255,.45);
    margin: 0;
}

.lya-divider {
    height: 1px;
    background: rgba(201,169,110,.12);
    flex-shrink: 0;
}
.lya-divider--inner {
    height: 1px;
    background: #f0ede8;
    margin: 2px 0 10px;
}

.lya-form {
    padding: 16px 20px 18px;
    overflow-y: auto;
    flex: 1;
}

.lya-section-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #C9A96E;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lya-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.lya-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
}
.lya-field--full { grid-column: 1 / -1; }

.lya-field label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #888;
}

.lya-field input,
.lya-field select,
.lya-field textarea {
    padding: 8px 10px;
    border: 1.5px solid #e8e5e0;
    border-radius: 7px;
    font-size: 13px;
    color: #1a1a18;
    background: #fafaf8;
    transition: border-color .18s, box-shadow .18s, background .18s;
    font-family: inherit;
    outline: none;
    line-height: 1.4;
}
.lya-field input:focus,
.lya-field select:focus,
.lya-field textarea:focus {
    border-color: #C9A96E;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201,169,110,.12);
}
.lya-field input::placeholder,
.lya-field textarea::placeholder { color: #bbb; font-size: 12.5px; }
.lya-field textarea { resize: none; min-height: 64px; }

.lya-submit {
    width: 100%;
    padding: 11px 20px;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .18s, transform .15s;
    margin-top: 6px;
}
.lya-submit:hover { opacity: .88; transform: translateY(-1px); }
.lya-submit:active { transform: translateY(0); }

/* ── LYA Consent Checkbox ──────────────────────────── */
.lya-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 10px 0 12px;
}

.lya-consent input[type="checkbox"] { display: none; }

.lya-consent-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 2px solid #aaa;
    border-radius: 3px;
    background: #fff;
    transition: background .18s, border-color .18s;
    position: relative;
}

.lya-consent-box::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity .15s;
}

.lya-consent input:checked + .lya-consent-box {
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    border-color: #C9A96E;
}

.lya-consent input:checked + .lya-consent-box::after { opacity: 1; }

.lya-consent-text {
    font-size: 11px;
    color: #5A5450;
    line-height: 1.5;
}

/* ── LYA Privacy Note ──────────────────────────────── */
.lya-privacy {
    text-align: center;
    font-size: 10.5px;
    color: #bbb;
    margin: 9px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.lya-success {
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}
.lya-success-icon {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C9A96E, #A8863E);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 6px;
}
.lya-success h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a18;
    margin: 0;
}
.lya-success p {
    font-size: 13px;
    color: #888;
    margin: 0;
    max-width: 280px;
    line-height: 1.5;
}
