/* ==========================================
   GHOST YACHTS - COMPONENT STYLES
   Ported from GhostSite1 Astro source
   ========================================== */

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Clear fixed nav + announcement banner from overlapping hero content */
    padding-top: calc(3.5rem + 46px + 36px); /* nav height + banner height */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gy-midnight);
    z-index: 2;
    transition: opacity 0.8s ease;
}

.video-cover.loaded {
    opacity: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    max-width: 650px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1200px) {
    .hero-content {
        padding: 0 2rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .hero {
        /* Nav: 2rem + 36px, banner: ~32px */
        padding-top: calc(2rem + 36px + 32px);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        min-height: 85svh; /* safe viewport height for mobile browsers */
        /* Reduce padding slightly — flex centering + smaller nav */
        padding-top: calc(2rem + 36px + 32px);
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 0 1.25rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .hero {
        /* Nav: 1.75rem + 31px, banner: ~28px */
        padding-top: calc(1.75rem + 31px + 28px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* ==========================================
   ASTONDOA MODEL TABS (Homepage Section 3)
   ========================================== */

.model-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.model-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    min-height: 44px;
}

.model-tab:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.model-tab.active {
    background: var(--gy-turquoise);
    color: #fff;
    border-color: var(--gy-turquoise);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .model-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .model-tabs::-webkit-scrollbar {
        display: none;
    }

    .model-tab {
        flex-shrink: 0;
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   TRUST BADGES BAR
   ========================================== */

.trust-badges {
    background: var(--gy-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-badges-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-badge:last-child {
    border-right: none;
}

.trust-badge--featured {
    background: linear-gradient(135deg, var(--gy-turquoise) 0%, var(--gy-turquoise-hover) 100%);
    color: #fff;
}

.trust-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gy-turquoise);
    background: var(--gy-turquoise-glow);
    border-radius: 12px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-badge--featured .trust-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.trust-badge-text h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gy-midnight);
    letter-spacing: 0;
}

.trust-badge--featured .trust-badge-text h4 {
    color: #fff;
}

.trust-badge-text p {
    font-size: 0.75rem;
    color: var(--gy-grey);
    margin-top: 0.25rem;
}

.trust-badge--featured .trust-badge-text p {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1024px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-badge:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 480px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }

    .trust-badge {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
}

/* ==========================================
   YACHT CARDS
   ========================================== */

.yacht-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.yacht-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
}

.yacht-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(11, 20, 38, 0.15);
}

.yacht-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.yacht-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

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

.yacht-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}

.yacht-card-badge--featured {
    background: var(--gy-turquoise);
    color: #fff;
}

.yacht-card-badge--reduced {
    background: #E74C3C;
    color: #fff;
}

.yacht-card-body {
    padding: 1.75rem;
}

.yacht-card-builder {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gy-turquoise);
    margin-bottom: 0.5rem;
}

.yacht-card-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.yacht-card-specs {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--gy-grey);
    margin-bottom: 1rem;
}

.yacht-card-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gy-midnight);
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 1024px) {
    .yacht-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .yacht-cards-grid {
        grid-template-columns: 1fr;
    }

    .yacht-card-name {
        font-size: 1.5rem;
    }
}

/* ==========================================
   SERVICE CARDS (4-column with spanning bg)
   ========================================== */

.services-section {
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.services-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 20, 38, 0.88);
}

.services-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.5s var(--ease-smooth);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.service-card-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--gy-turquoise);
    opacity: 0.3;
    margin-bottom: 1.5rem;
    line-height: 1;
    transition: opacity 0.4s var(--ease-smooth);
}

.service-card:hover .service-card-num {
    opacity: 0.7;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #fff;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gy-turquoise);
    text-decoration: none;
    transition: gap 0.3s var(--ease-smooth);
}

.service-card-link:hover {
    gap: 1rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        min-height: 350px;
    }

    .service-card:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        min-height: auto;
        padding: 2rem;
    }

    .service-card-num {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

/* ==========================================
   ASTONDOA PARTNERSHIP SECTION
   ========================================== */

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 6rem;
    align-items: center;
}

.partnership-badge {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--gy-turquoise) 0%, var(--gy-turquoise-hover) 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.partnership-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.partnership-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.partnership-feature-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.partnership-feature h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gy-midnight);
    margin-bottom: 0.25rem;
    letter-spacing: 0;
}

.partnership-feature p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gy-grey);
}

.partnership-image-wrapper {
    position: relative;
}

.partnership-image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.partnership-stat-overlay {
    position: absolute;
    bottom: 3rem;
    left: -4rem;
    background: var(--gy-midnight);
    color: #fff;
    padding: 2.5rem;
    text-align: center;
    min-width: 180px;
}

