/* SEAFLO Marine — brand theme (logo blue #0C5FA4 + orange #DE541D) */

:root {
  --color-primary: #0c2340;
  --color-secondary: #5a7189;
  --color-brand-blue: #0c5fa4;
  --color-brand-orange: #de541d;
  --color-brand: var(--color-brand-blue);
  --color-brand-light: var(--color-brand-orange);
  --color-brand-dark: #084a82;
  --color-accent: var(--color-brand-orange);
  --color-accent-hover: #c44818;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f7fb;
  --color-bg-warm: #fef8f4;
  --color-border: #d4e3f0;
  --color-sale: #e63946;
  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Sans', var(--font-family);
  --header-height: 68px;
  --container-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(8, 74, 130, 0.04), 0 4px 20px rgba(8, 74, 130, 0.06);
  --shadow-card-hover: 0 8px 32px rgba(12, 95, 164, 0.12);
  --transition: 0.22s ease;
}

/* Header — compact, white, blue accent line */
.site-header {
  height: var(--header-height);
  background: var(--color-bg);
  border-bottom: none;
  box-shadow: 0 1px 0 var(--color-border);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand-blue) 0%, var(--color-brand-orange) 50%, var(--color-brand-blue) 100%);
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-width: 140px;
}

.logo img {
  width: 168px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

.main-nav a {
  font-weight: 500;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-primary);
}

.main-nav a::after {
  background: var(--color-brand-orange);
  height: 2px;
  bottom: -6px;
}

.language-switcher-toggle {
  background: var(--color-brand-blue);
  border-radius: var(--radius-sm);
}

.language-switcher-menu {
  background: var(--color-brand-dark);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Hero Editorial — split white layout */
.hero-editorial {
  background: var(--color-bg);
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}

.hero-editorial::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(12, 95, 164, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-editorial__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-editorial__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-blue);
  margin-bottom: 16px;
}

.hero-editorial__eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-brand-orange);
}

.hero-editorial__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-editorial__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--color-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 460px;
}

.hero-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-editorial__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.hero-editorial__stats dt {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  grid-row: 1;
}

.hero-editorial__stats dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-brand-blue);
  grid-row: 2;
  margin: 0;
}

.hero-editorial__visual {
  position: relative;
}

.hero-editorial__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card-hover);
}

.hero-editorial__frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-editorial__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 32px;
  color: var(--color-brand-blue);
  opacity: 0.35;
}

.hero-editorial__wave svg {
  width: 100%;
  height: 100%;
}

/* Category strip */
.category-strip {
  background: var(--color-bg-alt);
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.category-strip__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: center;
}

.category-strip__item:hover {
  opacity: 1;
  border-color: var(--color-brand-orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.category-strip__icon {
  font-size: 24px;
  line-height: 1;
}

.category-strip__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Trust strip */
.trust-strip {
  background: var(--color-bg);
  padding: 24px 0;
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-strip__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
  border-left: 3px solid var(--color-brand-orange);
}

.trust-strip__item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

.trust-strip__item span {
  font-size: 12px;
  color: var(--color-secondary);
}

/* Buttons */
.btn-brand,
.btn-primary {
  background: var(--color-brand-orange);
  color: #fff;
  border: 2px solid var(--color-brand-orange);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-brand:hover,
.btn-primary:hover {
  opacity: 1;
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-brand-blue);
  border: 2px solid var(--color-brand-blue);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
}

.btn-outline:hover {
  opacity: 1;
  background: var(--color-bg-alt);
}

/* Product cards — blue top accent */
.product-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand-blue), var(--color-brand-orange));
  z-index: 1;
}

.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

/* Section headers */
.section-header h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.see-all {
  color: var(--color-brand-orange);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Newsletter section — light blue tint */
.newsletter-section {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.newsletter-section h2 {
  color: var(--color-primary);
}

/* Promo banners — card style instead of full bleed */
.promo-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 48px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.category-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 320px;
}

.category-banner::before {
  background: linear-gradient(to top, rgba(12, 35, 64, 0.75) 0%, transparent 60%);
}

.category-banner__category {
  color: var(--color-brand-orange);
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: var(--color-brand-orange);
}

/* Compare table accent */
.compare-table th {
  background: var(--color-bg-alt);
  color: var(--color-brand-dark);
}

/* Product page */
.product-buy-cta .btn-amazon {
  background: var(--color-brand-orange);
  border-radius: var(--radius-pill);
}

.product-buy-cta .btn-amazon:hover {
  background: var(--color-accent-hover);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-editorial__inner {
    grid-template-columns: 1fr;
  }

  .hero-editorial__visual {
    order: -1;
  }

  .category-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-trio {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .category-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .hero-editorial__stats {
    grid-template-columns: 1fr 1fr;
  }
}
