/* ==================================================
   OM1 - Fase 2 estilo visual profesional
   - Hero con imagen + overlay oscuro
   - Cards con imagen
   - Hover verde
   - Formularios y footer mejorados
   - Imágenes en /img como placeholders reemplazables
   ================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: #151515;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

:root {
  --black: #080808;
  --black-2: #151515;
  --gray-900: #202020;
  --gray-700: #555555;
  --gray-500: #777777;
  --gray-200: #e7e7e7;
  --gray-100: #f5f6f5;
  --white: #ffffff;
  --accent: #18b763;
  --accent-2: #27d178;
  --accent-soft: rgba(24, 183, 99, .12);
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .12);
  --shadow-soft: 0 14px 35px rgba(0, 0, 0, .08);
  --max: 1160px;
}

/* NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.om1-nav {
  height: 82px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.om1-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.om1-logo img {
  width: 150px;
  height: auto;
}

.om1-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.om1-nav-links a {
  position: relative;
  font-size: .96rem;
  font-weight: 800;
  color: var(--black);
  transition: color .2s ease;
}

.om1-nav-links a:not(.om1-nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .22s ease;
}

.om1-nav-links a:hover,
.om1-nav-links a.active {
  color: var(--accent);
}

.om1-nav-links a:hover::after,
.om1-nav-links a.active::after {
  width: 100%;
}

.om1-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white !important;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(24, 183, 99, .25);
}

.om1-nav-cta:hover {
  background: var(--accent-2);
  color: white !important;
  transform: translateY(-1px);
}

.om1-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.om1-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.om1-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.om1-burger.open span:nth-child(2) {
  opacity: 0;
}

.om1-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.om1-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 10px 28px 24px;
  background: white;
  border-top: 1px solid var(--gray-200);
}

.om1-mobile-menu a {
  padding: 13px 0;
  font-weight: 800;
  border-bottom: 1px solid var(--gray-200);
}

.om1-mobile-menu .mobile-cta {
  margin-top: 14px;
  text-align: center;
  border: 0;
  padding: 14px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
}

.om1-mobile-menu.open {
  display: flex;
}

/* COMMON */
.container {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.container.narrow {
  max-width: 860px;
}

.center {
  text-align: center;
}

.top-gap {
  margin-top: 34px;
}

.section {
  padding: 92px 0;
}

.section.soft {
  background: linear-gradient(180deg, #f7f8f7 0%, #f1f3f1 100%);
}

.eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.eyebrow.dark {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: 'Syne', sans-serif;
  line-height: 1.08;
  color: var(--black);
}

h1 {
  font-size: clamp(2.35rem, 6vw, 5rem);
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3.05rem);
  letter-spacing: -.035em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

p {
  color: var(--gray-700);
  font-size: 1rem;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:last-child {
  font-size: 1.05rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 32px rgba(24, 183, 99, .28);
}

.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 18px 42px rgba(24, 183, 99, .34);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, .35);
  color: white;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .14);
}

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

.btn.full {
  width: 100%;
}

/* HERO */
.om1-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background-color: var(--black);
  background-image: linear-gradient(135deg, #050505 0%, #1c1c1c 55%, #000000 100%);
}

.hero-bg {
  background-image:
    radial-gradient(circle at 82% 12%, rgba(24, 183, 99, .25), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .74) 42%, rgba(0, 0, 0, .56) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.om1-hero.hero-bg {
  background-image:
    radial-gradient(circle at 82% 12%, rgba(24, 183, 99, .22), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, .66) 0%, rgba(0, 0, 0, .56) 42%, rgba(0, 0, 0, .38) 100%),
    var(--hero-image);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .46) 100%),
    radial-gradient(circle at 18% 85%, rgba(24, 183, 99, .20), transparent 34%);
}

.om1-hero {
  min-height: 690px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 100px 0;
}

.om1-hero-inner {
  width: min(1000px, calc(100% - 44px));
  margin: 0 auto;
}

