:root {
  --tuenlace-petroleum: #0F2E3A;
  --tuenlace-teal: #1FB8A6;
  --tuenlace-amber: #F4B63A;
  --tuenlace-graphite: #33363A;
  --tuenlace-white: #FFFFFF;
  --tuenlace-light: #F8FAFA;
  --tuenlace-soft-gray: #F4F6F7;
  --tuenlace-border: #D9E1E5;
  --font-main: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow-soft: 0 24px 80px rgba(15, 46, 58, 0.12);
  --shadow-card: 0 16px 50px rgba(15, 46, 58, 0.09);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  background:
    radial-gradient(circle at top left, rgba(31,184,166,0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--tuenlace-light) 100%);
  color: var(--tuenlace-graphite);
  line-height: 1.6;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; position: relative; z-index: 2; }
.narrow { width: min(830px, calc(100% - 40px)); }
.center { text-align: center; }
.section-pad { padding: clamp(72px, 8vw, 120px) 0; position: relative; overflow: hidden; }
.section-pad::before {
  content: "";
  position: absolute;
  inset: auto -10% -100px -10%;
  height: 180px;
  background: linear-gradient(90deg, rgba(31,184,166,0.05), rgba(244,182,58,0.05));
  transform: skewY(-4deg);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 250, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 225, 229, 0.7);
}
.header-inner, .footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 18px 0;
}
.site-logo-img, .custom-logo { display: block; width: min(230px, 52vw); height: auto; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  position: relative; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--tuenlace-petroleum);
}
.primary-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--tuenlace-amber); transition: width var(--transition);
}
.primary-nav ul a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--tuenlace-petroleum), #164454); color: var(--tuenlace-white) !important;
  box-shadow: 0 12px 30px rgba(15,46,58,0.18);
}
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--tuenlace-border); border-radius: 50%; background: var(--tuenlace-white);
}
.menu-toggle span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--tuenlace-petroleum); }
.screen-reader-text { position: absolute; clip: rect(1px, 1px, 1px, 1px); }

.eyebrow {
  margin: 0 0 14px; color: var(--tuenlace-teal); font-size: 13px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
}
h1, h2, h3 { margin: 0; color: var(--tuenlace-petroleum); letter-spacing: -0.045em; line-height: 1.02; }
h1 { font-size: clamp(44px, 7vw, 82px); max-width: 900px; }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
.hero-subtitle, section p { font-size: clamp(17px, 1.45vw, 20px); }

.hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15,46,58,0.94) 0%, rgba(15,46,58,0.83) 37%, rgba(15,46,58,0.58) 55%, rgba(15,46,58,0.28) 100%),
    url("../images/hero-banner-bg.png") center/cover no-repeat;
  color: var(--tuenlace-white);
}
.hero::before,
.hero::after {
  content: ""; position: absolute; pointer-events: none; filter: blur(8px); opacity: 0.85;
}
.hero::before {
  width: 48vw; height: 48vw; max-width: 720px; max-height: 720px; left: -10%; top: -10%;
  background: radial-gradient(circle, rgba(31,184,166,0.26) 0%, rgba(31,184,166,0.08) 30%, transparent 65%);
  animation: heroPulse 9s ease-in-out infinite alternate;
}
.hero::after {
  width: 34vw; height: 34vw; max-width: 540px; max-height: 540px; right: -8%; bottom: -8%;
  background: radial-gradient(circle, rgba(244,182,58,0.22) 0%, rgba(244,182,58,0.08) 35%, transparent 68%);
  animation: heroFloat 11s ease-in-out infinite alternate;
}
.hero .eyebrow, .hero h1 { color: var(--tuenlace-white); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(44px, 6vw, 90px); align-items: center;
}
.hero-subtitle { max-width: 720px; margin: 28px 0; color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 22px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--tuenlace-amber), #f7ca6f); color: var(--tuenlace-petroleum); box-shadow: 0 16px 34px rgba(244,182,58,0.26);
}
.button-secondary {
  background: rgba(255,255,255,0.08); color: var(--tuenlace-white); border-color: rgba(255,255,255,0.36); backdrop-filter: blur(8px);
}
.button-light { background: var(--tuenlace-white); color: var(--tuenlace-petroleum); }
.microcopy { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.microcopy li {
  padding: 8px 12px; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.95);
}

