* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(46, 204, 113, 0.08), transparent 30%),
    radial-gradient(circle at right center, rgba(52, 152, 219, 0.08), transparent 28%),
    #f5f7fb;
  margin: 0;
  padding: 0;
  color: #102033;
}

/* =========================
   Barra superior
========================= */

.topbar {
  min-height: 86px;
  background: linear-gradient(to right, #24bf66, #0071c8);
  color: white;
  padding: 16px 36px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  gap: 10px 18px;
  align-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.brand-area {
  order: 1;
}

.brand-area h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.top-login-form {
  order: 2;
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-login-form input {
  width: 245px;
  height: 48px;
  padding: 0 16px;
  border: 2px solid rgba(16, 32, 51, 0.20);
  border-radius: 9px;
  background: #ffffff;
  color: #102033;
  font-size: 16px;
  outline: none;
}

.top-login-form input:focus {
  border-color: #f39c12;
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.18);
}

.top-login-form button {
  height: 48px;
  min-width: 142px;
  padding: 0 24px;
  border: none;
  border-radius: 9px;
  background: #f39c12;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.top-login-form button:hover {
  background: #e67e22;
  transform: translateY(-1px);
}

.top-links {
  order: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 170px;
}

.top-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.top-links a:hover {
  text-decoration: underline;
}

.header-logo {
  order: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.14);
}

.main-nav {
  order: 5;
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.main-nav a {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  transition: color 0.22s ease;
}

.main-nav a:hover {
  background: transparent;
  transform: none;
  text-decoration: underline;
}

/* =========================
   Estructura principal
========================= */

.landing-page {
  width: min(1500px, calc(100% - 64px));
  margin: 0 auto;
  padding: 42px 0 28px;
}

/* =========================
   Hero
========================= */

.hero-section {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 540px);
  gap: 52px;
  align-items: center;
  margin-bottom: 34px;
}

.hero-content {
  padding: 18px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(46, 204, 113, 0.13);
  color: #0f8f45;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-content h2 {
  margin: 0;
  max-width: 720px;
  color: #102033;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.hero-content h2 span {
  display: block;
  color: #15964d;
}

.hero-content p {
  max-width: 670px;
  margin: 22px 0 26px;
  color: #42516a;
  font-size: 18px;
  line-height: 1.45;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 260px));
  gap: 18px;
}

.btn-primary,
.btn-secondary,
.btn-app-download {
  height: 50px;
  border-radius: 9px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(to right, #20bf62, #10a64f);
}

.btn-secondary {
  background: linear-gradient(to right, #0c73c7, #005bac);
}

.btn-app-download {
  background: linear-gradient(to right, #e89e27, #f03b09);
}

.btn-app-download::before {
  content: "▶";
  font-size: 15px;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-app-download:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 260px));
  gap: 18px;
  margin-top: 10px;
  color: #526078;
  font-size: 12px;
  text-align: center;
}

/* =========================
   Tarjeta de video
========================= */

.video-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.12);
}

.video-card h3 {
  margin: 0 0 14px;
  color: #102033;
  text-align: center;
  font-size: 14px;
}

.video-preview {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.10), rgba(16, 32, 51, 0.06)),
    linear-gradient(135deg, #f6efe6, #d8eef4);
}

.video-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(to top, rgba(16, 32, 51, 0.80), rgba(16, 32, 51, 0.10) 58%, transparent 100%);
}

.video-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Se conservan estos estilos por compatibilidad si alguna versión anterior usa figuras CSS */
.video-worker {
  position: absolute;
  left: 70px;
  bottom: 56px;
  width: 170px;
  height: 200px;
  z-index: 2;
}

.worker-face {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #f7c79d, #cf8f68);
  margin: 0 auto;
  position: relative;
  box-shadow: 0 -10px 0 #1f2430;
}

.worker-face::before,
.worker-face::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 7px;
  height: 7px;
  background: #102033;
  border-radius: 50%;
}

.worker-face::before {
  left: 23px;
}

.worker-face::after {
  right: 23px;
}

.worker-body {
  width: 125px;
  height: 98px;
  margin: -4px auto 0;
  border-radius: 38px 38px 12px 12px;
  background: #ffffff;
  box-shadow: inset 0 -22px 0 rgba(255, 255, 255, 0.75);
}

