/*
 * Mexure Technologies — site-specific styles.
 *
 * This file adds the handful of new components the Mexure one-pager needs
 * (solution cards, why-mexure cards, process steps, FAQ accordion skin,
 * contact panel tweaks, footer, brand wordmark) on top of the existing
 * Madrivo theme framework (Bootstrap grid + AOS + the theme's CSS custom
 * properties from variables_ff3c358c.css). No colors, fonts or spacing
 * scales are invented here — everything below reads the same
 * --color-*/--fonts-* variables the rest of the theme uses.
 */

html {
  scroll-behavior: smooth;
}

/* Offset in-page anchor scrolling so headings don't land under the sticky nav */
section[id] {
  scroll-margin-top: 90px;
}

/* ---------- Header / brand wordmark ---------- */
.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fonts-inter-tight);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  color: var(--color-silver-lightest);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-wordmark .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-green-coral);
  color: var(--color-green-darkest);
  font-weight: 900;
  font-size: 18px;
}

.brand-wordmark .brand-accent {
  color: var(--color-green-coral);
}

/* Admin-uploaded logo image, sized to match the text wordmark's footprint */
.brand-logo-img {
  max-height: 36px;
  width: auto;
  display: block;
}

header.navbar ul.navbar-nav > li:nth-last-child(2) {
  padding-left: 0;
}

/* ---------- Footer ---------- */
.footer-mexure {
  padding: 74px 0 40px;
}

.footer-mexure .footer-logo.brand-wordmark {
  color: var(--color-green-darkest);
}

.footer-mexure .footer-tagline {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-mexure .footer-menu-title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.footer-mexure .footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-mexure .footer-menu-list li {
  margin-bottom: 12px;
}

.footer-mexure .footer-menu-list li:last-child {
  margin-bottom: 0;
}

.footer-mexure .footer-menu-list li a {
  color: var(--color-green-darkest);
  text-decoration: none;
  font-size: 15px;
}

.footer-mexure .footer-menu-list li a:hover {
  color: var(--color-green-coral);
}

.footer-mexure .footer-cta-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--color-green-darkest);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-mexure .footer-cta-btn:hover {
  background: var(--color-green-coral);
  color: #fff;
}

.footer-mexure .footer-bottom-row {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(21, 48, 45, 0.12);
}

@media (max-width: 767px) {
  .footer-mexure {
    padding: 56px 0 32px;
  }
  .footer-mexure .footer-bottom-row {
    margin-top: 40px;
  }
}

/* ---------- Generic section rhythm ---------- */
.mexure-section {
  padding: 100px 0;
}

.mexure-section-tight {
  padding: 72px 0;
}

.mexure-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}

.mexure-section-head {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .mexure-section {
    padding: 64px 0;
  }

  .mexure-section-tight {
    padding: 48px 0;
  }
}

/* ---------- Hero ---------- */
.hero-section {
  padding: 160px 0 100px;
}

@media (max-width: 767px) {
  .hero-section {
    padding: 140px 0 64px;
  }
}

.hero-has-image .hero-visual-img {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
}

/* ---------- About (optional image layout) ---------- */
.about-visual-img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* ---------- Solution cards (What We Do) ---------- */
.solution-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--color-gray-lighter);
  background: var(--color-silver-lightest);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.solution-card:hover {
  border-color: var(--color-green-coral);
  transform: translateY(-4px);
}

.solution-card .solution-index {
  font-family: var(--fonts-inter-tight);
  font-weight: 900;
  font-size: 15px;
  color: var(--color-green-darker);
  margin-bottom: 12px;
}

.solution-card .solution-bullets {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
}

.solution-card .solution-bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--color-gray-darker);
}

.solution-card .solution-bullets li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green-coral);
}

.solution-card .solution-cta {
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-green-darker);
}

/* ---------- About callout ---------- */
.about-callout {
  border-radius: 20px;
  padding: 40px;
  background: var(--color-green-lightest);
  border: 1px solid var(--color-green-lighter);
}

/* ---------- Why Mexure cards ---------- */
.why-card {
  height: 100%;
  padding: 28px;
  border-radius: 16px;
  background: var(--color-silver-lightest);
  border: 1px solid var(--color-gray-lighter);
}

/* ---------- How We Work steps ---------- */
.step-card {
  height: 100%;
  padding: 28px 8px;
}

.step-card .step-number {
  font-family: var(--fonts-inter-tight);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--color-green-coral);
  margin-bottom: 12px;
}

/* ---------- FAQ accordion ---------- */
.mexure-faq .accordion-item {
  border: 1px solid var(--color-gray-lighter);
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
}

.mexure-faq .accordion-button {
  font-family: var(--fonts-inter-tight);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-green-darkest);
  padding: 22px 24px;
}

.mexure-faq .accordion-button:not(.collapsed) {
  background: var(--color-green-lightest);
  color: var(--color-green-darkest);
  box-shadow: none;
}

.mexure-faq .accordion-button:focus {
  box-shadow: none;
  border-color: var(--color-gray-lighter);
}

.mexure-faq .accordion-body {
  padding: 4px 24px 24px;
  font-size: 15px;
  color: var(--color-gray-darker);
}

/* ---------- Contact ---------- */
.contact-alert {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 15px;
}

.contact-alert.success {
  background: var(--color-green-lightest);
  color: var(--color-green-darkest);
  border: 1px solid var(--color-green-lighter);
}

.contact-alert.error {
  background: var(--color-orange-lightest);
  color: var(--color-orange-darkest);
  border: 1px solid var(--color-orange-lighter);
}

.contact-form .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-green-darkest);
  margin-bottom: 6px;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 10px;
  border: 1px solid var(--color-gray-lighter);
  padding: 10px 16px;
  font-size: 15px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--color-green-coral);
  box-shadow: 0 0 0 3px var(--color-green-lighter);
}

@media (max-width: 767px) {
  .contact-form {
    padding: 32px 24px;
  }
}

/* ---------- Footer ---------- */
.mexure-footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0;
  margin: 0;
}

.mexure-footer-nav a {
  color: var(--color-gray-darker);
  text-decoration: none;
  font-size: 15px;
}

.mexure-footer-nav a:hover {
  color: var(--color-green-darker);
}
