/* ==========================================
   GHOST YACHTS - COMPONENT STYLES
   Denison-inspired: Gold / Black / White
   ========================================== */

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

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    padding: 0 2rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Static poster image — shows instantly as hero background */
.hero-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Video sits on top of poster, fades in once playing */
.hero-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    -webkit-appearance: none;
}

/* Block hero-bg clicks */
.hero-bg {
    pointer-events: none;
}

/* Hide all native video controls across browsers */
.hero-bg video::-webkit-media-controls,
.hero-bg video::-webkit-media-controls-enclosure,
.hero-bg video::-webkit-media-controls-panel,
.hero-bg video::-webkit-media-controls-play-button,
.hero-bg video::-webkit-media-controls-start-playback-button,
.hero-bg video::-webkit-media-controls-overlay-play-button,
.hero-bg video::-moz-media-controls,
.hero-bg video::-moz-media-controls-play-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Additional native control suppression (container, overlay enclosure, cast) */
.hero-bg video::-webkit-media-controls-container {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hero-bg video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
}

.hero-bg video::-internal-media-controls-overlay-cast-button {
    display: none !important;
}

/* Overlay sits ABOVE video to block play button and darken background */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 3;
    pointer-events: auto;
    cursor: default;
}

/* Content sits above overlay */
.hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gy-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--gy-white);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.hero-divider {
    width: 50px;
    height: 3px;
    background: var(--gy-gold);
    margin: 1.5rem auto;
}

/* Hero Search (Glassmorphism) */
.hero-search {
    width: 100%;
    max-width: 1000px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.8rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}

.search-bar-row {
    display: flex;
    gap: 0.8rem;
    align-items: flex-end;
}

.search-bar-row .search-field {
    flex: 1;
}

.search-bar-row .search-field label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.4rem;
}

.search-bar-row .search-field select,
.search-bar-row .search-field input {
    width: 100%;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    color: var(--gy-white);
    background: rgba(255, 255, 255, 0.08);
    padding: 0 0.8rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.3s;
}

.search-bar-row .search-field select:focus,
.search-bar-row .search-field input:focus {
    border-color: var(--gy-gold);
}

.search-bar-row .search-field select option {
    background: var(--gy-black);
    color: var(--gy-white);
}

.search-btn {
    height: 44px;
    padding: 0 1.8rem;
    background: var(--gy-gold);
    color: var(--gy-white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--gy-gold-dark);
}

/* IYBA Search in Hero - override plugin styles */
.iyba-hero-search {
    margin-top: 1rem;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-scroll-indicator .scroll-arrow {
    display: block;
    font-size: 1.2rem;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ==========================================
   MANUFACTURER RIBBON
   ========================================== */

.manufacturer-ribbon {
    background: var(--gy-black);
    padding: 1.5rem 2rem;
    overflow: hidden;
}

.manufacturer-ribbon-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.manufacturer-ribbon span {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

.manufacturer-ribbon span.brand-highlight {
    color: var(--gy-gold);
    font-weight: 600;
}

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

.intro-section {
    padding: 6rem 2rem;
    text-align: center;
}

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

.intro-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gy-gray-text);
}

.intro-section p a {
    color: var(--gy-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.intro-section p a:hover {
    color: var(--gy-gold-dark);
}

/* ==========================================
   YACHT CARDS (Featured / Price Reductions)
   ========================================== */

.yacht-section {
    padding: 6rem 2rem;
}

.yacht-section--cream {
    background: var(--gy-warm-gray);
}

.yacht-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.yacht-card {
    background: var(--gy-white);
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
}

.yacht-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

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

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

.yacht-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gy-white);
    background: var(--gy-gold);
}

.yacht-card-badge--reduced {
    background: #c0392b;
}

.yacht-card-info {
    padding: 1.5rem;
}

.yacht-card-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gy-black);
    margin-bottom: 0.3rem;
}

.yacht-card-specs {
    font-size: 0.8rem;
    color: var(--gy-gray-text);
    margin-bottom: 0.5rem;
}

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

/* Full-width section inner (Featured / Price Reductions) */
.yacht-section-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* IYBA Featured Wrapper - full width for homepage listing */
.iyba-featured-wrapper {
    margin-top: 2rem;
}

/* ==========================================
   BROWSE BY CATEGORY
   ========================================== */

.browse-section {
    padding: 6rem 2rem;
}

.browse-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.browse-card {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    cursor: pointer;
}

.browse-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.browse-card:hover img {
    transform: scale(1.08);
}

.browse-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
}

.browse-card-content {
    position: relative;
    z-index: 2;
}

.browse-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gy-white);
    margin-bottom: 0.3rem;
}

.browse-card-link {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gy-gold);
}

/* Prevent red/purple underline on browse cards (they are <a> tags) */
a.browse-card,
a.browse-card:visited,
a.browse-card:hover,
a.browse-card:active {
    text-decoration: none;
    color: inherit;
}

a.browse-card:hover .browse-card-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--gy-gold-light);
}

/* ==========================================
   SOCIAL MEDIA FEED
   ========================================== */

.social-feed-section {
    background: var(--gy-white);
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Video cards span 2 columns (when mixed with Instagram) */
.social-card--featured {
    grid-column: span 2;
}

.social-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--gy-black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Media container */
.social-card-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.social-card--video .social-card-media {
    aspect-ratio: 16 / 9;
}

.social-card--featured .social-card-media {
    aspect-ratio: 16 / 9;
}

.social-card--instagram .social-card-media {
    aspect-ratio: 1 / 1;
}

.social-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.social-card:hover .social-card-media img {
    transform: scale(1.05);
}

/* Video embed container */
.video-embed {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-embed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-embed::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.6));
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.video-play-btn svg {
    margin-left: 4px;
}