.worker-apron {
  position: absolute;
  left: 39px;
  top: 82px;
  width: 92px;
  height: 118px;
  border-radius: 15px 15px 8px 8px;
  background: #12263d;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.play-button {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0b2946;
  font-size: 31px;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  transition: 0.25s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.video-message {
  position: absolute;
  z-index: 3;
  left: 24px;
  top: 76px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
  font-size: 26px;
  line-height: 1.08;
  font-weight: 700;
}

.video-message span:nth-child(2) {
  color: #fbf306;
}

.video-message span:nth-child(3) {
  color: #04fb4e;
}

.video-bar {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 48px;
  padding: 15px 24px;
  background: rgba(8, 22, 38, 0.86);
  color: #ffffff;
  font-weight: 700;
}

/* =========================
   Tarjetas informativas
========================= */

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.10);
}

.info-icon {
  flex: 0 0 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
}

.info-icon.green {
  background: rgba(46, 204, 113, 0.13);
}

.info-icon.blue {
  background: rgba(52, 152, 219, 0.13);
}

.info-icon.orange {
  background: rgba(243, 156, 18, 0.15);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.info-card:nth-child(1) h3 {
  color: #15964d;
}

.info-card:nth-child(2) h3 {
  color: #0067bd;
}

.info-card:nth-child(3) h3 {
  color: #f07800;
}

.info-card p {
  margin: 0;
  color: #334155;
  line-height: 1.45;
  font-size: 15px;
}

/* =========================
   Cómo funciona
========================= */

.how-it-works {
  margin-bottom: 30px;
  padding: 34px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.08);
}

.how-header {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.how-header span {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 119, 204, 0.10);
  color: #0067bd;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.how-header h2 {
  margin: 0;
  color: #102033;
  font-size: 34px;
  line-height: 1.15;
}

.how-header p {
  margin: 12px 0 0;
  color: #526078;
  font-size: 17px;
  line-height: 1.45;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  position: relative;
  padding: 26px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.06), rgba(0, 168, 107, 0.06));
  border: 1px solid rgba(15, 55, 95, 0.08);
  text-align: center;
}

.step-number {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(to right, #20bf62, #0071c8);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 8px;
  color: #102033;
  font-size: 20px;
}

.step-card p {
  margin: 0;
  color: #526078;
  font-size: 14px;
  line-height: 1.45;
}

/* =========================
   Servicios
========================= */

.services-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.service-card {
  min-height: 230px;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.10);
}

.service-illustration {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #eef7ff;
}

.service-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

/* Se conservan estos estilos por compatibilidad si alguna versión anterior usa figuras CSS */
.service-one .service-illustration {
  background: linear-gradient(135deg, #fff2df, #d8edf6);
}

.service-two .service-illustration {
  background: linear-gradient(135deg, #eef7ff, #f9efe3);
}

.service-three .service-illustration {
  background: linear-gradient(135deg, #fff6e5, #f0f8ed);
}

.service-four .service-illustration {
  background: linear-gradient(135deg, #f2f6ff, #e8fbf2);
}

.service-five .service-illustration {
  background: linear-gradient(135deg, #fff0f6, #eaf6ff);
}

.service-six .service-illustration {
  background: linear-gradient(135deg, #eaf7ff, #fff2e5);
}

.service-person {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 86px;
  height: 120px;
  transform: translateX(-50%);
  border-radius: 45px 45px 16px 16px;
  background:
    radial-gradient(circle at center 20px, #e9a77f 0 26px, transparent 27px),
    linear-gradient(to bottom, transparent 0 45px, #11385c 46px 100%);
  box-shadow: 0 20px 30px rgba(16, 32, 51, 0.12);
}

.service-person::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  width: 40px;
  height: 21px;
  border-radius: 30px 30px 6px 6px;
  background: #20242c;
}

.service-shape {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 42px;
  border-radius: 999px 999px 0 0;
  background: rgba(255, 255, 255, 0.45);
}

.service-label {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #102033;
}

.service-label span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(46, 204, 113, 0.14);
  font-size: 18px;
}

.service-label strong {
  font-size: 14px;
  line-height: 1.2;
}

/* =========================
   Confianza
========================= */

.trust-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) 1fr;
  gap: 24px;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 55, 95, 0.08);
  border-radius: 18px;
  padding: 28px 34px;
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.08);
}

.trust-message {
  display: flex;
  gap: 20px;
  align-items: center;
}

.trust-message span {
  flex: 0 0 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 4px solid #0067bd;
  border-radius: 16px;
  color: #0067bd;
  font-size: 28px;
  font-weight: 900;
}

.trust-message p {
  margin: 0;
  color: #0c3971;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-items div {
  min-height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  border-left: 1px solid rgba(15, 55, 95, 0.14);
}

.trust-items strong {
  font-size: 30px;
}

.trust-items span {
  color: #102033;
  font-size: 13px;
  font-weight: 700;
}

/* =========================
   Contacto
========================= */

.contact-section {
  margin-top: 34px;
  padding: 36px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(0, 119, 204, 0.08), rgba(0, 168, 107, 0.08)),
    #ffffff;
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.08);
}