.om1-hero h1,
.page-hero h1 {
  color: white;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

.hero-lead,
.page-hero p {
  max-width: 780px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.om1-hero .hero-lead {
  color: rgba(255, 255, 255, .90);
}

.hero-lead.secondary {
  margin-top: 12px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badges {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges a {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .88rem;
  backdrop-filter: blur(8px);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-badges a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.page-hero {
  padding: 120px 0 110px;
  text-align: center;
}

/* SPLITS + IMAGES */
.split {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 58px;
  align-items: center;
}

.intro-split p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.image-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--black);
  min-height: 360px;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scale(1.01);
}

.image-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .62) 100%);
  pointer-events: none;
}

.image-panel figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 44px);
  background: rgba(255, 255, 255, .92);
  color: var(--black);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.dark-panel figcaption {
  background: var(--accent);
  color: white;
}

/* IMAGE CARDS */
.image-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.image-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.image-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(24, 183, 99, .45);
}

.image-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.image-card div {
  padding: 24px;
}

.image-card span,
.service-row span,
.vehicle-card span,
.feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: white;
  font-weight: 900;
  margin-bottom: 18px;
}

.image-card h3 {
  transition: color .2s ease;
}

.image-card:hover h3 {
  color: var(--accent);
}

.image-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 900;
}

/* HIGHLIGHT */
.highlight-section,
.cta-band {
  background: radial-gradient(circle at 12% 0%, rgba(24, 183, 99, .22), transparent 28%), var(--black);
  color: white;
}

.highlight-section h2,
.highlight-section h3,
.cta-band h2 {
  color: white;
}

.highlight-section p,
.cta-band p {
  color: rgba(255, 255, 255, .74);
  margin-bottom: 14px;
}

/* VEHICLES */
.vehicle-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vehicle-mini-grid article {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.vehicle-mini-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 183, 99, .45);
  box-shadow: var(--shadow);
}

.vehicle-mini-grid img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.vehicle-mini-grid h3,
.vehicle-mini-grid p {
  padding-left: 22px;
  padding-right: 22px;
}

.vehicle-mini-grid h3 {
  padding-top: 22px;
}

.vehicle-mini-grid p {
  padding-bottom: 24px;
}

.vehicle-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vehicle-card.visual {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 24px;
  align-items: stretch;
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-soft);
}

.vehicle-card.visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.vehicle-card.visual div {
  padding: 18px 10px;
  align-self: center;
}

.vehicle-card.visual.wide {
  grid-column: 1 / -1;
  grid-template-columns: .9fr 1.1fr;
}

/* PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-grid article,
.feature-grid article {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.process-grid article:hover,
.feature-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 183, 99, .42);
  box-shadow: var(--shadow-soft);
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 18px;
}

/* FAQ */
.faq-section details {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
}

.faq-section summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--black);
}

.faq-section p {
  margin-top: 12px;
}

