/* ==========================================
   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, 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;
}

.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: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    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: 2;
    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: 6rem 2rem;
    background: var(--gy-black);
    overflow: hidden;
}

.astondoa-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

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

.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: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

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

.astondoa-heritage-stat .stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    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 img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

/* 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 Search Title override - hide the big "Yacht Search" heading */
.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;
}

/* ==========================================
   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 {
    grid-template-columns: repeat(4, 1fr);
}

.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;
}

/* ==========================================
   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 {
        grid-template-columns: repeat(3, 1fr);
    }

    .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 {
        grid-template-columns: repeat(2, 1fr);
        gap: 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 {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

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

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

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