:root {
  --orange: #ff4b04;
  --orange-dark: #d93e00;
  --orange-soft: #fff1ea;
  --ink: #1c1c1e;
  --ink-2: #2c2c30;
  --muted: #6b6b73;
  --line: #e8e6e3;
  --paper: #f7f5f2;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 28, 30, 0.1);
  --radius: 18px;
  --header-h: 82px;
  --max: 1180px;
  --font-display: "Chivo", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--orange);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 900; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }

.lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--orange);
  border: 0;
  margin: 18px 0 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
}
.topbar a:hover { color: var(--orange); }
.topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.muted-on-dark { color: rgba(255,255,255,.72); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(28,28,30,.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}
.logo img { height: 42px; width: auto; }
.logo-mark { height: 36px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav > a,
.drop > button {
  padding: 10px 12px;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 500;
  border-radius: 10px;
}
.nav > a:hover,
.drop > button:hover,
.nav > a.active { color: var(--orange); }
.drop { position: relative; }
.drop > button { display: flex; align-items: center; gap: 6px; }
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.drop:hover .submenu,
.drop:focus-within .submenu { display: grid; }
.submenu a {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
}
.submenu a:hover { background: var(--orange-soft); color: var(--orange); }

.nav-cta { margin-left: 8px; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 11px;
}
.burger span { top: 21px; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  color: #fff;
  overflow: hidden;
  background: #111;
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background: #111 center/cover no-repeat;
}
.slide.active { opacity: 1; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,16,16,.78) 0%, rgba(16,16,16,.35) 55%, rgba(255,75,4,.18) 100%),
    linear-gradient(180deg, rgba(16,16,16,.2), rgba(16,16,16,.45));
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 92px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--orange);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-nav {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100% - var(--max)) / 2));
  bottom: 36px;
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  border: 0;
  background: rgba(255,255,255,.4);
}
.dot.active { background: var(--orange); width: 28px; }

.stats {
  background: var(--ink);
  color: #fff;
  margin-top: -1px;
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 28px 0;
}
.stat { padding: 8px 12px; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--orange);
  letter-spacing: -0.04em;
}
.stat span { color: rgba(255,255,255,.72); font-size: 0.92rem; }

.section { padding: 92px 0; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .divider { margin-inline: auto; }
.section-head.center .lede { margin-inline: auto; }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  background: #ddd center/cover no-repeat;
}
.about-visual .badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--orange);
  color: #fff;
  padding: 16px 18px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
}
.about-visual .badge small { display: block; font-weight: 400; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: .9; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-card {
  min-height: 420px;
  background: #333 center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}
.split-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,.35);
}
.split-inner {
  position: relative;
  margin: 36px;
  background: rgba(255,255,255,.94);
  border-radius: 22px;
  padding: 36px 32px;
  max-width: 520px;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: .2s ease;
}
.value:hover {
  transform: translateY(-4px);
  border-color: #ffd3bf;
  box-shadow: var(--shadow);
}
.value .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.value p { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; }

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: var(--ink-2) center/cover no-repeat;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,.2), rgba(20,20,20,.78));
}
.product > * { position: relative; z-index: 1; }
.product h3 { font-size: 1.8rem; margin-top: auto; }
.product p { color: rgba(255,255,255,.82); }
.product.mobility { background-image: url("../img/assistance_slideshow_slider-3.png"); }
.product.casa { background-image: url("../img/group-people-working-out-business-plan-office-scaled.jpg"); }
.product.persona { background-image: url("../img/aerial-view-business-team-scaled.jpg"); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.assist {
  background: var(--paper);
}
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 10px 30px rgba(28,28,30,.04);
  border: 1px solid transparent;
}
.card:hover { border-color: #ffd3bf; }
.card .km {
  display: inline-flex;
  margin: 14px 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-weight: 600;
  font-size: 0.88rem;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
}
.card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--orange);
  flex: none;
}

.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: center;
}
.partner {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.partner img {
  max-height: 72px;
  width: auto;
  filter: grayscale(1);
  opacity: .85;
  transition: .2s;
}
.partner:hover img { filter: none; opacity: 1; }

.contact-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  overflow: hidden;
}
.contact-info { padding: 48px 40px; }
.contact-info a { color: #fff; }
.contact-info a:hover { color: var(--orange); }
.contact-info p { color: rgba(255,255,255,.72); }
.contact-form-wrap { background: #fff; color: var(--ink); padding: 40px; }
.form-grid { display: grid; gap: 14px; }
label span { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--paper);
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--orange); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { width: auto; margin-top: 4px; }
.form-ok {
  display: none;
  background: #eaf8ee;
  color: #146c2e;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.form-ok.show { display: block; }

.map-embed {
  border: 0;
  width: 100%;
  min-height: 340px;
  border-radius: 24px;
  filter: grayscale(.2);
}

.page-hero {
  position: relative;
  color: #fff;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: #1a1a1a center/cover no-repeat;
  padding: 70px 0 48px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,16,16,.82), rgba(255,75,4,.28));
}
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { color: rgba(255,255,255,.75); font-size: 0.9rem; margin-bottom: 12px; }
.crumbs a:hover { color: #fff; }

.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}
.site-footer p, .site-footer li { color: rgba(255,255,255,.72); }
.site-footer h3 { color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: var(--orange); }
.legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.55);
  font-size: 0.88rem;
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  max-width: 720px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 16px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie.show { display: flex; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .7s ease forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }

.list-plain { padding-left: 18px; color: var(--muted); }
.list-plain li { margin: 8px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 980px) {
  .stats .wrap,
  .values,
  .products,
  .cards-3,
  .about-grid,
  .split,
  .contact-band,
  .footer-grid,
  .two-col,
  .partners { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .submenu { position: static; display: grid; box-shadow: none; border: 0; padding-left: 8px; }
  .burger { display: block; }
  .nav-cta { margin: 8px 0 0; }
  .hero-copy { padding-bottom: 110px; }
  .cookie { flex-direction: column; align-items: stretch; }
  .topbar .muted-on-dark { display: none; }
  .logo img { height: 34px; }
}
