/* ============================================================
   SINGER BROTHER SEWING CENTER — McAllen, TX
   Singer Red #e31837 | Brother Blue #003087 | White bg
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --red:      #e31837;
  --red-dk:   #b81229;
  --blue:     #003087;
  --blue-lt:  #1a4fad;
  --black:    #1a1a1a;
  --white:    #ffffff;
  --gray-50:  #fafafa;
  --gray-100: #f4f4f4;
  --gray-200: #e8e8e8;
  --gray-400: #aaaaaa;
  --gray-600: #666666;
  --gray-800: #333333;
  --border:   #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 6px;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-label { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 10px; }
.section-title { font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 700; text-transform: uppercase; color: var(--black); line-height: 1.1; margin-bottom: 14px; }
.section-title span { color: var(--red); }
.section-sub { font-size: 16px; color: var(--gray-600); max-width: 580px; margin-bottom: 44px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border-radius: var(--radius); cursor: pointer; border: 2px solid transparent; transition: all 0.2s; }
.btn-red   { background: var(--red);   color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dk); border-color: var(--red-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(227,24,55,0.35); }
.btn-blue  { background: var(--blue);  color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-lt); border-color: var(--blue-lt); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-black:hover { background: var(--gray-800); transform: translateY(-2px); }
.btn-outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }

/* ── TOPBAR ── */
.topbar { background: var(--red); padding: 8px 0; font-size: 13px; color: rgba(255,255,255,0.92); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--white); font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }

/* ── HEADER ── */
.site-header { background: var(--white); border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 16px rgba(0,0,0,0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 24px; max-width: var(--max-w); margin: 0 auto; gap: 24px; }
.site-logo img { height: 64px; width: auto; }
.site-logo-fallback .l1 { font-family: var(--font-head); font-size: 20px; font-weight: 700; text-transform: uppercase; }
.site-logo-fallback .l1 .red  { color: var(--red); }
.site-logo-fallback .l1 .blue { color: var(--blue); }
.site-logo-fallback .l2 { font-size: 11px; color: var(--gray-600); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── NAV ── */
.main-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav > li { position: relative; }
.main-nav > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 13px; font-family: var(--font-head); font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-800); border-radius: var(--radius); transition: all 0.18s; white-space: nowrap; }
.main-nav > li > a:hover { color: var(--red); background: var(--gray-50); }
.caret { width: 14px; height: 14px; fill: currentColor; opacity: 0.6; transition: transform 0.2s; }
.main-nav > li:hover > a .caret { transform: rotate(180deg); }

/* DROPDOWN */
.dropdown { display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 210px; background: var(--white); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); z-index: 1001; overflow: hidden; }
.main-nav > li:hover .dropdown { display: block; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-family: var(--font-body); font-size: 14px; color: var(--gray-800); border-bottom: 1px solid var(--gray-200); transition: all 0.15s; }
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--gray-50); color: var(--red); padding-left: 24px; }
.has-sub { position: relative; }
.sub-dropdown { display: none; position: absolute; top: 0; left: 100%; min-width: 230px; background: var(--white); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); z-index: 1002; overflow: hidden; }
.has-sub:hover .sub-dropdown { display: block; }
.dropdown .has-sub > a::after { content: '›'; margin-left: auto; font-size: 18px; opacity: 0.5; }
.sub-dropdown a:hover { color: var(--blue); }
.nav-cta { margin-left: 12px; }
.hamburger { display: none; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; border-radius: 2px; }

