/* TMRacing — portada taller (escala algo más compacta) */

:root {
  --ink: #12161c;
  --ink-soft: #3c4553;
  --brand: #0d1b2a;
  --accent: #d62828;
  --accent-deep: #9b1c1c;
  --off: #6b7280;
  --line: #d7dbe3;
  --ok: #1f7a4d;
  --warn: #b45309;
  --radius: 18px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --flow-card-shadow:
    0 8px 20px rgba(214, 40, 40, 0.12),
    0 16px 48px rgba(214, 40, 40, 0.08),
    0 24px 64px rgba(18, 22, 28, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--ink);
  background: #ffffff;
}

.page-home-inner {
  width: min(1080px, calc(100% - 1.75rem));
  margin: 0 auto;
  padding: 0.75rem 0 2.25rem;
}

/* —— Cabecera —— */

.home-header {
  text-align: center;
  margin-bottom: 1.25rem;
  animation: rise 0.55s ease both;
}

.home-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0;
}

.home-logo {
  width: min(420px, 88vw);
  height: auto;
  max-height: 148px;
  object-fit: contain;
  display: block;
}

.home-intro {
  width: 100%;
  max-width: none;
  margin: 0.85rem 0 0;
  padding: 0.85rem 1.15rem 0.95rem;
  text-align: left;
  min-height: auto;
  animation: rise 0.6s ease 0.08s both;
}

.home-welcome {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
}

.home-tm {
  color: #d62828;
}

.home-lede {
  margin: 0.55rem 0 0;
  max-width: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
  text-align: left;
}

.home-lede + .home-lede {
  margin-top: 0.45rem;
}

/* —— Grid 2×2 —— */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.flow-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 0.9rem 1rem 0.95rem;
  box-shadow: var(--flow-card-shadow);
  border: 1px solid rgba(214, 40, 40, 0.14);
  animation: rise 0.65s ease both;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.15s; }
.service-card:nth-child(4) { animation-delay: 0.2s; }

.flow-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  flex-shrink: 0;
}

.flow-step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-size: 0.88rem;
  line-height: 1;
}

.flow-card-titles {
  flex: 1;
  min-width: 0;
}

.flow-card-titles h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.flow-card-sub {
  margin: 0.12rem 0 0;
  font-size: 0.76rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

.service-media {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: auto;
  flex: 0 0 auto;
}

.service-video-slot {
  border-radius: 12px;
  overflow: hidden;
  background: #f7f4ee;
  border: 1px solid rgba(18, 22, 28, 0.06);
  aspect-ratio: 16 / 9;
  min-height: 120px;
  display: grid;
  place-items: center;
}

.service-video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f1419;
}

.media-placeholder {
  margin: 0;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.service-blurb {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
  flex: 1 1 auto;
}

.service-card--text-first .service-blurb {
  margin: 0 0 0.65rem;
}

.service-card--text-first .service-link-wrap {
  margin: -0.25rem 0 0.65rem;
}

.service-card--text-first .service-media {
  margin-top: auto;
}

.service-link-wrap {
  margin: 0.35rem 0 0;
}

.service-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
}

.service-link:hover {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Carrusel —— */

.carousel {
  position: relative;
  display: block;
  width: 100%;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  background: #12161c;
  border: 1px solid rgba(18, 22, 28, 0.08);
  aspect-ratio: 16 / 9;
  min-height: 200px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #12161c;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  z-index: 0;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.carousel-slide video,
.carousel-slide .carousel-media-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  /* Entera, sin recortar ni deformar. */
  object-fit: contain;
  display: block;
  background: transparent;
}

/* Blur sin 2ª <img>: misma URL en CSS (cache HTTP = 1 descarga real). */
.carousel-slide.carousel-slide--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--slide-bg, none);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.05) brightness(0.42);
  transform: scale(1.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.carousel-slide.carousel-slide--photo.is-active::before {
  opacity: 1;
}

.carousel-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  background: rgba(18, 22, 28, 0.72);
  color: #fff;
}

.carousel-loading[hidden] {
  display: none !important;
}

.carousel-loading-track {
  width: min(70%, 14rem);
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.carousel-loading-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d62828, #ff6b6b);
  transition: width 0.25s ease;
  transform-origin: left center;
}

.carousel-loading.is-indeterminate .carousel-loading-bar {
  width: 38% !important;
  transition: none;
  animation: carousel-load-slide 1.15s ease-in-out infinite;
}

