:root {
  --bg: #07111f;
  --bg-soft: #0f1d33;
  --card: rgba(12, 24, 42, 0.78);
  --card-solid: #0c182a;
  --border: rgba(145, 174, 255, 0.18);
  --text: #f5f8ff;
  --muted: #b7c1d9;
  --cyan: #79ebff;
  --blue: #4aa6ff;
  --purple: #8a66ff;
  --green: #69f0c2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(79, 121, 255, 0.20), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(121, 235, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #07111f 0%, #040913 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }

.site-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 18px auto 36px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand-logo, .footer-logo { width: auto; height: 100px; object-fit: contain; }
.nav { display: flex; gap: 22px; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--purple));
  color: #06111e;
  box-shadow: 0 14px 32px rgba(74, 166, 255, 0.28);
}
.btn-outline {
  border-color: rgba(121, 235, 255, 0.45);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 720px;
  margin-top: 18px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 8, 16, 0.92) 0%, rgba(7, 17, 31, 0.72) 42%, rgba(7, 17, 31, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 20, 37, 0.10), rgba(10, 20, 37, 0.35));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 84px 56px 56px;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}
.hero h1,
.section h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
}
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.8rem); max-width: 10ch; }
.hero-copy {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #dbe5ff;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hero-stats li {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 18px;
}
.hero-stats strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.hero-stats span { color: var(--muted); font-size: 0.95rem; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 20px 0 0;
}
.trust-strip > div {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 16px 18px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.section {
  margin-top: 24px;
  padding: 42px;
  background: rgba(8, 17, 31, 0.68);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.section-heading { max-width: 840px; margin-bottom: 26px; }
.section-heading h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.section-heading p,
.section-copy p,
.muted,
.fineprint { color: var(--muted); }
.section-copy h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 12px; }
.section-copy p { line-height: 1.8; }
.section-copy.narrow { max-width: 780px; }
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}
.image-grid.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.image-card img { height: 100%; object-fit: cover; }
.image-card.tall { min-height: 420px; }
.image-card.landscape { min-height: 280px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  padding: 24px;
  min-height: 190px;
  background: linear-gradient(180deg, rgba(14, 29, 51, 0.96), rgba(10, 18, 33, 0.96));
}
.service-card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.calculator-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.calculator-card, .result-card { padding: 24px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label span { display: block; margin-bottom: 8px; font-weight: 700; }
input, select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(154, 177, 255, 0.18);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font: inherit;
}
input::placeholder { color: #92a1c3; }
.checkbox-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.checkbox-row input { width: 20px; height: 20px; }
.calculator-actions { display: flex; gap: 12px; margin-top: 18px; }
.fineprint { margin-top: 14px; line-height: 1.7; font-size: 0.95rem; }
.hidden { display: none; }

.result-placeholder {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 4px;
}
.result-breakdown {
  display: grid;
  gap: 16px;
}
.result-breakdown h3 { margin: 0 0 2px; font-size: 1.55rem; }
.result-meta { color: var(--muted); line-height: 1.7; }
.amount-grid { display: grid; gap: 10px; margin-top: 6px; }
.amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}
.amount-row.total {
  background: linear-gradient(135deg, rgba(121,235,255,0.16), rgba(138,102,255,0.16));
  border: 1px solid rgba(121,235,255,0.25);
  font-weight: 800;
}
.amount-row span:last-child { font-weight: 800; }
.result-note {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.96rem;
  margin-top: 6px;
}
.error-box {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 140, 140, 0.09);
  border: 1px solid rgba(255, 140, 140, 0.25);
  color: #ffd7d7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.process-card img { aspect-ratio: 1 / 1; object-fit: cover; }
.process-card h3 { margin: 14px 18px 6px; }
.process-card p { margin: 0 18px 18px; color: var(--muted); line-height: 1.7; }

.coverage-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.coverage-card { padding: 24px; }
.coverage-card h3 { margin-top: 0; }
.coverage-card ul, .policy-card ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.95; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery-grid img {
  border-radius: 22px;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--card-solid);
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.policy-card { padding: 24px; }

