/* ============================================================
   activosupport.com — site.css
   Navy / logo-blue visual identity. Overrides Bootstrap completely.
   ============================================================ */

:root {
  --canal: #1D3F7A;       /* interactive navy: links, outline buttons, borders */
  --canal-deep: #0A1E57;  /* exact logo navy: headings, dark band, footer, primary buttons */
  --accent: #2D7DD2;      /* exact logo blue: rules, numbers, icons, checks, badge */
  --accent-soft: #7EB3E8; /* light blue: hovers, hero highlight, footer links */
  --paper: #F9FAFC;       /* cooled from warm cream */
  --paper-dim: #EDF1F7;
  --ink: #1A2433;

  --radius: 14px;
  --shadow: 0 6px 24px rgba(10, 30, 87, 0.08);
  --shadow-lift: 0 12px 32px rgba(10, 30, 87, 0.14);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--canal-deep);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

a {
  color: var(--canal);
}

a:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 63, 122, 0.18);
}

/* ---------- Signature accent line ---------- */
.rule-accent {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

/* ---------- Brand lockup (nav) ---------- */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--canal-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-lockup:hover,
.brand-lockup:focus {
  color: var(--canal-deep);
}

.brand-lockup img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.navbar-brand.brand-lockup {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 1rem;
}

/* ---------- Footer logo ---------- */
.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 0.35rem;
}

/* ---------- Buttons — defeat Bootstrap --bs-btn-* ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  transition: all 0.15s ease;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--canal-deep);
  --bs-btn-border-color: var(--canal-deep);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--canal);
  --bs-btn-hover-border-color: var(--canal);
  --bs-btn-focus-shadow-rgb: 29, 63, 122;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--canal);
  --bs-btn-active-border-color: var(--canal);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--canal-deep);
  --bs-btn-disabled-border-color: var(--canal-deep);
  background: var(--canal-deep);
  border-color: var(--canal-deep);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--canal);
  border-color: var(--canal);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline-brand {
  --bs-btn-color: var(--canal);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--canal);
  --bs-btn-hover-color: var(--paper);
  --bs-btn-hover-bg: var(--canal);
  --bs-btn-hover-border-color: var(--canal);
  --bs-btn-active-color: var(--paper);
  --bs-btn-active-bg: var(--canal);
  --bs-btn-active-border-color: var(--canal);
  border: 2px solid var(--canal);
  color: var(--canal);
  background: transparent;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--canal);
  border-color: var(--canal);
  color: var(--paper);
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-header .navbar {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-dim);
  padding: 0.9rem 0;
}

.site-header .nav-link {
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--canal);
}

/* ---------- Line's open ---------- */
.line-open {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 500 0.95rem var(--font-body);
  color: var(--ink);
}

.line-open .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2E9E5B;
  flex-shrink: 0;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .line-open .dot {
    animation: none;
  }

  .btn-primary:hover,
  .btn-primary:focus {
    transform: none;
  }
}

/* ---------- Image placeholders ---------- */
.img-ph {
  background-color: var(--paper-dim);
  border: 2px dashed rgba(29, 63, 122, 0.35);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  width: 100%;
}

.img-ph span {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--canal);
  font-size: 0.9rem;
}

.img-ph--hero {
  aspect-ratio: 16 / 9;
}

.img-ph--portrait {
  aspect-ratio: 4 / 5;
}

/* ---------- Sections ---------- */
.site-section {
  padding: 96px 0;
}

.site-section--paper {
  background-color: var(--paper);
}

.site-section--dim {
  background-color: var(--paper-dim);
}

.site-section--dark {
  background-color: var(--canal-deep);
  color: var(--paper);
}

.site-section--dark h1,
.site-section--dark h2,
.site-section--dark h3,
.site-section--dark h4 {
  color: var(--paper);
}

/* ---------- Beyond the website ---------- */
.beyond-section {
  padding: 64px 0;
  text-align: center;
}

.beyond-inner {
  max-width: 62ch;
  margin: 0 auto;
}

.beyond-inner .rule-accent {
  margin-left: auto;
  margin-right: auto;
}

