/*
Theme Name: Super Site Bros
Theme URI: https://supersitebros.com/
Author: Super Site Bros
Description: Single-page marketing theme for website maintenance & security services.
Version: 2.4.6
Text Domain: super-site-bros
*/

:root {
  --navy: #04364A;
  --navy-soft: #0b3550;
  --teal: #2bb6b0;
  --teal-soft: #c9f5f3;
  --bg: #f9fafb;
  --bg-alt: #e5f4f6;
  --text: #0f172a;
  --muted: #6b7280;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 45px rgba(15,23,42,.12);
}

html, body { margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.section { padding: 4rem 0; }
.section--light { background: var(--bg-alt); }
.section--teal { background: linear-gradient(135deg, #d4f7f7, #b5e7f0); }
.section--white { background: #ffffff; }

.section-title {
  margin: 0 0 .4rem;
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  text-align: center;
  color: var(--navy);
}

.section-subtitle {
  margin: 0 0 2.5rem;
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Header - only dark mode toggle */
.site-header { padding: .75rem 0; background: transparent; }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/* Dark mode toggle */
.dark-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.1);
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.dark-toggle__thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

:root.dark-mode .dark-toggle {
  background: rgba(15,23,42,.88);
  border-color: rgba(148,163,184,.45);
  color: #e5e7eb;
}

:root.dark-mode .dark-toggle__thumb {
  border-color: rgba(148,163,184,.65);
  background: #020617;
}

/* HERO WITH CITY BACKGROUND */
.hero {
  position: relative;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  color: var(--navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/city-hero-day.png');
  background-size: cover;
  background-position: center bottom;
  transform: translate3d(0,0,0);
  will-change: background-position;
  animation: hero-pan 28s linear infinite alternate;
  z-index: -2;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(249,250,251,.0) 0%, rgba(249,250,251,.35) 45%, rgba(249,250,251,1) 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(255,255,255,.35), transparent 55%);
  z-index: -1;
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__logo {
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo img,
.hero__logo svg {
  width: clamp(260px, 40vw, 420px);
}
.hero__headline {
  margin: 0 0 .75rem;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  color: var(--navy);
}
.hero__tagline { margin: 0 0 2rem; color: var(--muted); }

/* Hero subtle parallax animation */
@keyframes hero-pan {
  0% { background-position: center bottom; }
  100% { background-position: center calc(100% - 30px); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 35px rgba(15,23,42,.25);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(15,23,42,.35);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
}
.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15,23,42,.06);
  text-align: left;
}
.pricing-card__label {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  margin-bottom: .6rem;
}
.pricing-card__price {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
}
.pricing-card__price span {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
}
.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: .95rem;
}
.pricing-card__list li + li { margin-top: .4rem; }
.pricing-card--highlight {
  border: 1px solid rgba(43,182,176,.6);
  transform: translateY(-4px);
}

/* Quick fix cards */
.quickfix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 1.5rem;
}
.quickfix-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.4rem 1.35rem 1.4rem;
  box-shadow: 0 12px 35px rgba(15,23,42,.18);
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.quickfix-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(43,182,176,.2), transparent 55%);
  opacity: .8;
  pointer-events: none;
}
.quickfix-card__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .45rem;
}
.quickfix-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--teal-soft);
  border: 1px solid rgba(15,23,42,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.quickfix-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-soft);
}
.quickfix-card__price {
  position: relative;
  margin: .25rem 0 .25rem;
  font-weight: 700;
  color: var(--navy-soft);
}
.quickfix-card__desc {
  position: relative;
  margin: 0 0 .9rem;
  font-size: .95rem;
  color: var(--muted);
}
.quickfix-card__cta { position: relative; }
.quickfix-card .btn {
  padding: .6rem 1rem;
  font-size: .9rem;
}
.quickfix-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15,23,42,.24);
  border-color: rgba(43,182,176,.6);
}

