/* Premier Custom Storage — shared site styles
   Used by all marketing pages: /, /about/, /gallery/, /faq/, /plans/, /legal/
   Quote builder, login, portal, and admin pages have their own page-specific CSS. */

:root {
  --navy:   #0f172a;
  --navy2:  #1e293b;
  --blue:   #2563eb;
  --blue2:  #1d4ed8;
  --blue-lt:#dbeafe;
  --green:  #059669;
  --green-lt:#d1fae5;
  --amber:  #f59e0b;
  --amber-lt:#fef3c7;
  --red:    #dc2626;
  --red-lt: #fee2e2;
  --bg:     #f8f9fa;
  --bg2:    #f1f5f9;
  --white:  #ffffff;
  --border: #e2e8f0;
  --text:   #111827;
  --text2:  #4b5563;
  --muted:  #94a3b8;
  --hd: 'Playfair Display', serif;
  --bd: 'DM Sans', sans-serif;
  --r: 12px;
  --shadow:    0 2px 8px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 32px rgba(15,23,42,0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--bd); color: var(--text); background: var(--white); line-height: 1.6; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.97); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo { font-family: var(--hd); color: #fff; font-size: 1.05rem; line-height: 1.25; }
.nav-logo span { display: block; font-size: 0.45rem; letter-spacing: 3px; color: #94a3b8; font-family: var(--bd); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a { color: #cbd5e1; font-size: 0.82rem; font-weight: 500; text-decoration: none; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--blue); color: #fff; padding: 10px 22px; border-radius: 7px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--blue2); }
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 4px; }
.mobile-menu { display: none; position: fixed; inset: 0; top: 68px; background: var(--navy); z-index: 99; flex-direction: column; padding: 2rem; gap: 1.5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: #cbd5e1; font-size: 1.1rem; font-weight: 500; text-decoration: none; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #162032 60%, #1a2a4a 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 5% 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(37,99,235,0.15) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.3);
  color: #93c5fd; font-size: 0.72rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 7px 18px; border-radius: 40px; margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--hd); font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff; line-height: 1.12; max-width: 780px; margin: 0 auto 24px;
}
.hero h1 em { font-style: normal; color: #60a5fa; }
.hero p {
  color: #94a3b8; font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 560px; margin: 0 auto 40px; font-weight: 400;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: #fff; padding: 15px 34px;
  border-radius: 8px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.5px;
  text-decoration: none; transition: all 0.2s; display: inline-block; cursor: pointer; border: none;
  font-family: var(--bd);
}
.btn-primary:hover { background: var(--blue2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
.btn-outline-white {
  background: transparent; color: #fff; padding: 15px 34px;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  border: 1.5px solid rgba(255,255,255,0.3); text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); color: #475569; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::after { content: '↓'; font-size: 1rem; animation: bounce 1.8s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)}50%{transform:translateY(5px)} }

/* ── PAGE HEADER (smaller hero for sub-pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #162032 100%);
  color: #fff; text-align: center;
  padding: 130px 5% 64px;
  position: relative;
}
.page-header h1 { font-family: var(--hd); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.page-header p { color: #94a3b8; font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--navy); color: #fff;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stat-item { padding: 28px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.06); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--hd); font-size: 2rem; color: #60a5fa; }
.stat-lbl { font-size: 0.68rem; letter-spacing: 1.5px; color: #64748b; text-transform: uppercase; margin-top: 4px; }

/* ── SECTION WRAPPER ── */
section { padding: 88px 5%; }
.section-label { font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.section-title { font-family: var(--hd); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; margin-bottom: 16px; }
.section-sub { color: var(--text2); font-size: 1rem; max-width: 560px; line-height: 1.7; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── CARDS / GENERIC GRID ── */
.products-section { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 52px; }
.product-card {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img {
  height: 200px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.product-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, transparent 60%);
}
.product-card-body { padding: 22px; }
.product-card-tag {
  display: inline-block; background: var(--blue-lt); color: var(--blue);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.product-card h3 { font-family: var(--hd); font-size: 1.2rem; margin-bottom: 8px; }
.product-card p { color: var(--text2); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); }
.product-price { font-family: var(--hd); font-size: 1.1rem; color: var(--blue); }
.product-price span { font-family: var(--bd); font-size: 0.68rem; color: var(--muted); font-weight: 400; }
.btn-card { background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 7px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-decoration: none; transition: background 0.2s; }
.btn-card:hover { background: var(--navy2); }

/* ── HOW IT WORKS ── */
.how-section { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 52px; }
.step {
  text-align: center; padding: 32px 24px;
  background: var(--bg); border-radius: var(--r); border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 52px; height: 52px; background: var(--blue); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--hd); font-size: 1.3rem; margin: 0 auto 18px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.step h3 { font-family: var(--hd); font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--text2); font-size: 0.85rem; line-height: 1.65; }

/* ── WHY US ── */
.why-section {
  background: linear-gradient(135deg, var(--navy) 0%, #162032 100%);
  color: #fff; position: relative; overflow: hidden;
}
.why-section::before {
  content: ''; position: absolute; right: -10%; top: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
}
.why-section .section-label { color: #60a5fa; }
.why-section .section-title { color: #fff; }
.why-section .section-sub { color: #94a3b8; }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-features { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 44px; height: 44px; background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.3);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.why-feature h4 { color: #e2e8f0; font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.why-feature p { color: #64748b; font-size: 0.83rem; line-height: 1.6; }
.why-visual {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 16px;
}
.why-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px; padding: 18px; display: flex; align-items: center; gap: 14px;
}
.why-card-icon { font-size: 1.8rem; }
.why-card-text h5 { color: #e2e8f0; font-size: 0.88rem; font-weight: 600; margin-bottom: 3px; }
.why-card-text p { color: #64748b; font-size: 0.75rem; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 52px; }
.testimonial {
  background: var(--white); border-radius: var(--r); border: 1px solid var(--border);
  padding: 28px; box-shadow: var(--shadow);
}
.stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial blockquote { color: var(--text2); font-size: 0.88rem; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; font-weight: 700; font-family: var(--hd);
}
.author-name { font-weight: 600; font-size: 0.88rem; }
.author-loc { font-size: 0.72rem; color: var(--muted); }

/* ── QUOTE / CTA ── */
.quote-section { background: var(--white); padding: 80px 5%; }

/* ── GALLERY GRID ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; max-width: 1200px; margin: 0 auto; }
.gallery-item {
  background: var(--bg); border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gallery-placeholder {
  width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), #1e3a5f);
  display: flex; align-items: center; justify-content: center;
  color: #60a5fa; font-size: 3rem;
}
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff; padding: 14px 16px;
  font-size: 0.82rem; font-weight: 500;
}
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px 0 40px; }
.filter-pill {
  background: var(--white); border: 1.5px solid var(--border); color: var(--text2);
  padding: 8px 18px; border-radius: 40px; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
}
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item summary {
  cursor: pointer; padding: 22px 0; font-family: var(--hd);
  font-size: 1.05rem; color: var(--text); display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
  list-style: none; transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--blue); flex-shrink: 0; transition: transform 0.2s;
}
.faq-item[open] summary { color: var(--blue); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue); }
.faq-answer { padding: 0 0 22px; color: var(--text2); font-size: 0.92rem; line-height: 1.75; }
.faq-answer p + p { margin-top: 12px; }
.faq-answer a { color: var(--blue); }

/* ── ABOUT ── */
.about-content { max-width: 760px; margin: 0 auto; }
.about-content h2 { font-family: var(--hd); font-size: 1.6rem; margin: 36px 0 14px; color: var(--text); }
.about-content p { color: var(--text2); font-size: 1rem; line-height: 1.85; margin-bottom: 16px; }
.about-content blockquote {
  border-left: 4px solid var(--blue); background: var(--bg);
  padding: 20px 24px; margin: 28px 0; font-style: italic; color: var(--text);
  border-radius: 0 8px 8px 0;
}
.about-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px; margin: 40px 0;
}
.about-stat {
  text-align: center; padding: 24px 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
}
.about-stat-num { font-family: var(--hd); font-size: 2rem; color: var(--blue); }
.about-stat-lbl { font-size: 0.7rem; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

/* ── LEGAL DOC ── */
.legal-doc { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.legal-doc h1 { font-family: var(--hd); font-size: 2rem; margin-bottom: 12px; }
.legal-doc .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 28px; }
.legal-doc h2 { font-family: var(--hd); font-size: 1.3rem; margin: 32px 0 12px; }
.legal-doc h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--text2); font-size: 0.92rem; line-height: 1.75; }
.legal-doc ul { padding-left: 24px; margin-bottom: 16px; }
.legal-doc li { margin-bottom: 6px; }

/* ── FOOTER ── */
footer {
  background: var(--navy); color: #fff;
  padding: 60px 5% 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { font-size: 1.15rem; }
.footer-brand p { color: #64748b; font-size: 0.82rem; line-height: 1.7; margin-top: 14px; max-width: 240px; }
.footer-col h5 { color: #e2e8f0; font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: #64748b; font-size: 0.83rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #e2e8f0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #475569; font-size: 0.75rem; }
.footer-badge { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-badge span { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #64748b; font-size: 0.65rem; letter-spacing: 1px; padding: 5px 12px; border-radius: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why-layout { grid-template-columns: 1fr; gap: 36px; }
  .why-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  section { padding: 64px 5%; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding: 110px 5% 70px; }
}
