:root {
  --vino: #7a1827;
  --vino-dark: #560e1a;
  --vino-light: #9d2536;
  --negro: #191315;
  --gris-logo: #646e78;
  --gris: #f4f4f6;
  --gris-med: #737c86;
  --blanco: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 45px -20px rgba(25, 19, 21, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.55;
}

img,
svg {
  display: block;
}

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

ul {
  list-style: none;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.accent {
  color: var(--vino);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--vino);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--vino);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -12px rgba(109, 30, 53, 0.45);
}

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

.btn-primary:hover {
  background: var(--vino-dark);
}

.btn-outline {
  background: transparent;
  color: var(--negro);
  border: 1.5px solid #d8d0d1;
}

.btn-outline:hover {
  border-color: var(--vino);
  color: var(--vino);
  box-shadow: 0 14px 26px -14px rgba(25, 19, 21, 0.25);
}

.btn-ghost {
  background: var(--blanco);
  color: var(--negro);
}

section {
  padding: 88px 0;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.icon-inline {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ANIMATIONS & REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.pop {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pop.show {
  opacity: 1;
  transform: scale(1);
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

/* TOPBAR */
.topbar {
  background: var(--negro);
  color: #cfc4c6;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  flex-wrap: wrap;
}

.topbar .left {
  display: flex;
  gap: 22px;
}

.topbar .left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar .social {
  display: flex;
  gap: 14px;
}

.topbar .social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.topbar .social a:hover {
  background: var(--vino);
  color: #fff;
}

/* HEADER */
header.main {
  background: #fff;
  border-bottom: 1px solid #efe9ea;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.3s ease;
}

header.main.scrolled {
  box-shadow: 0 10px 30px -18px rgba(25, 19, 21, 0.35);
}

header.main .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.logo-img:hover {
  transform: scale(1.02);
}

nav.links {
  display: flex;
  gap: 34px;
  font-weight: 600;
  font-size: 14.5px;
}

nav.links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

nav.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--vino);
  transition: width 0.3s ease;
}

nav.links a:hover {
  color: var(--vino);
}

nav.links a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.header-phone:hover {
  transform: scale(1.02);
}

.header-phone .ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vino);
  transition: background 0.25s ease, color 0.25s ease;
}

.header-phone:hover .ring {
  background: #25d366;
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gris);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--negro);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--negro);
  transition: 0.2s;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

@media(max-width: 900px) {
  nav.links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 100px 30px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 60;
  }

  nav.links.open {
    right: 0;
  }

  nav.links a {
    padding: 14px 0;
    border-bottom: 1px solid #f0ebec;
    font-size: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  header.main .wrap {
    height: 70px;
  }

  .logo-img {
    height: 44px;
  }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 55;
}

.nav-overlay.open {
  display: block;
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--negro) 0%, var(--vino-dark) 55%, var(--vino) 130%);
  padding: 30px 0 85px;
  overflow: hidden;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 44, 72, 0.55), transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 60px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  animation: pulseGlow 7s ease-in-out infinite 1.5s;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow.on-dark {
  color: #e6b9c3;
}

.eyebrow.on-dark::before {
  background: #e6b9c3;
}

.hero h1 {
  color: #fff;
  font-size: 47px;
  margin-bottom: 20px;
}

.hero p.lead {
  color: #cbbfc1;
  font-size: 16.5px;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero .actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.watch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
}

.watch .circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vino);
}

.trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust .avatars {
  display: flex;
}

.trust .avatars div {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--vino-dark);
  margin-left: -10px;
  background: var(--vino-light);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust .avatars div:first-child {
  margin-left: 0;
}

.trust small {
  display: block;
  color: #cbbfc1;
  font-size: 12.5px;
}

.trust strong {
  font-size: 14px;
  color: #fff;
}

/* HERO VISUAL (IMAGE & FLOATING CARDS) */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-img {
  width: 140%;
  max-width: 700px;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: bottom center;
  position: relative;
  left: 65px;
  z-index: 5; /* Imagen gigante por ENCIMA de las tarjetas */
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

.hero-img:hover {
  transform: scale(1.03);
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--negro);
  animation: floatY 5s ease-in-out infinite;
  z-index: 1; /* Tarjetas por DEBAJO de la imagen */
}

/* Tarjeta de Cumplimiento Normativo (Desplazada más a la izquierda y texto en 2 renglones) */
.floating-card.f1 {
  top: 120px;
  left: -70px;
  max-width: 195px;
}

