/* ===== Base Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #111827;
  background-color: #ffffff;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== Colors & Helpers ===== */
:root {
  --nav-bg: #ffffff;
  --nav-text: #111827;
  --accent-yellow: #ffe352;
  --accent-yellow-border: #facc15;
  --accent-red: #ff4b4b;
  --footer-bg: #0b1b67;
  --muted-text: #6b7280;
  --section-blue: #07173a;
  --light-gray: #f3f4f6;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
  transition:
    transform 0.08s ease-out,
    box-shadow 0.08s ease-out,
    background-color 0.15s ease-out,
    color 0.15s ease-out,
    border-color 0.15s ease-out;
  text-align: center;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.btn-cta-green {
  background-color: #111827;
  color: #ffffff;
  border-color: var(--accent-yellow-border);
}
.btn-cta-red {
  background-color: var(--accent-red);
  color: #ffffff;
  border-color: #000000;
}
.btn-primary-alt {
  background-color: var(--accent-yellow);
  color: #111827;
  border-color: #000000;
}

/* ===== Header / Navigation (all pages) ===== */
header {
  background-color: var(--nav-bg);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-center a {
  color: var(--nav-text);
  font-weight: 500;
}
.nav-center a:hover {
  text-decoration: underline;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== Footer (all pages) ===== */
footer {
  background-color: var(--footer-bg);
  color: #f9fafb;
  padding: 2rem 0 2.5rem;
  margin-top: 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.footer-logo img {
  height: 32px;
  width: auto;
}
.footer-contact p {
  margin-bottom: 0.15rem;
}
.footer-bottom {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--accent-yellow);
  text-decoration: underline;
}

/* ===== Home page: hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #07173a, #020617);
  color: #ffffff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.pexels.com/photos/7096/people-woman-coffee-meeting.jpg?auto=compress&cs=tinysrgb&w=1600")
    center/cover no-repeat;
  opacity: 0.28;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,23,58,0.92), rgba(7,23,58,0.95));
}
.hero-inner {
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.hero-subtitle {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-supporting {
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
  color: #e5e7eb;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* ===== Home: value strip & stats ===== */
.value-strip {
  background-color: #ffffff;
  border-top: 4px solid #e5e7eb;
  border-bottom: 4px solid #e5e7eb;
}
.value-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}
.value-item {
  padding: 1.25rem 1rem;
  border-right: 1px solid #e5e7eb;
  font-size: 0.95rem;
  font-weight: 500;
  background-color: #f9fafb;
}
.value-item:last-child {
  border-right: none;
}
.value-item span {
  display: block;
  font-weight: 700;
}

.stats-strip {
  background-color: #ffffff;
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}
.stat {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.stat p {
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.stat span {
  font-size: 0.8rem;
  color: var(--muted-text);
  font-style: italic;
}

/* ===== Home: sections & features ===== */
.section {
  padding: 3rem 0;
}
.section.dark {
  background-color: var(--section-blue);
  color: #ffffff;
}
.section.light {
  background-color: #ffffff;
  color: #111827;
}
.section-heading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 800;
}
.section-subheading {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--muted-text);
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background-color: #ffffff;
  color: #111827;
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  font-size: 0.95rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-card p {
  color: #4b5563;
}

.why-text p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.why-text ul {
  margin-left: 1.25rem;
  margin-top: 0.75rem;
}
.why-text li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.center-ctas {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Home: testimonials & FAQ ===== */
.testimonials-bg {
  background-color: #111827;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.2) 0, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(251,191,36,0.2) 0, transparent 55%);
  color: #ffffff;
}
.testimonials-heading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background-color: #f9fafb;
  color: #111827;
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  font-size: 0.95rem;
}
.testimonial-name {
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.testimonial-company {
  font-size: 0.85rem;
  color: var(--muted-text);
  margin-bottom: 0.75rem;
}

.faqs-section {
  background-color: var(--section-blue);
  color: #ffffff;
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.faqs-section::before {
  content: "";
  position: absolute;
  inset: -200px;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(56,189,248,0.15) 0, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(251,191,36,0.18) 0, transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}
.faqs-inner {
  position: relative;
}
.faq-heading {
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 0.5rem;
  border-radius: 0.4rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  color: #111827;
}
.faq-question {
  background-color: #fff176;
  padding: 0.9rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.faq-icon {
  font-weight: 700;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background-color: #ffffff;
}
.faq-answer-inner {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
  color: #4b5563;
}
.faq-item.open .faq-answer {
  max-height: 220px;
}

/* Home: bottom CTA */
.bottom-cta-section {
  background-color: #ffffff;
  padding: 2.75rem 0 2.5rem;
  text-align: center;
}
.bottom-cta-section p {
  max-width: 780px;
  margin: 0 auto 1.75rem;
  font-size: 0.98rem;
}
.bottom-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Contact page ===== */
body.contact-page {
  background-color: #000000;
  color: #f9fafb;
}
.contact-hero {
  background-color: #000000;
  color: #ffffff;
  padding: 4rem 0 4.5rem;
  text-align: center;
}
.contact-heading {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.contact-intro {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.contact-sub {
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}
.contact-alt {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact-alt a {
  color: var(--accent-yellow);
  font-weight: 600;
}
.contact-form-placeholder {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-radius: 0.75rem;
  background-color: #111111;
  border: 1px dashed #4b5563;
  text-align: left;
  color: #e5e7eb;
  font-size: 0.95rem;
}
.contact-form-placeholder h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.contact-form-placeholder p {
  margin-bottom: 0.75rem;
}
.contact-form-placeholder code {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  background-color: #111827;
  font-size: 0.85rem;
}

/* ===== Privacy page ===== */
body.privacy-page {
  background-color: #020617;
  color: #f9fafb;
}
.privacy-section {
  padding: 3.5rem 0 4rem;
  color: #e5e7eb;
}
.privacy-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
}
.privacy-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.privacy-content p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.privacy-content ul {
  margin: 0.25rem 0 0.75rem 1.25rem;
  font-size: 0.95rem;
}
.privacy-content li {
  margin-bottom: 0.35rem;
}

/* ===== Pricing page / estimator ===== */
.pricing-hero {
  text-align: center;
  padding: 3.5rem 0 2.5rem;
}
.pricing-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 0.75rem;
}
.pricing-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.pricing-subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.pricing-subtitle-2 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.pricing-text {
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted-text);
}
.pricing-text p + p {
  margin-top: 0.4rem;
}

.estimator-wrap-outer {
  background-color: #f5f5fb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 2.5rem 0 3rem;
}
.estimator-wrap-inner {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #f7f7ff;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
  padding: 1.5rem 1.5rem 2rem;
}

/* Stronger borders for estimator content */
.estimator-iframe-shell {
  background-color: #ffffff;
  border-radius: 0.35rem;
  border-top: 1px solid #999999;
  border-bottom: 1px solid #999999;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  overflow: hidden;
}

/* All estimator iframes – sizing controlled here */
.estimator-iframe-shell iframe {
  display: block;
  width: 100%;
  min-height: 650px;   /* adjust once for all estimators */
  border: 0;
}

/* ===== PriceGuide header + FAQ below estimators ===== */

/* Text intro above FAQ */
.pg-header {
  max-width: 1000px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  color: #111827;
}
.pg-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-align: left;
}
.pg-header p {
  margin-bottom: 0.6rem;
  color: #4b5563;
}

/* FAQ block */
.pg-faq {
  max-width: 1000px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem 0.5rem;
}
.pg-faq h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Each FAQ item */
.pg-faq details {
  margin-bottom: 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  overflow: hidden;
}

/* Question row */
.pg-faq summary {
  cursor: pointer;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}

/* Remove default triangle in WebKit */
.pg-faq summary::-webkit-details-marker {
  display: none;
}

/* Answer content */
.pg-faq details > p {
  padding: 0.75rem 1rem 0.9rem;
  font-size: 0.9rem;
  color: #4b5563;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
}

/* Hover feedback on question row */
.pg-faq summary:hover {
  background-color: #eef2ff;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 900px) {
  .nav-center {
    display: none;
  }
  .value-strip-inner,
  .stats-grid,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .hero-inner {
    padding: 3.5rem 0 3rem;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 1.6rem;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 260px;
  }
}
@media (max-width: 640px) {
  .pricing-title {
    font-size: 1.7rem;
  }
  .pricing-subtitle {
    font-size: 1.1rem;
  }
  .contact-hero {
    padding: 3rem 0 3.5rem;
  }
  .contact-heading {
    font-size: 1.7rem;
  }
}