/* ========================================
   Fishbowl Manufacturing LP - Shared Styles
   Design: Clean white/light backgrounds, blue accents
   Headings: Cooper Lt BT, Body: Inter
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
    font-family: 'Cooper Lt BT';
    src: url('/projects/manufacturing/assets/CooperBT-Light.woff2') format('woff2'),
         url('/projects/manufacturing/assets/CooperBT-Light.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --fb-blue: #083CF3;
    --fb-blue-dark: #0628B8;
    --fb-blue-light: #E8EEFF;
    --fb-teal: #0E3646;
    --fb-teal-light: #0F5151;
    --fb-orange: #F69133;
    --fb-orange-dark: #E07E20;
    --fb-green: #10B981;
    --fb-white: #FFFFFF;
    --fb-body-bg: #f7f7f7;
    --fb-gray-100: #F1F3F5;
    --fb-gray-200: #EBEEED;
    --fb-gray-300: #DEE2E6;
    --fb-gray-400: #ADB5BD;
    --fb-gray-500: #6C757D;
    --fb-gray-600: #495057;
    --fb-gray-700: #343A40;
    --fb-gray-800: #212529;
    --fb-text: #101010;
    --fb-text-muted: #5A6672;
    --fb-radius-btn: 6px;
    --fb-radius-card: 1.875rem;
    --fb-radius-img: 0.625rem;
    --fb-radius-sm: 5px;
    --fb-shadow-card: 0 3px 15px rgba(0,0,0,0.10);
    --fb-shadow-soft: 0 2px 8px rgba(0,0,0,0.06);
    --fb-section-gap: 3.25rem;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--fb-text);
    line-height: 1.7;
    font-size: 1rem;
    background: var(--fb-white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--fb-blue); text-decoration: none; }

h1, h2, h3 {
    font-family: 'Cooper Lt BT', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    color: var(--fb-teal);
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 600px) {
    .container { padding: 0 16px; }
}

/* ---- White Nav (V1) ---- */
.mfg-nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--fb-white);
    padding: 12px 0;
    border-bottom: 1px solid var(--fb-gray-200);
}
.mfg-nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.08); border-bottom-color: transparent; }
.mfg-nav .container { display: flex; align-items: center; justify-content: space-between; }
.mfg-nav-logo { height: 28px; width: auto; }
.mfg-nav-wordmark {
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.125rem;
    color: var(--fb-teal); margin-left: 8px; text-decoration: none;
    display: flex; align-items: center; gap: 8px;
}
.mfg-nav-wordmark img { height: 28px; }

/* ---- Dark Teal Nav (V2) ---- */
.mfg-nav--dark {
    background: var(--fb-teal);
    border-bottom: none;
}
.mfg-nav--dark .mfg-nav-wordmark { color: #fff; }

/* ---- Buttons ---- */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--fb-blue); color: #fff;
    padding: 14px 32px; border-radius: var(--fb-radius-btn);
    font-weight: 600; font-size: 0.9375rem;
    border: none; cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-primary:hover { background: var(--fb-blue-dark); color: #fff; }

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; color: var(--fb-teal);
    padding: 14px 32px; border-radius: var(--fb-radius-btn);
    font-weight: 600; font-size: 0.9375rem;
    border: 1.5px solid var(--fb-gray-300); cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
}
.btn-outline:hover { border-color: var(--fb-gray-500); background: var(--fb-gray-100); }

.btn-orange {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--fb-orange); color: #fff;
    padding: 14px 32px; border-radius: var(--fb-radius-btn);
    font-weight: 600; font-size: 0.9375rem;
    border: none; cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.btn-orange:hover { background: var(--fb-orange-dark); color: #fff; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Form ---- */
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: flex; gap: 12px; }
.form-row > * { flex: 1; min-width: 0; }

