/* ==========================================================================
   EDGEWATER CABINETS, FLOORS & MORE LLC — MASTER WEB STYLE SYSTEM
   Color Palette: Beach Sunset + Warm Timber Wood + Polished Tile & Marble
   FL Doc: L26000348772 | EIN: 42-3561191 | Edgewater, Volusia County, FL
   ========================================================================== */

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

:root {
  /* 1. Coastal Beach & Ocean Waves */
  --brand-navy-dark: #091e36;
  --brand-navy: #0d3b66;
  --brand-navy-light: #1b4965;
  --brand-ocean-blue: #0077b6;
  --brand-sea-cyan: #00b4d8;
  --brand-wave-glow: #38bdf8;
  --brand-amber-sunset: #f77f00;
  --brand-amber-bright: #ff9f1c;

  /* 2. Natural Wood Timber & Oak Flooring */
  --brand-timber-gold: #d4a373;
  --brand-oak-warm: #b07d5b;
  --brand-walnut-dark: #5c3d2e;

  /* 3. Polished Ceramic Tile, Stone & Marble */
  --brand-tile-slate: #1e293b;
  --brand-tile-gray: #64748b;
  --brand-marble-white: #ffffff;
  --brand-marble-bg: #f8fafc;
  --brand-sand-warm: #fdf8f2;
  --brand-sand-card: #f9f3ea;
  --brand-sand-border: #e6d8c8;
  
  /* Text & Surface Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-on-dark: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 10px rgba(13, 59, 102, 0.06);
  --shadow-md: 0 8px 26px rgba(13, 59, 102, 0.1);
  --shadow-lg: 0 18px 45px rgba(9, 30, 54, 0.18);
  --shadow-gold: 0 4px 20px rgba(212, 163, 115, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Globals */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--brand-sand-warm);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-navy);
}

a {
  color: var(--brand-ocean-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-sea-cyan);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Master Header & Navigation */
.master-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 248, 242, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--brand-sand-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.top-bar-notice {
  background: linear-gradient(90deg, var(--brand-navy-dark), var(--brand-navy), var(--brand-ocean-blue));
  color: #ffffff;
  padding: 6px 20px;
  font-size: 0.825rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 20px;
}

.top-bar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(9, 30, 54, 0.12));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-amber-sunset);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--brand-navy);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-timber-gold);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* Header Login Dropdown Component ("Are you a...") */
.login-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.login-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 310px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-sand-border);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
  animation: fadeIn 0.25s ease forwards;
}

.dropdown-header-prompt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-navy-light);
  padding: 4px 8px;
  margin-bottom: 2px;
}

.login-dropdown-wrapper:hover .login-dropdown-menu,
.login-dropdown-menu.show {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.dropdown-item:hover {
  background: var(--brand-sand-card);
  border-color: var(--brand-sand-border);
  color: var(--brand-ocean-blue);
  transform: translateX(4px);
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(13, 59, 102, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.dropdown-divider {
  height: 1px;
  background: var(--brand-sand-border);
  margin: 4px 0;
}

/* Master Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-navy-light), var(--brand-ocean-blue));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--brand-amber-sunset), var(--brand-amber-bright));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(247, 127, 0, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--brand-amber-bright), #d97706);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 127, 0, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--brand-navy);
  transform: translateY(-2px);
}

/* Version Control Modal & Badges (Jamie's Contracts Version Selector) */
.version-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-left: 6px;
  text-transform: uppercase;
}

.badge-beta-volatile {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  font-weight: 800;
}

.badge-stable-legacy {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #86efac;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 30, 54, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.show {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.version-modal {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  border: 1px solid var(--brand-sand-border);
  position: relative;
}

.version-option-card {
  border: 2px solid var(--brand-sand-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 14px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--brand-sand-warm);
}

.version-option-card:hover {
  border-color: var(--brand-ocean-blue);
  background: #ffffff;
  transform: translateY(-2px);
}

.version-option-card.volatile-card {
  border-color: #fca5a5;
  background: #fff5f5;
}

.version-option-card.volatile-card:hover {
  border-color: #dc2626;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
}

/* 1. Hero Showcase Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #061527 0%, var(--brand-navy) 50%, #174268 100%);
  color: var(--text-on-dark);
  padding: 44px 24px 52px;
  overflow: hidden;
}

.hero-overlay-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(247, 127, 0, 0.22) 0%, transparent 45%),
                    radial-gradient(circle at 15% 85%, rgba(0, 180, 216, 0.18) 0%, transparent 40%),
                    linear-gradient(0deg, rgba(212, 163, 115, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-content h1 span.highlight {
  color: #ff9f1c;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  display: inline;
}

.hero-description {
  font-size: 1.025rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  max-width: 560px;
  line-height: 1.5;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.badge-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 163, 115, 0.3);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1f5f9;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(7, 21, 39, 0.35);
  border: 2px solid rgba(212, 163, 115, 0.35);
  background: #ffffff;
  padding: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #ffffff;
  display: block;
}

/* Master Operational Portal Hub Cards */
.portal-hub-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.portal-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portal-card {
  background: #ffffff;
  border: 1px solid var(--brand-sand-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-timber-gold));
}

.portal-card.customer-card::before {
  background: linear-gradient(90deg, var(--brand-amber-sunset), var(--brand-timber-gold));
}

.portal-card.installer-card::before {
  background: linear-gradient(90deg, var(--brand-ocean-blue), var(--brand-sea-cyan));
}

.portal-card.sales-card::before {
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-ocean-blue));
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-timber-gold);
}