.helmet-card { position: relative; min-height: 520px; display: grid; place-items: center; }
.helmet-shape {
  width: min(520px, 90vw); aspect-ratio: 1.08 / 1; border-radius: 50% 46% 44% 52%;
  background: radial-gradient(circle at 74% 29%, rgba(255,255,255,0.15), transparent 18%), linear-gradient(145deg, #0B141A, #162B35 60%, #060B0E);
  box-shadow: var(--shadow-soft); position: relative; animation: floatItem 6s ease-in-out infinite;
}
.helmet-shape::before {
  content: ""; position: absolute; inset: 22% 12% auto 46%; height: 35%; border-radius: 40px 90px 36px 60px; background: rgba(255, 255, 255, 0.08); transform: skew(-10deg);
}
.helmet-shape::after {
  content: ""; position: absolute; left: -4%; bottom: 10%; width: 42%; height: 8px; background: linear-gradient(90deg, transparent, rgba(31,184,166,0.75), transparent); border-radius: 999px; transform: rotate(-10deg); filter: blur(2px);
}
.sticker {
  position: absolute; right: 9%; top: 34%; width: 240px; min-height: 172px; transform: rotate(5deg); border: 4px solid var(--tuenlace-white); border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,46,58,0.98), rgba(18,61,76,0.98)); padding: 14px; color: var(--tuenlace-white); box-shadow: 0 18px 42px rgba(0,0,0,0.34);
}
.sticker img { width: 132px; filter: brightness(0) invert(1); }
.sticker strong { display: block; margin-top: 12px; line-height: 1.1; font-size: 18px; }
.sticker strong span { color: var(--tuenlace-amber); }
.sticker-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding: 10px; border-radius: 12px; background: linear-gradient(135deg, var(--tuenlace-teal), #23d0bc);
}
.sticker-bottom small { font-weight: 900; font-size: 14px; line-height: 1.1; color: var(--tuenlace-petroleum); }
.qr-placeholder {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 2px;
  padding: 4px;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.qr-placeholder::before,
.qr-placeholder::after,
.qr-placeholder .qr-c::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #111;
  background: transparent;
}
.qr-placeholder::before { left: 4px; top: 4px; }
.qr-placeholder::after { right: 4px; top: 4px; }
.qr-placeholder .qr-c::before { left: -1px; top: -1px; }
.qr-block {
  display: block;
  width: 100%;
  height: 100%;
  background: #111;
}
.qr-a { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.qr-b { grid-column: 6 / span 2; grid-row: 1 / span 2; }
.qr-c { grid-column: 1 / span 2; grid-row: 6 / span 2; position: relative; }
.qr-d { grid-column: 4; grid-row: 2; }
.qr-e { grid-column: 4 / span 2; grid-row: 4 / span 2; }
.qr-f { grid-column: 3; grid-row: 6; }
.qr-g { grid-column: 6; grid-row: 5; }
.qr-h { grid-column: 5; grid-row: 7; }
.qr-i { grid-column: 7; grid-row: 7; background: var(--tuenlace-teal); }
.floating-card {
  position: absolute; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.15); border-radius: 18px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); box-shadow: 0 18px 60px rgba(15, 46, 58, 0.14);
}
.floating-card span { display: block; color: rgba(255,255,255,0.78); font-size: 13px; }
.floating-card strong { color: var(--tuenlace-white); font-size: 16px; }
.floating-card-one { left: 0; top: 12%; animation: floatCard 5.5s ease-in-out infinite; }
.floating-card-two { right: 0; bottom: 12%; animation: floatCard 6.2s ease-in-out infinite reverse; }

.problem {
  background: linear-gradient(135deg, var(--tuenlace-petroleum) 0%, #133b4a 100%); color: var(--tuenlace-white);
}
.problem::before {
  content: ""; position: absolute; right: -10%; top: -10%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(244,182,58,0.28), transparent 62%); animation: heroPulse 8s ease-in-out infinite alternate;
}
.problem h2, .problem .eyebrow { color: var(--tuenlace-white); }
.problem p { color: rgba(255,255,255,0.84); }

.section-heading { max-width: 740px; margin-bottom: 38px; }
.cards { display: grid; gap: 22px; }
.three { grid-template-columns: repeat(3, 1fr); }
.card, .privacy-box, .pro-box, .phone-frame, .feature-item, details {
  border: 1px solid var(--tuenlace-border); border-radius: var(--radius-lg); background: var(--tuenlace-white); box-shadow: var(--shadow-card); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover, .feature-item:hover, details:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 56px rgba(15,46,58,0.11);
}
.card { padding: clamp(24px, 3vw, 34px); position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--tuenlace-teal), var(--tuenlace-amber));
}
.step-number {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(31,184,166,0.12); color: var(--tuenlace-teal); font-weight: 900; margin-bottom: 22px;
}

