/* ═══════════════════════════════════════════
   NAVE MAGNA — PAGE STYLES
   Hero, stats, listings, services, about, CTA, footer, subpages, fleet, detail
   File: /css/pages.css
   ═══════════════════════════════════════════ */

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 40%,rgba(26,45,74,.9),transparent), radial-gradient(ellipse 50% 70% at 20% 80%,rgba(10,22,40,.95),transparent), linear-gradient(160deg,#0d1f3c 0%,#0a1628 40%,#0f1a2e 100%); }
.hero-bg::before { content: ''; position: absolute; top: -20%; right: -10%; width: 900px; height: 900px; background: radial-gradient(circle,rgba(201,169,110,.06) 0%,transparent 70%); animation: glow 8s ease-in-out infinite; }
.hero-line { position: absolute; top: 0; width: 1px; height: 100%; background: linear-gradient(to bottom,transparent,rgba(201,169,110,.2) 30%,rgba(201,169,110,.2) 70%,transparent); }
@keyframes glow { 0%,100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero .container { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 80px; }
.hero-eyebrow { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; font-weight: 400; animation: fadeUp 1s .2s both; }
.hero h1 { font-family: var(--serif); font-size: clamp(48px,7vw,96px); font-weight: 300; line-height: 1.05; margin-bottom: 32px; max-width: 900px; animation: fadeUp 1s .4s both; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--text-light); max-width: 540px; margin-bottom: 48px; animation: fadeUp 1s .6s both; }
.hero-actions { display: flex; gap: 20px; animation: fadeUp 1s .8s both; flex-wrap: wrap; }

/* ── STATS ── */
.stats { border-top: 1px solid rgba(201,169,110,.12); border-bottom: 1px solid rgba(201,169,110,.12); background: rgba(10,22,40,.6); backdrop-filter: blur(8px); }
.stats .container { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 48px 32px; text-align: center; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 1px; background: rgba(201,169,110,.15); }
.stat-number { font-family: var(--serif); font-size: 52px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); font-weight: 400; }