.video-play-btn:hover {
    background: var(--gy-gold);
    border-color: var(--gy-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video info bar */
.social-card-info {
    padding: 1rem 1.2rem;
}

.social-card-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.3rem;
}

.social-card-platform svg {
    opacity: 0.6;
}

.social-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    color: var(--gy-white);
    margin: 0;
    line-height: 1.3;
}

/* Instagram icon overlay */
.social-card-icon {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    padding: 0.4rem;
    display: flex;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-card--instagram:hover .social-card-icon {
    opacity: 1;
}

/* Instagram Reel badge */
.social-card-badge-reel {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

/* Dark gradient overlay on instagram images */
.social-card--instagram .social-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

/* Instagram profile embed */
.social-feed-instagram {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.social-feed-instagram .instagram-media {
    margin: 0 auto !important;
}

/* Social CTA buttons */
.social-feed-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-feed-cta .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Social feed responsive */
@media (max-width: 768px) {
    .social-feed-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 560px;
    }

    .social-card--featured {
        grid-column: span 1;
    }

    .video-play-btn {
        width: 48px;
        height: 48px;
    }

    .video-play-btn svg {
        width: 32px;
        height: 32px;
    }

    .social-card-title {
        font-size: 0.85rem;
    }

    .social-card-info {
        padding: 0.75rem 1rem;
    }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services-section-wrapper {
    padding: 6rem 2rem;
}

.services-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.services-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.services-intro p {
    font-size: 1rem;
    color: var(--gy-gray-text);
    line-height: 1.8;
}

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

.service-card {
    background: var(--gy-warm-gray);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card-icon {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--gy-gold);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gy-black);
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--gy-gray-text);
    line-height: 1.7;
}

/* Legacy services-grid styles (used in template-parts/services-grid.php) */
.services-section {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 500px;
}

.services-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
}

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

.services-grid .service-card {
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    text-align: left;
}

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

.services-grid .service-card h3 {
    color: var(--gy-white);
}

.services-grid .service-card p {
    color: rgba(255, 255, 255, 0.7);
}

.service-card-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gy-gold);
    margin-bottom: 1rem;
    opacity: 0.4;
}

.service-card-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gy-gold);
    transition: color 0.3s;
}

.service-card-link:hover {
    color: var(--gy-gold-light);
}

/* ==========================================
   NOT SURE WHERE TO START
   ========================================== */

.not-sure-section {
    padding: 6rem 2rem;
}

.not-sure-inner {
    max-width: 800px;
    margin: 0 auto;
}

.not-sure-section p {
    font-size: 1rem;
    color: var(--gy-gray-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.not-sure-section strong {
    color: var(--gy-black);
}

/* Start cards (legacy) */
.start-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.start-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--gy-gray-light);
    transition: border-color 0.3s, transform 0.3s;
}

.start-card:hover {
    border-color: var(--gy-gold);
    transform: translateY(-4px);
}

.start-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gy-black);
    margin-bottom: 1rem;
}

.start-card p {
    font-size: 0.9rem;
    color: var(--gy-gray-text);
    line-height: 1.7;
}

/* ==========================================
   LUXURY DETAILS SECTION
   ========================================== */

.luxury-section {
    padding: 6rem 2rem;
}

.luxury-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.luxury-section p {
    font-size: 1rem;
    color: var(--gy-gray-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Details Grid (legacy - image + text) */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.details-image img {
    width: 100%;
    height: auto;
}

.details-text p {
    font-size: 0.95rem;
    color: var(--gy-gray-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.astondoa-hero {
    position: relative;
    padding: 8rem 2rem;
    background: var(--gy-black);
    overflow: hidden;
}

.astondoa-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
}

.astondoa-hero-text .section-label {
    color: var(--gy-gold);
}

.astondoa-hero-text .section-title {
    color: var(--gy-white);
    font-size: clamp(2rem, 4vw, 3rem);
}

.astondoa-hero-text .section-divider {
    margin: 1.5rem 0;
}

.astondoa-hero-text {
    border-left: 3px solid var(--gy-gold);
    padding-left: 2rem;
}

.astondoa-hero-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.astondoa-heritage-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
}

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

.astondoa-heritage-stat .stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gy-gold);
    display: block;
}

.astondoa-heritage-stat .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.3rem;
    display: block;
}

.astondoa-hero-image {
    position: relative;
}

.astondoa-hero-image img {
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Partnership styles (legacy) */
.partnership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.partnership-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gy-gold);
    border: 1px solid var(--gy-gold);
    margin-bottom: 1.5rem;
}

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

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

.partnership-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.partnership-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gy-black);
    margin-bottom: 0.3rem;
}

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

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

.partnership-image-wrapper img {
    width: 100%;
    height: auto;
}

.partnership-stat-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    text-align: center;
}

.partnership-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gy-gold);
}

.partnership-stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

/* ==========================================
   ASTONDOA MODEL RANGE
   ========================================== */

.astondoa-models {
    padding: 6rem 2rem;
    background: var(--gy-warm-gray);
}

.astondoa-models-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Model Tabs */
.model-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.model-tab {
    padding: 0.5rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gy-gray-text);
    background: transparent;
    border: 1px solid var(--gy-gray-light);
    cursor: pointer;
    transition: all 0.3s;
}

.model-tab:hover {
    border-color: var(--gy-gold);
    color: var(--gy-gold);
}

.model-tab.active {
    background: var(--gy-black);
    color: var(--gy-white);
    border-color: var(--gy-black);
}

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.model-card {
    background: var(--gy-white);
    border: 1px solid var(--gy-gray-light);
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
    position: relative;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--gy-gold);
}

/* Model image (real photo) */
.model-image {
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.model-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Model image placeholder (gradient background with code overlay) */
.model-image-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    position: relative;
}

.model-display-text {
    text-align: center;
}

.model-code {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gy-white);
    line-height: 1;
}

.model-brand-label {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

.model-length-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.25rem 0.5rem;
}

.model-category-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gy-gold);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.3rem 0.6rem;
}