.how {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}
.how .eyebrow { color: var(--tuenlace-amber); }

.split, .scan-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 82px); align-items: center; }

.speed-banner {
  padding: 0;
  min-height: clamp(280px, 42vw, 560px);
  background:
    linear-gradient(90deg, rgba(15,46,58,0.22) 0%, rgba(15,46,58,0.06) 25%, rgba(15,46,58,0.0) 55%),
    linear-gradient(180deg, rgba(15,46,58,0.08), rgba(15,46,58,0.12)),
    url("../images/motorizado-banner-section.png") center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.speed-banner::before {
  content: "";
  position: absolute;
  inset: auto -8% -40px auto;
  width: 42%;
  height: 18px;
  background: linear-gradient(90deg, transparent, rgba(31,184,166,0.65), rgba(244,182,58,0.35), transparent);
  filter: blur(8px);
  transform: rotate(-3deg);
}
.speed-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(255,255,255,0.08), transparent 28%);
  pointer-events: none;
}
.speed-banner-image-wrap,
.speed-banner-image {
  display: none;
}
.speed-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0) 22%, rgba(15,46,58,0.06)),
    repeating-linear-gradient(90deg, transparent 0 120px, rgba(255,255,255,0.02) 120px 121px, transparent 121px 240px);
  pointer-events: none;
}

.devices {
  background: linear-gradient(180deg, rgba(244,182,58,0.12) 0%, rgba(255,255,255,0.98) 100%);
}
.devices .eyebrow { color: var(--tuenlace-amber); }
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-grid span {
  padding: 12px 15px; border-radius: 999px; background: var(--tuenlace-white); color: var(--tuenlace-petroleum); font-weight: 800; border: 1px solid rgba(244,182,58,0.32); box-shadow: 0 10px 26px rgba(15,46,58,0.06); transition: transform var(--transition), background var(--transition), color var(--transition);
}
.pill-grid span:hover { transform: translateY(-3px); background: var(--tuenlace-amber); color: var(--tuenlace-petroleum); }

