/* =========================================================
   JM Gestoría Vehicular — Landing Page Styles
   Prefix: jm-
   ========================================================= */

:root {
  --jm-black: #0a0a0a;
  --jm-black-soft: #141414;
  --jm-charcoal: #1c1c1c;
  --jm-gray: #9a9a9a;
  --jm-gray-light: #c9c9c9;
  --jm-off-white: #f5f5f2;
  --jm-white: #ffffff;
  --jm-border: rgba(245, 245, 242, 0.12);
  --jm-grid-line: rgba(245, 245, 242, 0.02);
  --jm-grid-size: 42px;
  --jm-font-display: 'Space Grotesk', sans-serif;
  --jm-font-body: 'Inter', sans-serif;
}

/* Reusable grid/blueprint texture, layered over each section's own
   background-color so the pattern reads as continuous across the page. */
.jm-hero,
.jm-services,
.jm-process,
.jm-about,
.jm-faq,
.jm-footer,
body {
  background-image:
    linear-gradient(var(--jm-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--jm-grid-line) 1px, transparent 1px);
  background-size: var(--jm-grid-size) var(--jm-grid-size);
}

html, body {
  overflow-x: hidden;
}

body {
  background-color: var(--jm-black);
  color: var(--jm-off-white);
  font-family: var(--jm-font-body);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--jm-font-display);
  color: var(--jm-white);
  margin: 0;
}

p {
  margin: 0;
}

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

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

.jm-eyebrow {
  display: inline-block;
  font-family: var(--jm-font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jm-gray-light);
  margin-bottom: 1rem;
}

.jm-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.jm-section-text {
  color: var(--jm-gray);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.jm-section-head,
.jm-section-head-center {
  margin-bottom: 3rem;
}

.jm-section-head-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Buttons ---------- */
.jm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: 100px;
  font-family: var(--jm-font-body);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.jm-btn-light {
  background-color: var(--jm-off-white);
  color: var(--jm-black);
}

.jm-btn-light:hover {
  background-color: var(--jm-white);
  transform: translateY(-2px);
  color: var(--jm-black);
}

.jm-btn-ghost {
  background-color: transparent;
  color: var(--jm-off-white);
  border-color: var(--jm-border);
}

.jm-btn-ghost:hover {
  border-color: var(--jm-off-white);
  color: var(--jm-white);
}

/* ---------- Header ---------- */
.jm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1.25rem 0;
  background-color: transparent;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.jm-header.jm-header-scrolled {
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 var(--jm-border);
}

.jm-navbar {
  padding: 0;
}

.jm-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.jm-brand-mark {
  width: 100px;
 
  border-radius: 8px;
  flex-shrink: 0;
}

.jm-header.jm-header-scrolled .jm-brand-mark{
  max-width: 50px;
}



.jm-brand-text {
  font-family: var(--jm-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--jm-white);
}

.jm-nav-list {
  gap: 0.5rem;
}

.jm-nav-list .nav-link {
  color: var(--jm-gray-light);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  transition: color 0.2s ease;
}

.jm-nav-list .nav-link:hover {
  color: var(--jm-white);
}

.jm-toggler {
  color: var(--jm-off-white);
  border: 1px solid var(--jm-border);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 1.1rem;
}

.jm-toggler:focus {
  box-shadow: none;
}

.jm-nav-cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.9375rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--jm-border);
  }
  .jm-nav-list {
    margin-bottom: 1.25rem;
  }
  .jm-nav-cta {
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.jm-hero {
  
 
  background-color: var(--jm-black);
}


.jm-hero-content {
  padding-right: 1.5rem;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.jm-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.jm-hero-text {
  color: var(--jm-gray);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.jm-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2.25rem;
}

.jm-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--jm-gray-light);
}

.jm-feature-list i {
  color: var(--jm-off-white);
}

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

.jm-hero-media {

}

.jm-hero-img-wrap {
 
  border-radius: 16px;
 
}

.jm-hero-img {
  width: 100%;


  
}


.jm-hero-img img{
  max-width: 100%;

  
  
}