.model-info {
    padding: 1.5rem;
}

.model-info .model-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gy-black);
    margin-bottom: 0.5rem;
}

.model-info .model-desc {
    font-size: 0.85rem;
    color: var(--gy-gray-text);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.model-info .model-specs {
    font-size: 0.8rem;
    color: var(--gy-gray-text);
    margin-bottom: 0.5rem;
}

.model-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.model-info .model-inquire {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gy-gold);
    transition: color 0.3s;
}

.model-info .model-inquire:hover {
    color: var(--gy-gold-dark);
}

.model-details-link {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gy-gray-text);
    transition: color 0.3s;
}

.model-details-link:hover {
    color: var(--gy-black);
}

.spec-dot {
    margin: 0 0.3rem;
    opacity: 0.4;
}

.models-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Models Section (dark bg - legacy) */
.models-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    padding: 6rem 2rem;
}

.models-container {
    max-width: 1400px;
    margin: 0 auto;
}

.models-header {
    text-align: center;
    margin-bottom: 2rem;
}

.models-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ==========================================
   CTA BANNER
   ========================================== */

.cta-banner {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gy-black);
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.02) 20px,
        rgba(255, 255, 255, 0.02) 40px
    );
    z-index: 0;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 0 2rem;
}

.cta-banner .section-label {
    color: var(--gy-gold);
}

.cta-banner .heading-lg {
    color: var(--gy-white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.testimonials-section {
    padding: 6rem 2rem;
    background: var(--gy-warm-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.testimonial-card {
    background: var(--gy-white);
    padding: 2.5rem 2rem;
    border: 1px solid var(--gy-gray-light);
}

.testimonial-stars {
    color: var(--gy-gold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--gy-gray-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gy-black);
}

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

.trust-badges {
    padding: 3rem 2rem;
    background: var(--gy-white);
    border-bottom: 1px solid var(--gy-gray-light);
}

.trust-badges-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gy-gray-text);
    font-size: 0.8rem;
    font-weight: 500;
}

.trust-badge-icon {
    font-size: 1.2rem;
    color: var(--gy-gold);
}

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

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gy-gold);
    color: var(--gy-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 900;
    font-size: 1.2rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--gy-gold-dark);
}

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

.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--gy-black);
    padding: 0.75rem 1rem;
}

.mobile-contact-inner {
    display: flex;
    gap: 0.5rem;
}

.mobile-contact-inner a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gy-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-contact-inner a:first-child {
    background: var(--gy-gold);
    border-color: var(--gy-gold);
}

/* ==========================================
   IYBA PLUGIN STYLE OVERRIDES
   Targets actual IYBA DOM:
   .row.list.vessel_list.grid-view (container)
     .col-md-4.vessel-items.grid_listing (column)
       .vessel-listing-m.gray-bg (card)
         .vessel-listing-img.post-thumbnail-wrap (image)
         .vessel-listing-content (content)
           .lnk_vessel_title (title)
           .thing-process (year/type)
           .vessel-location-grid (location)
           .grid-vessel-price (price)
   ========================================== */

/* Global IYBA font override */
.gy-iyba-active .vessel-listing-content {
    font-family: var(--font-body) !important;
}

/* IYBA vessel titles across site */
.gy-iyba-active .lnk_vessel_title {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--gy-black) !important;
    text-decoration: none !important;
}

.gy-iyba-active .lnk_vessel_location {
    color: var(--gy-gray-text) !important;
    font-size: 0.85rem !important;
}

.gy-iyba-active .vessel-listing-follow {
    color: var(--gy-gold) !important;
}

/* IYBA buttons */
.gy-iyba-active .btnSaveSearch,
.gy-iyba-active .save_search_container button {
    background: var(--gy-gold) !important;
    border-color: var(--gy-gold) !important;
    font-family: var(--font-body) !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    border-radius: 0 !important;
}

.gy-iyba-active .btnSaveSearch:hover,
.gy-iyba-active .save_search_container button:hover {
    background: var(--gy-gold-dark) !important;
}

/* IYBA form overrides */
.gy-iyba-active select,
.gy-iyba-active input[type="text"],
.gy-iyba-active input[type="number"] {
    border-radius: 0 !important;
    font-family: var(--font-body) !important;
}

.gy-iyba-active .btn-primary,
.gy-iyba-active button[type="submit"] {
    border-radius: 0 !important;
}

/* ==========================================
   IYBA LISTING PAGE — FULL LAYOUT OVERRIDES
   DOM reference (from live site):
     .iyba_pro-main-wrapper
       .iybas-search-heading              ← gray banner "Yacht Search"
       .col-md-3.mls-left-sec             ← sidebar search
         .iyba-filter-heading h3           ← sidebar heading
         .frmIYBASearch                    ← search form
       .col-md-9.mls-right-sec            ← results area
         h2#search-string-placeholder      ← "Boats for Sale"
         .result-sorting-wrapper           ← count + list/grid btns
         .listing-page.vessel-listing-section
           #vessel_list.vessel_list        ← card grid
             .col-md-4.vessel-items.grid_listing
               .vessel-listing-m.gray-bg   ← card
                 .grid-vessel-sold "SOLD"  ← sold indicator
           ul.vessel-pagination            ← pagination
   ========================================== */

/* ---------- DESKTOP LAYOUT: sidebar + results ---------- */

/* Force the wrapper row into a side-by-side flex layout */
.gy-iyba-active .iyba_pro-main-wrapper .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

/* Sidebar: fixed 25% width */
.gy-iyba-active .mls-left-sec,
.gy-iyba-active .col-md-3.mls-left-sec {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    float: none !important;
}

/* Results area: remaining 75% */
.gy-iyba-active .mls-right-sec,
.gy-iyba-active .col-md-9.mls-right-sec {
    flex: 0 0 75% !important;
    max-width: 75% !important;
    width: 75% !important;
    float: none !important;
}