.partnership-stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    color: var(--gy-turquoise);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.partnership-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .partnership-stat-overlay {
        right: 1rem;
        bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .partnership-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.65rem;
    }

    .partnership-stat-overlay {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: -3rem;
        margin-left: auto;
        margin-right: 1rem;
        width: fit-content;
    }

    .partnership-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .partnership-stat-number {
        font-size: 2.25rem;
    }

    .partnership-stat-overlay {
        padding: 1.25rem 1.5rem;
        min-width: 160px;
    }
}

/* ==========================================
   "NOT SURE WHERE TO START?" SECTION
   ========================================== */

.start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.start-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 1rem;
}

.start-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gy-grey);
}

@media (max-width: 768px) {
    .start-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================
   LUXURY DETAILS (Image + Text 2-col)
   ========================================== */

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.details-image {
    height: 500px;
    overflow: hidden;
    border-radius: 2px;
}

.details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-text h2 {
    margin-bottom: 2rem;
}

.details-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .details-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .details-image {
        height: 280px;
    }

    .details-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .details-image {
        height: 220px;
    }
}

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonials-section {
    background: var(--gy-midnight);
    padding: 8rem 4rem;
    text-align: center;
}

.testimonial-carousel {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeInScale 0.5s var(--ease-smooth);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1.7;
    font-style: italic;
    color: #fff;
    position: relative;
    padding-top: 2rem;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--gy-turquoise);
    opacity: 0.3;
    font-family: var(--font-heading);
    line-height: 1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-author {
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gy-turquoise);
    letter-spacing: 1px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    padding: 0;
}

.testimonial-dot.active {
    background: var(--gy-turquoise);
    border-color: var(--gy-turquoise);
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 1.5rem;
    }

    .testimonial-quote {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .testimonial-quote::before {
        font-size: 3.5rem;
    }

    .testimonial-dot {
        width: 14px;
        height: 14px;
    }

    .testimonial-dots {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonial-quote {
        font-size: 1.1rem;
    }
}

/* ==========================================
   ANNOUNCEMENT BANNER (Turquoise Gradient - Astondoa)
   ========================================== */

.announcement-banner {
    position: fixed;
    left: 0;
    right: 0;
    /* top = nav vertical padding (1.75rem*2) + logo (45px) + border (1px) */
    top: calc(3.5rem + 46px);
    z-index: 1000; /* Below nav's 1001 */
    background: linear-gradient(135deg, var(--gy-turquoise) 0%, var(--gy-turquoise-hover) 100%);
    box-shadow: 0 2px 15px rgba(26, 188, 156, 0.3);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    max-width: 1600px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: #fff;
}

.announcement-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
}

.announcement-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.announcement-divider {
    opacity: 0.4;
}

.announcement-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: gap 0.3s ease;
}

.announcement-cta:hover {
    gap: 0.6rem;
    color: #fff;
}

@media (max-width: 1200px) {
    /* Nav padding becomes 1.25rem*2 = 2.5rem, logo still 45px */
    .announcement-banner { top: calc(2.5rem + 46px); }
}

@media (max-width: 1024px) {
    /* Nav padding becomes 1rem*2 = 2rem, logo shrinks to 35px */
    .announcement-banner { top: calc(2rem + 36px); }
}

@media (max-width: 768px) {
    .announcement-inner { font-size: 0.7rem; gap: 0.5rem; padding: 0.5rem 0.75rem; }
    .announcement-divider { display: none; }
    .announcement-badge { display: none; }
}

@media (max-width: 480px) {
    /* Nav padding becomes 0.875rem*2 = 1.75rem, logo shrinks to 30px */
    .announcement-banner { top: calc(1.75rem + 31px); }
    .announcement-text { font-size: 0.65rem; }
    .announcement-cta { font-size: 0.65rem; }
}

/* ==========================================
   HERO SEARCH CARD
   ========================================== */

.search-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    min-width: 380px;
    max-width: 440px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.search-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
}

.search-card-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.search-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.search-field select:focus {
    outline: none;
    border-color: var(--gy-turquoise);
}

.search-field select option {
    background: var(--gy-midnight);
    color: #fff;
}

.search-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gy-turquoise);
    color: var(--gy-midnight);
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    margin-top: 1rem;
    text-decoration: none;
}

.search-btn:hover {
    background: var(--gy-turquoise-hover);
    transform: translateY(-2px);
}

.search-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.search-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-links a:hover {
    color: var(--gy-turquoise);
}

