/* boat-type-page.css - shared styles for data-driven boat-type pages
   (generated from _data/boatTypeData/*.json via boat-financing/types.njk) */

/* ---- HERO ---- */
.hero { padding: 5rem 2rem 4rem; background: linear-gradient(160deg, #0c1a2e 0%, #0e2a4a 40%, #0c1a2e 100%); position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: 20%; right: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(2,132,199,0.1) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); color: #fff; padding: 0.4rem 1rem; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.12); }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -0.02em; color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, #0284c7, #7dd3fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-text > p { font-size: 1.05rem; color: rgba(255,255,255,0.6); margin-bottom: 2rem; max-width: 500px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: #0284c7; }
.hero .btn-primary:hover { background: #e0f2fe; transform: translateY(-1px); }
.hero .btn-outline { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.2); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.18); }

/* Price range cards */
.price-range-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2rem; color: #fff; }
.price-range-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; }
.price-range-list { display: flex; flex-direction: column; gap: 0.75rem; }
.price-range-item { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 1.1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }
.price-range-type { font-weight: 600; font-size: 0.9rem; }
.price-range-value { font-weight: 700; font-size: 0.9rem; color: #7dd3fc; }

/* Sections */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-alt { background: var(--bg-light); }

/* Content prose */
.content-section { max-width: 800px; margin: 0 auto; }
.content-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.content-section h3 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; }
.content-section p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.content-section a { color: #0284c7; font-weight: 500; }

/* Type cards */
.type-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.type-detail-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.3s; }
.type-detail-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.type-detail-card .card-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #e0f2fe, #bae6fd); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin-bottom: 1.25rem; }
.type-detail-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.type-detail-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.75rem; }
.type-detail-card .price-tag { display: inline-block; background: #e0f2fe; color: #0284c7; font-weight: 700; font-size: 0.85rem; padding: 0.3rem 0.75rem; border-radius: var(--radius-full); }

/* Comparison table */
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table thead { background: #f8fafc; }
.compare-table th { padding: 1rem 1.25rem; text-align: left; font-weight: 700; border-bottom: 2px solid var(--border); white-space: nowrap; }
.compare-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: #f8fafc; }

/* Factors */
.factors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.factor-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; }
.factor-icon { width: 48px; height: 48px; border-radius: 12px; background: #e0f2fe; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 1rem; }
.factor-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.factor-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--text); text-align: left; gap: 1rem; }
.faq-q:hover { color: #0284c7; }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--text-secondary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 0 1.25rem; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* CTA */
.cta-section { background: #0284c7; color: #fff; padding: 5rem 2rem; border-radius: var(--radius-lg); margin: 0 2rem 5rem; max-width: calc(var(--max-width) - 4rem); margin-left: auto; margin-right: auto; }
.cta-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; }
.cta-inner p { opacity: 0.85; margin-bottom: 2rem; font-size: 1.05rem; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
    .hero h1 { font-size: 2.25rem; }
    .factors-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    section { padding: 3.5rem 0; }
    .section-header h2 { font-size: 1.75rem; }
    .cta-section { margin: 0 1rem 3rem; padding: 3rem 1.5rem; }
}
