/* Global styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #020617 0, #020617 40%, #000 100%);
  color: #e5e7eb;
}

/* Layout container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* Simple reset for links + buttons */
a {
  text-decoration: none;
  color: inherit;
}

/* Accent span used inside headings */
.accent {
  color: #3b82f6;
}

/* ========================= */
/* HEADER / NAV              */
/* ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.82));
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.75);
}

.nav-logo-mark img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: invert(1) brightness(3);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-title {
  font-size: 1rem;
  font-weight: 650;
}

.nav-logo-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.88rem;
}

.nav-links a {
  color: #9ca3af;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: #e5e7eb;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-nav {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

/* Mobile nav adjustments */
@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }
}

/* ========================= */
/* HERO SECTION              */
/* ========================= */

.hero {
  min-height: 100vh;
  padding: 3.5rem 0 4rem;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

/* Left side text */
.hero-left {
  max-width: 36rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.2); /* blue-ish */
  border: 1px solid rgba(129, 140, 248, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.hero-title {
  margin-top: 1.1rem;
  font-size: clamp(2.2rem, 3vw + 1rem, 3.2rem);
  line-height: 1.1;
}

.hero-title span {
  color: #3b82f6; /* blue accent */
}

.hero-subtitle {
  margin-top: 0.6rem;
  font-size: 1.02rem;
}

.hero-body {
  margin-top: 0.6rem;
  max-width: 30rem;
  color: #9ca3af;
}

/* Buttons */
.hero-cta-group {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(37, 99, 235, 0.8);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  border-color: #e5e7eb;
}

/* Small tagline under buttons */
.hero-tagline {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Hero badges */
.hero-badges {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-badge {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: #cbd5f5;
}

/* Logo strip */
.logo-strip {
  margin-top: 1.6rem;
}

.logo-strip-label {
  font-size: 0.78rem;
  color: #6b7280;
  display: block;
  margin-bottom: 0.45rem;
}

.logo-strip-logos {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.logo-strip-logos img {
  height: 26px;
  opacity: 0.8;
  filter: grayscale(1);
}

/* Right side card with image */
.hero-card {
  background: radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.18),
      rgba(15, 23, 42, 0.96)
    );
  border-radius: 24px;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.7);
  max-width: 26rem;
  justify-self: end;
}

.hero-image-wrapper {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #020617; /* fallback while image loads */
}

.hero-card img {
  display: block;
  width: 100%;
  height: 260px;        /* fixed height for consistent layout */
  object-fit: cover;    /* fill the box nicely without distortion */
  object-position: center;
}

.hero-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.hero-card p {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  color: #9ca3af;
}

/* Hero stats row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.hero-stat {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 14px;
  padding: 0.55rem 0.6rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.hero-stat-label {
  display: block;
  font-size: 0.72rem;
  color: #9ca3af;
}

.hero-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive for all phones/tablets */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 2.2rem 0 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-card {
    order: 2;             /* ensures image comes after text */
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-card img {
    height: 220px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Stack hero stats differently on very small screens */
@media (max-width: 600px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* OFFER SECTION             */
/* ========================= */

.offer {
  padding: 3.5rem 0 4rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: clamp(1.8rem, 2.2vw + 1rem, 2.4rem);
  margin: 0 0 0.4rem;
}

.section-lead {
  margin: 0 0 2.2rem;
  max-width: 34rem;
  color: #9ca3af;
  font-size: 0.96rem;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Cards layout */
.offer-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.offer-card {
  background: radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.18),
      rgba(15, 23, 42, 0.98)
    );
  border-radius: 20px;
  padding: 1.8rem 1.6rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  text-align: left;
}

/* Big circular icon – uses same blue vibe as hero buttons */
.offer-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 10%, #3b82f6, #1d4ed8);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.7);
  border: 1px solid rgba(191, 219, 254, 0.7);
}

.offer-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: invert(1) brightness(3); /* turns your black icons into bright/white on blue */
}

/* Card text */
.offer-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.offer-text {
  margin: 0 0 0.8rem;
  color: #e5e7eb;
  font-size: 0.94rem;
}

.offer-list {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  color: #9ca3af;
  font-size: 0.88rem;
}

.offer-list li + li {
  margin-top: 0.25rem;
}

/* Tags inside cards */
.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.offer-tags span {
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #bfdbfe;
  background: rgba(15, 23, 42, 0.9);
}

/* Responsive: stack cards on mobile */
@media (max-width: 900px) {
  .offer {
    padding: 3rem 0 3.4rem;
  }

  .offer-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 1.5rem auto 0;
  }
}

/* ========================= */
/* WHY OPENRIDGE SECTION     */
/* ========================= */

.why {
  padding: 3.5rem 0 4rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

/* Small stats strip */
.why-stats {
  margin: 1.5rem 0 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-stat {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
}

.why-stat-label {
  display: block;
  font-size: 0.72rem;
  color: #9ca3af;
}

.why-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
}

/* 3-column value grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 0.5rem;
}

.why-card {
  background: radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.16),
      rgba(15, 23, 42, 0.98)
    );
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
  font-size: 0.92rem;
}

/* icon in why card */
.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.7);
}