/* ---------- HIDE DUPLICATE / UNWANTED HEADINGS ---------- */

/* Gray banner at top of IYBA output */
.gy-iyba-active .iybas-search-heading {
    display: none !important;
}

/* "Boats for Sale" heading rendered by the plugin */
.gy-iyba-active #search-string-placeholder {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    color: var(--gy-black) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 0.5rem !important;
}

/* Original search-title overrides (from [IYBA-search] shortcode) */
.gy-iyba-active .iyba_pro_search h2,
.gy-iyba-active .iyba_pro_search h3,
.gy-iyba-active .iyba_pro_search .search-title,
.gy-iyba-active .iyba-search-title {
    display: none !important;
}

/* ---------- SIDEBAR SEARCH FORM (.mls-left-sec) ---------- */

.gy-iyba-active .mls-left-sec {
    background: var(--gy-white) !important;
    border: 1px solid var(--gy-gray-light) !important;
    border-radius: 0 !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
}

/* Sidebar heading */
.gy-iyba-active .iyba-filter-heading,
.gy-iyba-active .widget_heading {
    margin-bottom: 1rem !important;
}

.gy-iyba-active .iyba-filter-heading h3,
.gy-iyba-active .widget_heading h3 {
    font-family: var(--font-heading) !important;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    color: var(--gy-black) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* All/Power/Sail toggle buttons */
.gy-iyba-active .o-switch .btn {
    border-radius: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

.gy-iyba-active .o-switch .btn.btn-primary.active,
.gy-iyba-active .o-switch .btn.btn-primary:active {
    background-color: var(--gy-gold) !important;
    border-color: var(--gy-gold) !important;
    color: var(--gy-white) !important;
}

.gy-iyba-active .o-switch .btn.btn-primary:hover {
    background-color: var(--gy-gold) !important;
    border-color: var(--gy-gold) !important;
    color: var(--gy-white) !important;
}

/* Form inputs */
.gy-iyba-active .frmIYBASearch .form-control {
    border-radius: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    border: 1px solid var(--gy-gray-light) !important;
    color: var(--gy-black) !important;
    padding: 0.5rem 0.75rem !important;
}

.gy-iyba-active .frmIYBASearch .form-control:focus {
    border-color: var(--gy-gold) !important;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.15) !important;
    outline: none !important;
}

.gy-iyba-active .frmIYBASearch .form-group {
    margin-bottom: 0.75rem !important;
}

/* Search button */
.gy-iyba-active .btn_search_vessel,
.gy-iyba-active #btn_search_vessel {
    background: var(--gy-gold) !important;
    border-color: var(--gy-gold) !important;
    color: var(--gy-white) !important;
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    padding: 0.6rem 1rem !important;
    transition: background 0.3s !important;
}

.gy-iyba-active .btn_search_vessel:hover,
.gy-iyba-active #btn_search_vessel:hover {
    background: var(--gy-gold-dark) !important;
    border-color: var(--gy-gold-dark) !important;
}

/* Reset button */
.gy-iyba-active .btn_reset_search,
.gy-iyba-active #btn_reset_search {
    background: var(--gy-black) !important;
    border-color: var(--gy-black) !important;
    color: var(--gy-white) !important;
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    padding: 0.6rem 1rem !important;
}

.gy-iyba-active .btn_reset_search:hover,
.gy-iyba-active #btn_reset_search:hover {
    background: #222 !important;
}

/* IYBA search bar button (magnifying glass icon) */
.gy-iyba-active .btn-iyba-search {
    background-color: var(--gy-gold) !important;
    border-color: var(--gy-gold) !important;
    border-radius: 0 !important;
}

/* Select2 overrides (IYBA uses select2 for dropdowns) */
.gy-iyba-active .select2-container--default .select2-selection--single,
.gy-iyba-active .select2-container--default .select2-selection--multiple {
    border-radius: 0 !important;
    border: 1px solid var(--gy-gray-light) !important;
    font-family: var(--font-body) !important;
}

.gy-iyba-active .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--gy-gold) !important;
}

.gy-iyba-active .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    color: var(--gy-gold) !important;
}

/* ---------- RESULTS AREA (.mls-right-sec) ---------- */

/* Result count + view toggles */
.gy-iyba-active .result-sorting-wrapper {
    border-left: none !important;
    padding: 0.5rem 0 !important;
    margin-bottom: 1rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.gy-iyba-active .sorting-count {
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    color: var(--gy-gray-text) !important;
}

/* List/Grid view toggle buttons */
.gy-iyba-active .list-grid-btns {
    display: flex !important;
    gap: 0.25rem !important;
}

.gy-iyba-active .list-grid-btns a {
    color: var(--gy-gray-text) !important;
    font-size: 1rem !important;
    padding: 0.25rem 0.5rem !important;
}

.gy-iyba-active .list-grid-btns a.current,
.gy-iyba-active .list-grid-btns a:hover {
    color: var(--gy-gold) !important;
}

/* ---------- VESSEL GRID CARDS ---------- */

/* Ensure grid view renders in 3-column grid */
.gy-iyba-active #vessel_list.grid-view {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
}

/* Fallback: if #vessel_list has no .grid-view / .list-view class, default to 3-col grid */
.gy-iyba-active #vessel_list.vessel_list:not(.list-view) {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
}

/* In list view, single column */
.gy-iyba-active #vessel_list.list-view {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
}

/* Reset Bootstrap column widths on vessel cards */
.gy-iyba-active #vessel_list .vessel-items.grid_listing {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    float: none !important;
}

/* Card styling */
.gy-iyba-active #vessel_list .vessel-listing-m {
    border: 1px solid var(--gy-gray-light) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: var(--gy-white) !important;
    transition: box-shadow 0.3s ease !important;
    transform: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}

.gy-iyba-active #vessel_list .vessel-listing-m:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
}