@media (max-width: 1200px) {
    .search-card {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .search-card {
        padding: 1.75rem;
    }
    .search-row {
        grid-template-columns: 1fr;
    }
    .search-field select {
        padding: 0.875rem 1rem;
        font-size: 1rem; /* 16px prevents iOS zoom on focus */
        min-height: 48px;
    }
    .search-btn {
        min-height: 48px;
        font-size: 1rem;
    }
    .search-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .search-links a {
        padding: 0.5rem 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* IYBA Search inside Hero Card */
.iyba-hero-search {
    margin-bottom: 0.5rem;
}

.iyba-hero-search .iyba-search-form,
.iyba-hero-search [class*="iyba-search"],
.iyba-hero-search form {
    font-family: var(--font-body) !important;
}

.iyba-hero-search select,
.iyba-hero-search input[type="text"] {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    color: #fff !important;
    margin-bottom: 0.75rem !important;
    box-sizing: border-box !important;
}

.iyba-hero-search select:focus,
.iyba-hero-search input[type="text"]:focus {
    outline: none !important;
    border-color: var(--gy-turquoise) !important;
}

.iyba-hero-search input[type="submit"],
.iyba-hero-search button[type="submit"] {
    width: 100% !important;
    padding: 1rem !important;
    background: var(--gy-turquoise) !important;
    color: var(--gy-midnight) !important;
    border: none !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s var(--ease-smooth) !important;
}

.iyba-hero-search input[type="submit"]:hover,
.iyba-hero-search button[type="submit"]:hover {
    background: var(--gy-turquoise-hover) !important;
    transform: translateY(-2px) !important;
}

/* Hide unnecessary IYBA UI elements inside hero search */
.iyba-hero-search .result-sorting-wrapper,
.iyba-hero-search [class*="listing"],
.iyba-hero-search [class*="vessel_list"] {
    display: none !important;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gy-midnight);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-smooth);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--gy-turquoise);
    transform: translateY(-3px);
}

/* ==========================================
   MOBILE CONTACT BAR
   ========================================== */

.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gy-midnight);
    z-index: 998;
    padding: 0;
}

.mobile-contact-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-contact-bar a:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-bar a:hover {
    background: var(--gy-turquoise);
}

@media (max-width: 768px) {
    .mobile-contact-bar {
        display: block;
    }

    /* Add bottom padding to body so footer isn't hidden behind bar */
    body {
        padding-bottom: 56px;
    }

    .scroll-to-top {
        bottom: 5rem;
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--gy-grey);
    margin-bottom: 1.5rem;
}

/* ==========================================
   WPBAKERY / IYBA OVERRIDES
   Ensures existing WPBakery content and
   IYBA yacht listings match Ghost Yachts design
   ========================================== */

/* Override WPBakery row padding to match theme spacing */
.wpb_row,
.vc_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Style IYBA search results to match yacht card design */
.iyba-search-results .boat-listing,
.wcg-iyba-listing {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
}

.iyba-search-results .boat-listing:hover,
.wcg-iyba-listing:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(11, 20, 38, 0.12);
}

/* Override default IYBA button styles */
.iyba-search-results .btn,
.wcg-iyba-search .btn {
    background: var(--gy-midnight);
    color: #fff;
    border: 2px solid var(--gy-midnight);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s var(--ease-smooth);
}

.iyba-search-results .btn:hover,
.wcg-iyba-search .btn:hover {
    background: var(--gy-turquoise);
    border-color: var(--gy-turquoise);
}

/* ==========================================
   PAGE HERO (shared across interior pages)
   ========================================== */

.page-hero {
    padding: 10rem 0 4rem;
    text-align: center;
}

.page-hero--dark {
    background: var(--gy-midnight);
    color: #fff;
}

.page-hero--compact {
    padding: 8rem 0 3rem;
}

.page-hero--tall {
    padding: 12rem 0 5rem;
}

.page-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gy-turquoise);
    margin-bottom: 1.5rem;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.page-hero--dark .page-hero-title {
    color: #fff;
}

.page-hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero { padding: 8rem 0 3rem; }
    .page-hero-title { font-size: 2.25rem; }
    .page-hero-desc { font-size: 1rem; }
}

/* ==========================================
   SELL YOUR YACHT - Steps & Form
   ========================================== */

.sell-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sell-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    transition: all 0.4s var(--ease-smooth);
}

.sell-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(11, 20, 38, 0.08);
}

.sell-step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gy-turquoise);
    line-height: 1;
    min-width: 60px;
}

.sell-step-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--gy-midnight);
}

.sell-step-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gy-grey);
}

.sell-contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.sell-contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--gy-midnight);
}

.sell-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sell-info-item a,
.sell-info-item span {
    font-size: 1rem;
    color: var(--gy-midnight);
    text-decoration: none;
    line-height: 1.6;
}

.sell-info-item a:hover {
    color: var(--gy-turquoise);
}

@media (max-width: 768px) {
    .sell-step { flex-direction: column; gap: 1rem; }
    .sell-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================
   FORMS (shared)
   ========================================== */

.gy-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.gy-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.gy-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gy-midnight);
    margin-bottom: 0.5rem;
}

.gy-form-group .required {
    color: var(--gy-turquoise);
}