.floating-card.f1 div {
  display: flex;
  flex-direction: column;
}

.floating-card.f1 strong {
  font-size: 14.5px;
  line-height: 1.2;
  color: var(--negro);
}

.floating-card.f1 span {
  display: block;
  max-width: 115px;
  line-height: 1.2;
  white-space: normal;
  font-size: 11.5px;
}

/* CÍRCULO BLANCO DECORATIVO (Más a la derecha, más pequeño 340px y más abajo 90px) */
.floating-card.f2 {
  top: 90px;
  right: -40px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 0;
  z-index: 1; /* Detrás de la imagen */
  animation: floatY 6s ease-in-out infinite 1s;
}

.floating-card.f2 * {
  display: none !important;
}

.floating-card .fc-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vino);
  flex-shrink: 0;
}

.floating-card strong {
  display: block;
  font-size: 18px;
}

.floating-card span {
  font-size: 12px;
  color: #8a7f80;
}

/* Tarjeta Trust (Confían en Nosotros - Desplazada a la izquierda y texto en 2 renglones) */
.trust-card {
  position: absolute;
  left: -60px;
  bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--negro);
  max-width: 200px;
  z-index: 1; /* Detrás de la imagen */
  animation: floatY 6s ease-in-out infinite 0.7s;
}

.trust-card span {
  display: block;
  max-width: 110px;
  line-height: 1.2;
  white-space: normal;
}

.trust-card .avatars {
  display: none !important;
}

.trust-card .avatars div {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -10px;
  background: var(--vino-light);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card .avatars div:first-child {
  margin-left: 0;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: 90px;
  z-index: 1;
  line-height: 0;
}

@media(max-width: 900px) {
  .hero {
    padding: 40px 0 120px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p.lead {
    max-width: 100%;
  }

  .hero-visual {
    height: auto;
    min-height: 280px;
    margin-top: 30px;
    gap: 16px;
    display: flex;
    flex-direction: column;
  }

  .hero-img {
    max-width: 320px;
    width: 85%;
    margin: 0 auto 10px;
  }

  .floating-card.f1 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
  }

  .floating-card.f2 {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
  }

  .trust-card {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 0;
  }
}

/* ABOUT */
.about .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 420px;
}

.about-visual .block {
  position: absolute;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-visual .block-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-visual .block:hover .block-img {
  transform: scale(1.06);
}

.about-visual .b1 {
  width: 64%;
  height: 82%;
  left: 0;
  top: 0;
  border: 1px solid #ecdfe2;
}

.about-visual .b2 {
  width: 52%;
  height: 56%;
  right: 0;
  bottom: 0;
  border: 5px solid #fff;
  z-index: 2;
}

.about-visual .badge {
  position: absolute;
  top: 20px;
  right: 6%;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: center;
  z-index: 3;
}

.about-visual .badge strong {
  font-size: 20px;
  color: var(--vino);
  display: block;
  line-height: 1.2;
  margin-bottom: 2px;
}

.about-visual .badge span {
  font-size: 11.5px;
  color: #8a7f80;
  display: block;
  line-height: 1.3;
}

.about-list {
  margin: 26px 0 30px;
}

.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #f0ebec;
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vino);
  flex-shrink: 0;
}

.about-list h4 {
  font-size: 15.5px;
  margin-bottom: 3px;
}

.about-list p {
  font-size: 13.5px;
  color: #8a7f80;
}

.about p.lead {
  color: #54484a;
  margin-bottom: 8px;
}

@media(max-width: 900px) {
  .about .wrap {
    grid-template-columns: 1fr;
  }

  .about-visual {
    margin-top: 20px;
    height: 320px;
  }
}

/* SERVICES */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: 34px;
}

.section-head p {
  color: #8a7f80;
  margin-top: 12px;
  font-size: 15px;
}

/* MISIÓN Y VISIÓN CARDS */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.mv-card {
  background: var(--gris);
  border-radius: var(--radius);
  padding: 22px 20px;
  border-left: 4px solid var(--vino);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  background: #ffffff;
}

.mv-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mv-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--vino);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mv-head h3 {
  font-size: 18px;
  color: var(--vino);
}

.mv-card p {
  font-size: 13px;
  color: #54484a;
  line-height: 1.55;
}

/* SERVICES 7 GRID */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: 34px;
}