/* Card images */
.gy-iyba-active #vessel_list .vessel-listing-img img,
.gy-iyba-active #vessel_list .vessel_image {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    display: block !important;
    transition: opacity 0.35s ease !important;
    transform: none !important;
}

.gy-iyba-active #vessel_list .vessel-listing-img,
.gy-iyba-active #vessel_list .post-thumbnail-wrap {
    height: 240px !important;
    overflow: hidden !important;
}

/* Subtle dim on vessel card hover — avoids transform conflicts with IYBA plugin */
.gy-iyba-active #vessel_list .vessel-listing-m:hover .vessel-listing-img img,
.gy-iyba-active #vessel_list .vessel-listing-m:hover .vessel_image {
    opacity: 0.88 !important;
    transform: none !important;
}

/* Card content */
.gy-iyba-active #vessel_list .vessel-listing-content {
    padding: 1.2rem !important;
    font-family: var(--font-body) !important;
}

/* Vessel title */
.gy-iyba-active #vessel_list .lnk_vessel_title {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--gy-black) !important;
    text-decoration: none !important;
}

.gy-iyba-active #vessel_list .lnk_vessel_title:hover {
    color: var(--gy-gold) !important;
}

/* Year/model info */
.gy-iyba-active #vessel_list .thing-process {
    font-size: 0.85rem !important;
    color: var(--gy-gray-text) !important;
}

/* Location */
.gy-iyba-active #vessel_list .vessel-location-grid,
.gy-iyba-active #vessel_list .lnk_vessel_location {
    font-size: 0.85rem !important;
    color: var(--gy-gray-text) !important;
    text-decoration: none !important;
}

/* Features list */
.gy-iyba-active #vessel_list .features_list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.5rem 0 !important;
    font-size: 0.8rem !important;
    color: var(--gy-gray-text) !important;
}

.gy-iyba-active #vessel_list .features_list li {
    display: inline !important;
    color: var(--gy-gray-text) !important;
}

/* Price */
.gy-iyba-active #vessel_list .grid-vessel-price {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--gy-black) !important;
    margin-top: 0.5rem !important;
}

/* Hide list-view price in grid, brokerage logo (default: hidden) */
.gy-iyba-active #vessel_list.grid-view .list-vessel-price,
.gy-iyba-active #vessel_list.grid-view .grid-row-none,
.gy-iyba-active #vessel_list .listingBrokerage-logo,
.gy-iyba-active #vessel_list .listingBrokerage-logo-wrapper {
    display: none !important;
}

/* Show brokerage logo on Ghost Yacht listings only */
.gy-iyba-active #vessel_list .gy-ghost-listing .listingBrokerage-logo,
.gy-iyba-active #vessel_list .gy-ghost-listing .listingBrokerage-logo-wrapper {
    display: block !important;
    margin-top: 0.6rem !important;
}

.gy-iyba-active #vessel_list .gy-ghost-listing .listingBrokerage-logo img,
.gy-iyba-active #vessel_list .gy-ghost-listing .img-listingBrokerage-logo {
    max-height: 28px !important;
    width: auto !important;
    opacity: 0.85 !important;
}

/* "Schedule Viewing" badge on Ghost listing cards */
.gy-viewing-badge {
    display: inline-block !important;
    margin-top: 0.75rem !important;
    padding: 0.35rem 0.9rem !important;
    background: var(--gy-gold) !important;
    color: var(--gy-white) !important;
    font-family: var(--font-body) !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    transition: background 0.3s ease !important;
}

.gy-viewing-badge:hover {
    background: var(--gy-gold-dark) !important;
    color: var(--gy-white) !important;
    text-decoration: none !important;
}

/* Follow button */
.gy-iyba-active .vessel-listing-follow {
    color: var(--gy-gold) !important;
}

/* ---------- SOLD VESSEL HIDING ---------- */

/* Cards flagged by our JS filter */
.gy-sold-hidden {
    display: none !important;
}

/* IYBA's own sold indicator — hide the "SOLD" badge text */
.gy-iyba-active .grid-vessel-sold,
.gy-iyba-active .list-vessel-sold {
    display: none !important;
}

/* ---------- PAGINATION ---------- */

.gy-iyba-active .vessel-pagination {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    gap: 0.25rem !important;
    justify-content: center !important;
    margin: 2rem 0 !important;
    flex-wrap: wrap !important;
}

.gy-iyba-active .vessel-pagination li {
    display: inline-block !important;
}

.gy-iyba-active .vessel-pagination li a,
.gy-iyba-active .vessel-pagination li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2.2rem !important;
    height: 2.2rem !important;
    padding: 0.25rem 0.5rem !important;
    border: 1px solid var(--gy-gray-light) !important;
    background: var(--gy-white) !important;
    color: var(--gy-black) !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

.gy-iyba-active .vessel-pagination li a:hover {
    background: var(--gy-gold) !important;
    border-color: var(--gy-gold) !important;
    color: var(--gy-white) !important;
}

.gy-iyba-active .vessel-pagination li.active a,
.gy-iyba-active .vessel-pagination li.active span,
.gy-iyba-active .vessel-pagination li.first.active a {
    background: var(--gy-gold) !important;
    border-color: var(--gy-gold) !important;
    color: var(--gy-white) !important;
    font-weight: 600 !important;
}

/* ---------- SAVE SEARCH / FOLLOW MODALS ---------- */

.gy-iyba-active .btnSaveSearch,
.gy-iyba-active .save_search_container button {
    background: var(--gy-gold) !important;
    border-color: var(--gy-gold) !important;
    font-family: var(--font-body) !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    border-radius: 0 !important;
}

.gy-iyba-active .btnSaveSearch:hover,
.gy-iyba-active .save_search_container button:hover {
    background: var(--gy-gold-dark) !important;
}

/* ---------- IYBA BOX CONTAINER (wraps plugin output) ---------- */