/* CTA */
.cta-band {
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-inner div {
  max-width: 720px;
}

/* SERVICE ROWS */
.service-list {
  display: grid;
  gap: 34px;
}

.service-row {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.service-row.reverse img {
  order: 2;
}

.service-row.reverse div {
  order: 1;
}

.service-row img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.service-row p {
  margin-bottom: 20px;
}

/* FEATURES */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-grid article:nth-child(4) {
  grid-column: 2 / span 1;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.contact-grid>div p {
  margin-bottom: 14px;
}

.urgent-box {
  margin-top: 28px;
  background: var(--black);
  color: white;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.urgent-box h3 {
  color: white;
}

.urgent-box p {
  color: rgba(255, 255, 255, .76);
  margin-bottom: 0;
}

.contact-form {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
  background: #fbfbfb;
  transition: border .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: white;
}

.form-note {
  margin-top: 14px;
  font-size: .88rem;
  color: var(--gray-500);
}

/* FOOTER */
.site-footer {
  background: #070707;
  color: white;
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo img {
  width: 140px;
  margin-bottom: 18px;
  filter: brightness(1.1);
}

.site-footer h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .68);
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  transition: color .2s ease, transform .2s ease;
}

.site-footer a:hover {
  color: var(--accent-2);
  transform: translateX(3px);
}

.footer-cta {
  display: inline-flex !important;
  margin-top: 8px;
  background: var(--accent);
  color: white !important;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  margin-top: 54px;
  padding: 22px;
  text-align: center;
}

.footer-bottom p {
  font-size: .9rem;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .om1-nav-links {
    gap: 16px;
  }

  .image-cards-grid,
  .vehicle-mini-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-grid,
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
  }

  .service-row.reverse img,
  .service-row.reverse div {
    order: initial;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid article:nth-child(4) {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .om1-nav {
    height: 76px;
    padding: 0 22px;
  }

  .om1-logo img {
    width: 126px;
  }

  .om1-nav-links {
    display: none;
  }

  .om1-burger {
    display: flex;
  }

  .section {
    padding: 68px 0;
  }

  .om1-hero {
    min-height: 620px;
    padding: 78px 0;
  }

  .page-hero {
    padding: 90px 0 82px;
  }

  .hero-bg {
    background-position: center;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .vehicle-card.visual,
  .vehicle-card.visual.wide {
    grid-template-columns: 1fr;
  }

  .vehicle-card.visual img {
    min-height: 220px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 30px, var(--max));
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .image-cards-grid,
  .vehicle-mini-grid,
  .process-grid,
  .feature-grid,
  .vehicle-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .image-panel,
  .image-panel img {
    min-height: 260px;
  }

  .contact-form {
    padding: 22px;
  }
}

/* ===== FASE 5 QA FINAL ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(24, 183, 99, .35);
  outline-offset: 3px;
}

.om1-nav-cta.active::after {
  display: none;
}

.om1-nav-cta.active {
  color: white !important;
}

.hero-actions .btn,
.cta-band .btn,
.contact-form .btn {
  min-height: 52px;
}

.image-card,
.vehicle-mini-grid article,
.vehicle-card.visual,
.service-row,
.contact-form,
.urgent-box {
  will-change: transform;
}

.image-card img,
.vehicle-mini-grid img,
.vehicle-card.visual img,
.service-row img {
  background: #e9e9e9;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 50px;
}

.contact-form textarea {
  resize: vertical;
}

.footer-bottom {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 820px) {
  .om1-hero.hero-bg {
    background-position: 62% center;
  }

  .om1-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.35rem);
  }

  .hero-lead,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-badges a {
    font-size: .82rem;
  }

  .service-row,
  .vehicle-card.visual {
    padding: 16px;
  }

  .service-row img {
    height: 260px;
  }
}

@media (max-width: 520px) {
  .om1-logo img {
    width: 112px;
  }

  .om1-nav {
    padding: 0 18px;
  }

  .om1-hero {
    min-height: 640px;
  }

  .image-card div,
  .process-grid article,
  .feature-grid article {
    padding: 22px;
  }
}




/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
  opacity: .96;
}

.whatsapp-logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 620px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 70px;
    height: 70px;
  }
}


/* ===== FASE 6 DATOS REALES ===== */
.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-direct-actions .btn {
  padding: 12px 18px;
  min-height: 48px;
}

.site-footer a[href^="tel:"],
.site-footer a[href^="mailto:"] {
  font-weight: 800;
}

@media (max-width: 520px) {
  .contact-direct-actions {
    flex-direction: column;
  }

  .contact-direct-actions .btn {
    width: 100%;
  }
}

/* ===== FASE 6B LEGALES + FORMULARIO WHATSAPP ===== */
.legal-title { margin-top: 24px; }
.legal-section { background: #ffffff; }
.legal-content {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow-soft);
}
.legal-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin-top: 34px;
  margin-bottom: 14px;
}
.legal-content h3 { margin-top: 24px; }
.legal-content p, .legal-content li { color: var(--gray-700); margin-bottom: 13px; }
.legal-content ul { padding-left: 22px; margin-bottom: 18px; }
.legal-content a { color: var(--accent); font-weight: 800; }
.contact-direct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.contact-direct-actions .btn { padding: 12px 18px; min-height: 48px; }
@media (max-width: 520px) {
  .contact-direct-actions { flex-direction: column; }
  .contact-direct-actions .btn { width: 100%; }
}


/* ===== AJUSTE FOOTER LEGAL ===== */
.footer-bottom-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.footer-bottom-legal p {
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  transition: color .2s ease;
}

.footer-legal-links a:hover {
  color: var(--accent-2);
  transform: none;
}

.legal-title {
  display: none;
}

@media (max-width: 760px) {
  .footer-bottom-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal-links {
    justify-content: flex-start;
    gap: 12px 16px;
  }
}


/* ===== AJUSTES FASE NUEVA ===== */
p,
.legal-content li,
.faq-section summary,
.form-note {
  text-align: justify;
  text-justify: inter-word;
}

.section-heading,
.hero-actions,
.hero-badges,
.cta-inner,
.footer-grid,
.footer-bottom,
.om1-nav,
.om1-mobile-menu,
label {
  text-align: initial;
}

.image-card.image-card-link {
  display: block;
  color: inherit;
  cursor: pointer;
}

.image-card.image-card-link div {
  min-height: calc(100% - 170px);
}

.image-card.image-card-link p {
  margin-bottom: 0;
}

.image-card.image-card-link:hover h3 {
  color: var(--accent);
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-grid article:nth-child(4) {
  grid-column: auto;
}

.footer-logo img {
  width: 165px;
  margin-bottom: 18px;
  filter: none;
}

.footer-grid > div:first-child p {
  max-width: 290px;
}


/* ===== AJUSTE JUSTIFICADO + HERO + VALORES SOBRE OM1 ===== */

/* Textos normales justificados */
main section:not(.om1-hero):not(.page-hero) p,
.legal-content p,
.legal-content li,
.image-card p,
.service-row p,
.vehicle-mini-grid p,
.vehicle-card p,
.process-grid p,
.feature-grid p,
.contact-grid p,
.urgent-box p,
.faq-section p {
  text-align: justify;
  text-justify: inter-word;
}

/* Zonas de cabecera/hero como antes: centradas, no justificadas */
.om1-hero,
.om1-hero *,
.page-hero,
.page-hero * {
  text-align: center;
  text-align-last: auto;
}

.om1-hero p,
.page-hero p,
.hero-lead,
.page-hero .eyebrow,
.om1-hero .eyebrow {
  text-align: center !important;
  text-align-last: center;
}

/* Títulos y elementos de navegación nunca justificados */
h1, h2, h3,
.eyebrow,
.btn,
.om1-nav,
.om1-nav *,
.om1-mobile-menu,
.om1-mobile-menu *,
.hero-actions,
.hero-badges,
.footer-grid h3,
.footer-grid a,
.footer-bottom,
.footer-bottom *,
label {
  text-align: initial;
}

/* Mantener títulos de bloques centrados cuando ya estaban centrados */
.section-heading,
.section-heading h2,
.section-heading p,
.center,
.center * {
  text-align: center;
}

/* Sobre OM1: 5 cards en composición 3 arriba + 2 abajo centradas */
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.values-grid article {
  grid-column: span 2;
}

.values-grid article:nth-child(4) {
  grid-column: 2 / span 2;
}

.values-grid article:nth-child(5) {
  grid-column: 4 / span 2;
}

/* Anular regla anterior que centraba la cuarta card en solitario */
.values-grid article:nth-child(4) {
  grid-column: 2 / span 2;
}

@media (max-width: 1050px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid article,
  .values-grid article:nth-child(4),
  .values-grid article:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== AJUSTE FINAL LOGOS + SIN JUSTIFICADO ===== */
/* Cancelar la justificación añadida y volver al comportamiento normal */
main section:not(.om1-hero):not(.page-hero) p,
.legal-content p,
.legal-content li,
.image-card p,
.service-row p,
.vehicle-mini-grid p,
.vehicle-card p,
.process-grid p,
.feature-grid p,
.contact-grid p,
.urgent-box p,
.faq-section p,
p,
li {
  text-align: inherit !important;
  text-justify: auto !important;
}

.om1-logo img {
  width: 148px;
  height: auto;
  display: block;
}

.footer-logo img {
  width: 130px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}


/* ===== AJUSTE FINAL LOGOS DEFINITIVOS ===== */
.om1-logo img { width: 176px; height: auto; display: block; }
.footer-logo img { width: 138px; height: auto; display: block; margin-bottom: 18px; }


/* ===== AJUSTE EXTRA HERO 2 LINEAS + LOGO HEADER ===== */
.om1-logo img { width: 154px; }
.om1-hero .hero-lead { max-width: 960px; }
@media (max-width: 820px) { .om1-hero .hero-lead br { display: none; } .om1-hero .hero-lead { max-width: 780px; } }