.section-head p {
  color: var(--gris-med);
  margin-top: 12px;
  font-size: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--gris);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.service-card:hover {
  background: #ffffff;
  border-color: var(--vino-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vino);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .ic {
  background: var(--vino);
  color: #ffffff;
}

.service-num-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--gris-logo);
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.service-card h4 {
  font-size: 17px;
  color: var(--negro);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 13.5px;
  color: var(--gris-med);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vino);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s ease;
}

.service-card:hover .service-action-btn {
  color: var(--vino-light);
}

.service-action-btn svg {
  transition: transform 0.25s ease;
}

.service-card:hover .service-action-btn svg {
  transform: translateX(4px);
}

.services-cta {
  text-align: center;
  margin-top: 40px;
}

/* INTERACTIVE SERVICES DETAIL SECTION (TABS & COLLAPSIBLES) */
.service-details-wrapper {
  margin-top: 60px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #efe9ea;
  box-shadow: var(--shadow);
  padding: 40px;
}

.service-details-head {
  text-align: center;
  margin-bottom: 30px;
}

.service-details-head h3 {
  font-size: 24px;
  color: var(--negro);
  margin-bottom: 8px;
}

.service-details-head p {
  font-size: 14px;
  color: var(--gris-med);
}

.service-tabs-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 28px;
  scrollbar-width: thin;
}

.service-tab-btn {
  padding: 10px 18px;
  border-radius: 30px;
  background: var(--gris);
  border: 1px solid transparent;
  color: var(--negro);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s ease;
}

.service-tab-btn:hover,
.service-tab-btn.active {
  background: var(--vino);
  color: #ffffff;
  border-color: var(--vino);
}

.service-detail-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.service-detail-panel.active {
  display: block;
}

.service-detail-panel h4 {
  font-size: 20px;
  color: var(--vino);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.subtopics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin: 20px 0 28px;
}

.subtopic-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #42383a;
  background: var(--gris);
  padding: 12px 16px;
  border-radius: 10px;
}

.subtopic-item svg {
  color: var(--vino);
  flex-shrink: 0;
  margin-top: 2px;
}

.allies-badge-list {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ally-badge {
  background: #ffffff;
  border: 1.5px solid var(--vino-light);
  color: var(--vino);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
}

/* SERVICE MODAL POPUP */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  padding: 36px;
}

.service-modal-overlay.open .service-modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gris);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--negro);
  transition: background 0.2s;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .subtopics-grid {
    grid-template-columns: 1fr;
  }
}

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

/* MORE THAN */
.more-section {
  background: var(--negro);
  color: #fff;
}

.more-section .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.more-section h2 {
  font-size: 33px;
  color: #fff;
  margin-bottom: 18px;
}

.more-section .about-list .ic {
  background: rgba(255, 255, 255, 0.08);
}

.more-section .about-list li {
  border-color: rgba(255, 255, 255, 0.08);
}

.more-section .about-list p {
  color: #b7abac;
}

.stat-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  min-height: 260px;
  background:
    linear-gradient(155deg, rgba(25, 19, 21, 0.88), rgba(76, 18, 37, 0.82)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 12px, transparent 12px 24px);
}

.stat-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 90%, rgba(140, 44, 72, 0.55), transparent 60%);
  pointer-events: none;
}

.stat-box .stat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-box .stat .si {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.stat-box .stat strong {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  display: block;
  color: #fff;
  margin-bottom: 2px;
}

.stat-box .stat span {
  font-size: 12px;
  opacity: 0.85;
  display: block;
  line-height: 1.35;
}

@media(max-width: 900px) {
  .more-section .wrap {
    grid-template-columns: 1fr;
  }

  .stat-box {
    grid-template-columns: 1fr 1fr;
    padding: 26px;
    gap: 18px;
  }
}

@media(max-width: 560px) {
  .stat-box {
    grid-template-columns: 1fr;
  }
}

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

.pf-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
  background: linear-gradient(160deg, var(--vino), var(--negro));
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  box-shadow: 0 10px 30px -12px rgba(25, 19, 21, 0.35);
}

.pf-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -15px rgba(25, 19, 21, 0.5);
}

.pf-card .pf-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

.pf-card:hover .pf-img {
  transform: scale(1.08);
}

.pf-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 19, 21, 0.2) 0%, rgba(25, 19, 21, 0.88) 100%);
  z-index: 1;
  transition: background 0.35s ease;
}

.pf-card:hover::before {
  background: linear-gradient(180deg, rgba(122, 24, 39, 0.2) 0%, rgba(25, 19, 21, 0.94) 100%);
}