.gy-iyba-active .iyba_box_container {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

/* ---------- RESPONSIVE (Listings Page) ---------- */

/* iPad / Tablet (≤1024px):
   Stack sidebar above results so the listing grid
   gets full width. Reduces grid to 2 columns. */
@media (max-width: 1024px) {
    /* Force Bootstrap row to flex-wrap so columns stack */
    .gy-iyba-active .iyba_pro-main-wrapper .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    /* Override Bootstrap .container max-width at tablet */
    .gy-iyba-active .container {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Stack sidebar above results */
    .gy-iyba-active .mls-left-sec,
    .gy-iyba-active .col-md-3.mls-left-sec {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
    }

    .gy-iyba-active .mls-right-sec,
    .gy-iyba-active .col-md-9.mls-right-sec {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
    }

    /* Make the sidebar search collapsible on tablet */
    .gy-iyba-active .mls-left-sec {
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .gy-iyba-active #vessel_list.grid-view {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Pagination: smaller touch targets, wrap nicely */
    .gy-iyba-active .vessel-pagination li a,
    .gy-iyba-active .vessel-pagination li span {
        min-width: 2rem !important;
        height: 2rem !important;
        font-size: 0.8rem !important;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .gy-iyba-active #vessel_list.grid-view {
        grid-template-columns: 1fr !important;
    }

    .gy-iyba-active #vessel_list .vessel-listing-img img,
    .gy-iyba-active #vessel_list .vessel_image {
        height: 200px !important;
    }

    .gy-iyba-active #vessel_list .vessel-listing-img,
    .gy-iyba-active #vessel_list .post-thumbnail-wrap {
        height: 200px !important;
    }

    .gy-iyba-active .result-sorting-wrapper {
        flex-direction: column !important;
        gap: 0.5rem !important;
        text-align: center !important;
    }

    /* Pagination: compact for small screens */
    .gy-iyba-active .vessel-pagination {
        gap: 0.15rem !important;
    }

    .gy-iyba-active .vessel-pagination li a,
    .gy-iyba-active .vessel-pagination li span {
        min-width: 1.8rem !important;
        height: 1.8rem !important;
        font-size: 0.75rem !important;
        padding: 0.15rem 0.35rem !important;
    }
}

/* ---------- Bootstrap html override fix ----------
   IYBA's Bootstrap sets html { font-size: 62.5% } which
   breaks rem-based layouts across the site. Override it. */
.gy-iyba-active {
    font-size: 1rem !important;
}

/* ==========================================
   IYBA FEATURED WRAPPER (Homepage)
   Strategy: Hide raw IYBA output. JS extracts yacht cards
   into a .iyba-clean-grid div. CSS only styles that grid.
   ========================================== */

/* Hide raw IYBA plugin output until JS processes it */
.iyba-featured-wrapper .iyba-raw-output {
    display: none !important;
}

/* The clean grid created by our JS */
.iyba-clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Reset Bootstrap column widths on extracted cards */
.iyba-clean-grid .grid_listing,
.iyba-clean-grid .vessel-items,
.iyba-clean-grid .col-md-4 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    flex: none !important;
}

/* YACHT CARD STYLING */
.iyba-clean-grid .vessel-listing-m,
.iyba-featured-wrapper .vessel-listing-m {
    border: 1px solid var(--gy-gray-light) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: var(--gy-white) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    height: auto !important;
    min-height: 0 !important;
}

.iyba-clean-grid .vessel-listing-m:hover,
.iyba-featured-wrapper .vessel-listing-m:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
}

/* Card images */
.iyba-clean-grid .vessel-listing-img img,
.iyba-clean-grid .post-thumbnail img,
.iyba-clean-grid .vessel_image {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
}

.iyba-clean-grid .vessel-listing-img,
.iyba-clean-grid .post-thumbnail-wrap {
    height: 240px !important;
    overflow: hidden !important;
}

/* Card content */
.iyba-clean-grid .vessel-listing-content {
    padding: 1.2rem !important;
}

.iyba-clean-grid .lnk_vessel_title {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--gy-black) !important;
    text-decoration: none !important;
}

.iyba-clean-grid .thing-process {
    font-size: 0.85rem !important;
    color: var(--gy-gray-text) !important;
}

.iyba-clean-grid .vessel-location-grid {
    font-size: 0.85rem !important;
    color: var(--gy-gray-text) !important;
}

.iyba-clean-grid .grid-vessel-price {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--gy-black) !important;
}

/* Hide list-view price, brokerage logo */
.iyba-clean-grid .list-vessel-price,
.iyba-clean-grid .grid-row-none,
.iyba-clean-grid .listingBrokerage-logo,
.iyba-clean-grid .listingBrokerage-logo-wrapper {
    display: none !important;
}

/* ---- Owl Carousel Article Cards (from IYBA-featured-yachts-slider) ---- */
/* These cards use <article> with .post-thumbnail-wrap and .iybafy-slider-content */

.iyba-clean-grid article {
    border: 1px solid var(--gy-gray-light) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: var(--gy-white) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    display: block !important;
}

.iyba-clean-grid article:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
}

.iyba-clean-grid article a {
    text-decoration: none !important;
    color: inherit !important;
}

/* Article card images */
.iyba-clean-grid .post-thumbnail-wrap {
    position: relative !important;
    overflow: hidden !important;
}

.iyba-clean-grid .post-thumbnail-wrap img,
.iyba-clean-grid .post-thumbnail img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Article card content area */
.iyba-clean-grid .post-entry-content,
.iyba-clean-grid .iybafy-slider-content {
    padding: 1.2rem !important;
}

/* Yacht name in article card */
.iyba-clean-grid .entry-title {
    margin: 0 0 0.5rem !important;
    padding: 0 !important;
}

.iyba-clean-grid .entry-title a,
.iyba-clean-grid .entry-title .lnk_vessel_title {
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    color: var(--gy-black) !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
}

