@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --navy: #29284f;
  --navy-deep: #101137;
  --ink: #29284f;
  --muted: #65657e;
  --orange: #ff6d00;
  --orange-light: #ff963e;
  --panel: #f1f1f3;
  --card: #fff;
  --main-bg: #fff;
  --bubble: #ffeadf;
  --feature: #ff963e;
  --feature-text: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--main-bg);
  color: var(--ink);
  font-family: Archivo, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
body[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f4ff;
  --muted: #c3c1dc;
  --panel: #3e3d6c;
  --card: #aaa9cd;
  --main-bg: #29284f;
  --bubble: rgba(255, 158, 114, .22);
  --feature: #6a698d;
  --feature-text: #fff;
}
a { color: inherit; }
button { font: inherit; }
.content-width { width: min(1260px, calc(100% - 64px)); margin-inline: auto; }

.site-header {
  align-items: center;
  background: rgba(41, 40, 79, .97);
  color: #fff;
  display: flex;
  height: 82px;
  justify-content: space-between;
  left: 0;
  padding: 0 max(4.5vw, calc((100vw - 1300px) / 2));
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
}
.brand { display: flex; flex: 0 0 178px; align-items: center; }
.brand img { display: block; width: 178px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 42px); height: 100%; }
.site-nav > a, .nav-dropdown > button {
  align-items: center;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 400;
  gap: 8px;
  padding: 10px 0;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav > a:hover, .nav-dropdown > button:hover { color: #ffbd8b; }
.nav-dropdown { align-items: center; display: flex; height: 100%; position: relative; }
.chevron { border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; height: 6px; transform: rotate(45deg) translateY(-2px); width: 6px; }
.dropdown-content {
  background: var(--navy);
  border-radius: 0 0 10px 10px;
  display: none;
  max-height: min(60vh, 360px);
  min-width: 220px;
  overflow-y: auto;
  padding: 8px 0;
  position: absolute;
  right: -24px;
  top: 100%;
  box-shadow: 0 10px 20px #11112a33;
  z-index: 25;
}
.nav-dropdown:hover .dropdown-content, .nav-dropdown:focus-within .dropdown-content, .nav-dropdown.open .dropdown-content { display: block; }
.dropdown-content a { color: #fff; display: block; font-size: 15px; line-height: 1.35; padding: 10px 18px; text-decoration: none; white-space: normal; }
.dropdown-content a:hover { background: #ffffff18; }
.language-link { background: #17173a !important; border-radius: 30px; font-size: 12px !important; gap: 6px !important; padding: 7px 12px !important; }
.language-icon { font-size: 12px; }
.menu-toggle { display: none; }

.hero { background: #413f43; height: min(828px, calc(50vw + 72px)); min-height: 558px; overflow: hidden; position: relative; }
.hero-video { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.hero-shade { background: linear-gradient(180deg, rgba(10, 10, 20, .04) 20%, rgba(12, 12, 22, .23) 100%); inset: 0; position: absolute; }
.hero-copy { align-items: center; color: #fff; display: flex; flex-direction: column; justify-content: center; left: 50%; position: absolute; text-align: center; top: 50%; transform: translate(-50%, -50%); width: min(100% - 32px, 900px); }
.rastro-mark { align-items: center; display: flex; font-size: clamp(42px, 7.5vw, 110px); font-weight: 800; gap: 10px; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; }
.rastro-mark-icon { flex: 0 0 auto; height: .8em; object-fit: contain; width: .8em; }
.rastro-mark .iot { font-weight: 600; }
.hero h1 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 600; line-height: 1.2; margin: 0 0 8px; }
.hero-copy p { font-size: 18px; margin: 0; }
.hero-copy-english { top: 50%; }

.page-content { background: var(--main-bg); border-radius: 48px 48px 0 0; margin-top: -48px; overflow: hidden; position: relative; z-index: 1; }
.intro { align-items: center; display: grid; gap: 5%; grid-template-columns: 1.15fr .85fr; padding: 115px 0 75px; }
.intro-copy { align-items: flex-start; display: grid; gap: 28px; grid-template-columns: 120px 1fr; }
.tire-symbol { display: block; height: 120px; margin-top: 4px; object-fit: contain; width: 120px; }
.intro h2 { font-size: clamp(27px, 2.45vw, 36px); font-weight: 400; letter-spacing: -.035em; line-height: 1.16; margin: 0 0 20px; }
.intro h2 strong { font-weight: 700; }
.intro-copy p { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0; max-width: 500px; }
.orange-callout { background: var(--orange); border-radius: 18px 18px 18px 0; color: #fff; font-size: 15px; line-height: 1.4; padding: 34px 42px; }

.identity { padding: 45px 0 75px; position: relative; }
.identity::before, .identity::after, .dashboard::before, .dashboard::after {
  background: var(--bubble);
  border-radius: 50%;
  content: "";
  height: 150px;
  pointer-events: none;
  position: absolute;
  width: 150px;
  z-index: 0;
}
.identity::before { left: -105px; top: 20px; }
.identity::after { height: 74px; right: -62px; top: 260px; width: 74px; }
.identity > h2, .overview h2 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 44px; position: relative; z-index: 1; }
.identity > h2 strong, .overview h2 strong { font-weight: 700; }
.identity-card { align-items: center; background: var(--navy); display: flex; height: 460px; justify-content: center; margin: 0 auto; max-width: 830px; overflow: hidden; position: relative; width: 66%; z-index: 1; }
.identity-video { display: block; height: 100%; object-fit: cover; width: 100%; }
.feature-list { display: grid; gap: 24px; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 86px auto 0; max-width: 1160px; position: relative; z-index: 1; }
.feature { align-items: center; background: var(--feature); color: var(--feature-text); display: flex; flex-direction: column; font-size: 18px; justify-content: center; line-height: 1.08; min-height: 120px; padding: 38px 9px 14px; position: relative; text-align: center; }
.feature:nth-child(1) { border-radius: 0 22px 22px 22px; }
.feature:nth-child(2) { border-radius: 22px 22px 22px 0; }
.feature:nth-child(3) { border-radius: 0 22px 22px 22px; }
.feature:nth-child(4) { border-radius: 22px 0 22px 22px; }
.feature:nth-child(5) { border-radius: 22px 22px 0 22px; }
.feature:nth-child(6) { border-radius: 22px; }
body[data-theme="light"] .feature:nth-child(1) { background: #ff6d00; }
body[data-theme="light"] .feature:nth-child(2) { background: #ffa065; }
body[data-theme="light"] .feature:nth-child(3) { background: #ff8730; }
body[data-theme="light"] .feature:nth-child(4) { background: #ff6d00; }
body[data-theme="light"] .feature:nth-child(5) { background: #ff943f; }
body[data-theme="light"] .feature:nth-child(6) { background: #ffa065; }
.feature-icon { height: 90px; left: 50%; position: absolute; top: -48px; transform: translateX(-50%); width: 90px; }

.overview { padding: 40px 0 85px; }
.overview h2 { margin-bottom: 24px; }
.overview h2 strong { color: var(--orange); }
.text-columns { display: grid; gap: 8%; grid-template-columns: 1fr 1fr; }
.text-columns p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; }
.text-columns b { color: var(--ink); }

.process { background: var(--panel); border-radius: 50px; padding: 72px 0 90px; position: relative; }
.process h2 { color: var(--orange); font-size: 26px; font-weight: 500; margin: 0 0 48px; }
.process-grid { display: grid; gap: 84px 9%; grid-template-columns: 1fr 1fr; margin: 0 auto; max-width: 1080px; position: relative; }
.process-route { height: calc(100% + 55px); left: -35px; overflow: visible; pointer-events: none; position: absolute; top: -55px; width: calc(100% + 70px); z-index: 0; }
.process-route path { fill: none; stroke: var(--orange-light); stroke-dasharray: 4 7; stroke-linecap: round; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.process-card { align-items: flex-start; background: var(--card); border-radius: 24px; display: flex; gap: 20px; min-height: 186px; padding: 32px; position: relative; z-index: 1; }
.process-icon { flex: 0 0 50px; height: 50px; object-fit: contain; width: 50px; }
.process-card h3 { color: var(--ink); font-size: 22px; font-weight: 500; margin: 0 0 10px; }
.process-card p { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
body[data-theme="dark"] .process-card h3, body[data-theme="dark"] .process-card p { color: var(--navy); }

.dashboard { padding-bottom: 60px; padding-top: 120px; position: relative; }
.dashboard::before { height: 180px; right: -150px; top: 220px; width: 180px; }
.dashboard::after { height: 100px; left: -140px; top: 580px; width: 100px; }
.dashboard-row { align-items: center; display: flex; min-height: 370px; position: relative; }
.dashboard-row-top { margin-bottom: 10px; }
.laptop { display: block; flex: 0 0 36%; height: auto; object-fit: contain; position: relative; width: 36%; z-index: 3; }
.laptop-two { transform: rotate(3deg); }
.orange-panel { background: var(--orange); border-radius: 20px; color: #fff; flex: 1; padding: 52px 7%; position: relative; z-index: 2; }
body[data-theme="dark"] .orange-panel { color: var(--navy-deep); }
.dashboard-row-top .laptop { flex-basis: 42%; margin-left: 9%; width: 42%; }
.dashboard-row-top .orange-panel { border-radius: 22px 22px 22px 0; flex: 0 0 50%; margin-left: -6%; }
.dashboard-row-bottom .orange-panel { background: var(--orange-light); border-radius: 22px 22px 0 22px; flex: 0 0 68%; margin-right: 0; }
.dashboard-row-bottom .laptop { flex-basis: 32%; width: 32%; }
.orange-panel h2, .orange-panel p { position: relative; z-index: 1; }
.orange-panel h2 { font-size: clamp(27px, 2.7vw, 38px); font-weight: 400; line-height: 1.1; margin: 0 0 14px; }
.orange-panel h2 strong { font-weight: 700; }
.orange-panel p { font-size: 16px; line-height: 1.4; margin: 0; max-width: 520px; }

.closing { align-items: center; display: flex; flex-direction: column; padding: 30px 24px 100px; text-align: center; }
.closing h2 { color: var(--ink); font-size: 22px; font-weight: 400; margin: 0 0 18px; }
.closing > p { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.closing > p strong { color: var(--ink); }
.pill-button { align-items: center; border-radius: 50px; display: inline-flex; font-size: 14px; justify-content: center; min-height: 48px; min-width: 300px; padding: 10px 24px; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.pill-button:hover { transform: translateY(-2px); }
.primary-button { background: var(--navy); color: #fff; }
body[data-theme="dark"] .primary-button { background: #f3f2f7; color: var(--navy); }
.closing .secondary-prompt { margin: 34px 0 18px; }
.outline-button { border: 1px solid var(--ink); color: var(--ink); }

.site-footer { background: var(--navy-deep); color: #fff; padding: 95px 0 70px; }
.footer-top { align-items: flex-start; display: grid; gap: 12%; grid-template-columns: 1fr 1fr; }
.footer-brand img { display: block; max-width: 300px; width: 75%; }
.footer-top p { color: #a7a7c0; font-size: 15px; line-height: 1.55; margin: 0; max-width: 430px; }
.footer-columns { display: grid; gap: 10%; grid-template-columns: 1fr 1fr auto; margin-top: 68px; }
.footer-columns h2 { font-size: 18px; font-weight: 600; margin: 0 0 22px; }
.footer-columns div > a, .footer-columns div > span { color: #c3c2d7; display: block; font-size: 15px; line-height: 1.6; margin-bottom: 12px; max-width: 250px; text-decoration: none; }
.footer-columns .contact-detail { align-items: flex-start; display: flex; gap: 12px; }
.footer-contact-icon { flex: 0 0 24px; height: 24px; object-fit: contain; width: 24px; }
.footer-columns div:nth-child(2) > a { margin-bottom: 8px; }
.linkedin { align-items: center; border: 3px solid #fff; border-radius: 4px; display: flex; font-size: 23px; font-weight: 700; height: 38px; justify-content: center; line-height: 1; text-decoration: none; width: 38px; }
.copyright { color: #aaa9c3; margin: 65px auto 0; text-align: center; }
.copyright p { font-size: 14px; margin: 0 0 8px; }
.copyright small { font-size: 12px; }
.floating-actions { bottom: 35px; display: flex; flex-direction: column; gap: 8px; position: fixed; right: 14px; z-index: 30; }
.floating-actions button, .floating-actions a { align-items: center; background: transparent; border: 0; border-radius: 50%; cursor: pointer; display: flex; height: 54px; justify-content: center; padding: 0; width: 54px; }
.floating-actions img { display: block; height: 100%; object-fit: contain; width: 100%; }
.theme-toggle { filter: drop-shadow(0 2px 3px #0004); }
.whatsapp-link { filter: drop-shadow(0 2px 3px #0004); }

@media (max-width: 900px) {
  .content-width { width: min(100% - 48px, 720px); }
  .site-header { height: 72px; padding: 0 24px; }
  .brand, .brand img { width: 148px; }
  .brand { flex-basis: 148px; }
  .menu-toggle { align-items: center; background: transparent; border: 0; display: flex; flex-direction: column; gap: 5px; height: 44px; justify-content: center; padding: 8px; position: relative; width: 44px; z-index: 2; }
  .menu-toggle span { background: #fff; border-radius: 2px; height: 2px; width: 25px; }
  .site-nav { align-items: stretch; background: var(--navy); display: none; flex-direction: column; gap: 0; height: auto; left: 0; max-height: calc(100vh - 72px); overflow: auto; padding: 76px 28px 30px; position: fixed; right: 0; top: 0; }
  .site-header.menu-open .site-nav { display: flex; }
  .site-header.menu-open .menu-toggle { position: fixed; right: 20px; top: 14px; }
  .site-header.menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-nav > a, .nav-dropdown > button { font-size: 18px; padding: 14px 0; }
  .nav-dropdown { align-items: stretch; display: block; height: auto; }
  .nav-dropdown > button { justify-content: space-between; width: 100%; }
  .dropdown-content { background: #201f45; border-radius: 8px; box-shadow: none; margin-bottom: 8px; padding: 4px 0; position: static; }
  .dropdown-content { max-height: none; }
  .dropdown-content a { font-size: 16px; padding: 10px 16px; }
  .language-link { align-self: flex-start; margin-top: 12px; }
  .hero { height: min(828px, calc(50vw + 72px)); min-height: 558px; }
  .intro { gap: 35px; grid-template-columns: 1fr; padding-top: 80px; }
  .orange-callout { margin-left: auto; max-width: 540px; }
  .identity-card { height: 350px; width: 85%; }
  .identity-video { flex-basis: 190px; }
  .feature-list { gap: 26px 14px; grid-template-columns: repeat(3, 1fr); }
  .process-grid { gap: 28px; }
  .process-card { min-height: 160px; padding: 24px; }
  .process-route { display: none; }
  .dashboard-row { min-height: 300px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .process-route { left: 0; width: 100%; }
  .process-route .route-title-connector { display: none; }
}
@media (max-width: 700px) {
  .dashboard-row { align-items: center; flex-direction: column; min-height: auto; }
  .dashboard-row-top { margin-bottom: 50px; }
  .dashboard-row-bottom { flex-direction: column-reverse; }
  .dashboard-row-top .laptop { flex-basis: auto; margin-left: 0; width: 75%; }
  .laptop { margin: 0 auto -12px; width: 75%; }
  .dashboard-row-bottom .laptop { flex-basis: auto; width: 75%; }
  .dashboard-row-top .orange-panel, .dashboard-row-bottom .orange-panel { flex-basis: auto; margin: 0; width: 100%; }
  .dashboard-row-top .orange-panel { border-radius: 22px 22px 22px 0; }
  .dashboard-row-bottom .orange-panel { border-radius: 22px 22px 0 22px; }
}
@media (max-width: 580px) {
  body { font-size: 15px; }
  .content-width { width: calc(100% - 40px); }
  .hero { height: 540px; min-height: 480px; }
  .page-content { margin-top: -30px; }
  .hero-video { object-position: center; }
  .hero-copy { top: 52%; }
  .rastro-mark { font-size: clamp(36px, 11vw, 43px); margin-bottom: 14px; }
  .hero h1 { font-size: 20px; max-width: 340px; }
  .hero-copy p { font-size: 13px; max-width: 340px; }
  .hero-copy-english { top: 50%; }
  .page-content { border-radius: 30px 30px 0 0; }
  .intro { padding: 64px 0 42px; }
  .intro-copy { gap: 16px; grid-template-columns: 58px 1fr; }
  .tire-symbol { height: 58px; width: 58px; }
  .intro h2 { font-size: 22px; margin-bottom: 12px; }
  .intro-copy p { font-size: 14px; }
  .orange-callout { font-size: 14px; padding: 24px; }
  .identity { padding: 42px 0 55px; }
  .identity > h2, .overview h2 { font-size: 19px; margin-bottom: 28px; }
  .identity-card { height: 225px; width: 100%; }
  .feature-list { gap: 22px 10px; grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .feature { font-size: 16px; min-height: 108px; }
  .feature-icon { height: 60px; top: -34px; width: 60px; }
  .overview { padding: 25px 0 50px; }
  .text-columns { gap: 14px; grid-template-columns: 1fr; }
  .text-columns p { font-size: 12px; }
  .process { border-radius: 30px; padding: 48px 0; }
  .process h2 { font-size: 21px; margin-bottom: 26px; }
  .process-grid { gap: 16px; grid-template-columns: 1fr; }
  .process-card { min-height: 120px; padding: 20px; }
  .process-icon { flex-basis: 40px; height: 40px; width: 40px; }
  .process-card h3 { font-size: 18px; margin-bottom: 6px; }
  .process-card p { font-size: 14px; }
  .dashboard { padding-bottom: 25px; padding-top: 55px; }
  .orange-panel { padding: 28px 25px; }
  .orange-panel h2 { font-size: 24px; }
  .orange-panel p { font-size: 14px; }
  .closing { padding: 25px 20px 85px; }
  .closing h2 { font-size: 18px; }
  .closing > p { font-size: 12px; }
  .pill-button { font-size: 12px; min-height: 42px; min-width: min(260px, 90vw); }
  .closing .secondary-prompt { margin: 28px 0 16px; }
  .site-footer { padding: 60px 0 45px; }
  .footer-top { gap: 22px; grid-template-columns: 1fr; }
  .footer-brand img { max-width: 230px; }
  .footer-columns { gap: 24px; grid-template-columns: 1fr 1fr; margin-top: 42px; }
  .footer-columns h2 { font-size: 16px; }
  .footer-columns div > a, .footer-columns div > span { font-size: 14px; }
  .linkedin { height: 32px; width: 32px; }
  .copyright { margin-top: 38px; }
  .floating-actions { bottom: 18px; right: 10px; }
  .floating-actions button, .floating-actions a { height: 44px; width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