.footer {
  margin-top: 24px;
  padding: 36px 42px;
  border-radius: 30px;
  background: rgba(8, 17, 31, 0.82);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
}
.footer-brand p { max-width: 560px; color: var(--muted); line-height: 1.7; }
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.footer-columns h3 { margin-top: 0; }
.footer-columns p { color: var(--muted); line-height: 1.8; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-stats,
  .trust-strip,
  .services-grid,
  .process-grid,
  .coverage-grid,
  .gallery-grid,
  .footer,
  .footer-columns,
  .intro-grid,
  .calculator-layout,
  .policies-grid { grid-template-columns: 1fr; }
  .image-grid.two-up,
  .form-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 56px 28px 32px; }
  .section, .footer { padding: 28px; }
}

@media (max-width: 720px) {
  .site-shell { width: min(100% - 18px, 1280px); }
  .topbar { flex-wrap: wrap; justify-content: center; }
  .brand-logo, .footer-logo { height: 56px; }
  .hero { min-height: 620px; }
  .hero h1 { max-width: 12ch; }
  .hero-stats { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions, .calculator-actions { flex-direction: column; }
}
section img {
width: 100%;
height: 220px;
object-fit: cover;
border-radius: 10px;
}




.brand-logo img,
.footer-logo {
transition: all 0.25s ease;
filter: drop-shadow(0 4px 10px rgba(0,0,0,0.18));
}

.brand-logo img:hover,
.footer-logo:hover {
transform: scale(1.05);
filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}



select {
background: #0f172a; /* dark background */
color: #ffffff; /* bright text */
border: 1px solid #334155;
}

select option {
background: #0f172a;
color: #ffffff;
}

select:focus {
outline: none;
border-color: #38bdf8;
}


select option:hover {
background: #1e293b;
}


.btn {
transition: all 0.25s ease;
}

.btn:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.btn:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: 0 10px 25px rgba(0,0,0,0.35),
0 0 12px rgba(56,189,248,0.4);
}

.btn:active {
transform: translateY(0px) scale(0.98);
box-shadow: 0 5px 12px rgba(0,0,0,0.25);
}


.hero-trust {
margin-top: 14px;
font-size: 14px;
font-weight: 600;
color: #cbd5e1;
letter-spacing: 0.02em;
}

.hero-content {
opacity: 0;
transform: translateY(20px);
animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.testimonials {
padding: 80px 20px;
}

.testimonials h2 {
text-align: center;
margin-bottom: 30px;
}

.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 20px;
}

.testimonial-card {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 16px;
padding: 24px;
transition: all 0.25s ease;
}

.testimonial-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.testimonial-card p {
color: #e2e8f0;
line-height: 1.6;
margin-bottom: 16px;
}

.testimonial-card h4 {
color: #7dd3fc;
font-size: 14px;
}
/* ===============================
PARTNERS / STORES SECTION
=============================== */

.partners {
padding: 80px 20px;
background: #f8f8f8;
}

.partners .container {
max-width: 1150px;
margin: 0 auto;
}

/* Heading */
.partners h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 15px;
}

/* Intro Paragraph */
.partners-intro {
text-align: center;
max-width: 800px;
margin: 0 auto 20px;
color: #444;
line-height: 1.7;
font-size: 1.05rem;
}

/* Sub line */
.partners-sub {
text-align: center;
margin-bottom: 25px;
color: #666;
font-weight: 500;
}

/* Featured line (Charleston Forge) */
.featured-partner {
text-align: center;
margin-bottom: 30px;
font-size: 1.1rem;
color: #333;
}

.featured-partner a {
color: #0a5caa;
font-weight: 700;
text-decoration: none;
}

.featured-partner a:hover {
text-decoration: underline;
}

/* Grid Layout */
.partner-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
gap: 20px;
margin-bottom: 50px;
}

/* Store Cards */
.partner-card {
display: block;
background: #ffffff;
padding: 28px 22px;
border: 1px solid #ddd;
border-radius: 14px;
text-decoration: none;
color: #222;
text-align: center;
transition: all 0.25s ease;
}

.partner-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
border-color: #bbb;
}

/* Store Name */
.partner-card h3 {
margin: 0 0 10px;
font-size: 1.1rem;
font-weight: 600;
}

/* Button Text */
.partner-card span {
color: #0a5caa;
font-weight: 600;
font-size: 0.95rem;
}

/* ===============================
LOCAL STORE (MARK)
=============================== */

.local-partner-card {
display: grid;
grid-template-columns: 320px 1fr;
gap: 25px;
align-items: center;
background: #ffffff;
border: 1px solid #ddd;
border-radius: 14px;
overflow: hidden;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

/* Image */
.local-partner-card img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
min-height: 320px;
}