.beyond-inner .section-title {
  margin-bottom: 1rem;
}

.beyond-inner p {
  margin: 0;
  color: rgba(18, 33, 31, 0.78);
}

#owner p {
  color: rgba(18, 33, 31, 0.85);
  max-width: 62ch;
  margin-bottom: 1rem;
}

#owner .line-open {
  margin-top: 0.5rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-lead {
  color: rgba(18, 33, 31, 0.78);
  margin-bottom: 2rem;
  max-width: 62ch;
}

.site-section--dark .section-lead {
  color: rgba(251, 250, 247, 0.85);
}

.text-muted-ink {
  color: rgba(18, 33, 31, 0.75);
  font-size: 0.95rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 96px;
  background-color: var(--paper);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: 0;
  color: var(--canal-deep);
}

.hl {
  color: var(--canal);
  box-shadow: inset 0 -0.28em 0 var(--accent-soft);
}

.hero-lead {
  font-size: 1.25rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: rgba(18, 33, 31, 0.78);
  max-width: 48ch;
  margin: 1.25rem 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .line-open {
  margin-top: 1rem;
}

/* ---------- Feature / includes grid ---------- */
.include-item {
  height: 100%;
}

.include-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  color: var(--canal);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.include-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.include-item p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(18, 33, 31, 0.75);
}

.includes-row {
  row-gap: 3rem;
}

/* ---------- Pricing cards ---------- */
.pricing-card {
  background: #fff;
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  border: 2px solid var(--canal);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 992px) {
  .pricing-card--featured {
    transform: translateY(-12px);
  }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font: 600 0.8rem var(--font-body);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--canal-deep);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.pricing-card .price span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(18, 33, 31, 0.6);
}

.pricing-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pricing-card li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.pricing-card li .bi-check-lg {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-footnote {
  font-size: 0.85rem;
  color: rgba(18, 33, 31, 0.7);
  margin-bottom: 1.25rem;
}

/* ---------- Process steps ---------- */
.process-step {
  height: 100%;
}

.process-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.95rem;
  margin: 0;
  color: rgba(18, 33, 31, 0.75);
}

/* ---------- Commitments ---------- */
.commitment-item {
  font: 600 1.05rem var(--font-display);
  color: var(--paper);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact-aside {
  margin-bottom: 2rem;
}

.contact-aside .prefer-talk {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: rgba(18, 33, 31, 0.75);
}

.contact-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--canal);
  text-decoration: none;
}

.contact-phone:hover,
.contact-phone:focus {
  color: var(--accent);
}

.contact-aside .line-open {
  margin-top: 0.75rem;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.contact-form .form-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid #DDD8CC;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  background: #fff;
  color: var(--ink);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--canal);
  box-shadow: 0 0 0 3px rgba(29, 63, 122, 0.18);
  outline: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Thank you ---------- */
.thank-you {
  padding: 96px 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--paper);
}

.thank-you .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.thank-you .rule-accent {
  margin-left: auto;
  margin-right: auto;
}

.thank-you .line-open {
  justify-content: center;
  margin: 1rem 0 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--canal-deep);
  color: rgba(251, 250, 247, 0.75);
  padding: 56px 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--accent-soft);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer .footer-phone {
  color: var(--paper);
  text-decoration: none;
}

.site-footer .footer-phone:hover,
.site-footer .footer-phone:focus {
  color: var(--accent-soft);
  text-decoration: underline;
}

.site-footer .footer-tagline {
  margin: 0.35rem 0 0;
}

.site-footer .footer-meta {
  margin: 0;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer .footer-copy {
  margin: 1.5rem 0 0;
  opacity: 0.65;
  font-size: 0.8rem;
  border-top: 1px solid rgba(251, 250, 247, 0.12);
  padding-top: 1.25rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  .site-section {
    padding: 64px 0;
  }

  .beyond-section {
    padding: 48px 0;
  }

  .hero {
    padding: 64px 0;
  }

  .thank-you {
    padding: 64px 0;
    min-height: 50vh;
  }

  .hero-title {
    max-width: none;
  }
}