/* ── LISTINGS ── */
.listings { padding: 120px 0; background: var(--navy); }
.listings-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.listing-card { position: relative; overflow: hidden; background: var(--navy-mid); border: 1px solid rgba(201,169,110,.08); transition: all .5s; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.listing-card:hover { border-color: rgba(201,169,110,.25); transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.listing-image { position: relative; height: 280px; background: var(--navy-light); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; }
.listing-image-gradient { position: absolute; inset: 0; background: linear-gradient(to top,var(--navy-mid),transparent 50%); z-index: 1; }
.listing-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.listing-body { padding: 28px; }
.listing-name { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.listing-specs { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.listing-specs span { display: flex; align-items: center; gap: 6px; }
.listing-specs span::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.listing-specs span:first-child::before { display: none; }
.listing-desc-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; font-weight: 300; }
.listing-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.listing-price { font-family: var(--serif); font-size: 22px; color: var(--gold); font-weight: 500; }
.listing-empty { text-align: center; padding: 60px 0; color: var(--text-muted); }

/* ── SERVICES ── */
.services { padding: 120px 0; background: linear-gradient(180deg,var(--navy-mid) 0%,var(--navy) 100%); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.service-card { padding: 52px 40px; background: rgba(17,29,51,.6); border: 1px solid rgba(201,169,110,.06); transition: all .5s; position: relative; overflow: hidden; display: block; text-decoration: none; color: inherit; cursor: pointer; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: rgba(26,45,74,.5); }
.service-icon { width: 48px; height: 48px; margin-bottom: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(201,169,110,.3); color: var(--gold); }
.service-name { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 14px; }
.service-desc { font-size: 15px; font-weight: 300; color: var(--text-light); line-height: 1.7; }

/* ── ABOUT ── */
.about { padding: 120px 0; background: var(--navy); }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; height: 560px; background: linear-gradient(135deg,var(--navy-light) 0%,var(--navy-mid) 100%); border: 1px solid rgba(201,169,110,.1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-visual::before { content: ''; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(201,169,110,.12); border-radius: 50%; animation: spin 30s linear infinite; }
.about-visual::after { content: ''; position: absolute; width: 200px; height: 200px; border: 1px solid rgba(201,169,110,.08); border-radius: 50%; animation: spin 20s linear infinite reverse; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.about-visual-inner { position: relative; z-index: 1; text-align: center; }
.about-visual-label { margin-top: 20px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); }
.about-content .section-eyebrow { text-align: left; }
.about-content .section-title { text-align: left; font-size: clamp(32px,3.5vw,48px); }
.about-text { font-size: 16px; font-weight: 300; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.about-features { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-feature { display: flex; gap: 14px; align-items: flex-start; }
.about-feature-dot { width: 8px; height: 8px; margin-top: 6px; background: var(--gold); flex-shrink: 0; }
.about-feature-text { font-size: 14px; font-weight: 400; color: var(--text-light); line-height: 1.5; }

/* ── TESTIMONIAL ── */
.testimonial { padding: 100px 0; background: var(--navy-mid); border-top: 1px solid rgba(201,169,110,.08); border-bottom: 1px solid rgba(201,169,110,.08); }
.testimonial .container { max-width: 800px; text-align: center; }
.testimonial-mark { font-family: var(--serif); font-size: 120px; color: var(--gold); opacity: .2; line-height: .5; margin-bottom: 20px; }
.testimonial-text { font-family: var(--serif); font-size: 26px; font-weight: 300; font-style: italic; line-height: 1.6; margin-bottom: 36px; color: var(--cream); }
.testimonial-author { font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* ── CTA ── */
.cta { padding: 120px 0; background: linear-gradient(160deg,var(--navy-light) 0%,var(--navy) 100%); text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: 50%; left: 50%; width: 600px; height: 600px; background: radial-gradient(circle,rgba(201,169,110,.05),transparent 70%); transform: translate(-50%,-50%); }
.cta .container { position: relative; z-index: 1; }

/* ── FOOTER ── */
.site-footer { padding: 80px 0 40px; background: var(--navy); border-top: 1px solid rgba(201,169,110,.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand-name span { color: var(--gold); }
.footer-brand-desc { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.7; max-width: 320px; }
.footer-heading { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; font-weight: 500; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color .3s; font-weight: 300; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,.05); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-muted); }
.footer-legal { max-width: 600px; line-height: 1.6; font-weight: 300; }

/* ── FLEET PAGE ── */
.fleet-page { min-height: 100vh; background: var(--navy); }
.fleet-hero { position: relative; padding: 180px 0 80px; overflow: hidden; }
.fleet-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 60% 40%,rgba(26,45,74,.8),transparent), linear-gradient(160deg,var(--navy-mid) 0%,var(--navy) 100%); }
.fleet-hero::after { content: ''; position: absolute; top: -30%; right: -15%; width: 700px; height: 700px; background: radial-gradient(circle,rgba(201,169,110,.04) 0%,transparent 70%); animation: glow 8s ease-in-out infinite; }
.fleet-hero .container { position: relative; z-index: 2; }
.fleet-count { font-size: 14px; color: var(--text-muted); margin-top: 16px; }
.fleet-body { padding: 80px 0 120px; }
.fleet-filters { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.fleet-filter { padding: 10px 24px; background: none; border: 1px solid rgba(255,255,255,.1); color: var(--text-light); font-family: var(--sans); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all .3s; }
.fleet-filter:hover { border-color: var(--gold); color: var(--gold); }
.fleet-filter.active { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 600; }
.fleet-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.fleet-card { position: relative; overflow: hidden; background: var(--navy-mid); border: 1px solid rgba(201,169,110,.08); transition: all .5s; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.fleet-card:hover { border-color: rgba(201,169,110,.25); transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.fleet-card-image { position: relative; height: 240px; background: var(--navy-light); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.fleet-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fleet-card:hover .fleet-card-image img { transform: scale(1.05); }
.fleet-card-gradient { position: absolute; inset: 0; background: linear-gradient(to top,var(--navy-mid),transparent 50%); z-index: 1; }
.fleet-card-body { padding: 24px; }
.fleet-card-name { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.fleet-card-specs { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.fleet-card-specs span { display: flex; align-items: center; gap: 5px; }
.fleet-card-specs span::before { content: ''; width: 3px; height: 3px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.fleet-card-specs span:first-child::before { display: none; }
.fleet-card-price { font-family: var(--serif); font-size: 20px; color: var(--gold); font-weight: 500; }
.fleet-card-cta { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 12px; transition: color .3s; }
.fleet-card:hover .fleet-card-cta { color: var(--gold); }
.fleet-empty { text-align: center; padding: 80px 40px; color: var(--text-muted); }
.fleet-sold-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: rgba(10,22,40,.6); pointer-events: none; }
.fleet-sold-tag { font-family: var(--serif); font-size: 28px; color: var(--gold); letter-spacing: 4px; text-transform: uppercase; border: 2px solid var(--gold); padding: 8px 24px; transform: rotate(-8deg); }

/* ── YACHT DETAIL ── */
.yacht-detail { min-height: 100vh; background: var(--navy); }
.yacht-detail-hero { position: relative; padding: 180px 0 80px; overflow: hidden; }
.yacht-detail-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 60% 40%,rgba(26,45,74,.8),transparent), linear-gradient(160deg,var(--navy-mid) 0%,var(--navy) 100%); }
.yacht-detail-hero .container { position: relative; z-index: 2; }
.yacht-detail-body { padding: 0 0 100px; }
.yacht-detail-body .container { max-width: 1100px; }
.yacht-detail-layout { }

/* Price bar */
.yd-pricebar { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(201,169,110,.08); flex-wrap: wrap; gap: 16px; }
.yd-pricebar-price { font-family: var(--serif); font-size: 42px; color: var(--gold); font-weight: 400; }
.yd-pricebar-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Two-column info: specs left, description right */
.yd-info-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding: 36px 0; align-items: start; }

/* Key specs pills at top of left column */
.yd-keypills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.yd-pill { padding: 8px 14px; background: rgba(17,29,51,.5); border: 1px solid rgba(201,169,110,.08); }
.yd-pill-label { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 2px; }
.yd-pill-value { color: var(--white); font-weight: 500; font-size: 14px; }

/* Description */
.yd-desc-section { }
.yd-desc-section p { font-size: 16px; font-weight: 300; color: var(--text-light); line-height: 1.85; margin-bottom: 20px; }

/* Video section */
.yd-video-section { padding: 32px 0; border-top: 1px solid rgba(201,169,110,.06); }

/* Broker + actions footer */
.yd-footer { display: flex; align-items: center; gap: 24px; padding: 28px 0; border-top: 1px solid rgba(201,169,110,.08); flex-wrap: wrap; }
.yd-footer-left { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.yd-footer-right { display: flex; gap: 10px; flex-wrap: wrap; }

/* Downloads row */
.yd-downloads { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 20px; }

/* ── SUBPAGES ── */
.subpage { min-height: 100vh; background: var(--navy); }
.subpage-hero { position: relative; padding: 180px 0 100px; overflow: hidden; }
.subpage-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 60% 40%,rgba(26,45,74,.8),transparent), linear-gradient(160deg,var(--navy-mid) 0%,var(--navy) 100%); }
.subpage-hero::after { content: ''; position: absolute; top: -30%; right: -15%; width: 700px; height: 700px; background: radial-gradient(circle,rgba(201,169,110,.04) 0%,transparent 70%); animation: glow 8s ease-in-out infinite; }
.subpage-hero .container { position: relative; z-index: 2; }
.subpage-breadcrumb { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.subpage-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .3s; }
.subpage-breadcrumb a:hover { color: var(--gold); }
.subpage-breadcrumb span { color: var(--gold); margin: 0 10px; }
.subpage-hero h1 { font-family: var(--serif); font-size: clamp(40px,5vw,68px); font-weight: 300; line-height: 1.1; margin-bottom: 24px; max-width: 700px; }
.subpage-hero h1 em { font-style: italic; color: var(--gold); }
.subpage-hero-desc { font-size: 18px; font-weight: 300; color: var(--text-light); max-width: 600px; line-height: 1.7; }
.subpage-body { padding: 100px 0; }
.subpage-body .container { max-width: 960px; }
.subpage-intro { font-size: 17px; font-weight: 300; color: var(--text-light); line-height: 1.8; margin-bottom: 60px; }
.subpage-section { margin-bottom: 80px; }
.subpage-section-title { font-family: var(--serif); font-size: 32px; font-weight: 400; margin-bottom: 24px; color: var(--white); }
.subpage-section-title span { color: var(--gold); }
.subpage-text { font-size: 16px; font-weight: 300; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }

/* Process steps */
.process-steps { counter-reset: step; }
.process-step { counter-increment: step; display: flex; gap: 28px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid rgba(201,169,110,.08); }
.process-step:last-child { border-bottom: none; }
.process-step::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 36px; font-weight: 300; color: var(--gold); min-width: 60px; line-height: 1; padding-top: 4px; }
.process-step-content { flex: 1; }
.process-step-title { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 6px; color: var(--white); }
.process-step-desc { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.6; }

/* Document list */
.doc-list { counter-reset: doc; margin: 24px 0 40px; }
.doc-item { counter-increment: doc; display: flex; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.doc-item::before { content: counter(doc, decimal-leading-zero); font-family: var(--serif); font-size: 22px; font-weight: 300; color: var(--gold); min-width: 36px; }
.doc-item-text { font-size: 15px; font-weight: 300; color: var(--text-light); line-height: 1.6; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin: 40px 0; }
.feature-box { padding: 40px 32px; background: rgba(17,29,51,.5); border: 1px solid rgba(201,169,110,.06); transition: all .4s; position: relative; overflow: hidden; }
.feature-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.feature-box:hover::before { transform: scaleX(1); }
.feature-box:hover { background: rgba(26,45,74,.4); }
.feature-box-icon { width: 44px; height: 44px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(201,169,110,.25); }
.feature-box-title { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.feature-box-desc { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.6; }

/* Highlight box */
.highlight-box { background: rgba(201,169,110,.06); border: 1px solid rgba(201,169,110,.15); padding: 40px; margin: 40px 0; }
.highlight-box-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.highlight-box-text { font-size: 16px; font-weight: 300; color: var(--text-light); line-height: 1.7; }
.highlight-box-text strong { color: var(--white); font-weight: 500; }

/* Quote */
.subpage-quote { padding: 60px 0; margin: 40px 0; border-top: 1px solid rgba(201,169,110,.1); border-bottom: 1px solid rgba(201,169,110,.1); text-align: center; }
.subpage-quote-text { font-family: var(--serif); font-size: 22px; font-weight: 300; font-style: italic; color: var(--cream); line-height: 1.6; max-width: 700px; margin: 0 auto 20px; }
.subpage-quote-author { font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.subpage-quote-role { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Subpage CTA */
.subpage-cta { padding: 80px 0; text-align: center; border-top: 1px solid rgba(201,169,110,.08); background: linear-gradient(180deg,var(--navy) 0%,var(--navy-mid) 100%); }
.subpage-cta h3 { font-family: var(--serif); font-size: clamp(28px,3vw,40px); font-weight: 300; margin-bottom: 16px; }
.subpage-cta h3 em { font-style: italic; color: var(--gold); }
.subpage-cta p { font-size: 16px; font-weight: 300; color: var(--text-light); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.pricing-card { padding: 32px; background: rgba(17,29,51,.5); border: 1px solid rgba(201,169,110,.1); text-align: center; transition: border-color .3s; }
.pricing-card:hover { border-color: rgba(201,169,110,.3); }
.pricing-card-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; }
.pricing-card-value { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--gold); margin-bottom: 8px; }
.pricing-card-note { font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.5; }

/* Notes & Back */
.subpage-note { font-size: 13px; font-weight: 300; color: var(--text-muted); font-style: italic; line-height: 1.6; margin-top: 16px; padding-left: 20px; border-left: 2px solid rgba(201,169,110,.2); }
.subpage-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); text-decoration: none; transition: all .3s; margin-top: 40px; }
.subpage-back:hover { color: var(--gold-light); gap: 12px; }

/* ═══ YACHT DETAIL: FULL-WIDTH GALLERY ═══ */
.yd-gallery { margin-bottom: 0; }
.yd-cover { position: relative; height: 520px; background: var(--navy-light); overflow: hidden; cursor: pointer; border: 1px solid rgba(201,169,110,.06); }
.yd-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.yd-cover:hover img { transform: scale(1.03); }
.yd-cover-count { position: absolute; bottom: 16px; right: 16px; background: rgba(10,22,40,.8); backdrop-filter: blur(8px); padding: 6px 14px; font-size: 11px; letter-spacing: 1px; color: var(--gold); z-index: 2; }
.yd-thumbstrip { display: flex; gap: 3px; margin-top: 3px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.yd-thumb { width: 100px; height: 68px; flex-shrink: 0; overflow: hidden; cursor: pointer; opacity: .45; transition: opacity .3s; border: 1px solid transparent; }
.yd-thumb:hover, .yd-thumb.active { opacity: 1; border-color: var(--gold); }
.yd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yd-thumb-video { display: flex; align-items: center; justify-content: center; background: var(--navy-light); }

/* ═══ FULLSCREEN LIGHTBOX ═══ */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.95); display: flex; align-items: center; justify-content: center; }
.lightbox-content { max-width: 90vw; max-height: 85vh; position: relative; }
.lightbox-content img { max-width: 90vw; max-height: 85vh; object-fit: contain; display: block; }
.lightbox-content iframe { max-width: 90vw; max-height: 85vh; display: block; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--white); font-size: 36px; cursor: pointer; z-index: 501; opacity: .6; transition: opacity .3s; padding: 10px; line-height: 1; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--white); font-size: 48px; cursor: pointer; z-index: 501; opacity: .4; transition: opacity .3s; padding: 20px; line-height: 1; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: .9; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 13px; color: rgba(255,255,255,.5); letter-spacing: 2px; }

/* ═══ YACHT DETAIL: SPEC TABLE ═══ */
.yd-specs-section { margin-bottom: 28px; }
.yd-specs-table { border: 1px solid rgba(201,169,110,.08); }
.spec-row { display: flex; border-bottom: 1px solid rgba(255,255,255,.03); }
.spec-row:last-child { border-bottom: none; }
.spec-label { width: 45%; padding: 10px 16px; font-size: 12px; color: var(--text-muted); letter-spacing: .3px; }
.spec-value { width: 55%; padding: 10px 16px; font-size: 13px; color: var(--text-light); font-weight: 400; border-left: 1px solid rgba(255,255,255,.03); }

/* ═══ BROKER CARD ═══ */
.yd-broker { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(201,169,110,.08); }
.yd-broker-card { display: flex; gap: 20px; align-items: center; padding: 24px; background: rgba(17,29,51,.5); border: 1px solid rgba(201,169,110,.08); }
.yd-broker-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid rgba(201,169,110,.2); }
.yd-broker-info { flex: 1; }
.yd-broker-name { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 2px; }
.yd-broker-title { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; letter-spacing: .5px; }
.yd-broker-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.yd-broker-btn { padding: 8px 18px; font-size: 12px; font-family: var(--sans); letter-spacing: .5px; text-decoration: none; border: 1px solid rgba(255,255,255,.15); color: var(--text-light); transition: all .3s; cursor: pointer; touch-action: manipulation; }
.yd-broker-btn:hover { border-color: var(--gold); color: var(--gold); }
.yd-broker-wa { border-color: rgba(37,211,102,.4); color: #25d366; }
.yd-broker-wa:hover { background: rgba(37,211,102,.1); border-color: #25d366; }

/* ═══ ENHANCED FLEET CARDS ═══ */
.fleet-card-details { font-size: 12px; color: var(--gold); opacity: .7; margin-bottom: 8px; letter-spacing: .3px; }
.fleet-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; font-weight: 300; }
.fleet-card-media { position: absolute; bottom: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; }
.fleet-card-media span { background: rgba(10,22,40,.75); backdrop-filter: blur(6px); padding: 4px 8px; font-size: 9px; color: var(--gold); letter-spacing: .5px; }

/* ═══ YACHT DETAIL: INLINE VIDEO ═══ */
.yd-video-section { margin: 24px 0; }
.yd-video-section iframe { border-radius: 0; }

/* ═══ YACHT CARD (universal — fleet, homepage, related) ═══ */
.yc-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,169,110,.08);
  transition: all .5s;
  overflow: hidden;
}
.yc-card:hover {
  border-color: rgba(201,169,110,.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.yc-sold-card { opacity: .7; }
.yc-sold-card:hover { opacity: .85; }

/* Image area */
.yc-image {
  display: block;
  position: relative;
  height: 260px;
  background: var(--navy-light);
  overflow: hidden;
}
.yc-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s;
}
.yc-card:hover .yc-image img { transform: scale(1.04); }
.yc-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.yc-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 14px; background: var(--gold); color: var(--navy);
  font-size: 9px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.yc-sold-over {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,22,40,.5);
}
.yc-sold-over span {
  font-family: var(--serif); font-size: 22px; color: var(--gold);
  letter-spacing: 4px; text-transform: uppercase;
  border: 2px solid var(--gold); padding: 6px 18px; transform: rotate(-8deg);
}
.yc-media {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  display: flex; gap: 5px;
}
.yc-media span {
  background: rgba(10,22,40,.8); backdrop-filter: blur(6px);
  padding: 4px 10px; font-size: 10px; color: var(--gold); letter-spacing: .5px;
}

/* Body */
.yc-body { padding: 24px; }
.yc-name {
  display: block; font-family: var(--serif); font-size: 24px; font-weight: 500;
  color: var(--white); text-decoration: none; margin-bottom: 6px; transition: color .3s;
}
.yc-name:hover { color: var(--gold); }
.yc-specs {
  font-size: 13px; color: var(--text-muted); margin-bottom: 4px; letter-spacing: .3px;
}
.yc-specs2 {
  font-size: 12px; color: var(--gold); opacity: .65; margin-bottom: 10px; letter-spacing: .3px;
}
.yc-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; font-weight: 300;
}

/* Price row */
.yc-price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,.04);
}
.yc-price {
  font-family: var(--serif); font-size: 22px; color: var(--gold); font-weight: 500;
}
.yc-view {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color .3s;
}
.yc-view:hover { color: var(--gold); }

/* Broker strip */
.yc-broker {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(201,169,110,.06);
}
.yc-bphoto {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; border: 1.5px solid rgba(201,169,110,.2);
}
.yc-binitial {
  background: var(--navy-light); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--serif); font-size: 16px; font-weight: 500;
}
.yc-binfo { flex: 1; min-width: 0; }
.yc-bname { font-size: 13px; font-weight: 500; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yc-btitle { font-size: 10px; color: var(--text-muted); letter-spacing: .3px; }
.yc-bactions { display: flex; gap: 6px; flex-shrink: 0; }
.yc-btn {
  padding: 6px 12px; font-size: 11px; font-family: var(--sans);
  text-decoration: none; border: 1px solid rgba(255,255,255,.12);
  color: var(--text-light); transition: all .3s; white-space: nowrap;
  touch-action: manipulation;
}
.yc-btn:hover { border-color: var(--gold); color: var(--gold); }
.yc-wa { border-color: rgba(37,211,102,.3); color: #25d366; }
.yc-wa:hover { background: rgba(37,211,102,.1); border-color: #25d366; }