.scan {
  background: linear-gradient(135deg, rgba(31,184,166,0.10) 0%, rgba(31,184,166,0.03) 34%, #ffffff 100%);
}
.scan .eyebrow { color: var(--tuenlace-teal); }
.phone-frame {
  width: min(380px, 100%); margin-inline: auto; padding: 18px; border-radius: 42px; background: linear-gradient(180deg, var(--tuenlace-petroleum), #123c4a); position: relative;
}
.phone-frame::after {
  content: ""; position: absolute; inset: auto 12% 5% 12%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(244,182,58,0.7), transparent); filter: blur(4px);
}
.phone-top { width: 80px; height: 7px; margin: 0 auto 18px; border-radius: 999px; background: rgba(255,255,255,0.24); }
.emergency-card { min-height: 520px; padding: 22px; border-radius: 28px; background: var(--tuenlace-white); }
.status { display: inline-flex; margin-bottom: 18px; padding: 7px 10px; border-radius: 999px; background: rgba(31,184,166,0.13); color: var(--tuenlace-teal); font-weight: 900; font-size: 12px; text-transform: uppercase; }
.call-button {
  display: block; margin: 22px 0; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, var(--tuenlace-teal), #29d7c3); color: var(--tuenlace-petroleum); text-align: center; text-decoration: none; font-weight: 900;
}
.alert-box { padding: 18px; border-radius: 18px; background: linear-gradient(180deg, #fff9eb, #fff4d6); border-left: 6px solid var(--tuenlace-amber); }
.check-list { padding: 0; margin: 26px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li, .feature-item { position: relative; }
.check-list li { padding-left: 34px; font-weight: 700; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--tuenlace-teal); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 11px; width: 5px; height: 9px; border: solid var(--tuenlace-white); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.privacy {
  background: linear-gradient(135deg, rgba(244,182,58,0.12), rgba(244,182,58,0.05));
}
.privacy .eyebrow { color: var(--tuenlace-amber); }
.privacy-box {
  display: grid; grid-template-columns: 80px 1fr; gap: 26px; align-items: center; padding: clamp(26px, 4vw, 46px); border-color: rgba(244,182,58,0.32); background: rgba(255,255,255,0.92);
}
.shield-icon {
  width: 80px; height: 92px; border: 5px solid var(--tuenlace-amber); border-radius: 42px 42px 52px 52px; clip-path: polygon(50% 0, 100% 18%, 92% 74%, 50% 100%, 8% 74%, 0 18%);
}

.emotional {
  background: linear-gradient(135deg, rgba(20,102,95,0.98), rgba(31,184,166,0.90)); color: var(--tuenlace-white);
}
.emotional::before {
  content: ""; position: absolute; left: -10%; bottom: -20%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.13), transparent 58%); animation: heroFloat 9s ease-in-out infinite alternate;
}
.emotional h2, .emotional .eyebrow { color: var(--tuenlace-white); }
.emotional p { color: rgba(255,255,255,0.88); }

.product {
  background: linear-gradient(180deg, #ffffff 0%, var(--tuenlace-soft-gray) 100%);
}
.product .eyebrow { color: var(--tuenlace-graphite); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-color: rgba(15,46,58,0.08);
}
.feature-item span {
  flex: 0 0 16px; width: 16px; height: 16px; margin-top: 8px; border-radius: 5px; background: var(--tuenlace-teal); box-shadow: 12px 12px 0 var(--tuenlace-amber);
}
.feature-item p { margin: 0; font-weight: 800; color: var(--tuenlace-petroleum); }

.pro {
  background: linear-gradient(135deg, var(--tuenlace-graphite), #1f2124 58%, var(--tuenlace-petroleum));
}
.pro-box {
  display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 58px); background: rgba(255,255,255,0.04); color: var(--tuenlace-white); border-color: rgba(255,255,255,0.10); backdrop-filter: blur(6px);
}
.pro .eyebrow, .pro-box h2 { color: var(--tuenlace-white); }
.pro-box p { color: rgba(255,255,255,0.8); }
.pro-box .button-light { background: var(--tuenlace-amber); color: var(--tuenlace-petroleum); font-weight: 900; }

.faq {
  background: linear-gradient(180deg, rgba(51,54,58,0.04), #ffffff 35%);
}
.faq .eyebrow { color: var(--tuenlace-graphite); }
.faq-list { display: grid; gap: 14px; }
details { padding: 22px 24px; }
summary { cursor: pointer; color: var(--tuenlace-petroleum); font-weight: 900; font-size: 18px; }
details p { margin-bottom: 0; }

.final-cta {
  background: linear-gradient(135deg, rgba(244,182,58,0.94), rgba(244,182,58,0.84));
}
.final-cta .container {
  padding: clamp(32px, 5vw, 54px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.32);
  backdrop-filter: blur(6px);
}
.final-cta h2, .final-cta p { color: var(--tuenlace-petroleum); }
.final-cta p { margin-bottom: 28px; }
.final-cta .button-primary {
  background: var(--tuenlace-petroleum); color: var(--tuenlace-white); box-shadow: 0 16px 34px rgba(15,46,58,0.22);
}

.site-footer { background: var(--tuenlace-petroleum); color: rgba(255,255,255,0.72); }
.footer-inner { align-items: center; }
.footer-brand .site-logo-img, .footer-brand .custom-logo { filter: brightness(0) invert(1); width: 190px; }
.footer-inner p { margin: 0; font-size: 14px; text-align: right; }

@keyframes heroPulse {
  0% { transform: scale(0.92) translate3d(0,0,0); opacity: 0.6; }
  100% { transform: scale(1.08) translate3d(30px, -18px, 0); opacity: 1; }
}
@keyframes heroFloat {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-22px, -16px, 0); }
}
@keyframes floatItem {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 920px) {
  .menu-toggle { display: inline-block; }
  .primary-nav {
    position: absolute; inset: 78px 20px auto 20px; display: none; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--tuenlace-border); border-radius: 22px; background: var(--tuenlace-white); box-shadow: var(--shadow-soft);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; align-items: stretch; }
  .nav-cta { text-align: center; }
  .hero-grid, .split, .scan-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .helmet-card { min-height: 420px; }
  .three, .feature-grid { grid-template-columns: 1fr; }
  .pro-box { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner p { text-align: center; }
}

@media (max-width: 560px) {

  .speed-banner {
    min-height: 220px;
    background-position: center center;
  }
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .section-pad { padding: 58px 0; }
  .hero-actions, .button { width: 100%; }
  .sticker { right: 5%; width: 208px; transform: rotate(3deg); }
  .floating-card { display: none; }
  .privacy-box { grid-template-columns: 1fr; }
  .microcopy { display: grid; }
  .phone-frame { width: 100%; }
  .section-pad::before { height: 120px; }
}