.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label {
    font-size: 0.8125rem; font-weight: 600; color: var(--fb-gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--fb-gray-300);
    border-radius: var(--fb-radius-sm);
    font-size: 0.9375rem; font-family: inherit;
    color: var(--fb-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff; width: 100%;
}
.form-group input:focus,
.form-group select:focus {
    outline: none; border-color: var(--fb-blue);
    box-shadow: 0 0 0 3px rgba(8,60,243,0.1);
}
.form-group input::placeholder { color: var(--fb-gray-400); }

.form-submit {
    width: 100%; padding: 14px;
    background: var(--fb-blue); color: #fff;
    border: none; border-radius: var(--fb-radius-btn);
    font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: background 0.2s;
}
.form-submit:hover { background: var(--fb-blue-dark); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-disclaimer {
    font-size: 0.6875rem; color: var(--fb-gray-500);
    text-align: center; line-height: 1.5;
}

.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--fb-shadow-card);
    width: 100%; max-width: 400px;
    flex-shrink: 0;
}
.form-card h3 {
    font-size: 1.375rem; margin-bottom: 4px; color: var(--fb-teal);
}
.form-card .form-subtitle {
    font-size: 0.8125rem; color: var(--fb-text-muted);
    margin-bottom: 16px; font-family: 'Inter', sans-serif;
}
.form-card .star-row {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px; flex-wrap: wrap;
}
.form-card .star-row .stars {
    color: var(--fb-orange); font-size: 1rem; letter-spacing: 2px;
}
.form-card .star-row .badge-label {
    font-size: 0.75rem; color: var(--fb-gray-500); font-weight: 500;
    background: var(--fb-gray-100); padding: 3px 10px; border-radius: 20px;
}