.gy-form-group input,
.gy-form-group textarea,
.gy-form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gy-midnight);
    background: #fff;
    transition: border-color 0.3s ease;
}

.gy-form-group input:focus,
.gy-form-group textarea:focus,
.gy-form-group select:focus {
    outline: none;
    border-color: var(--gy-turquoise);
}

.gy-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .gy-form-row { grid-template-columns: 1fr; }
}

/* ==========================================
   YACHT MANAGEMENT - Service Cards
   ========================================== */

.mgmt-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mgmt-service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s var(--ease-smooth);
}

.mgmt-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(11, 20, 38, 0.1);
}

.mgmt-service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.mgmt-service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 0.75rem;
}

.mgmt-service-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gy-grey);
}

@media (max-width: 1024px) {
    .mgmt-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .mgmt-services-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   TEAM PAGE
   ========================================== */

.team-grid {
    display: grid;
    gap: 2rem;
}

.team-grid--leadership {
    grid-template-columns: repeat(3, 1fr);
}

.team-grid--brokers {
    grid-template-columns: repeat(3, 1fr);
}

.team-grid--support {
    grid-template-columns: repeat(4, 1fr);
}

.team-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s var(--ease-smooth);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(11, 20, 38, 0.08);
}

.team-card--compact {
    padding: 2rem 1.5rem;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gy-turquoise) 0%, var(--gy-turquoise-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.team-avatar--small {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.team-initials {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
}

.team-avatar--small .team-initials {
    font-size: 1rem;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 0.35rem;
}

.team-title {
    font-size: 0.85rem;
    color: var(--gy-turquoise);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gy-grey);
    margin-bottom: 1.25rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-phone,
.team-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gy-midnight);
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-phone:hover,
.team-email:hover {
    color: var(--gy-turquoise);
}

.team-languages {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gy-turquoise);
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(26, 188, 156, 0.3);
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .team-grid--leadership { grid-template-columns: repeat(2, 1fr); }
    .team-grid--brokers { grid-template-columns: repeat(2, 1fr); }
    .team-grid--support { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .team-grid--leadership,
    .team-grid--brokers,
    .team-grid--support { grid-template-columns: 1fr; }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-info-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s var(--ease-smooth);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(11, 20, 38, 0.08);
}

.contact-info-icon {
    margin-bottom: 1.25rem;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 1rem;
}

.contact-info-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gy-grey);
    margin-bottom: 1rem;
}

.contact-info-label {
    font-size: 0.85rem;
    color: var(--gy-grey);
    margin-bottom: 0.75rem;
}

.contact-info-phone {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gy-midnight);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.contact-info-phone:hover {
    color: var(--gy-turquoise);
}

.contact-info-email {
    display: block;
    font-size: 1rem;
    color: var(--gy-turquoise);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.contact-info-note {
    font-size: 0.8rem;
    color: var(--gy-grey);
    margin-top: 0.75rem;
}

.contact-info-hours p {
    font-size: 0.85rem;
    color: var(--gy-grey);
    line-height: 1.6;
}

.contact-info-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gy-turquoise);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.contact-info-link:hover {
    color: var(--gy-turquoise-hover);
}

.contact-map-wrapper {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(11, 20, 38, 0.08);
}

.contact-directions {
    max-width: 900px;
    margin: 0 auto;
}

.contact-directions h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.contact-directions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-directions-grid h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gy-turquoise);
    margin-bottom: 0.75rem;
}

.contact-directions-grid p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gy-grey);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-team-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-team-member {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--gy-cream);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.contact-team-member:hover {
    background: #f0efeb;
}

.contact-team-member h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 0.15rem;
}

.contact-team-member p {
    font-size: 0.8rem;
    color: var(--gy-turquoise);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.contact-team-member a {
    display: block;
    font-size: 0.8rem;
    color: var(--gy-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-team-member a:hover {
    color: var(--gy-turquoise);
}

.contact-team-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gy-turquoise);
    text-decoration: none;
}

.contact-team-link:hover {
    color: var(--gy-turquoise-hover);
}

@media (max-width: 1024px) {
    .contact-cards-grid { grid-template-columns: 1fr; }
    .contact-directions-grid { grid-template-columns: 1fr; }
    .contact-form-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================
   NEWS PAGE
   ========================================== */

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(11, 20, 38, 0.1);
}

.news-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

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

.news-card-body {
    padding: 2rem;
}

.news-card-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    background: var(--gy-midnight);
    color: #fff;
    margin-bottom: 0.75rem;
}

.news-card-badge--partnership { background: var(--gy-turquoise); }
.news-card-badge--event { background: #2563EB; }
.news-card-badge--showings { background: #7C3AED; }

.news-card-date {
    display: block;
    font-size: 0.8rem;
    color: var(--gy-grey);
    margin-bottom: 0.75rem;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
}

.news-card-title a:hover {
    color: var(--gy-turquoise);
}

.news-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gy-grey);
    margin-bottom: 1.25rem;
}