.jm-hero-badges {
  position: absolute;
  bottom: 1.5rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.jm-hero-badges span {
  font-family: var(--jm-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(245, 245, 242, 0.65);
}

@media (min-width: 992px) {
 

  .jm-hero-img-wrap {
    
    border-radius: 0;
  }

  .jm-hero-img {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }
}

/* ---------- Services ---------- */
.jm-services {
  padding: 6rem 0;
  background-color: var(--jm-black-soft);
}

.jm-card {
  background-color: var(--jm-charcoal);
  border: 1px solid var(--jm-border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.jm-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 245, 242, 0.28);
}

.jm-card-img-wrap {
  overflow: hidden;
}

.jm-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jm-card:hover .jm-card-img {
  transform: scale(1.05);
}

.jm-card-body {
  padding: 1.5rem;
}

.jm-card-title {
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.jm-card-text {
  color: var(--jm-gray);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.jm-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--jm-off-white);
  transition: gap 0.2s ease;
}

.jm-card-link:hover {
  gap: 0.75rem;
  color: var(--jm-white);
}

/* ---------- Process ---------- */
.jm-process {
  padding: 6rem 0;
  background-color: var(--jm-black);
}

.jm-steps {
  margin-top: 1rem;
}

.jm-step {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-top: 1px solid var(--jm-border);
  padding-top: 2rem;
  margin-top: 2rem;
}

.jm-step-number {
  display: block;
  font-family: var(--jm-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(245, 245, 242, 0.35);
  margin-bottom: 1rem;
}

.jm-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.jm-step-text {
  color: var(--jm-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- About ---------- */
.jm-about {
  padding: 6rem 0 0;
  background-color: var(--jm-black-soft);
}

.jm-about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  aspect-ratio: 7 / 6;
}

.jm-about-content .jm-section-text {
  margin-bottom: 1.75rem;
}

.jm-about-list {
  font-size: 1rem;
  font-weight: 500;
  color: var(--jm-gray-light);
}

.jm-about-list > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.jm-about-list i {
  color: var(--jm-off-white);
}

.jm-about-footer {
  margin-top: 5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--jm-border);
}

.jm-about-footer-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.jm-about-footer-text {
  color: var(--jm-gray);
  font-size: 0.9375rem;
}

.jm-about-footer-cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .jm-about-footer-cta {
    justify-content: flex-end;
    margin-top: 0;
  }
}

/* ---------- FAQ ---------- */
.jm-faq {
  padding: 6rem 0;
  background-color: var(--jm-black-soft);
}

.jm-accordion-item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--jm-border);
}

.jm-accordion-item:first-child {
  border-top: 1px solid var(--jm-border);
}

.jm-accordion-button {
  background-color: transparent;
  color: var(--jm-white);
  font-family: var(--jm-font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 1.4rem 0;
  box-shadow: none;
}

.jm-accordion-button::after {
  filter: invert(1) grayscale(1) brightness(2);
}

.jm-accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--jm-white);
  box-shadow: none;
}

.jm-accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.jm-accordion-body {
  padding: 0 0 1.4rem;
  color: var(--jm-gray);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- CTA ---------- */
.jm-cta {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.jm-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jm-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.75) 100%);
}

.jm-cta-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.jm-cta-content .jm-section-text {
  margin-bottom: 2rem;
}

/* ---------- Footer ---------- */
.jm-footer {
  padding: 5rem 0 2rem;
  background-color: var(--jm-black);
  border-top: 1px solid var(--jm-border);
}

.jm-footer-top {
  margin-bottom: 3rem;
}

.jm-footer-brand {
  margin-bottom: 1.1rem;
}

.jm-footer-text {
  color: var(--jm-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.jm-footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.jm-footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.jm-footer-list li {
  color: var(--jm-gray);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.jm-footer-list a:hover {
  color: var(--jm-white);
}

.jm-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.jm-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--jm-border);
  border-radius: 50%;
  color: var(--jm-off-white);
  transition: all 0.2s ease;
}

.jm-social a:hover {
  background-color: var(--jm-off-white);
  color: var(--jm-black);
}

.jm-footer-divider {
  border-color: var(--jm-border);
  opacity: 1;
  margin: 0 0 2rem;
}

.jm-footer-disclaimer {
  color: rgba(154, 154, 154, 0.75);
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.jm-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--jm-gray);
}

.jm-footer-bottom a {
  color: var(--jm-off-white);
  font-weight: 600;
}

.jm-footer-bottom a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .jm-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