.pf-card .pf-ic {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pf-card h4 {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* PROCESS */
.process {
  background: var(--gris);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #d8ccce 0 8px, transparent 8px 16px);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 14px;
}

.process-step .num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--vino);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: #8a7f80;
}

@media(max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .process-grid::before {
    display: none;
  }
}

/* PARTNERS / ALIADOS */
.partners-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.partners-cta {
  position: relative;
  background: linear-gradient(160deg, var(--vino), var(--negro));
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.partners-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  animation: pulseGlow 5s ease-in-out infinite;
}

.arl-logos-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.arl-logo-img-wrapper {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arl-logo-img-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.arl-logo-img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
}

.partners-cta h3 {
  font-size: 25px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.partners-cta p {
  color: #d8cdcf;
  font-size: 14.5px;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.partners-list {
  background: var(--gris);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: center;
}

.partner-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 10px 25px -14px rgba(25, 19, 21, 0.18);
  transition: transform 0.35s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
}

.partner-card .p-ic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gris);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--vino);
  padding: 6px;
}

.partner-card .p-ic img {
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}

.partner-card h4 {
  font-size: 13.5px;
}

.partner-card span {
  font-size: 11px;
  color: #8a7f80;
}

@media(max-width: 900px) {
  .partners-wrap {
    grid-template-columns: 1fr;
  }

  .partners-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* STATS ROW */
.stats-row {
  padding: 60px 0;
}

.stats-row .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stats-row .stat strong {
  font-size: 36px;
  color: var(--vino);
  display: block;
}

.stats-row .stat span {
  font-size: 13px;
  color: #8a7f80;
}

/* SOFTWARE */
.software-section {
  background: var(--negro);
  color: #fff;
}

.software-section .wrap {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.software-section h2 {
  color: #fff;
  font-size: 33px;
  margin-bottom: 16px;
}

.software-section p.lead {
  color: #b7abac;
  margin-bottom: 6px;
}

.software-section .about-list .ic {
  background: rgba(255, 255, 255, 0.08);
}

.software-section .about-list li {
  border-color: rgba(255, 255, 255, 0.08);
}

.software-section .about-list p {
  color: #b7abac;
}

.software-visual {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--vino), var(--vino-dark) 55%, var(--negro));
  box-shadow: var(--shadow);
  padding: 30px;
  min-height: 380px;
}

.software-mock {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px;
}

.software-mock .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.software-mock .row:last-child {
  border-bottom: none;
}

.software-mock .row .lbl {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e9e0e2;
}

.software-mock .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fce7a;
}

.software-mock .badge-ok {
  font-size: 11px;
  background: rgba(63, 206, 122, 0.15);
  color: #3fce7a;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.privacy-note {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
  font-size: 12.5px;
  color: #d8cdcf;
}

.privacy-note .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

@media(max-width: 900px) {
  .software-section .wrap {
    grid-template-columns: 1fr;
  }

  .software-visual {
    margin-top: 10px;
  }
}

/* FAQ */
.faq {
  background: var(--gris);
}

.faq .wrap {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
}

.faq-visual {
  width: 100%;
  border-radius: 22px;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: block;
}

.faq-visual .faq-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.faq-visual:hover .faq-img {
  transform: scale(1.03);
}

.faq-visual .fc {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--negro);
  z-index: 2;
}

.faq-item {
  border-bottom: 1px solid #e6dcdf;
  padding: 18px 0;
  cursor: pointer;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15.5px;
}

.faq-q .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vino);
  flex-shrink: 0;
  transition: 0.25s;
  font-size: 16px;
}

.faq-item.open .plus {
  background: var(--vino);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  font-size: 13.5px;
  color: #54484a;
}

.faq-item.open .faq-a {
  max-height: 160px;
  margin-top: 12px;
}

@media(max-width: 900px) {
  .faq .wrap {
    grid-template-columns: 1fr;
  }

  .faq-visual {
    margin-bottom: 20px;
    height: auto;
  }
}

/* VIDEOS SECTION & HORIZONTAL SCROLL */
.video-filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.v-tab {
  background: #f4ecee;
  border: 1px solid rgba(122, 24, 39, 0.08);
  color: #4a4244;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.v-tab:hover {
  background: #eae0e3;
  color: var(--vino);
  transform: translateY(-1px);
}

.v-tab.active {
  background: var(--vino);
  color: #fff;
  border-color: var(--vino);
  box-shadow: 0 4px 14px rgba(122, 24, 39, 0.25);
}