.news-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gy-turquoise);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-link:hover {
    color: var(--gy-turquoise-hover);
}

/* Industry Updates */
.news-updates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.news-update {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    transition: all 0.4s var(--ease-smooth);
}

.news-update:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(11, 20, 38, 0.06);
}

.news-update-meta {
    margin-bottom: 0.75rem;
}

.news-update-date {
    font-size: 0.8rem;
    color: var(--gy-grey);
}

.news-update-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gy-turquoise);
}

.news-update-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 0.75rem;
}

.news-update-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gy-grey);
}

/* Resources */
.news-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.news-resource-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--gy-cream);
    border-radius: 2px;
    text-decoration: none;
    color: var(--gy-midnight);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-resource-link:hover {
    background: #f0efeb;
    transform: translateY(-2px);
    color: var(--gy-turquoise);
}

.news-resource-link svg {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.news-resource-link:hover svg {
    opacity: 1;
    stroke: var(--gy-turquoise);
}

/* Newsletter */
.news-newsletter-form input[type="email"] {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.news-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.news-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--gy-turquoise);
}

@media (max-width: 1024px) {
    .news-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .news-resources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .news-cards-grid { grid-template-columns: 1fr; }
    .news-updates-grid { grid-template-columns: 1fr; }
    .news-resources-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   YACHTS FOR SALE - Filter Bar & Grid
   ========================================== */

.yfs-filter-bar {
    position: sticky;
    top: 72px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem 0;
}

.yfs-filters {
    display: flex;
    gap: 1.25rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.yfs-filter-group {
    flex: 1;
    min-width: 160px;
}

.yfs-filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gy-grey);
    margin-bottom: 0.4rem;
}

.yfs-filter-group select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gy-midnight);
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.yfs-filter-group select:focus {
    outline: none;
    border-color: var(--gy-turquoise);
}

.yfs-reset-btn {
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gy-grey);
    cursor: pointer;
    transition: all 0.3s ease;
}

.yfs-reset-btn:hover {
    border-color: var(--gy-midnight);
    color: var(--gy-midnight);
}

.yfs-results-count {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gy-grey);
}

.yfs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.yacht-card-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gy-grey);
    font-size: 0.9rem;
    font-weight: 500;
}

.yacht-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.yacht-card-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 2px;
}

.yacht-card-badge--featured {
    background: var(--gy-turquoise);
}

.yacht-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.yacht-card-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gy-midnight);
}

.yacht-card-inquire {
    padding: 0.5rem 1.25rem;
    background: var(--gy-midnight);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.yacht-card-inquire:hover {
    background: var(--gy-turquoise);
}

@media (max-width: 1024px) {
    .yfs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .yfs-filters { flex-direction: column; }
    .yfs-filter-group { min-width: unset; }
    .yfs-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   ASTONDOA PAGE
   ========================================== */

.ast-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ast-model-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
}

.ast-model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(11, 20, 38, 0.1);
}

.ast-model-image {
    position: relative;
}

.ast-model-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    background: var(--gy-turquoise);
    color: #fff;
    border-radius: 2px;
}

.ast-model-body {
    padding: 2rem;
}

.ast-model-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 0.35rem;
}

.ast-model-length {
    font-size: 0.85rem;
    color: var(--gy-turquoise);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.ast-model-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1.25rem;
}

.ast-model-spec {
    text-align: center;
}

.ast-model-spec-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gy-grey);
    margin-bottom: 0.25rem;
}

.ast-model-spec-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gy-midnight);
}

.ast-model-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gy-grey);
}

/* Heritage Stats */
.ast-heritage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ast-heritage-stat {
    text-align: center;
}

.ast-heritage-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: var(--gy-turquoise);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ast-heritage-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* Custom Steps */
.ast-custom-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ast-custom-step {
    text-align: center;
    padding: 2rem;
}

.ast-custom-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gy-turquoise);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 auto 1.25rem;
}

.ast-custom-step h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gy-midnight);
    margin-bottom: 0.75rem;
}

.ast-custom-step p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gy-grey);
}

/* Astondoa Gradient CTA */
.ast-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gy-midnight) 0%, #1a1a2e 50%, var(--gy-turquoise) 150%);
}

@media (max-width: 1024px) {
    .ast-models-grid { grid-template-columns: repeat(2, 1fr); }
    .ast-heritage-stats { grid-template-columns: repeat(2, 1fr); }
    .ast-custom-steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .ast-models-grid { grid-template-columns: 1fr; }
    .ast-heritage-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .ast-heritage-stat-number { font-size: 2rem; }
}

/* ==========================================
   GLOBAL MOBILE TOUCH TARGETS & POLISH
   ========================================== */

