/* =====================================================
   BRIGHTWEY SECURE STORAGE — Design System
   Navy / Gold / White
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg:            #0B1929;
  --bg-card:       #122036;
  --bg-card-hover: #1A2E48;
  --bg-dark:       #060F1A;
  --accent:        #F7C83E;
  --accent-hover:  #E0B432;
  --text:          #FFFFFF;
  --text-muted:    #A8B8C8;
  --text-dim:      #6B7F90;
  --border:        rgba(201,168,76,0.15);
  --radius:        4px;
  --radius-lg:     8px;
  --max-w:         1200px;
  --nav-h:         72px;
  --font-head:     'Barlow Condensed', Impact, Arial Narrow, sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---- Typography ---- */
.display {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; line-height: 1; }
h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p { line-height: 1.65; color: var(--text-muted); }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { font-size: 1.15rem; padding: 18px 36px; }
.btn-sm { font-size: 0.85rem; padding: 10px 20px; }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo .brand { font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }
.nav-logo .sub { font-size: 0.65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--accent-hover); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.2s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg-dark);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .nav-phone-mobile {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  margin-top: 16px;
  padding-bottom: 0;
  border: none;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero .kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-hero h1 { color: var(--text); margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 560px; }

/* ---- Trust Strip ---- */
.trust-strip {
  background: var(--accent);
  padding: 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  flex: 1;
  border-right: 1px solid rgba(0,0,0,0.12);
  text-align: center;
}
.trust-item:last-child { border-right: none; }
.trust-item .value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #000;
  line-height: 1;
  letter-spacing: 0.02em;
}
.trust-item .label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.6);
  margin-top: 2px;
}

/* ---- Service Cards ---- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.service-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #333;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }

.service-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}
.service-card-body h3 { color: var(--text); margin-bottom: 8px; }
.service-card-body .price {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin: 12px 0 8px;
}
.service-card-body .price span { font-size: 1rem; color: var(--text-muted); font-weight: 600; }
.service-card-body p { font-size: 0.9rem; margin-bottom: 20px; flex: 1; }
.service-card-body ul {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card-body ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.service-card-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ---- Section Labels ---- */
.section-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

/* ---- Grid layouts ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---- Split grid (two-column text+image sections) ---- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---- How It Works Steps ---- */
.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  min-width: 64px;
}
.step-content h3 { color: var(--text); font-size: 1.5rem; margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; }

/* ---- CTA Band ---- */
.cta-band {
  background: var(--accent);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #000;
  margin-bottom: 8px;
  line-height: 1;
}
.cta-band p { color: rgba(0,0,0,0.6); font-size: 1.1rem; margin-bottom: 32px; }
.cta-band .btn-primary { background: #000; border-color: #000; color: #fff; }
.cta-band .btn-primary:hover { background: #222; border-color: #222; }
.cta-band .btn-outline { border-color: rgba(0,0,0,0.3); color: #000; }
.cta-band .btn-outline:hover { border-color: #000; }
.cta-band .cta-phone {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: #000;
  margin-top: 24px;
  display: block;
}

/* ---- Testimonials ---- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial blockquote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial blockquote::before { content: '"'; color: var(--accent); font-size: 1.5rem; line-height: 0; }
.testimonial cite {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-style: normal;
}

/* ---- Gallery grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--bg-card);
  cursor: pointer;
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/7; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 3/4; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---- Contact form ---- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  transition: border-color 0.15s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9A9A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Contact details ---- */
.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  font-size: 1.5rem;
  min-width: 40px;
  padding-top: 2px;
}
.contact-detail-text .label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.contact-detail-text .value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.contact-detail-text .value a { color: var(--accent); }
.contact-detail-text .value a:hover { text-decoration: underline; }

/* ---- Shop product cards ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-card-img .product-icon {
  font-size: 4rem;
  color: var(--text-dim);
}
.product-card-body { padding: 24px; }
.product-card-body .product-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.product-card-body .product-price {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.product-card-body p { font-size: 0.875rem; margin-bottom: 16px; }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.02em;
}
.faq-question .faq-icon {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 400;
  min-width: 24px;
  text-align: center;
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 24px;
}
.faq-answer.open { display: block; }
.faq-answer p { font-size: 0.95rem; line-height: 1.7; }

/* ---- Image placeholder (for missing images) ---- */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2C2C2E 0%, #3A3A3C 50%, #2C2C2E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Map embed ---- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(80%) invert(90%) contrast(85%);
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  border-top: 3px solid var(--accent);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.875rem; margin-bottom: 20px; max-width: 280px; }
.footer-contact-info { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-info a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-info a:hover { color: var(--accent); }
.footer-contact-info .footer-phone {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
}
.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer-bottom a { color: var(--text-dim); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Announcement bar ---- */
.announce-bar {
  background: var(--accent);
  text-align: center;
  padding: 10px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
}
.announce-bar a { color: #000; text-decoration: underline; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-strip-inner { flex-wrap: wrap; }
  .trust-item { flex: 0 0 25%; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  /* Hide nav CTA button — hamburger menu is enough on mobile */
  .nav-right .btn { display: none; }

  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.875rem; }

  .section { padding: 48px 0; }
  .section-sm { padding: 28px 0; }

  /* Reduce hero padding — inline style on .hero-home, needs !important */
  .hero-home { padding: 44px 0 36px !important; }

  .grid-2, .grid-3, .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }

  .trust-item { flex: 0 0 50%; }
  .trust-item { border-bottom: 1px solid rgba(0,0,0,0.12); }

  /* Allow long button text to wrap rather than overflow */
  .btn { white-space: normal; }
  .btn-lg { font-size: 1rem; padding: 14px 24px; line-height: 1.3; }

  .announce-bar { font-size: 0.72rem; letter-spacing: 0.03em; padding: 8px 16px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .step { flex-direction: column; gap: 8px; }
  .step-num { font-size: 2.5rem; }

  .page-hero { padding: 40px 0 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  /* Product/category cards: single column on small phones */
  .grid-4 { grid-template-columns: 1fr; }
  /* Trust items: full width on tiny screens */
  .trust-item { flex: 0 0 100%; border-right: none; }
  /* Hero stat cards: keep 2-col but tighter */
  .stat-grid { gap: 8px; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.6rem; }
}