/* Info Section */
.local-partner-info {
padding: 28px;
}

.local-partner-info h3 {
margin: 0 0 8px;
font-size: 1.4rem;
}

/* Subtitle */
.partner-subtitle {
margin: 0 0 14px;
color: #0a5caa;
font-weight: 600;
}

/* Text */
.local-partner-info p {
margin: 10px 0;
color: #444;
line-height: 1.6;
}

/* Links */
.local-partner-info a {
color: #0a5caa;
text-decoration: none;
}

.local-partner-info a:hover {
text-decoration: underline;
}

/* Buttons */
.partner-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 20px;
}

.partner-btn {
display: inline-block;
padding: 12px 18px;
border-radius: 10px;
background: #0a5caa;
color: #fff !important;
text-decoration: none;
font-weight: 600;
transition: all 0.2s ease;
}

.partner-btn:hover {
opacity: 0.9;
transform: translateY(-2px);
text-decoration: none !important;
}

.secondary-btn {
background: #e9eef5;
color: #1f2d3d !important;
}

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

@media (max-width: 768px) {
.local-partner-card {
grid-template-columns: 1fr;
}

.local-partner-card img {
min-height: 220px;
}

.partners h2 {
font-size: 1.6rem;
}

.partners-intro {
font-size: 1rem;
}
}

/* ===============================
LOGO GRID (UPGRADE)
=============================== */

.partner-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 20px;
margin-bottom: 50px;
}

.partner-card {
display: flex;
align-items: center;
justify-content: center;
height: 110px;
background: #ffffff;
border: 1px solid #ddd;
border-radius: 14px;
padding: 15px;
transition: all 0.25s ease;
}

.partner-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
border-color: #bbb;
}

.partner-logo {
max-width: 150px;
max-height: 70px;
width: auto;
height: auto;
object-fit: contain;
display: block;
}

/* subtle hover effect */
.partner-card img {
transition: transform 0.2s ease;
}

.partner-card:hover img {
transform: scale(1.05);
}


.forge-logo {
max-width: 150px;
max-height: 70px;
}

.local-partner-info h3 {
color: #222; /* dark clean text */
font-weight: 600;
}

/* ===============================
PARTNERS SECTION CLEANUP
=============================== */

.partners .container {
max-width: 900px;
margin: 0 auto;
padding: 40px 20px;
background: #ffffff;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* tighten main paragraph */
.partners-intro {
max-width: 700px;
margin: 0 auto 20px;
line-height: 1.6;
text-align: center;
}

/* tighten sub text */
.partners-sub {
margin-bottom: 15px;
text-align: center;
color: #666;
}

/* center heading nicely */
.partners h2 {
text-align: center;
margin-bottom: 20px;
}

/* tighten space above logos */
.partner-grid {
margin-top: 20px;
}
/* ===== PARTNERS SECTION FIX ===== */

.partners {
padding: 40px 20px !important;
background: transparent !important;
}

.partners .container {
max-width: 900px;
margin: 0 auto;
padding: 20px 20px 30px 20px !important;
background: #ffffff !important;
border-radius: 16px;
box-shadow: none !important;
}

/* remove big empty space above content */
.partners h2 {
margin: 0 0 16px 0 !important;
text-align: center;
color: #222 !important;
}

.partners-intro {
max-width: 700px;
margin: 0 auto 18px auto !important;
line-height: 1.6;
text-align: center;
color: #444 !important;
}

.partners-sub {
margin: 0 auto 12px auto !important;
text-align: center;
color: #555 !important;
}

/* if you kept this extra line, make it readable */
.featured-partner {
margin: 0 auto 18px auto !important;
text-align: center;
color: #555 !important;
}

.featured-partner a {
color: #1f4fa3 !important;
}

/* tighten grid spacing */
.partner-grid {
margin-top: 10px !important;
margin-bottom: 30px !important;
gap: 16px !important;
}

/* logo cards */
.partner-card {
background: #fff !important;
border: 1px solid #ddd !important;
}

.partner-logo {
opacity: 1 !important;
}

/* local store card text fix */
.local-partner-info h3 {
color: #222 !important;
}

.partner-subtitle {
color: #555 !important;
}

.local-partner-info p {
color: #444 !important;
}