.contact-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.contact-header span {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(46, 204, 113, 0.13);
  color: #0f8f45;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.contact-header h2 {
  margin: 0;
  color: #102033;
  font-size: 34px;
  line-height: 1.15;
}

.contact-header p {
  margin: 12px 0 0;
  color: #526078;
  font-size: 17px;
  line-height: 1.45;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(15, 55, 95, 0.08);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.contact-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(0, 119, 204, 0.10);
  font-size: 28px;
  margin-bottom: 14px;
}

.contact-card h3 {
  margin: 0 0 8px;
  color: #102033;
  font-size: 20px;
}

.contact-card p {
  margin: 0 0 16px;
  color: #526078;
  font-size: 14px;
  line-height: 1.45;
}

.contact-actions,
.whatsapp-actions {
  display: grid;
  gap: 10px;
}

.contact-actions a,
.whatsapp-actions a {
  min-height: 42px;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: 0.22s ease;
}

.contact-actions a {
  background: #f1f5f9;
  color: #0c3971;
}

.whatsapp-actions a {
  background: linear-gradient(to right, #20bf62, #10a64f);
  color: #ffffff;
}

.contact-actions a:hover,
.whatsapp-actions a:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.contact-actions.single a {
  word-break: break-word;
  text-align: center;
  padding: 0 10px;
}

.contact-location {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 119, 204, 0.08);
}

.contact-location strong {
  color: #0c3971;
  font-size: 16px;
}

.contact-location span {
  color: #526078;
  font-size: 14px;
  line-height: 1.35;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-list div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.schedule-list strong {
  color: #102033;
  font-size: 14px;
}

.schedule-list span {
  color: #526078;
  font-size: 14px;
}

/* =========================
   Footer
========================= */

.site-footer {
  margin-top: 34px;
  margin-bottom: 145px;
  padding: 26px 32px;
  border-radius: 18px;
  background: #102033;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 5px;
}

.footer-brand div {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-size: 19px;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-align: right;
}

/* =========================
   WhatsApp flotante
========================= */

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9000;
  display: grid;
  gap: 8px;
  width: 210px;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(16, 32, 51, 0.22);
  border: 1px solid rgba(15, 55, 95, 0.08);
}

.floating-whatsapp span {
  color: #102033;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.floating-whatsapp a {
  min-height: 40px;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(to right, #20bf62, #10a64f);
  transition: 0.22s ease;
}

.floating-whatsapp a:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* =========================
   Modales
========================= */

body.modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 22, 38, 0.72);
  backdrop-filter: blur(5px);
}

.video-modal.is-open {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: min(760px, 100%);
  background: #ffffff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.video-modal-content h3 {
  margin: 0 48px 18px 0;
  color: #102033;
  font-size: 24px;
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #102033;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}

.video-modal-close:hover {
  background: #e2e8f0;
  transform: scale(1.04);
}

.video-modal-placeholder {
  min-height: 340px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  text-align: center;
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 119, 204, 0.90), rgba(0, 168, 107, 0.88)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 32%);
}

.video-modal-placeholder img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 8px;
}

.video-modal-placeholder .modal-preview-img {
  width: min(560px, 100%);
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
  background: transparent;
  padding: 0;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}