@media (max-width: 768px) {
    /* Ensure minimum 44px touch targets on all interactive elements */
    .btn-primary,
    .btn-outline,
    .btn-turquoise,
    .btn-contact,
    .yacht-card-inquire,
    .yfs-reset-btn,
    select,
    button {
        min-height: 44px;
    }

    /* Prevent iOS zoom on input focus (font-size must be >= 16px) */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="search"],
    input[type="url"],
    input[type="number"],
    select,
    textarea {
        font-size: 1rem;
    }

    /* Smooth scrolling for anchor links */
    html {
        scroll-behavior: smooth;
    }

    /* Prevent horizontal overflow from any rogue elements */
    .gy-container,
    .gy-section {
        overflow-x: hidden;
    }

    /* Improve readability on small screens */
    .about-text p {
        font-size: 0.95rem;
    }

    /* Yachts for Sale filter bar mobile refinement */
    .yfs-filter-bar {
        top: 60px; /* account for smaller mobile nav */
    }

    .yfs-filter-group select {
        min-height: 48px;
    }

    .yfs-results-count {
        text-align: center;
        padding: 0.75rem 0;
    }

    /* Yacht card mobile refinements */
    .yacht-card-body {
        padding: 1.25rem;
    }

    .yacht-card-name {
        font-size: 1.25rem;
    }

    .yacht-card-specs {
        font-size: 0.8rem;
    }

    .yacht-card-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .yacht-card-inquire {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    /* Service cards mobile */
    .service-card {
        min-height: 350px;
    }

    /* Contact cards mobile */
    .contact-card-phone,
    .contact-card-email {
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    /* Extra-small screen adjustments */
    .trust-badge {
        padding: 1rem;
        gap: 0.75rem;
    }

    .trust-badge-icon {
        width: 40px;
        height: 40px;
    }

    .service-card {
        min-height: 300px;
    }

    /* Ensure footer links have good touch targets */
    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        padding: 0.375rem 0;
        display: inline-block;
    }
}

/* ==========================================
   IYBA DARK SECTION OVERRIDES (Astondoa Section 3)
   Targets actual IYBA plugin HTML structure:
   .listing-page.vessel-listing-section > .container > .row >
     .mls-right-sec > form.frm-iyba-yachts >
       #vessel_list.row > .col-md-4.vessel-items.grid_listing >
         .vessel-listing-m.gray-bg
   ========================================== */

.iyba-dark-section {
    color: #fff;
}

