/* =============================================================================
   Winston Self Storage - Main Stylesheet
   Hybrid Tailwind-BEM Architecture
   ============================================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700&display=swap');

/* Design Tokens */
@import '_variables.css';

/* Base Styles & Reset */
@import '_base.css';

/* Layout Patterns */
@import '_layouts.css';

/* BEM Components */
@import '_components.css';

/* === A-Grade utility classes (added 2026-05-18) =============================
   These classes are appended at the very end of styles.css so they win
   load-order ties against rules declared in earlier-loaded partials. They
   replace inline style="..." attributes in HTML to keep the markup lean,
   crawler-friendly, and content-heavy. Do not move above the @imports.
   ========================================================================== */

/* --- Generic layout / alignment ------------------------------------------- */
.wss-u-align-center { align-items: center; }
.wss-u-order-1 { order: 1; }
.wss-u-order-2 { order: 2; }
.wss-u-flex-wrap-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.wss-u-flex-center { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.wss-u-mt-2 { margin-top: 0.5rem; }
.wss-u-mt-3 { margin-top: 0.75rem; }
.wss-u-iframe-no-border { border: 0; }
.wss-u-iframe-rounded { border: 0; border-radius: var(--wss-radius-xl); }
.wss-u-btn-mt-6 { margin-top: var(--wss-space-6); }
.wss-u-mt-8-block { margin-top: var(--wss-space-8); }
.wss-u-grid-gap-6 { gap: 1.5rem; }
.wss-u-grid-gap-8 { gap: 2rem; }
.wss-u-color-inherit { color: inherit; }
.wss-u-color-inherit:hover { color: var(--wss-primary); }

/* --- Hero section --------------------------------------------------------- */
.wss-hero-eyebrow {
  color: var(--wss-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.wss-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.wss-hero-title__accent { color: var(--wss-primary); }
.wss-hero-subtitle {
  font-size: 1.125rem;
  color: var(--wss-gray-600);
  margin-bottom: 2rem;
  max-width: 42rem;
}
.wss-hero-location {
  display: flex;
  align-items: center;
  color: var(--wss-gray-500);
  font-size: 0.875rem;
}
.wss-hero-location__icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  color: var(--wss-primary);
}
.wss-hero-btn__icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}
.wss-hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.wss-hero-media__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: var(--wss-shadow-2xl);
}
.wss-hero-pricecard {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: var(--wss-shadow-lg);
}
.wss-hero-pricecard__label {
  font-size: 0.875rem;
  color: var(--wss-gray-600);
  margin-bottom: 0.25rem;
}
.wss-hero-pricecard__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wss-primary);
}

/* --- Virtual tour video --------------------------------------------------- */
.wss-video-wrap {
  max-width: 800px;
  margin: var(--wss-space-12) auto 0;
  aspect-ratio: 16/9;
}
.wss-video-wrap__iframe {
  border-radius: var(--wss-radius-xl);
  box-shadow: var(--wss-shadow-lg);
}

/* --- CTA section footer link --------------------------------------------- */
.wss-cta__footer-link { color: var(--wss-accent); }

/* --- 404 page ------------------------------------------------------------ */
.wss-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.wss-404__code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--wss-primary);
  margin-bottom: 1rem;
}
.wss-404__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.wss-404__text {
  font-size: 1.125rem;
  color: var(--wss-text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- City hero (image background) ---------------------------------------- */
.wss-city-hero[data-bg] {
  color: #ffffff;
}
.wss-city-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Spot card icon (Things to Do / Popular Spots) ----------------------- */
.wss-spot-card__icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
  display: inline-block;
  vertical-align: middle;
}

/* --- Areas card pattern reused on service pages -------------------------- */
.wss-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .wss-areas-grid { grid-template-columns: repeat(5, 1fr); }
}

/* --- Feature list (service-page checkmark bullets) ----------------------- */
/* Without CSS the SVG fills its <li> parent (rendered ~780×780px on desktop). */
.wss-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wss-feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  color: var(--wss-text, #111827);
  line-height: 1.5;
}
.wss-feature-list__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--wss-primary, #FFCC29);
  margin-top: 0.125rem;
}