.portal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.portal-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-sand-card);
  border: 1px solid var(--brand-sand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--brand-navy);
}

.portal-tag {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-live {
  background: #dcfce7;
  color: #15803d;
}

.tag-active {
  background: #e0f2fe;
  color: #0369a1;
}

.portal-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.portal-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 14px;
  line-height: 1.45;
}

.portal-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--brand-navy);
}

.portal-card:hover .portal-btn-link {
  color: var(--brand-amber-sunset);
}

/* Master Sections & Products Grid */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-amber-sunset);
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.025rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-sand-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-timber-gold);
}

.product-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--brand-sand-card);
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.product-info {
  padding: 20px;
}

.product-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.product-info p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 14px;
  line-height: 1.45;
}

.vendor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vendor-tag {
  font-size: 0.725rem;
  font-weight: 600;
  background: var(--brand-sand-card);
  color: var(--brand-navy);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--brand-sand-border);
}

/* Brand Partners Marquee Showcase */
.brand-partners-section {
  background: var(--brand-navy-dark);
  color: #ffffff;
  padding: 50px 24px;
  text-align: center;
}

.brand-partners-header {
  font-size: 0.925rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-timber-gold);
  margin-bottom: 28px;
}

.brand-marquee {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 163, 115, 0.25);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  transition: var(--transition);
}

.brand-tile:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--brand-timber-gold);
  transform: scale(1.04);
}

/* Multi-Platform Reviews Section (Google, Facebook, Yelp) */
.reviews-section {
  background: var(--brand-sand-card);
  border-top: 1px solid var(--brand-sand-border);
  border-bottom: 1px solid var(--brand-sand-border);
  padding: 70px 24px;
}

.platform-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.platform-btn {
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--brand-sand-border);
  background: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-navy);
  cursor: pointer;
  transition: var(--transition);
}

.platform-btn.active {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--brand-sand-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-source-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-google {
  background: #e8f0fe;
  color: #1a73e8;
}

.badge-facebook {
  background: #e7f3ff;
  color: #1877f2;
}

.badge-yelp {
  background: #fce8e6;
  color: #d93025;
}

.stars {
  color: #f59e0b;
  margin-bottom: 10px;
  font-size: 1rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
}

/* Consultation & Quote Section */
.estimator-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px;
}

.estimator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-sand-border);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.estimator-info h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.estimator-info p {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 20px;
}

.estimator-feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.estimator-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-navy);
}

.estimator-form {
  background: var(--brand-sand-card);
  border: 1px solid var(--brand-sand-border);
  padding: 26px;
  border-radius: var(--radius-md);
  display: grid;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-sand-border);
  font-family: inherit;
  font-size: 0.9rem;
  background: #ffffff;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-timber-gold);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.25);
}

/* Master Web Style Component Showcase */
.style-guide-section {
  background: #ffffff;
  border-top: 1px solid var(--brand-sand-border);
  padding: 60px 24px;
}

.style-guide-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.style-box {
  background: var(--brand-sand-warm);
  border: 1px solid var(--brand-sand-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.style-box h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--brand-amber-sunset);
}

.color-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.swatch {
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
  padding: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

/* Master Footer */
.master-footer {
  background: var(--brand-navy-dark);
  color: #ffffff;
  padding: 60px 24px 24px;
  border-top: 4px solid var(--brand-timber-gold);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 340px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--brand-timber-gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 14px;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.35rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges, .hero-ctas {
    justify-content: center;
  }

  .portal-hub-grid {
    grid-template-columns: 1fr;
  }

  .estimator-card {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-notice {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .header-container {
    flex-wrap: wrap;
  }

  .nav-menu {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
