/* =========================================================
   VICTORY BATHROOMS — Shared Design System
   Colour palette derived from brand screenshot
   ========================================================= */

/* --- Tokens --- */
:root {
  /* Purple primary ramp */
  --purple-900: #3b0764;
  --purple-800: #5b1a8a;
  --purple-700: #7b2d9b;
  --purple-600: #8b35b0;
  --purple-500: #9d44c0;
  --purple-400: #b968d8;
  --purple-100: #f3e8ff;
  --purple-50:  #faf5ff;

  /* Neutrals */
  --black:      #0d0d0d;
  --grey-900:   #1a1a1a;
  --grey-800:   #2a2a2a;
  --grey-600:   #525252;
  --grey-400:   #a3a3a3;
  --grey-200:   #e5e5e5;
  --grey-100:   #f5f5f5;
  --white:      #ffffff;

  /* Semantic */
  --text-primary:   #1a1a1a;
  --text-secondary: #525252;
  --text-light:     #ffffff;
  --border:         #e0d4f0;
  --success:        #15803d;
  --warning:        #b45309;
  --error:          #b91c1c;

  /* Spacing (8px grid) */
  --sp-1: 0.5rem;   /* 8px */
  --sp-2: 1rem;     /* 16px */
  --sp-3: 1.5rem;   /* 24px */
  --sp-4: 2rem;     /* 32px */
  --sp-5: 2.5rem;   /* 40px */
  --sp-6: 3rem;     /* 48px */
  --sp-8: 4rem;     /* 64px */
  --sp-10: 5rem;    /* 80px */
  --sp-12: 6rem;    /* 96px */

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;

  --lh-tight:  1.2;
  --lh-snug:   1.35;
  --lh-normal: 1.5;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.12);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
  --shadow-card: 0 2px 12px rgba(123,45,155,.10);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--sp-2);
}
@media (min-width: 640px)  { .container { padding-inline: var(--sp-3); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-4); } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease;
  min-height: 44px;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--purple-700);
  color: var(--white);
  border-color: var(--purple-700);
}
.btn-primary:hover {
  background: var(--purple-800);
  border-color: var(--purple-800);
  box-shadow: 0 4px 14px rgba(123,45,155,.35);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--purple-700);
  border-color: var(--purple-700);
}
.btn-outline-dark:hover {
  background: var(--purple-700);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--fs-lg);
}

.btn-full { width: 100%; }

/* --- Nav --- */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--sp-2) 0;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.nav-logo { height: 44px; width: auto; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: .9;
  transition: opacity .15s;
}
.nav-phone:hover { opacity: 1; }
.nav-phone svg { flex-shrink: 0; }

/* --- Trust Strip (4 badges) --- */
.trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-1);
}
@media (min-width: 768px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
}
@media (min-width: 1024px) {
  .trust-strip { gap: var(--sp-3); }
}

.trust-badge {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius-lg);
  padding: var(--sp-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.375rem;
  backdrop-filter: blur(6px);
}
.trust-badge svg { color: #fbbf24; }
.trust-badge-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  line-height: var(--lh-tight);
}
.trust-badge-sub {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.80);
  line-height: var(--lh-snug);
}

/* Dark-on-light variant */
.trust-strip--light .trust-badge {
  background: var(--purple-50);
  border: 1px solid var(--border);
  backdrop-filter: none;
}
.trust-strip--light .trust-badge-title { color: var(--purple-800); }
.trust-strip--light .trust-badge-sub   { color: var(--grey-600); }

/* --- Section spacing helpers --- */
.section { padding: var(--sp-10) 0; }
.section--sm { padding: var(--sp-6) 0; }
.section--lg { padding: var(--sp-12) 0; }

/* --- Section labels --- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: var(--sp-1);
}

/* --- Footer --- */
.site-footer {
  background: var(--grey-900);
  color: rgba(255,255,255,.75);
  padding: var(--sp-8) 0 var(--sp-4);
}
.footer-grid {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-logo { height: 36px; width: auto; margin-bottom: var(--sp-2); opacity: .9; }
.footer-col-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--sp-2);
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.75);
  margin-bottom: 0.5rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.10);
  margin: var(--sp-4) 0 var(--sp-3);
}
.footer-disclaimer {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  max-width: 820px;
}
.footer-disclaimer p + p { margin-top: 0.5rem; }
.footer-bottom {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.35);
}