/* Make the IYBA wrapper span all parent grid columns */
.iyba-dark-section > .listing-page,
.iyba-dark-section > .vessel-listing-section {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* IYBA Bootstrap container — force full width */
.iyba-dark-section .listing-page > .container,
.iyba-dark-section .vessel-listing-section > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force the IYBA column wrapper to full width */
.iyba-dark-section .mls-right-sec {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

.iyba-dark-section .frm-iyba-yachts {
    width: 100% !important;
}

/* Hide sort/filter bar and modals */
.iyba-dark-section .result-sorting-wrapper,
.iyba-dark-section .modal {
    display: none !important;
}

/* The vessel list row — use CSS grid instead of Bootstrap flex */
.iyba-dark-section #vessel_list,
.iyba-dark-section .vessel_list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide meta/link/clearfix/messages inside vessel list */
.iyba-dark-section #vessel_list > meta,
.iyba-dark-section #vessel_list > link,
.iyba-dark-section #vessel_list > .clearfix,
.iyba-dark-section .api_search_message {
    display: none !important;
}

/* Card column — reset Bootstrap column sizing */
.iyba-dark-section .vessel-items.grid_listing {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Card container — style on dark background */
.iyba-dark-section .vessel-listing-m {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    transition: all 0.5s var(--ease-smooth) !important;
    height: 100% !important;
}

.iyba-dark-section .vessel-listing-m:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

/* Remove gray-bg class background */
.iyba-dark-section .gray-bg {
    background-color: transparent !important;
}

/* Card images */
.iyba-dark-section .vessel-listing-img img,
.iyba-dark-section .post-thumbnail img {
    width: 100% !important;
    height: 220px !important;
    display: block !important;
    object-fit: cover !important;
}

/* Card text — all white on dark */
.iyba-dark-section .vessel-listing-content {
    padding: 1.25rem !important;
    background: transparent !important;
    background-color: transparent !important;
}

.iyba-dark-section .vl-left-band,
.iyba-dark-section .vl-left-band * {
    color: #fff !important;
}

.iyba-dark-section .vessel-location-grid,
.iyba-dark-section .vessel-location {
    color: rgba(255, 255, 255, 0.6) !important;
}

.iyba-dark-section .features_list,
.iyba-dark-section .features_list li {
    color: rgba(255, 255, 255, 0.7) !important;
}

.iyba-dark-section .grid-vessel-price {
    color: #fff !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
}

/* General text overrides */
.iyba-dark-section p,
.iyba-dark-section span,
.iyba-dark-section div {
    color: rgba(255, 255, 255, 0.8);
}

.iyba-dark-section a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease !important;
}

.iyba-dark-section a:hover {
    color: var(--gy-turquoise) !important;
}

/* Buttons in dark section */
.iyba-dark-section a.btn,
.iyba-dark-section .view-details,
.iyba-dark-section a[class*="button"] {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    padding: 0.625rem 1.25rem !important;
    font-size: 0.8rem !important;
}

.iyba-dark-section a.btn:hover,
.iyba-dark-section .view-details:hover,
.iyba-dark-section a[class*="button"]:hover {
    background: var(--gy-turquoise) !important;
    border-color: var(--gy-turquoise) !important;
}

/* Also style the Featured Collection IYBA wrapper (light section) */
.iyba-featured-wrapper .listing-page > .container,
.iyba-featured-wrapper .vessel-listing-section > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

.iyba-featured-wrapper .result-sorting-wrapper {
    display: none !important;
}

.iyba-featured-wrapper #vessel_list,
.iyba-featured-wrapper .vessel_list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.iyba-featured-wrapper #vessel_list > meta,
.iyba-featured-wrapper #vessel_list > link,
.iyba-featured-wrapper #vessel_list > .clearfix,
.iyba-featured-wrapper .modal,
.iyba-featured-wrapper .api_search_message {
    display: none !important;
}


.iyba-featured-wrapper .vessel-items.grid_listing {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

.iyba-featured-wrapper .vessel-listing-m {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    transition: all 0.5s var(--ease-smooth) !important;
    height: 100% !important;
}

.iyba-featured-wrapper .vessel-listing-m:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 60px rgba(11, 20, 38, 0.12) !important;
}

.iyba-featured-wrapper .vessel-listing-img img,
.iyba-featured-wrapper .post-thumbnail img {
    width: 100% !important;
    height: 220px !important;
    display: block !important;
    object-fit: cover !important;
}

.iyba-featured-wrapper .vessel-listing-content {
    padding: 1.25rem !important;
}

.iyba-featured-wrapper .grid-vessel-price {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    color: var(--gy-midnight) !important;
    font-size: 1.25rem !important;
}

/* Ensure all Featured Collection text is visible */
.iyba-featured-wrapper .vessel-listing-content,
.iyba-featured-wrapper .vessel-listing-content * {
    color: var(--gy-midnight) !important;
}

.iyba-featured-wrapper .vl-left-band,
.iyba-featured-wrapper .vl-left-band * {
    color: var(--gy-midnight) !important;
    font-family: var(--font-body) !important;
}

.iyba-featured-wrapper .vessel-location-grid,
.iyba-featured-wrapper .vessel-location {
    color: var(--gy-grey) !important;
    font-size: 0.85rem !important;
}

.iyba-featured-wrapper .features_list,
.iyba-featured-wrapper .features_list * {
    color: var(--gy-grey) !important;
    font-size: 0.8rem !important;
}

.iyba-featured-wrapper .gray-bg {
    background-color: #fff !important;
}

/* Ensure the IYBA wrapper inside featured spans full width */
.iyba-featured-wrapper > .listing-page,
.iyba-featured-wrapper > .vessel-listing-section {
    width: 100% !important;
}

.iyba-featured-wrapper .mls-right-sec {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

.iyba-featured-wrapper .frm-iyba-yachts {
    width: 100% !important;
}

/* IYBA dark section responsive */
@media (max-width: 1024px) {
    .iyba-dark-section #vessel_list,
    .iyba-dark-section .vessel_list,
    .iyba-featured-wrapper #vessel_list,
    .iyba-featured-wrapper .vessel_list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .iyba-dark-section #vessel_list,
    .iyba-dark-section .vessel_list,
    .iyba-featured-wrapper #vessel_list,
    .iyba-featured-wrapper .vessel_list {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   IYBA PLUGIN OVERRIDES
   Match IYBA shortcode output to Ghost Yachts design
   ========================================== */

/* IYBA Search Form Override */
.iyba-search-form,
.wcg-iyba-search,
[class*="iyba-search"] {
    font-family: var(--font-body);
}

.iyba-search-form select,
.wcg-iyba-search select,
[class*="iyba-search"] select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gy-midnight);
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.3s ease;
}

.iyba-search-form select:focus,
.wcg-iyba-search select:focus,
[class*="iyba-search"] select:focus {
    outline: none;
    border-color: var(--gy-turquoise);
}

.iyba-search-form input[type="submit"],
.iyba-search-form button,
.wcg-iyba-search input[type="submit"],
.wcg-iyba-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gy-midnight);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--gy-midnight);
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    border-radius: 0;
}