/* ---- Section ---- */
.section { padding: var(--fb-section-gap) 0; }
.section--white { background: var(--fb-white); }
.section--light { background: #F5F7FA; }
.section--teal { background: var(--fb-teal); color: #fff; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 12px; }
.section-subtitle {
    font-size: 1rem; color: var(--fb-text-muted);
    line-height: 1.7; font-family: 'Inter', sans-serif;
}

/* ---- Hero (shared) ---- */
.mfg-hero {
    padding: 60px 0 40px;
    background: var(--fb-white);
    position: relative;
    overflow: hidden;
}
.mfg-hero-grid {
    display: flex; gap: 48px; align-items: center;
    position: relative; z-index: 2;
}
.mfg-hero-content { flex: 1; }
.mfg-hero-visual { flex: 0 0 460px; }
/* Decorative angled photos in top-right */
.mfg-hero-deco {
    position: absolute; top: -40px; right: -60px; z-index: 1;
    width: 500px; height: 400px;
    opacity: 0.12;
    pointer-events: none;
}
.mfg-hero-deco img { width: 100%; height: 100%; object-fit: cover; }

.mfg-hero h1 {
    font-size: 2.75rem; line-height: 1.2;
    color: var(--fb-teal); margin-bottom: 16px;
}
.mfg-hero-sub {
    font-size: 1rem; line-height: 1.7;
    color: var(--fb-text-muted); margin-bottom: 24px;
    max-width: 480px;
}
.mfg-hero-logos {
    margin-bottom: 24px;
}
.mfg-hero-logos img {
    max-height: 28px; width: auto; max-width: 100%;
    opacity: 0.7;
}

/* ---- Star ratings row in hero ---- */
.mfg-stars-row {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 20px;
}
.mfg-stars-row .stars { color: #2CA01C; font-size: 1.125rem; letter-spacing: 1px; }
.mfg-stars-row .badge-text {
    font-size: 0.75rem; color: var(--fb-gray-500); font-weight: 500;
    background: var(--fb-gray-100); padding: 3px 10px; border-radius: 20px;
}

/* ---- Testimonial Section ---- */
.mfg-testimonial {
    padding: 48px 0;
    background: var(--fb-white);
}
.mfg-testimonial-grid {
    display: flex; gap: 32px; align-items: center;
}
.mfg-testimonial-photo {
    flex: 0 0 280px;
    border-radius: 16px;
    overflow: hidden;
}
.mfg-testimonial-photo img {
    width: 100%; height: 320px; object-fit: cover;
    border-radius: 16px;
}
.mfg-testimonial-content {
    flex: 1;
    display: flex; gap: 32px; align-items: center;
}
.mfg-testimonial-quote {
    flex: 1;
}
.mfg-testimonial-quote blockquote {
    font-size: 1.125rem; line-height: 1.7;
    color: var(--fb-teal); font-style: italic;
    margin-bottom: 20px;
    padding: 24px;
    background: #F0F5FF;
    border-radius: 12px;
    border-left: 3px solid var(--fb-blue);
    position: relative;
}
.mfg-testimonial-author {
    display: flex; align-items: center; gap: 12px;
}
.mfg-testimonial-author img {
    width: 48px; height: 48px; border-radius: 50%;
    object-fit: cover;
}
.mfg-testimonial-author-name {
    font-weight: 700; font-size: 0.9375rem; color: var(--fb-teal);
}
.mfg-testimonial-author-role {
    font-size: 0.8125rem; color: var(--fb-text-muted);
}
.mfg-testimonial-brand {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px;
    font-size: 0.75rem; color: var(--fb-gray-500);
    font-weight: 500;
}
.mfg-testimonial-brand img {
    height: 20px; width: auto; opacity: 0.6;
}
.mfg-testimonial-stats {
    display: flex; flex-direction: column; gap: 24px;
    flex-shrink: 0;
}
.mfg-stat {
    text-align: center; min-width: 100px;
}
.mfg-stat-value {
    font-family: 'Cooper Lt BT', Georgia, serif;
    font-size: 2.25rem; color: var(--fb-teal);
    line-height: 1; margin-bottom: 4px;
}
.mfg-stat-label {
    font-size: 0.75rem; color: var(--fb-text-muted);
    font-weight: 500;
}
.mfg-stat-icon {
    font-size: 1.25rem; margin-bottom: 4px;
}

/* ---- How it Works ---- */
.mfg-hiw-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mfg-hiw-card {
    background: #F0F6F8;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s;
}
.mfg-hiw-card:hover { transform: translateY(-3px); }
.mfg-hiw-card img {
    width: 100%; height: auto;
}
.mfg-hiw-label {
    padding: 0 16px 20px;
    font-family: 'Cooper Lt BT', Georgia, serif;
    font-size: 1.125rem; color: var(--fb-teal);
}

/* ---- Features Accordion ---- */
.mfg-features {
    display: flex; gap: 48px; align-items: flex-start;
}
.mfg-features-list {
    flex: 0 0 360px;
    display: flex; flex-direction: column; gap: 0;
}
.mfg-features-images {
    flex: 1;
    position: relative;
    min-height: 480px;
    border-radius: 30px;
    overflow: hidden;
    background: #E8F1F4;
}
.mfg-features-images img[data-feature-image] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.45s ease;
    background: #E8F1F4;
}
.mfg-features-images img[data-feature-image].is-active {
    opacity: 1;
}

.mfg-feature-item {
    border-bottom: 1px solid var(--fb-gray-200);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}
.mfg-feature-item:first-child {
    border-top: 1px solid var(--fb-gray-200);
}
.mfg-feature-item.active {
    border: none;
    padding: 0 14px 14px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
}
.mfg-feature-item.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    width: 240px;
    height: 4px;
    background: var(--fb-blue);
    border-radius: 999px;
}
.mfg-feature-header {
    padding: 18px 0;
    display: flex; align-items: center; justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-weight: 600; font-size: 0.9375rem;
    color: var(--fb-teal);
}
.mfg-feature-item.active .mfg-feature-header {
    padding-top: 28px;
}
.mfg-feature-header .arrow {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s;
    color: var(--fb-blue);
    font-size: 0;
    line-height: 0;
}
.mfg-feature-item.active .mfg-feature-header { color: #111111; }
.mfg-feature-item.active .mfg-feature-header .arrow { transform: rotate(225deg); color: var(--fb-blue); }

.mfg-feature-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.mfg-feature-item.active .mfg-feature-body {
    max-height: 340px;
    padding-bottom: 18px;
}
.mfg-feature-body p {
    font-size: 0.875rem; line-height: 1.65;
    color: var(--fb-text-muted);
    max-width: 390px;
    padding-right: 0;
    margin-bottom: 24px;
}
.mfg-feature-body .btn-primary {
    margin-top: 0;
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9375rem;
    border-radius: 6px;
    box-shadow: none;
}

/* ---- Footer CTA ---- */
.mfg-footer-cta {
    background: #152638;
    position: relative;
    overflow: visible;
}
.mfg-footer-cta > .container { position: relative; z-index: 2; }
.mfg-footer-cta-bg { display: none; }
.mfg-footer-cta-inner {
    display: flex; align-items: center;
    min-height: 340px;
}
.mfg-footer-cta-image {
    position: absolute; left: 0; top: -40px; bottom: 0;
    width: 44%; z-index: 1;
}
.mfg-footer-cta-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.mfg-footer-cta-text {
    margin-left: auto; padding: 60px 0 48px;
    max-width: 50%;
}
.mfg-footer-cta-text h2 {
    font-family: 'Cooper Lt BT', Georgia, serif; font-weight: 400;
    font-size: 2.5rem; line-height: 1.15;
    color: #fff; margin-bottom: 28px;
}
.mfg-footer-cta-text .btn-primary {
    background: var(--fb-blue); margin-bottom: 24px;
}
.mfg-footer-cta-text .btn-primary:hover { background: var(--fb-blue-dark); }
.mfg-footer-cta-privacy {
    font-size: 0.5625rem; color: rgba(255,255,255,0.35);
    line-height: 1.5; max-width: 100%;
}
.mfg-footer-cta-privacy a { color: rgba(255,255,255,0.5); text-decoration: underline; }

/* ---- Footer ---- */
.lp-footer {
    background: #152638; color: rgba(255,255,255,0.6);
    padding: 2rem 0; text-align: center; font-size: 0.875rem;
}
.lp-footer a { color: rgba(255,255,255,0.85); }

/* ---- Form Messages ---- */
.form-message {
    padding: 12px 16px; border-radius: var(--fb-radius-sm);
    font-size: 0.875rem; margin-bottom: 12px;
}
.form-message--success {
    background: rgba(16,185,129,0.08); color: var(--fb-green);
    border: 1px solid rgba(16,185,129,0.2);
}
.form-message--error {
    background: rgba(239,68,68,0.08); color: #EF4444;
    border: 1px solid rgba(239,68,68,0.2);
}

/* ---- Animations ---- */
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-in, transform 0.5s ease-in; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    :root { --fb-section-gap: 2.75rem; }
    .mfg-hero h1 { font-size: 2.25rem; }
    .mfg-hero-visual { flex: 0 0 380px; }
    .section-title { font-size: 2rem; }
    .mfg-footer-cta-text h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .mfg-hero-grid { flex-direction: column; gap: 32px; }
    .mfg-hero-visual { flex: none; width: 100%; }
    .mfg-testimonial-grid { flex-direction: column; }
    .mfg-testimonial-content { flex-direction: column; }
    .mfg-testimonial-photo { flex: none; width: 100%; }
    .mfg-testimonial-photo img { height: 240px; }
    .mfg-hiw-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .mfg-features { flex-direction: column; }
    .mfg-features-list { flex: none; width: 100%; }
    .form-row { flex-direction: column; }
    .form-card { max-width: 100%; }
    .mfg-footer-cta { overflow: hidden; }
    .mfg-footer-cta-inner { min-height: auto; flex-direction: column; }
    .mfg-footer-cta-text { max-width: 100%; padding: 40px 0 24px; margin-left: 0; }
    .mfg-footer-cta-image { position: relative; width: 100%; clip-path: none; top: 0; }
    .mfg-footer-cta-image img { height: 200px; }
    .mfg-testimonial-stats { flex-direction: row; gap: 32px; }
    .section-title { font-size: 1.75rem; }
}
@media (max-width: 640px) {
    .mfg-hero h1 { font-size: 1.875rem; }
    .section { padding: 2.5rem 0; }
    .mfg-footer-cta-text h2 { font-size: 1.5rem; }
    .btn-group { flex-direction: column; }
    .btn-group .btn-primary,
    .btn-group .btn-outline { width: 100%; justify-content: center; }
    .mfg-features-images { display: none; }
    .mfg-hiw-grid { max-width: 100%; }
    .feat-float { display: none; }
}
