/* Bayside-style footer — white bg, blue molecular pattern */

.bayside-footer {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    background: #fff;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 1;
}

.footer-pattern svg {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: min(420px, 55vw);
    height: auto;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 640px) {
    .footer-inner {
        grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
        gap: 24px;
    }
}

@media (min-width: 768px) {
    .footer-inner {
        max-width: 1200px;
        padding: 56px 48px 40px;
        gap: 32px;
    }

    .footer-bar {
        padding: 20px 48px;
    }

    .footer-pattern svg {
        width: min(480px, 42vw);
        right: 0;
    }
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1e293b;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.footer-logo-text {
    font-family: var(--display, 'Bebas Neue', sans-serif);
    font-size: 22px;
    letter-spacing: 1.5px;
    line-height: 1;
}

.footer-logo-text span {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    color: #64748b;
    font-family: var(--body, Inter, sans-serif);
    font-weight: 700;
    margin-top: 2px;
}

.footer-email {
    font-size: 13px;
    color: #475569;
    text-decoration: none;
}

.footer-email:hover {
    color: #1e40af;
    text-decoration: underline;
}

.footer-logo-wrap .payment-banner-wrap {
    margin-top: 8px;
}

.footer-logo-wrap .payment-banner-footer {
    max-width: 260px;
    margin-left: 0;
    margin-right: auto;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1e40af;
    margin-bottom: 14px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-nav a:hover {
    color: #1e40af;
}

.footer-newsletter-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.35;
}

.footer-newsletter-sub {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 14px;
}

.footer-newsletter-form {
    display: flex;
    border-bottom: 2px solid #1e293b;
    padding-bottom: 6px;
}

.footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 13px;
    color: #1e293b;
    padding: 6px 0;
    outline: none;
}

.footer-newsletter-form input::placeholder {
    color: #94a3b8;
}

.footer-newsletter-form button {
    border: none;
    background: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #1e293b;
    cursor: pointer;
    padding: 6px 0 6px 10px;
    white-space: nowrap;
}

.footer-newsletter-form button:hover {
    color: #1e40af;
}

.footer-newsletter-msg {
    font-size: 12px;
    color: #059669;
    margin-top: 8px;
    font-weight: 600;
}

.footer-newsletter-msg[hidden] {
    display: none !important;
}

.footer-bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 16px 20px;
    text-align: center;
}

.footer-bar p {
    font-size: 10px;
    line-height: 1.55;
    color: #64748b;
    margin: 0 0 6px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bar p:last-child {
    margin-bottom: 0;
    color: #94a3b8;
}

.interior-content .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.interior-content .cert-grid {
    max-width: 900px;
    margin: 0 auto;
}

.simple-page-header {
    padding: 24px 20px 16px;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.simple-back {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
    margin-bottom: 14px;
}

.simple-back:hover {
    text-decoration: underline;
}

.simple-page-header h1 {
    font-family: var(--display, 'Bebas Neue', sans-serif);
    font-size: 36px;
    letter-spacing: 1.5px;
    line-height: 1.05;
    color: var(--text, #111827);
    margin-bottom: 6px;
}

.simple-page-sub {
    font-size: 13px;
    color: var(--muted, #6b7280);
    margin: 0;
}

.simple-page-body {
    padding: 24px 20px 32px;
}

.simple-page-body p {
    font-size: 14px;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 14px;
}

.track-form,
.affiliate-form {
    max-width: 480px;
}

.track-result {
    margin-top: 20px;
    padding: 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

.track-result[hidden] {
    display: none !important;
}

.track-result h3 {
    font-size: 15px;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 8px;
}

.track-result p {
    font-size: 13px;
    margin-bottom: 6px;
}

.form-success {
    padding: 12px 14px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