/* Content rows (year/type, location, price) */
.iyba-clean-grid .iybafy-content-row {
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    color: var(--gy-gray-text) !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.4 !important;
}

.iyba-clean-grid .iybafy-content-row.grid-vessel-price {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--gy-black) !important;
    margin-top: 0.5rem !important;
}

/* Price Reductions — new price + old strikethrough price */
.iyba-clean-grid .iybafy-vessel-price-wrapper {
    margin-top: 0.5rem !important;
}

.iyba-clean-grid .iybafy-vessel-new-price {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--gy-black) !important;
    display: block !important;
}

.iyba-clean-grid .iybafy-vessel-old-price {
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    color: var(--gy-gray-text) !important;
    display: block !important;
    margin-top: 0.15rem !important;
}

.iyba-clean-grid .iybafy-vessel-old-price strike {
    text-decoration: line-through !important;
    color: #999 !important;
}

/* Hide Owl Carousel nav arrows, dots, and other slider UI in clean grid */
.iyba-clean-grid .owl-nav,
.iyba-clean-grid .owl-dots,
.iyba-clean-grid .owl-controls,
.iyba-clean-grid .dt-owl-nav,
.iyba-clean-grid .iybafy-slider-nav {
    display: none !important;
}

/* Responsive grid */
@media (max-width: 1024px) {
    .iyba-clean-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .iyba-clean-grid {
        grid-template-columns: 1fr;
    }

    .iyba-clean-grid .vessel-listing-img img,
    .iyba-clean-grid .post-thumbnail img,
    .iyba-clean-grid .post-thumbnail-wrap img,
    .iyba-clean-grid .vessel_image {
        height: 200px !important;
    }

    .iyba-clean-grid .vessel-listing-img,
    .iyba-clean-grid .post-thumbnail-wrap {
        height: 200px !important;
    }
}

/* ==========================================
   SELL YOUR YACHT PAGE
   ========================================== */

.sell-hero {
    background: var(--gy-black);
    padding: 10rem 2rem 5rem;
    text-align: center;
}

.sell-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.sell-hero-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gy-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.sell-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--gy-white);
    margin-bottom: 1.5rem;
}

.sell-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.sell-intro-desc {
    font-size: 1rem;
    color: var(--gy-gray-text);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.sell-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sell-help-card {
    background: var(--gy-white);
    padding: 2rem;
    border: 1px solid var(--gy-gray-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sell-help-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sell-help-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gy-gold);
    opacity: 0.4;
    display: block;
    margin-bottom: 0.5rem;
}

.sell-help-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gy-black);
    margin-bottom: 0.8rem;
}

.sell-help-card p {
    font-size: 0.9rem;
    color: var(--gy-gray-text);
    line-height: 1.7;
}

.sell-form-wrapper {
    margin-top: 2rem;
}

.sell-form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 2px;
}

.sell-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sell-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================
   YACHT MANAGEMENT PAGE
   ========================================== */

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

.mgmt-service-card {
    background: var(--gy-warm-gray);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--gy-gray-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mgmt-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.mgmt-service-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gy-black);
    margin-bottom: 0.8rem;
}

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

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

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

.contact-info-card {
    background: var(--gy-warm-gray);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--gy-gray-light);
}

.contact-info-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-info-icon svg {
    width: 32px;
    height: 32px;
}

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

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

.contact-info-label {
    font-size: 0.8rem;
    color: var(--gy-gray-text);
    margin-bottom: 0.5rem;
}

.contact-info-link {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gy-gold);
    transition: color 0.3s;
}

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

.contact-info-phone {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gy-black);
    display: block;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

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

.contact-info-email {
    font-size: 0.95rem;
    color: var(--gy-gold);
    transition: color 0.3s;
}

.contact-info-email:hover {
    color: var(--gy-gold-dark);
}

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

.contact-info-hours {
    font-size: 0.85rem;
    color: var(--gy-gray-text);
    line-height: 1.8;
}

.contact-map-wrapper {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-map-wrapper iframe {
    display: block;
}

.contact-directions {
    margin-top: 3rem;
}

.contact-directions h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gy-black);
}

.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: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gy-black);
    margin-bottom: 0.5rem;
}

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

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

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

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

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

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

.team-grid--flow {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.team-grid--flow .team-card {
    flex: 0 0 calc(25% - 1.5rem);
    max-width: calc(25% - 1.5rem);
}

.team-card {
    background: var(--gy-white);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--gy-gray-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gy-black) 0%, var(--gy-black-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--gy-gold);
}

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

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-initials {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--gy-gold);
}

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

.team-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gy-black);
    margin-bottom: 0.3rem;
}

.team-title {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gy-gold);
    margin-bottom: 1rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.team-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--gy-black);
    transition: color 0.3s;
}

.team-phone:hover {
    color: var(--gy-gold);
}

.team-phone svg {
    flex-shrink: 0;
}

.team-phone-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gy-gray-text);
    min-width: 34px;
}

.team-email {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--gy-gray-text);
    transition: color 0.3s;
}

.team-email:hover {
    color: var(--gy-gold);
}

.team-email svg {
    flex-shrink: 0;
}

.team-languages {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gy-gray-text);
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--gy-gray-light);
}

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

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

.page-hero-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gy-gold);
    display: block;
    margin-bottom: 1rem;
}

.ast-heritage-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.ast-heritage-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--gy-gold);
    display: block;
}

.ast-heritage-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.3rem;
    display: block;
}

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

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

.ast-custom-step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gy-gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

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

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

.ast-cta-section {
    background: var(--gy-black);
    padding: 6rem 2rem;
}

.yacht-card-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 2rem;
}

.yacht-card-placeholder span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.ast-model-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gy-white);
    background: var(--gy-gold);
    padding: 0.3rem 0.6rem;
}

/* ==========================================
   FORMS (shared across sell, contact pages)
   ========================================== */