.why-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: invert(1) brightness(2);
}

.why-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.why-card p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.6;
}

/* Stack on small screens */
@media (max-width: 900px) {
  .why-stats {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 1.5rem auto 1.8rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0.5rem auto 0;
  }
}

/* ========================= */
/* HOW IT WORKS SECTION      */
/* ========================= */

.how {
  padding: 3.5rem 0 4rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(
    circle at top right,
    rgba(15, 23, 42, 0.96),
    #020617 60%
  );
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  position: relative;
  padding: 1.4rem 1.4rem 1.3rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  font-size: 0.94rem;
}

/* Step icon */
.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(129, 140, 248, 0.7);
}

.step-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: invert(1) brightness(2);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.step-card p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.6;
}

/* stack steps on mobile */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 2rem auto 0;
  }

  .step-card {
    padding: 1.3rem 1.2rem 1.2rem;
  }
}

/* ========================= */
/* CONTACT / FINAL CTA       */
/* ========================= */

.contact {
  padding: 3.5rem 0 4rem;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  background: radial-gradient(circle at top left, #020617, #000 65%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: flex-start;
}

.contact-copy .section-title {
  margin-bottom: 0.4rem;
}

.contact-copy .section-lead {
  margin-bottom: 1.4rem;
}

.contact-points {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  color: #9ca3af;
  font-size: 0.9rem;
}

.contact-points li + li {
  margin-top: 0.4rem;
}

.contact-points li::before {
  content: "•";
  color: #3b82f6;
  display: inline-block;
  width: 0.9rem;
}

/* Testimonial block */
.testimonial {
  margin: 1.2rem 0 1.2rem;
  padding: 1rem 1.1rem 0.9rem;
  border-left: 3px solid #3b82f6;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
}

.testimonial blockquote {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  font-style: italic;
}

.testimonial figcaption {
  font-size: 0.8rem;
  color: #9ca3af;
}

.contact-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

.contact-note a {
  color: #bfdbfe;
}

.contact-note a:hover {
  text-decoration: underline;
}

/* Form */
.contact-form {
  background: radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.22),
      rgba(15, 23, 42, 0.98)
    );
  border-radius: 20px;
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
}

.form-row {
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-row label {
  font-size: 0.8rem;
  color: #9ca3af;
}

.form-row input,
.form-row textarea {
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.95);
  padding: 0.55rem 0.75rem;
  background: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  font-size: 0.9rem;
  outline: none;
}

.form-row textarea {
  border-radius: 14px;
  resize: vertical;
  min-height: 120px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #6b7280;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.5);
}

.contact-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.3rem;
}

.contact-footnote {
  margin-top: 0.6rem;
  font-size: 0.76rem;
  color: #6b7280;
}

/* Responsive layout */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ========================= */
/* FOOTER                    */
/* ========================= */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  padding: 1.6rem 0 1.8rem;
  background: #020617;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: #e5e7eb;
}