/* ── HERO ── */
.hero { position: relative; overflow: hidden; background-image: url('../img/hero-bg.jpg'); background-size: cover; background-position: center; padding: 110px 0 100px; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.25) 100%); }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: block; }
.hero h1 { font-family: var(--font-head); font-size: clamp(2.6rem,5vw,4rem); color: var(--white); font-weight: 700; text-transform: uppercase; line-height: 1.05; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #ff4d6a; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.82); margin-bottom: 34px; font-weight: 300; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stat { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); border-left: 3px solid var(--red); padding: 22px 18px; border-radius: var(--radius); }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: var(--white); line-height: 1; margin-bottom: 6px; }
.hero-stat span { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── RED STRIP ── */
.red-strip { background: var(--red); }
.red-strip .container { display: grid; grid-template-columns: repeat(4,1fr); }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-right: 1px solid rgba(255,255,255,0.2); transition: background 0.2s; }
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(0,0,0,0.1); }
.strip-item svg { width: 30px; height: 30px; fill: var(--white); flex-shrink: 0; opacity: 0.9; }
.strip-item strong { font-family: var(--font-head); font-size: 13px; color: var(--white); display: block; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.strip-item span { font-size: 11px; color: rgba(255,255,255,0.8); }

/* ── SERVICES ── */
.services-section { padding: 90px 0; background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-body { padding: 20px 22px; border-top: 3px solid var(--red); }
.service-card-body h3 { font-family: var(--font-head); font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--black); margin-bottom: 8px; }
.service-card-body p { font-size: 13.5px; color: var(--gray-600); line-height: 1.6; }

/* ── BRANDS ── */
.brands-section { padding: 90px 0; background: var(--gray-50); }
.brand-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.brand-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.25s; }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.brand-card-header { padding: 28px 32px; display: flex; align-items: center; gap: 18px; }
.brand-card.singer .brand-card-header { border-left: 5px solid var(--red); background: #fff8f8; }
.brand-card.brother .brand-card-header { border-left: 5px solid var(--blue); background: #f5f8ff; }
.brand-card-header img { height: 44px; width: auto; object-fit: contain; flex-shrink: 0; }
.brand-card-header h3 { font-family: var(--font-head); font-size: 1.4rem; text-transform: uppercase; }
.brand-card.singer .brand-card-header h3 { color: var(--red); }
.brand-card.brother .brand-card-header h3 { color: var(--blue); }
.brand-card-img { height: 200px; overflow: hidden; }
.brand-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.brand-card:hover .brand-card-img img { transform: scale(1.04); }
.brand-card-body { padding: 22px 32px; }
.brand-card-body p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }
.brand-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; background: var(--gray-50); border-top: 1px solid var(--border); }
.brand-card.singer .brand-card-footer a { color: var(--red); font-family: var(--font-head); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.brand-card.brother .brand-card-footer a { color: var(--blue); font-family: var(--font-head); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.brand-card-footer a:hover { gap: 12px; }

/* ── ABOUT ── */
.about-section { padding: 90px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge { position: absolute; bottom: 24px; left: 24px; background: var(--red); color: var(--white); padding: 16px 22px; border-radius: var(--radius); font-family: var(--font-head); }
.about-img-badge strong { display: block; font-size: 2.4rem; line-height: 1; }
.about-img-badge span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.88; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--gray-600); font-size: 15px; margin-bottom: 16px; line-height: 1.75; }
.about-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 32px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-700); }
.about-list li::before { content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

/* ── VIDEO SECTION ── */
.video-section { padding: 80px 0; background: var(--black); }
.video-section h2 { color: var(--white); margin-bottom: 10px; }
.video-section p { color: rgba(255,255,255,0.65); margin-bottom: 36px; font-size: 15px; }
.video-wrap { position: relative; width: 100%; max-width: 800px; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid var(--red); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── BRAND LOGOS STRIP ── */
.brands-strip { padding: 50px 0; background: var(--gray-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-strip-label { text-align: center; font-family: var(--font-head); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 28px; }
.brands-strip-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.brands-strip-logos img { height: 48px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: all 0.3s; }
.brands-strip-logos img:hover { filter: none; opacity: 1; transform: scale(1.05); }

/* ── PAGE HERO ── */
.page-hero { position: relative; overflow: hidden; background-image: url('../img/hero-bg.jpg'); background-size: cover; background-position: center; padding: 60px 0; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(2rem,4vw,2.8rem); color: var(--white); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 10px; }
.page-hero h1 .red  { color: #ff4d6a; }
.page-hero h1 .blue { color: #7ab3ff; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.72); max-width: 560px; font-weight: 300; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--gray-50); border-bottom: 1px solid var(--border); padding: 13px 0; }
.breadcrumb nav { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-400); }
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── PRODUCT LISTING ── */
.product-listing { padding: 80px 0; background: var(--gray-50); }
.listing-header { margin-bottom: 44px; }
.listing-header p { color: var(--gray-600); font-size: 15px; }
.machine-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.machine-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.25s; display: flex; flex-direction: column; }
.machine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.machine-card-image { height: 210px; overflow: hidden; position: relative; }
.machine-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.machine-card:hover .machine-card-image img { transform: scale(1.05); }
.machine-badge { position: absolute; top: 12px; right: 12px; background: var(--red); color: var(--white); font-family: var(--font-head); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.machine-badge.blue { background: var(--blue); }
.machine-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.machine-brand-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 5px; font-family: var(--font-head); }
.machine-brand-tag.blue { color: var(--blue); }
.machine-card-body h3 { font-family: var(--font-head); font-size: 1.05rem; color: var(--black); margin-bottom: 8px; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em; }
.machine-card-body p { font-size: 13.5px; color: var(--gray-600); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.machine-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.spec-chip { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 3px; padding: 3px 9px; font-size: 11px; color: var(--gray-600); }
.machine-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-top: 1px solid var(--border); background: var(--gray-50); }
.machine-price { font-family: var(--font-head); font-size: 1.1rem; color: var(--black); }
.machine-price small { font-size: 11px; color: var(--gray-400); display: block; font-weight: 400; font-family: var(--font-body); }

/* ── PRODUCT DETAIL ── */
.product-detail { padding: 70px 0; background: var(--white); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.product-image-area { border-radius: 10px; overflow: hidden; position: sticky; top: 90px; box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.product-image-area img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-family: var(--font-head); font-size: clamp(1.7rem,3vw,2.2rem); color: var(--black); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 8px; line-height: 1.2; }
.product-info .tagline { font-size: 16px; color: var(--gray-600); margin-bottom: 26px; line-height: 1.6; }
.product-price-block { background: var(--gray-50); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 26px; display: flex; align-items: center; justify-content: space-between; }
.product-price-block.blue { border-left-color: var(--blue); }
.product-price-block .price { font-family: var(--font-head); font-size: 2rem; color: var(--black); }
.product-price-block .financing { font-size: 12px; color: var(--gray-600); text-align: right; }
.product-price-block .financing strong { display: block; color: var(--red); font-size: 14px; }
.features-list { list-style: none; margin: 20px 0; }
.features-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 14.5px; color: var(--gray-700); }
.features-list li:last-child { border-bottom: none; }
.features-list li .check { color: var(--red); font-size: 15px; flex-shrink: 0; margin-top: 1px; font-weight: 700; }
.features-list li .check.blue { color: var(--blue); }
.specs-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.specs-table tr { border-bottom: 1px solid var(--gray-200); }
.specs-table th { text-align: left; padding: 10px 14px; background: var(--black); color: var(--white); font-family: var(--font-head); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.specs-table td { padding: 11px 14px; }
.specs-table tr:nth-child(even) td { background: var(--gray-50); }
.cta-block { background: var(--black); border-radius: var(--radius); padding: 28px; margin-top: 30px; border-top: 3px solid var(--red); }
.cta-block.blue { border-top-color: var(--blue); }
.cta-block h4 { font-family: var(--font-head); font-size: 1.1rem; color: var(--white); text-transform: uppercase; margin-bottom: 8px; }
.cta-block p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-section { padding: 90px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 32px; font-size: 15px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; background: var(--gray-50); border-radius: var(--radius); border-left: 3px solid var(--red); }
.contact-icon { width: 38px; height: 38px; background: var(--red); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; fill: var(--white); }
.contact-item strong { font-family: var(--font-head); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-400); display: block; margin-bottom: 3px; }
.contact-item span { font-size: 15px; color: var(--black); font-weight: 600; }
.contact-item a { color: var(--red); }
.contact-item a:hover { text-decoration: underline; }
.map-embed { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── FOOTER ── */
.site-footer { background: var(--black); color: rgba(255,255,255,0.6); padding: 60px 0 0; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-logo p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 270px; }
.footer-col h4 { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.5); transition: color 0.18s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 8px; }
.footer-bottom .red { color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .machine-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-image-area { position: static; aspect-ratio: 16/7; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-content, .about-grid, .brand-cards, .contact-grid { grid-template-columns: 1fr; }
  .red-strip .container { grid-template-columns: 1fr 1fr; }
  .machine-grid, .service-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hamburger { display: flex; flex-direction: column; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 2px solid var(--red); padding: 12px; box-shadow: var(--shadow-lg); z-index: 999; }
  .dropdown, .sub-dropdown { position: static; box-shadow: none; border: none; display: block; padding-left: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .hero { padding: 70px 0 60px; }
  .video-section .container { text-align: center; }
}

/* ── NO BLACK GRAPHICS — clean white product images ── */
.machine-card-image {
  background: #f8f8f8 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.machine-card-image img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}
.product-image-area {
  background: #f8f8f8 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.product-image-area img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
}
/* Remove any leftover dark icon wraps */
.machine-icon-wrap { display: none !important; }
/* Page hero — lighter overlay so it's not so dark */
.page-hero::before { background: rgba(0,0,0,0.65) !important; }
/* CTA block — use red accent instead of black */
.cta-block {
  background: #1a1a1a;
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
}
/* Repairs CTA — use light gray instead of black */
.repairs-cta-section { background: var(--gray-100) !important; }

/* Strip — 3 items */
.red-strip .container { grid-template-columns: repeat(3,1fr) !important; }
@media (max-width: 768px) { .red-strip .container { grid-template-columns: 1fr !important; } }

/* Brand logos — more visible, less filtered */
.brands-strip-logos img {
  height: 52px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.3s !important;
  background: white;
  padding: 6px;
  border-radius: 4px;
}
.brands-strip-logos img:hover {
  transform: scale(1.08) !important;
}

/* Product cards — white background, square product photos centered */
.machine-card-image {
  background: #ffffff !important;
  height: 220px !important;
  border-bottom: 1px solid #f0f0f0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  overflow: hidden;
}
.machine-card-image img {
  max-height: 180px !important;
  max-width: 90% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
/* Header nav — ensure logo displays properly */
.site-logo img {
  height: 62px !important;
  width: auto !important;
  display: block !important;
  max-width: 300px !important;
}

/* ── BROTHER BRAND BLUE THEME ── */
.page-hero-blue { background-image: url('../img/hero-bg.jpg'); }
.page-hero-blue::before { background: rgba(0,30,80,0.80); }
.blue-light { color: #7ab3ff; }
.section-title-blue span { color: var(--blue); }
.specs-table-blue th { background: var(--blue); }
.cta-block-blue { border-top-color: var(--blue); }
.btn-outline-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue); border-radius: var(--radius); padding: 13px 30px; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.features-list li .check.blue { color: var(--blue); }

/* ── SCROLL TO TOP BUTTON ── */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  text-decoration: none;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}
.scroll-top:hover { transform: translateY(-3px); background: var(--red-dk); }

/* ── MOBILE CTA BAR (bottom fixed) ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background: var(--white);
  border-top: 2px solid var(--red);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
  padding: 10px 16px;
  gap: 10px;
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mobile-cta-bar .cta-call { background: var(--red); color: var(--white); }
.mobile-cta-bar .cta-email { background: var(--gray-100); color: var(--black); border: 1px solid var(--border); }
.mobile-cta-bar .cta-directions { background: var(--blue); color: var(--white); }

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
  .scroll-top { bottom: 84px; }
}

/* ── PRODUCT IMAGE AREA — clean white, no black ── */
.product-image-area {
  background: #f8f8f8 !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px !important;
  min-height: 320px;
}
.product-image-area img {
  max-height: 360px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* ── SEO: ensure all text is readable, not hidden ── */
h1, h2, h3 { line-height: 1.2; }
a:focus { outline: 2px solid var(--red); outline-offset: 2px; }

/* ── REMOVE any remaining dark overlays on product cards ── */
.machine-card-image::after { display: none !important; }

/* ── BRAND LOGO CAROUSEL ── */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: brandScroll 22s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-slide {
  flex-shrink: 0;
  width: 180px;
  height: 90px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-slide:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow);
}

.carousel-slide img {
  max-width: 140px;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Override old brand strip logos style */
.brands-strip-logos { display: none !important; }

/* ── CAROUSEL MOBILE FIX ── */
/* On mobile the carousel-track needs to not wrap */
.carousel-wrapper {
  overflow: hidden !important;
  width: 100% !important;
}
.carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  align-items: center !important;
  width: max-content !important;
  animation: brandScroll 22s linear infinite !important;
}
.carousel-slide {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 160px !important;
  min-width: 160px !important;
  height: 80px !important;
}

/* ── HAMBURGER MENU MOBILE FIX ── */
/* When open, show full menu vertically with all items */
.main-nav.open {
  display: flex !important;
  flex-direction: column !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: var(--white) !important;
  z-index: 9999 !important;
  padding: 80px 24px 100px !important;
  overflow-y: auto !important;
  box-shadow: none !important;
  gap: 0 !important;
}
.main-nav.open > li > a {
  display: block !important;
  padding: 16px 0 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  border-bottom: 1px solid var(--gray-200) !important;
  background: none !important;
}
.main-nav.open > li > a:hover {
  color: var(--red) !important;
  background: none !important;
}
/* Show dropdown items inline under Brands when open on mobile */
.main-nav.open .dropdown {
  display: block !important;
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  border-top: none !important;
  padding-left: 16px !important;
  background: var(--gray-50) !important;
  border-radius: var(--radius) !important;
  margin: 4px 0 8px !important;
}
.main-nav.open .sub-dropdown {
  display: block !important;
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  padding-left: 16px !important;
  background: none !important;
}
.main-nav.open .dropdown a {
  font-size: 14px !important;
  padding: 10px 14px !important;
  border-bottom: 1px solid var(--gray-200) !important;
  color: var(--gray-700) !important;
}
.main-nav.open .dropdown a:hover { color: var(--red) !important; }
.main-nav.open .sub-dropdown a { font-size: 13px !important; color: var(--gray-600) !important; }

/* Close button inside open menu */
.nav-close-btn {
  display: none;
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 10000;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--black);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}
.main-nav.open ~ .nav-close-btn,
.nav-close-btn.visible { display: block; }

@media (max-width: 768px) {
  .main-nav > li > a { font-size: 16px; }
  /* Keep dropdown hidden by default on mobile, show on tap via JS */
  .main-nav.open .dropdown { display: none !important; }
  .main-nav.open .has-sub.expanded .dropdown { display: block !important; }
  .main-nav.open .has-sub.expanded .sub-dropdown { display: none !important; }
  .main-nav.open .has-sub.sub-expanded .sub-dropdown { display: block !important; }
}

/* ── MOBILE MENU FULL OVERRIDES ── */
@media (max-width: 768px) {

  /* Full screen overlay */
  .main-nav.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    background: var(--white) !important;
    z-index: 9999 !important;
    padding: 90px 0 120px !important;
    overflow-y: auto !important;
    gap: 0 !important;
    box-shadow: none !important;
  }

  /* Nav items */
  .main-nav.open > li > a {
    display: block !important;
    padding: 18px 28px !important;
    font-family: var(--font-head) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--black) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border-bottom: 1px solid var(--gray-200) !important;
    background: none !important;
  }
  .main-nav.open > li > a:hover { color: var(--red) !important; }

  /* Brands dropdown — hidden by default, shown when expanded */
  .main-nav.open .dropdown {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    border-top: none !important;
    background: var(--gray-50) !important;
    padding: 0 0 0 20px !important;
  }
  .main-nav.open .has-sub.expanded > .dropdown {
    display: block !important;
  }
  .main-nav.open .dropdown a {
    font-size: 15px !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid var(--gray-200) !important;
    color: var(--gray-700) !important;
    font-weight: 500 !important;
  }
  .main-nav.open .dropdown a:hover { color: var(--red) !important; }

  /* Singer/Brother sub-dropdowns */
  .main-nav.open .sub-dropdown {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: var(--white) !important;
    padding-left: 16px !important;
  }
  .main-nav.open .has-sub.sub-expanded > .sub-dropdown {
    display: block !important;
  }
  .main-nav.open .sub-dropdown a {
    font-size: 13px !important;
    padding: 11px 16px !important;
    color: var(--gray-600) !important;
  }

  /* Close button */
  .nav-close-btn {
    display: none;
    position: fixed !important;
    top: 18px !important;
    right: 20px !important;
    z-index: 10000 !important;
    background: none !important;
    border: none !important;
    font-size: 30px !important;
    color: var(--black) !important;
    cursor: pointer !important;
    padding: 6px 10px !important;
    line-height: 1 !important;
  }
  .nav-close-btn.visible { display: block !important; }

  /* Carousel on mobile */
  .carousel-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    animation: brandScroll 18s linear infinite !important;
  }
  .carousel-slide {
    flex-shrink: 0 !important;
    width: 140px !important;
    min-width: 140px !important;
    height: 70px !important;
    padding: 10px 12px !important;
  }
  .carousel-slide img {
    max-width: 110px !important;
    max-height: 50px !important;
  }
}

/* ── SUBMENU TOGGLE BUTTON (mobile) ── */
.submenu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-600);
  cursor: pointer;
  padding: 4px 12px;
  line-height: 1;
  vertical-align: middle;
  transition: transform 0.2s;
}
@media (max-width: 768px) {
  /* Show toggle buttons only on mobile */
  .submenu-toggle { display: inline-block; }

  /* Rotate when expanded */
  .has-sub.sub-expanded > .submenu-toggle { transform: rotate(90deg); color: var(--red); }

  /* Layout: link + toggle button side by side */
  .main-nav.open .has-sub {
    display: flex !important;
    flex-direction: column !important;
  }
  .main-nav.open .has-sub > a,
  .main-nav.open .has-sub > .submenu-toggle {
    display: inline-block !important;
  }
  .main-nav.open .has-sub {
    position: relative !important;
  }
  .main-nav.open .has-sub > a {
    flex: 1 !important;
    border-bottom: none !important;
  }
  /* Row for link + toggle */
  .main-nav.open .dropdown .has-sub {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border-bottom: 1px solid var(--gray-200) !important;
    flex-wrap: wrap !important;
  }
  .main-nav.open .dropdown .has-sub > a {
    flex: 1 !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    color: var(--gray-700) !important;
    font-weight: 600 !important;
    border-bottom: none !important;
  }
  .main-nav.open .dropdown .has-sub > a:hover { color: var(--red) !important; }
  .main-nav.open .dropdown .has-sub > .submenu-toggle {
    padding: 14px 16px !important;
    font-size: 22px !important;
  }
  /* Sub-dropdown takes full width below the row */
  .main-nav.open .dropdown .has-sub > .sub-dropdown {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}
