/* ==========================================================================
   Classic Houseware — Global Stylesheet
   ========================================================================== */

:root {
  --navy: #14213d;
  --navy-light: #1f335c;
  --gold: #c9a227;
  --gold-light: #e2c465;
  --cream: #f7f5f0;
  --white: #ffffff;
  --ink: #1f2430;
  --muted: #5b6272;
  --border: #e5e2da;
  --success: #2e7d4f;

  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 33, 61, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 33, 61, 0.12);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}
.section--navy h2, .section--navy h3, .section--navy p { color: var(--white); }
.section--navy p { opacity: 0.85; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 12px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.section--navy .btn--outline {
  color: var(--white);
}
.section--navy .btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark img {
  height: 42px;
  width: auto;
}

.brand-mark .logo-fallback {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  white-space: nowrap;
}
.brand-mark .logo-fallback span {
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a.nav-link,
.main-nav button.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.main-nav a.nav-link:hover,
.main-nav button.nav-link:hover,
.main-nav li.active > a.nav-link {
  color: var(--gold);
}

.nav-item {
  position: relative;
}

.nav-item .chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

.nav-item.open .chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  transition-delay: 0.4s, 0.4s;
  z-index: 100;
}

.nav-item.open .dropdown,
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s, 0s;
}

.dropdown a {
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
}
.dropdown a:hover {
  background: var(--cream);
  color: var(--gold);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Hero
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201,162,39,0.18) 0%, transparent 70%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* Optional per-brand hero photo (falls back to the plain navy gradient
   above when the image file isn't present yet). */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,33,61,0.90) 0%, rgba(31,51,92,0.82) 100%);
  z-index: 1;
}

/* Same photo + navy-scrim treatment as the brand hero banners, reusable on
   any section (falls back to that section's own flat background colour if
   the image file isn't present). */
.section--photo {
  position: relative;
  overflow: hidden;
}
.section--photo .section-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,33,61,0.90) 0%, rgba(31,51,92,0.82) 100%);
  z-index: 1;
}
.section--photo > .container {
  position: relative;
  z-index: 2;
}

.hero-inner {
  max-width: 640px;
}

.hero h1 {
  color: var(--white);
}

.hero p.lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin: 18px 0 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .btn--outline {
  color: var(--white);
}
.hero .btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.hero--page {
  padding: 64px 0;
  text-align: left;
}

.breadcrumb {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--gold); }

/* Cards / Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--brands { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 1.4rem;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
}

/* Brand grid (logo tiles) */
.brand-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.brand-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.brand-tile img {
  max-height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-tile .logo-fallback {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
}

/* Brand page hero accent */
.brand-hero-logo {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  min-height: 100px;
}
.brand-hero-logo img {
  max-height: 88px;
  max-width: 300px;
  object-fit: contain;
}
.brand-hero-logo .logo-fallback {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
}

.brand-nav-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.brand-nav-strip a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.brand-nav-strip a:hover,
.brand-nav-strip a.active {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--cream);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}
.section--navy .stat-label { color: rgba(255,255,255,0.7); }

/* Two-column layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.media-frame {
  position: relative;
}

.media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--cream);
  border-radius: var(--radius);
  z-index: 1;
}

.media-block {
  background: var(--cream);
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--border);
}

/* Steps (service page) */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding-top: 8px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

.form-success,
.form-error {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.form-success {
  background: #eaf6ee;
  border: 1px solid var(--success);
  color: var(--success);
}

.form-error {
  background: #fdecea;
  border: 1px solid #b3261e;
  color: #b3261e;
}

.form-error a {
  color: inherit;
  text-decoration: underline;
}

/* Honeypot: hidden from people, still submitted by naive bots.
   Kept out of the accessibility tree and off-screen rather than display:none,
   since some bots skip fields that are not rendered. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact info list */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201,162,39,0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-info-item h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.contact-info-item p { font-size: 0.9rem; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Values grid (about) */
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* CTA banner */
.cta-banner {
  background: var(--gold);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--navy); margin-bottom: 6px; }
.cta-banner p { color: rgba(20,33,61,0.75); }

/* Notice box */
.notice-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 22px 26px;
  margin-top: 32px;
}
.notice-box h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.notice-box p {
  font-size: 0.92rem;
  margin: 0;
}
.notice-box p + p {
  margin-top: 10px;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item .faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream);
  position: relative;
}
.faq-item .faq-icon::before,
.faq-item .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-item .faq-icon::before { width: 10px; height: 2px; }
.faq-item .faq-icon::after { width: 2px; height: 10px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-answer {
  padding: 4px 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a:hover { color: var(--gold); }

.footer-about p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin: 14px 0 18px;
  max-width: 320px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img { height: 34px; }
.footer-brand .logo-fallback {
  display: none;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
}
.footer-brand .logo-fallback span { color: var(--gold); }

.social-instagram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.social-instagram svg {
  flex-shrink: 0;
}
.social-instagram:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--gold); }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--brands { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .media-block { order: -1; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-item .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: none;
    grid-template-columns: 1fr;
    background: var(--cream);
  }
  .nav-item.open .dropdown { display: grid; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .grid--brands { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-nav-strip { padding: 16px 0; }
}