.gy-form {
    margin-top: 2rem;
}

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

.gy-form-group {
    margin-bottom: 1.5rem;
}

.gy-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gy-black);
    margin-bottom: 0.5rem;
}

.gy-form-group label .required {
    color: #c0392b;
}

.gy-form-group input,
.gy-form-group textarea,
.gy-form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gy-black);
    background: var(--gy-white);
    border: 1px solid var(--gy-gray-light);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

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

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

/* ==========================================
   CONTACT FORM 7 — Ghost Yachts Styling
   ========================================== */

.gy-cf7-wrapper .wpcf7 {
    margin-top: 0;
}

.gy-cf7-wrapper .wpcf7-form p {
    margin-bottom: 1.25rem;
}

/* Two-column row/col layout */
.gy-cf7-wrapper .gy-form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.gy-cf7-wrapper .gy-form-col {
    flex: 1;
}

.gy-cf7-wrapper .wpcf7-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gy-black);
    margin-bottom: 0.4rem;
}

.gy-cf7-wrapper .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gy-black);
    background: var(--gy-white);
    border: 1px solid var(--gy-gray-light);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.gy-cf7-wrapper .wpcf7-form-control:not(.wpcf7-submit):focus {
    border-color: var(--gy-gold);
}

.gy-cf7-wrapper .wpcf7-textarea {
    resize: vertical;
    min-height: 120px;
}

.gy-cf7-wrapper .wpcf7-submit {
    display: inline-block;
    width: 100%;
    padding: 0.9rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gy-white);
    background: var(--gy-gold);
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s;
}

.gy-cf7-wrapper .wpcf7-submit:hover {
    background: var(--gy-gold-dark);
}

/* Validation messages */
.gy-cf7-wrapper .wpcf7-not-valid-tip {
    font-size: 0.75rem;
    color: #c0392b;
    margin-top: 0.3rem;
}

.gy-cf7-wrapper .wpcf7-validation-errors,
.gy-cf7-wrapper .wpcf7-mail-sent-ok {
    border: none !important;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 2px;
}

.gy-cf7-wrapper .wpcf7-validation-errors {
    background: #fdf0ed;
    color: #c0392b;
}

.gy-cf7-wrapper .wpcf7-mail-sent-ok {
    background: #f0fdf4;
    color: #15803d;
}

.gy-cf7-wrapper .wpcf7-response-output {
    border: none !important;
    padding: 1rem;
    margin: 1.5rem 0 0 !important;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 2px;
}

/* Spinner */
.gy-cf7-wrapper .wpcf7-spinner {
    margin: 0.5rem auto 0;
    display: block;
}

/* CF7 span wrappers — ensure full width */
.gy-cf7-wrapper span.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Hide CF7 default line breaks */
.gy-cf7-wrapper .wpcf7 br {
    display: none;
}

/* Mobile: stack two-column rows */
@media (max-width: 768px) {
    .gy-cf7-wrapper .gy-form-row {
        flex-direction: column;
        gap: 0;
    }
    .gy-cf7-wrapper .gy-form-col {
        margin-bottom: 1.25rem;
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

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

    .browse-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .astondoa-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .partnership-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Page template responsive - 1024px */
    .mgmt-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-directions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .team-grid--flow .team-card {
        flex: 0 0 calc(33.333% - 1.4rem);
        max-width: calc(33.333% - 1.4rem);
    }

    .ast-custom-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 0 1rem;
    }

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

    .hero-search {
        display: none;
    }

    .manufacturer-ribbon-inner {
        gap: 1rem 1.5rem;
    }

    .manufacturer-ribbon span {
        font-size: 0.55rem;
    }

    .intro-section,
    .yacht-section,
    .browse-section,
    .services-section-wrapper,
    .not-sure-section,
    .luxury-section,
    .astondoa-hero,
    .astondoa-models {
        padding: 3.5rem 1.2rem;
    }

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

    .yacht-card-image {
        height: 200px;
    }

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

    .browse-card {
        height: 180px;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

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

    .services-grid .service-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .model-tabs {
        gap: 0.4rem;
    }

    .model-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.55rem;
    }

    .model-image-placeholder {
        min-height: 180px;
    }

    .model-image {
        min-height: 180px;
    }

    .model-image img {
        min-height: 180px;
    }

    .astondoa-heritage-stats {
        flex-wrap: wrap;
    }

    .astondoa-heritage-stat {
        min-width: 40%;
        flex: 1 1 40%;
    }

    .cta-banner {
        height: 320px;
    }

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

    /* Full-width section responsive */
    .yacht-section-full {
        padding: 0 1.2rem;
    }

    /* Page template responsive - 768px */
    .sell-hero {
        padding: 7rem 1.2rem 3rem;
    }

    .sell-help-grid {
        grid-template-columns: 1fr;
    }

    .mgmt-services-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .team-grid--leadership,
    .team-grid--support {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .team-grid--flow .team-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    .team-card {
        padding: 1.5rem 1rem;
    }

    .team-card--compact {
        padding: 1.2rem 0.8rem;
    }

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

    .team-avatar--small {
        width: 70px;
        height: 70px;
        margin-bottom: 0.8rem;
    }

    .team-name {
        font-size: 1rem;
    }

    .team-title {
        font-size: 0.72rem;
        margin-bottom: 0.6rem;
    }

    .team-phone {
        font-size: 0.78rem;
    }

    .team-email {
        font-size: 0.72rem;
    }

    .page-hero--tall {
        padding: 8rem 1.2rem 3rem;
    }

    .gy-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .browse-card {
        height: 170px;
    }

    .team-grid--leadership,
    .team-grid--support,
    .team-grid--brokers {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .team-grid--flow .team-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .team-card {
        padding: 1.5rem 1.2rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }

    .team-avatar--small {
        width: 80px;
        height: 80px;
    }
}