/* Features & testimonials */
.features-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
}
.feature-card,
.testimonial-card {
  padding: 1.6rem 1.5rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15,23,42,.12);
  border: 1px solid rgba(15,23,42,.06);
}
.feature-card__title {
  margin: 0 0 .5rem;
  font-weight: 700;
  color: var(--navy);
}
.feature-card__text { margin: 0; color: var(--muted); }

.testimonial__stars { color: #f59e0b; margin-bottom: .5rem; }
.testimonial__quote { margin: 0 0 .9rem; font-style: italic; }
.testimonial__name { margin: 0; font-weight: 700; }
.testimonial__role { margin: 0; font-size: .9rem; color: var(--muted); }

/* FAQ accordion */
.faq-grid { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  padding: .6rem 1rem;
  background: #ffffff;
  margin-bottom: .7rem;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
}
.faq-item[open] { border-color: rgba(43,182,176,.6); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--teal-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}
.faq-item .chev {
  margin-left: auto;
  transition: transform .16s ease;
}
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-content {
  margin-top: .4rem;
  padding-top: .4rem;
  border-top: 1px dashed rgba(15,23,42,.12);
  font-size: .95rem;
  color: var(--muted);
}

.section-cta .btn { display: block; margin: 1rem auto 0; }

/* Footer */
.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* DARK MODE */
:root.dark-mode {
  --bg: #020617;
  --bg-alt: #020617;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --navy: #e5f4ff;
  --navy-soft: #dbeafe;
  --shadow-soft: 0 18px 45px rgba(15,23,42,.8);
}
:root.dark-mode body {
  background: var(--bg);
  color: var(--text);
}
:root.dark-mode .section--light,
:root.dark-mode .section--white {
  background: #020617;
}
:root.dark-mode .section--teal {
  background: radial-gradient(circle at top, rgba(34,197,235,.18), #020617);
}
:root.dark-mode .hero__bg {
  background-image: url('assets/img/city-hero-night.png');
  animation-duration: 34s;
}
:root.dark-mode .hero__bg::after {
  background: linear-gradient(to bottom, rgba(2,6,23,.0) 0%, rgba(2,6,23,.5) 45%, rgba(2,6,23,1) 100%);
}
:root.dark-mode .hero__overlay {
  background: radial-gradient(circle at top center, rgba(15,23,42,.65), transparent 60%);
}
:root.dark-mode .hero__headline {
  color: #e5f2ff;
}
:root.dark-mode .hero__tagline {
  color: #cbd5f5;
}
:root.dark-mode .pricing-card,
:root.dark-mode .quickfix-card,
:root.dark-mode .feature-card,
:root.dark-mode .testimonial-card,
:root.dark-mode .faq-item {
  background: #020617;
  border-color: rgba(148,163,184,.4);
}
:root.dark-mode .btn--primary {
  background: #22d3ee;
  color: #020617;
  box-shadow: 0 18px 45px rgba(8,47,73,.9);
}
:root.dark-mode .btn--primary:hover {
  background: #0891b2;
  color: #e0f2fe;
}
:root.dark-mode .section-title {
  color: #e5e7eb;
}

/* PAGE TEMPLATE */
.page-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}
.page-hero__title {
  margin: 0 0 .5rem;
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: var(--navy);
}
.page-hero__subtitle {
  margin: 0;
  color: var(--muted);
}
.page-content-wrap {
  padding: 0 0 4rem;
}
.page-content-wrap .container {
  max-width: 800px;
}
.page-content-wrap .entry-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 18px 45px rgba(15,23,42,.12);
  border: 1px solid rgba(15,23,42,.08);
}
:root.dark-mode .page-content-wrap .entry-content {
  background: #020617;
  border-color: rgba(148,163,184,.4);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
}


.site-brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-brand img, .site-brand__img { display: block; height: 48px; width: auto; }
.site-brand .custom-logo { height: 48px; width: auto; }
@media (max-width: 768px) {
  .site-brand img, .site-brand__img, .site-brand .custom-logo { height: 40px; }
}


@media (max-width: 768px) {
  .site-header .custom-logo-link,
  .site-header .custom-logo-link img {
    max-height: 40px;
    height: 40px;
  }
}
