/* ============================================================
   Yacht Broker Support - public marketing site stylesheet
   Self-contained. Loaded ONLY by index.php, products.html, and
   more-information.html. Does not touch the provider console CSS.
   Palette + look mirror the Haley Yachts site (style only).
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #21cbea; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1aa8c4; }

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1060;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    transition: background 0.3s;
}
.site-header.scrolled { background: rgba(255,255,255,0.99); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 44px; width: auto; flex-shrink: 0; }
.header-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b7785;
    margin-left: auto;
    margin-right: 20px;
}

/* Hamburger toggle - always visible */
.mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
}
.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #0a1628;
    margin: 7px 0;
    transition: all 0.3s;
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 7px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -8px); }

/* ===== RIGHT-SIDE DRAWER NAV ===== */
.main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    border-left: 3px solid #21cbea;
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 96px 0 32px;
    z-index: 1050;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}
.main-nav.open { transform: translateX(0); }
.main-nav > li { width: 100%; text-align: center; }
.main-nav > li > a {
    display: block;
    padding: 16px 32px;
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0a1628;
    transition: color 0.2s, background 0.2s;
}
.main-nav > li > a:hover,
.main-nav > li > a.active { color: #21cbea; background: #f7f9fb; }
.main-nav .nav-cta { margin-top: 20px; padding: 0 28px; }
.main-nav .nav-cta a {
    display: block;
    padding: 14px 24px;
    background: #21cbea;
    color: #fff;
    border: 2px solid #21cbea;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s;
}
.main-nav .nav-cta a:hover { background: transparent; color: #21cbea; }

/* Drawer backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.33);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1040;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid #21cbea;
    border-radius: 3px;
    color: #fff;
    background: #21cbea;
    transition: all 0.3s;
    cursor: pointer;
}
.btn:hover { background: transparent; color: #21cbea; }
.btn-outline { background: transparent; color: #fff; }
.btn-outline:hover,
.btn-outline:focus { background: #21cbea; color: #fff; }
.btn + .btn { margin-left: 12px; }

/* Hero button pair: engaging "See the Products" un-lights "Request a Look" */
.hero-content:has(.btn-outline:hover, .btn-outline:focus, .btn-outline:active) .btn:not(.btn-outline) {
    background: transparent;
    color: #21cbea;
}

/* ===== HERO (home) ===== */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 90px;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 45%, #134a6e 100%);
    overflow: hidden;
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 820px; }
.hero-content h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.hero-content h1 strong { font-weight: 700; color: #21cbea; }
.hero-content p.hero-sub {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.92;
    margin: 0 auto 34px;
    max-width: 640px;
    line-height: 1.8;
}
.hero-content .hero-tagline {
    margin-top: 38px;
    font-style: italic;
    font-size: 1.02rem;
    opacity: 0.8;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
    padding: 140px 24px 64px;
    text-align: center;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #134a6e 100%);
    color: #fff;
}
.page-header h1 {
    font-size: 2.4rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.page-header h1 strong { font-weight: 700; color: #21cbea; }
.page-header .accent-line { width: 60px; height: 3px; background: #21cbea; margin: 0 auto 20px; }
.page-header p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 640px;
    margin: 0 auto;
}

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-light { background: #ffffff; }
.section-tint { background: #f7f9fb; }
.section-soft { background: #e8f4f8; }
.section-navy { background: #0a1628; color: #fff; }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #0a1628;
}
.section-navy .section-header h2 { color: #fff; }
.section-header .accent-line { width: 60px; height: 3px; background: #21cbea; margin: 0 auto 20px; }
.section-header p { font-size: 1rem; color: #6b7785; max-width: 640px; margin: 0 auto; }
.section-navy .section-header p { color: rgba(255,255,255,0.7); }

/* Intro / prose block */
.intro-block { max-width: 820px; margin: 0 auto; text-align: center; }
.intro-block h2 {
    font-size: 1.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #0a1628;
}
.intro-block p { font-size: 1.08rem; color: #4a5560; }

/* ===== VALUE / BENEFIT SECTIONS (alternating rows) ===== */
.value-list { max-width: 900px; margin: 0 auto; }
.value-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 32px 0;
    border-bottom: 1px solid #e2e8ec;
}
.value-item:last-child { border-bottom: none; }
.value-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e8f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; stroke: #1aa8c4; }
.value-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 8px;
}
.value-body p { color: #4a5560; }

/* ===== CARD GRID (module teasers) ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.card {
    background: #fff;
    border: 1px solid #e2e8ec;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(10,22,40,0.1); }
.card-icon {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d2847 0%, #134a6e 100%);
}
.card-icon svg { width: 40px; height: 40px; stroke: #21cbea; }
.card-body { padding: 26px; flex: 1; }
.card-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: #0a1628; }
.card-body p { font-size: 0.95rem; color: #6b7785; }
.teaser-link { display: inline-block; margin-top: 36px; font-weight: 600; letter-spacing: 0.5px; }

/* ===== PRODUCT MODULE BLOCKS (products page) ===== */
.module {
    max-width: 940px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8ec;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 18px rgba(10,22,40,0.04);
}
.module + .module { margin-top: 40px; }
.module-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.module-badge {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 12px;
    background: #e8f4f8;
    display: flex; align-items: center; justify-content: center;
}
.module-badge svg { width: 28px; height: 28px; stroke: #1aa8c4; }
.module-head h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0a1628;
    letter-spacing: 0.5px;
}
.module-desc { color: #4a5560; font-size: 1.05rem; margin: 4px 0 22px; }
.benefit-list { list-style: none; }
.benefit-list li {
    position: relative;
    padding: 8px 0 8px 34px;
    color: #4a5560;
    border-top: 1px solid #eef2f5;
}
.benefit-list li:first-child { border-top: none; }
.benefit-list li::before {
    content: '';
    position: absolute;
    left: 4px; top: 15px;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321cbea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Callout / status pill */
.pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    background: #d0edf5;
    color: #12708a;
    margin-left: auto;
}
.pill.pill-soon { background: #eef2f5; color: #6b7785; }

/* ===== CLOSING CTA BAND ===== */
.cta-band { text-align: center; }
.cta-band h2 {
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #fff;
}
.cta-band p { color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-band .cta-support { margin-top: 20px; margin-bottom: 0; font-size: 0.9rem; opacity: 0.6; font-style: italic; }
.cta-band a.contact-email { color: #21cbea; font-weight: 600; }

/* ===== PROSE (more-information text sections) ===== */
.prose h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.prose p { color: #4a5560; font-size: 1.05rem; margin-bottom: 16px; }
.prose + .prose { margin-top: 48px; }
.prose .benefit-list { margin-top: 8px; }

/* ===== FOOTER ===== */
.site-footer {
    background: #070e1a;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 40px 24px;
    font-size: 0.85rem;
}
.footer-logo { height: 46px; width: auto; margin: 0 auto 18px; opacity: 0.95; }
.site-footer p { max-width: 640px; margin: 0 auto 6px; }
.footer-tagline { font-style: italic; color: rgba(255,255,255,0.6); }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.78rem; margin-top: 10px; }
.footer-links { margin-top: 14px; font-size: 0.78rem; }
.footer-links a { color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: #21cbea; }
.footer-sep { margin: 0 8px; color: rgba(255,255,255,0.25); }
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 18px;
    flex-wrap: wrap;
}
.footer-swoosh { height: 38px; width: auto; display: block; }
.footer-wordmark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.55rem;
    letter-spacing: 0.2px;
    line-height: 1;
}
.footer-wordmark .fw-broker { color: #a6b2be; font-weight: 400; }
.footer-wordmark .fw-support { color: #ffffff; font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.1rem; }
    .hero-content p.hero-sub { font-size: 1.02rem; }
    .page-header h1 { font-size: 1.8rem; }
    .section { padding: 60px 20px; }
    .module { padding: 28px 22px; }
    .module-head { gap: 14px; }
    .module-head h2 { font-size: 1.35rem; }
    .header-tagline { display: none; }
    .value-item { gap: 18px; }
    .btn + .btn { margin-left: 0; margin-top: 12px; }
    .hero-content .btn { display: block; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
    .main-nav { padding-top: 88px; }
}

/* ===== REQUEST A LOOK FORM ===== */
.request-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.request-intro .request-photo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #21cbea;
    margin-bottom: 22px;
    display: block;
}
.request-intro h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 6px;
    line-height: 1.25;
}
.request-intro .request-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: #21cbea;
    margin-bottom: 20px;
}
.request-intro p { color: #4a5560; font-size: 1.05rem; line-height: 1.7; margin-bottom: 16px; }

.request-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 6px;
    margin-top: 18px;
}
.request-form label:first-of-type { margin-top: 0; }
.request-form input,
.request-form select,
.request-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d5dde4;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: #0a1628;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
    outline: none;
    border-color: #21cbea;
    box-shadow: 0 0 0 3px rgba(33, 203, 234, 0.15);
}
.request-form textarea { min-height: 120px; resize: vertical; }
.request-form .btn { margin-top: 26px; }
.request-form .error-msg {
    display: none;
    color: #d64545;
    font-size: 0.82rem;
    margin-top: 6px;
}
.request-form .error-msg.visible { display: block; }
.request-form input.field-error { border-color: #d64545; }

#requestSuccess .request-check {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #21cbea;
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
#requestSuccess h3 { font-size: 1.4rem; font-weight: 600; color: #0a1628; margin-bottom: 12px; }
#requestSuccess p { font-size: 1rem; color: #4a5560; max-width: 420px; margin: 0 auto 24px; line-height: 1.7; }

@media (max-width: 760px) {
    .request-grid { grid-template-columns: 1fr; gap: 40px; }
    .request-intro { text-align: center; }
    .request-intro .request-photo { margin-left: auto; margin-right: auto; }
}