.iyba-search-form input[type="submit"]:hover,
.iyba-search-form button:hover,
.wcg-iyba-search input[type="submit"]:hover,
.wcg-iyba-search button:hover {
    background: var(--gy-turquoise);
    border-color: var(--gy-turquoise);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.35);
}

/* IYBA Listing Grid Override */
.iyba-listing,
.iyba-featured-listing,
[class*="iyba-listing"],
[class*="iyba_listing"] {
    font-family: var(--font-body);
}

/* IYBA Yacht Card Override */
.iyba-listing .vessel-card,
.iyba-listing .listing-card,
[class*="iyba"] .vessel-card,
[class*="iyba"] .listing-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.5s var(--ease-smooth);
}

.iyba-listing .vessel-card:hover,
.iyba-listing .listing-card:hover,
[class*="iyba"] .vessel-card:hover,
[class*="iyba"] .listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(11, 20, 38, 0.12);
}

/* IYBA Card Image Override */
.iyba-listing .vessel-card img,
.iyba-listing .listing-card img,
[class*="iyba"] .vessel-card img,
[class*="iyba"] .listing-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s var(--ease-smooth);
}

.iyba-listing .vessel-card:hover img,
.iyba-listing .listing-card:hover img,
[class*="iyba"] .vessel-card:hover img,
[class*="iyba"] .listing-card:hover img {
    transform: scale(1.05);
}

/* IYBA Typography Override */
[class*="iyba"] h2,
[class*="iyba"] h3,
[class*="iyba"] .vessel-name,
[class*="iyba"] .listing-title {
    font-family: var(--font-heading);
    color: var(--gy-midnight);
}

[class*="iyba"] .vessel-builder,
[class*="iyba"] .listing-builder {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gy-turquoise);
}

[class*="iyba"] .vessel-price,
[class*="iyba"] .listing-price {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gy-midnight);
}

/* IYBA Link/Button Override */
[class*="iyba"] a.btn,
[class*="iyba"] .view-details,
[class*="iyba"] a[class*="button"],
[class*="iyba"] .inquire-btn {
    background: var(--gy-midnight);
    color: #fff;
    border: 2px solid var(--gy-midnight);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s var(--ease-smooth);
    border-radius: 0;
}

[class*="iyba"] a.btn:hover,
[class*="iyba"] .view-details:hover,
[class*="iyba"] a[class*="button"]:hover,
[class*="iyba"] .inquire-btn:hover {
    background: var(--gy-turquoise);
    border-color: var(--gy-turquoise);
    color: #fff;
}

/* IYBA Featured Slider Override */
[class*="iyba-featured"] .slick-prev,
[class*="iyba-featured"] .slick-next,
[class*="iyba-featured"] .swiper-button-prev,
[class*="iyba-featured"] .swiper-button-next {
    color: var(--gy-turquoise);
}

[class*="iyba-featured"] .slick-dots li.slick-active button,
[class*="iyba-featured"] .swiper-pagination-bullet-active {
    background: var(--gy-turquoise);
}

/* IYBA Detail Page Override */
.iyba-yachts-detail,
[class*="iyba-detail"],
[class*="iyba-yacht-detail"] {
    font-family: var(--font-body);
}

.iyba-yachts-detail .vessel-name,
[class*="iyba-detail"] .vessel-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gy-midnight);
}

.iyba-yachts-detail .vessel-price,
[class*="iyba-detail"] .vessel-price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gy-midnight);
}

/* IYBA Grid Responsive Override */
@media (max-width: 1024px) {
    .iyba-listing .vessels-grid,
    .iyba-listing .listings-grid,
    [class*="iyba"] .vessels-grid,
    [class*="iyba"] .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .iyba-search-form select,
    .wcg-iyba-search select,
    [class*="iyba-search"] select {
        font-size: 1rem;
        min-height: 48px;
    }

    .iyba-search-form input[type="submit"],
    .iyba-search-form button,
    .wcg-iyba-search input[type="submit"],
    .wcg-iyba-search button {
        min-height: 48px;
        width: 100%;
    }

    .iyba-yachts-detail .vessel-name,
    [class*="iyba-detail"] .vessel-name {
        font-size: 1.75rem;
    }

    .iyba-yachts-detail .vessel-price,
    [class*="iyba-detail"] .vessel-price {
        font-size: 1.25rem;
    }

    [class*="iyba"] a.btn,
    [class*="iyba"] .view-details,
    [class*="iyba"] a[class*="button"],
    [class*="iyba"] .inquire-btn {
        min-height: 44px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .iyba-listing .vessels-grid,
    .iyba-listing .listings-grid,
    [class*="iyba"] .vessels-grid,
    [class*="iyba"] .listings-grid {
        grid-template-columns: 1fr;
    }
}