@keyframes carousel-load-slide {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(280%);
  }
}

.carousel-loading-text {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

.carousel-loading.is-error .carousel-loading-bar {
  background: #9b1c1c;
  width: 100% !important;
  animation: none;
  transform: none;
}

.carousel-play-btn {
  position: absolute;
  z-index: 2;
  appearance: none;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.carousel-play-btn[hidden] {
  display: none !important;
}

.carousel-audio {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.25rem 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.carousel-slide.is-active:hover .carousel-audio,
.carousel-slide.is-active:focus-within .carousel-audio,
.carousel-audio.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: none) {
  .carousel-slide.is-active .carousel-audio {
    opacity: 0.72;
    transform: none;
    pointer-events: auto;
  }
}

.carousel-vol {
  width: 0;
  opacity: 0;
  overflow: hidden;
  appearance: none;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(18, 22, 28, 0.18);
  transition: width 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.carousel-audio:hover .carousel-vol,
.carousel-audio:focus-within .carousel-vol,
.carousel-audio.is-open .carousel-vol {
  width: 4.5rem;
  opacity: 1;
}

.carousel-vol::-webkit-slider-thumb {
  appearance: none;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.carousel-vol::-moz-range-thumb {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.carousel-mute-btn {
  appearance: none;
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.45rem;
  pointer-events: none;
}

.carousel-btn {
  appearance: none;
  pointer-events: auto;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  color: rgba(18, 22, 28, 0.55);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.carousel:hover .carousel-btn,
.carousel:focus-within .carousel-btn {
  opacity: 0.85;
}

.carousel-btn:hover:not(:disabled) {
  transform: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  opacity: 1;
}

.carousel-btn:disabled {
  opacity: 0.2;
  cursor: default;
}

.carousel-controls[hidden],
.carousel:not(.is-ready) .carousel-controls {
  display: none;
}

.carousel.is-ready .carousel-controls {
  display: flex;
}

/* —— Pie —— */

.home-foot {
  margin-top: 1.75rem;
  text-align: center;
  animation: rise 0.7s ease 0.25s both;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.home-foot-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.75rem;
  width: 100%;
  max-width: 52rem;
}

.home-contact-btn,
.home-social-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(214, 40, 40, 0.22);
  background: #fff;
  color: var(--accent);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.68rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--flow-card-shadow);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.home-contact-btn {
  font-size: 0.92rem;
  padding: 0.72rem 1.45rem;
}

.home-contact-btn:hover,
.home-social-btn:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(214, 40, 40, 0.4);
  color: var(--accent-deep);
}

.home-contact-btn:active,
.home-social-btn:active {
  transform: translateY(0);
}

.home-social-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.home-social-btn--facebook {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.28);
}

.home-social-btn--facebook:hover {
  color: #0d65d9;
  border-color: rgba(24, 119, 242, 0.45);
}

.home-social-btn--instagram {
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.28);
}

.home-social-btn--instagram:hover {
  color: #a0286c;
  border-color: rgba(193, 53, 132, 0.45);
}

.home-foot-meta {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: var(--off);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  vertical-align: middle;
  padding: 0.12rem;
  background: rgba(18, 22, 28, 0.04);
  border: 1px solid rgba(18, 22, 28, 0.08);
  border-radius: 999px;
}

.lang-switch-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 0.28rem 0.72rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--off);
  cursor: pointer;
  border-radius: 999px;
  line-height: 1.2;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.lang-switch-btn:hover:not(.is-active) {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(214, 40, 40, 0.18);
}

.lang-switch-btn.is-active {
  color: var(--brand);
  font-weight: 600;
  background: #fff;
  border-color: rgba(214, 40, 40, 0.28);
  box-shadow: 0 1px 3px rgba(18, 22, 28, 0.08);
  cursor: default;
}

.home-foot-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--off);
}

/* —— Modal contacto —— */

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 28, 0.45);
}

.modal-card {
  position: relative;
  z-index: 1;
  max-height: min(90vh, 720px);
  overflow: auto;
}

.modal-card--contact {
  width: min(480px, 100%);
  background: #fff;
  border: 1px solid rgba(214, 40, 40, 0.14);
  border-radius: 18px;
  box-shadow: var(--flow-card-shadow);
  padding: 1.1rem 1.15rem 1.2rem;
  min-height: auto;
  height: auto;
}

.modal-card--contact .modal-head--contact {
  position: relative;
  display: block;
  text-align: center;
  margin-bottom: 0.35rem;
  padding: 0 2rem 0 0.5rem;
}