.v-count {
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
}

.v-tab.active .v-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.video-scroll-wrapper {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.video-scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 12px 6px 28px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--vino) #f4ecee;
}

.video-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.video-scroll-container::-webkit-scrollbar-track {
  background: #f4ecee;
  border-radius: 4px;
}

.video-scroll-container::-webkit-scrollbar-thumb {
  background: var(--vino);
  border-radius: 4px;
}

.video-scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--vino-dark, #59101b);
}

.video-card.scroll-item {
  flex: 0 0 230px;
  width: 230px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  text-decoration: none;
}

.video-card.scroll-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(122, 24, 39, 0.15);
}

.video-thumb {
  position: relative;
  height: 310px;
  background: linear-gradient(155deg, #2b080d, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.v-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.v-type-badge.badge-short {
  background: rgba(220, 38, 38, 0.85);
}

.v-type-badge.badge-video {
  background: rgba(122, 24, 39, 0.85);
}

.video-thumb .v-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}

.video-card:hover .v-img {
  transform: scale(1.08);
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.video-card:hover .video-thumb::after {
  background: linear-gradient(180deg, rgba(122, 24, 39, 0.25) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.video-card:hover .play-btn {
  background: #fff;
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(122, 24, 39, 0.4);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--vino);
  stroke: none;
  margin-left: 3px;
}

.video-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.video-body .tag {
  font-size: 10.5px;
  color: var(--vino);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.video-body h4 {
  font-size: 14px;
  margin: 6px 0 8px;
  color: var(--negro);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-body .watch-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--vino);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: color 0.2s;
}

.video-card:hover .watch-link {
  color: #a01c31;
}

.video-scroll-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--vino);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.video-scroll-btn.prev {
  left: -22px;
}

.video-scroll-btn.next {
  right: -22px;
}

.video-scroll-btn:hover:not(:disabled) {
  background: var(--vino);
  color: #fff;
  box-shadow: 0 10px 25px rgba(122, 24, 39, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.video-scroll-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  box-shadow: none;
}

.video-scroll-hint {
  text-align: center;
  font-size: 12.5px;
  color: #887d7f;
  margin-top: 10px;
  font-weight: 500;
}

@media(max-width: 900px) {
  .video-card.scroll-item {
    flex: 0 0 200px;
    width: 200px;
  }
  .video-thumb {
    height: 270px;
  }
  .video-scroll-btn.prev {
    left: -8px;
  }
  .video-scroll-btn.next {
    right: -8px;
  }
}

/* FOOTER */
footer {
  background: var(--negro);
  color: #cfc4c6;
  padding: 70px 0 0;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 13.5px;
}

.footer-grid li a:hover {
  color: #fff;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-logo-img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.footer-about p {
  font-size: 13.5px;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  background: var(--vino);
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact li svg {
  margin-top: 3px;
  color: var(--vino-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: #cfc4c6;
  text-decoration: underline;
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-credit {
  color: #a09596;
  font-size: 12px;
}

.footer-credit a {
  color: #cfc4c6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-credit a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* LEGAL PAGES STYLES */
.legal-page {
  padding: 40px 0 90px;
  background: var(--gris);
}

.legal-header {
  background: linear-gradient(150deg, var(--negro) 0%, var(--vino-dark) 55%, var(--vino) 130%);
  color: #fff;
  padding: 60px 0 80px;
  text-align: center;
  position: relative;
}

.legal-header h1 {
  font-size: 36px;
  margin-bottom: 12px;
  color: #fff;
}

.legal-header p {
  color: #cbbfc1;
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.legal-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 48px;
  border: 1px solid #efe9ea;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}

.legal-body {
  color: #42383a;
  line-height: 1.7;
  font-size: 15px;
}

.legal-body h2 {
  font-size: 20px;
  color: var(--vino);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gris);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-body li {
  margin-bottom: 8px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--vino);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s ease;
}

.back-btn:hover {
  transform: translateX(-4px);
}

/* SMALL MOBILE FIXES */
@media(max-width: 600px) {
  .topbar .left {
    gap: 12px;
    font-size: 11px;
  }

  .topbar .left span:nth-child(3) {
    display: none;
  }

  section {
    padding: 60px 0;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .stats-row .wrap {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .legal-card {
    padding: 24px;
  }
}

/* BOTÓN FLOTANTE DE WHATSAPP */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 998;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
  background: #20ba59;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}