.video-modal-placeholder strong {
  font-size: 26px;
  line-height: 1.2;
}

.video-modal-placeholder span {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.45;
}

.video-modal-note {
  margin: 16px 0 0;
  color: #526078;
  text-align: center;
  font-size: 14px;
}

/* =========================
   Modal de app
========================= */

.app-modal-content {
  max-width: 680px;
}

.app-modal-box {
  min-height: 340px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  text-align: center;
  padding: 36px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 168, 107, 0.94), rgba(0, 119, 204, 0.92)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 32%);
}

.app-modal-box img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 8px;
}

.app-modal-box strong {
  font-size: 28px;
  line-height: 1.2;
}

.app-modal-box span {
  max-width: 530px;
  font-size: 17px;
  line-height: 1.45;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.app-store-badge > span {
  width: auto;
  font-size: 24px;
  line-height: 1;
}

.app-store-badge div {
  display: grid;
  text-align: left;
  line-height: 1.1;
}

.app-store-badge small {
  font-size: 11px;
  opacity: 0.85;
}

.app-store-badge b {
  font-size: 20px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .brand-area {
    order: 1;
  }

  .header-logo {
    order: 2;
  }

  .top-login-form {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .top-links {
    order: 4;
    grid-column: 1 / -1;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 5;
    grid-column: 1 / -1;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .services-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 860px) {
  .landing-page {
    width: min(100% - 28px, 1500px);
    padding-top: 24px;
  }

  .topbar {
    padding: 14px 18px;
  }

  .brand-area h1 {
    font-size: 24px;
  }

  .top-login-form {
    flex-direction: column;
    width: 100%;
  }

  .top-login-form input,
  .top-login-form button {
    width: 100%;
  }

  .hero-actions,
  .hero-notes {
    grid-template-columns: 1fr;
  }

.video-message {
  left: 24px;
  right: auto;
  top: 72px;
  max-width: 260px;
  font-size: 22px;
}

  .video-worker {
    left: 34px;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .services-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-section {
    grid-template-columns: 1fr;
  }

  .trust-items {
    grid-template-columns: 1fr;
  }

  .trust-items div {
    border-left: none;
    border-top: 1px solid rgba(15, 55, 95, 0.14);
    padding: 14px 0;
  }
}

@media (max-width: 620px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 14px;
    padding: 0;
  }

  .how-it-works {
    padding: 24px 18px;
  }

  .how-header h2,
  .contact-header h2 {
    font-size: 28px;
  }

  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 24px 18px;
  }

  .floating-whatsapp {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .floating-whatsapp span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .topbar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-logo {
    justify-content: center;
  }

  .hero-content h2 {
    font-size: 18px;
  }

  .services-gallery {
    grid-template-columns: 1fr;
  }

  .video-preview {
    min-height: 260px;
  }

  .video-worker {
    transform: scale(0.82);
    transform-origin: bottom left;
    left: 18px;
  }

.video-message {
  left: 18px;
  right: auto;
  top: 68px;
  max-width: 230px;
  font-size: 19px;
}

  .video-modal {
    padding: 14px;
  }

  .video-modal-content {
    padding: 20px;
  }

  .video-modal-content h3 {
    font-size: 20px;
  }

  .video-modal-placeholder {
    min-height: 280px;
    padding: 24px;
  }

  .video-modal-placeholder .modal-preview-img {
    height: 170px;
  }

  .video-modal-placeholder strong {
    font-size: 21px;
  }

  .video-modal-placeholder span {
    font-size: 15px;
  }

  .app-modal-box {
    min-height: 290px;
    padding: 24px;
  }

  .app-modal-box strong {
    font-size: 22px;
  }

  .app-modal-box span {
    font-size: 15px;
  }
}
.modal-video-player {
  width: 100%;
  max-height: 70vh;
  display: block;
  border-radius: 16px;
  background: #000000;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}
/* =========================================================
   AJUSTE VISUAL HOME - subir bienvenida y reducir espacio
   ========================================================= */

.landing-page {
  padding-top: 10px !important;
}

.hero-section {
  margin-top: 0 !important;
  padding-top: 0 !important;
  gap: 42px !important;
  align-items: start !important;
}

.hero-content {
  padding-top: 0 !important;
}

.hero-badge {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}