.modal-card--contact .modal-head--contact[hidden],
.modal-card--contact .modal-intro[hidden],
.modal-card--contact #contactFormWrap[hidden],
.modal-card--contact #contactSuccessWrap[hidden] {
  display: none !important;
}

.contact-title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.3;
}

.btn-modal-close {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  border-radius: 8px;
}

.btn-modal-close:hover {
  background: #f3f4f6;
  color: var(--ink);
}

.modal-card--contact .btn-modal-close {
  position: absolute;
  top: -0.15rem;
  right: 0;
}

.modal-intro {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.45;
  text-align: center;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-form .field span {
  font-size: 0.84rem;
  font-weight: 600;
}

.contact-form .field input,
.contact-form .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .field-challenge {
  max-width: 14rem;
}

.contact-form .field-challenge input {
  max-width: 5rem;
}

.contact-form .field textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.4;
}

.contact-form .field input:focus,
.contact-form .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.1);
}

.contact-topics {
  margin: 0;
  padding: 0;
  border: none;
}

.contact-topics legend {
  padding: 0;
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  user-select: none;
}

.topic-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.topic-chip span {
  display: inline-block;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  border: 1.5px solid rgba(18, 22, 28, 0.14);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--off);
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.topic-chip:hover span {
  border-color: rgba(214, 40, 40, 0.35);
  color: var(--ink);
}

.topic-chip input:checked + span {
  color: #fff;
  font-weight: 700;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(214, 40, 40, 0.28);
}

.topic-chip input:focus-visible + span {
  outline: 2px solid rgba(214, 40, 40, 0.35);
  outline-offset: 2px;
}

.contact-form-status {
  margin: 0.15rem 0 0;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.35;
  background: #f7f4ee;
  border-left: 3px solid var(--brand);
  color: var(--ink-soft);
}

.contact-form-status.is-ok {
  border-left-color: var(--ok);
  background: #f0faf4;
}

.contact-form-status.is-warn {
  border-left-color: var(--warn);
  background: #fff7ea;
}

.contact-form-status.is-bad {
  border-left-color: var(--accent);
  background: #fff1f1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-form-actions {
  margin-top: 0.35rem;
}

.btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover:not(:disabled) {
  background: var(--accent-deep);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover:not(:disabled) {
  background: #f7f8fa;
}

.modal-card--contact.is-success {
  width: min(340px, 100%);
  padding: 0.85rem 1rem 1rem;
}

.contact-success {
  text-align: center;
  padding: 0.35rem 0.25rem 0.15rem;
}

.contact-success-icon {
  margin: 0 0 0.55rem;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ok);
  font-weight: 700;
}

.contact-success-text {
  margin: 0 auto 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 22rem;
}

.contact-success-close {
  min-width: 7.5rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .page-home-inner {
    width: min(100% - 1.25rem, 1080px);
    padding-left: 0;
    padding-right: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    /* Misma anchura que intro / pie — evita el “descuadre” vs PC */
    max-width: none;
    width: 100%;
    margin-inline: 0;
    gap: 1rem;
  }

  .home-intro,
  .service-card.flow-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .home-foot {
    width: 100%;
  }

  .home-foot-actions {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .home-logo {
    max-height: 120px;
  }

  .page-home-inner {
    width: min(100% - 1rem, 1080px);
  }

  .flow-card {
    padding: 0.85rem 0.85rem 0.9rem;
  }

  .home-intro {
    padding: 0.75rem 0.85rem 0.85rem;
    text-align: left;
  }

  .flow-card-titles h2 {
    font-size: 0.98rem;
  }

  .home-welcome {
    font-size: 1.05rem;
  }

  .home-lede {
    font-size: 0.84rem;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .home-foot-actions {
    gap: 0.55rem;
    flex-direction: column;
    align-items: stretch;
  }

  .home-contact-btn,
  .home-social-btn {
    font-size: 0.82rem;
    padding: 0.62rem 1rem;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    justify-content: center;
  }

  .home-contact-btn {
    font-size: 0.86rem;
    padding: 0.65rem 1.15rem;
    order: -1;
  }

  /* Sombras muy anchas en móvil a veces “empujan” visualmente el bloque */
  .flow-card,
  .home-contact-btn,
  .home-social-btn {
    box-shadow:
      0 6px 16px rgba(214, 40, 40, 0.1),
      0 12px 28px rgba(18, 22, 28, 0.08);
  }
}
