:root {
  --primary: #062b5f;
  --primary-dark: #031f45;
  --accent: #00b8c8;
  --accent-soft: #e6fafc;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --background: #f7fafc;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 22px 70px rgba(6, 43, 95, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", "Inter", sans-serif; letter-spacing: 0; }
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visual-icon {
  position: absolute;
  top: 50%;
  right: -22px;
  z-index: 0;
  width: 150px;
  height: 150px;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: .14;
  pointer-events: none;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(to left, #000 34%, transparent 100%);
  mask-image: linear-gradient(to left, #000 34%, transparent 100%);
}
.visual-icon.small {
  width: 118px;
  height: 118px;
  margin: 0;
}
.visual-icon svg {
  width: 112px;
  height: 112px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visual-icon.small svg {
  width: 88px;
  height: 88px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 70px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: .25s ease;
}
.site-header.scrolled { border-color: rgba(226, 232, 240, .8); }
.header-main {
  min-height: 70px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(6, 43, 95, .1);
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: auto;
  height: 46px;
  max-width: min(190px, 44vw);
}
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}
.nav-item { position: relative; }
.nav-link {
  min-height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  border-radius: 8px;
  border: 0;
  color: #475569;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color .2s, background .2s, box-shadow .2s;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-item.is-open > .nav-link {
  color: var(--primary);
  background: var(--accent-soft);
  outline: 0;
}
.nav-contact {
  color: var(--primary);
  background: white;
  box-shadow: inset 0 0 0 1px rgba(6, 43, 95, .14);
}
.nav-trigger span {
  font-size: 13px;
  line-height: 1;
  transition: transform .2s ease;
}
.nav-item.is-open .nav-trigger span { transform: rotate(180deg); }
.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: min(760px, calc(100vw - 36px));
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  border: 1px solid rgba(6, 43, 95, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(6, 43, 95, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .18s ease, transform .18s ease;
}
.mega-menu::before {
  content: "";
  position: absolute;
  inset: -18px 0 auto;
  height: 18px;
}
.mega-menu-wide {
  left: auto;
  right: 0;
  width: min(920px, calc(100vw - 36px));
  transform: translateY(-6px);
}
.nav-item.is-open .mega-menu,
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-item.is-open .mega-menu-wide,
.nav-item:hover .mega-menu-wide,
.nav-item:focus-within .mega-menu-wide {
  transform: translateY(0);
}
.mega-intro {
  padding: 20px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(145deg, rgba(0, 184, 200, .22), rgba(6, 43, 95, .32)),
    var(--primary-dark);
}
.mega-intro span,
.mega-card span {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mega-intro strong,
.mega-card strong {
  display: block;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: 0;
}
.mega-intro p,
.mega-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.5;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mega-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-card {
  min-height: 156px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(6, 43, 95, .12);
  border-radius: 8px;
  background: #f8fcff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mega-card:hover,
.mega-card:focus-visible {
  border-color: rgba(0, 184, 200, .42);
  box-shadow: 0 16px 32px rgba(6, 43, 95, .1);
  outline: 0;
  transform: translateY(-1px);
}
.mega-card-featured { background: linear-gradient(180deg, var(--accent-soft), #ffffff); }
.mega-card strong {
  color: var(--text);
  font-size: 18px;
}
.mega-card p {
  color: var(--muted);
  font-size: 13px;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
}

.hero {
  min-height: 100vh;
  padding: 122px clamp(20px, 5vw, 84px) 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 184, 200, .18), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 74%);
}
.eyebrow, .section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--primary-dark);
  font-size: clamp(44px, 7vw, 88px);
  line-height: .96;
}
.hero h1 span { color: var(--primary); }
.hero-lead {
  max-width: 700px;
  color: #213047;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
  font-weight: 600;
}
.hero-support {
  max-width: 690px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions, .hero-message {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), #084985);
  box-shadow: 0 14px 34px rgba(6, 43, 95, .22);
}
.button-light {
  color: var(--primary);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--border);
}
.hero-message {
  grid-column: 1 / -1;
  max-width: 1040px;
  padding: 20px 24px;
  color: var(--primary-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 184, 200, .25);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 800;
}
.hero-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
}
.logo-card {
  position: absolute;
  right: 6%;
  top: 12px;
  z-index: 4;
  width: 112px;
  height: 112px;
  padding: 10px;
  border: 1px solid rgba(0, 184, 200, .22);
  border-radius: 8px;
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}
.logo-card img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}
.phone-mockup {
  position: relative;
  width: min(320px, 82vw);
  padding: 14px;
  border: 10px solid #06172e;
  border-radius: 36px;
  background: #06172e;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone-top {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 20px;
  border-radius: 0 0 16px 16px;
  background: #06172e;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-mockup img {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
}
.phone-panel {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  padding: 16px;
  color: var(--primary);
  background: rgba(255, 255, 255, .94);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(3, 31, 69, .18);
}
.phone-panel strong, .phone-panel span { display: block; }
.assistant-card {
  position: absolute;
  top: 26px;
  left: 0;
  z-index: 3;
  width: min(290px, 62vw);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}
.assistant-card img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}
.assistant-card strong, .assistant-card span { display: block; }
.assistant-card span, .floating-tags span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.floating-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floating-tags span {
  position: absolute;
  padding: 9px 12px;
  color: var(--primary);
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(6, 43, 95, .1);
  font-weight: 800;
}
.floating-tags span:nth-child(1) { top: 19%; right: 4%; }
.floating-tags span:nth-child(2) { top: 34%; left: 3%; }
.floating-tags span:nth-child(3) { top: 48%; right: 0; }
.floating-tags span:nth-child(4) { bottom: 25%; left: 1%; }
.floating-tags span:nth-child(5) { bottom: 12%; right: 10%; }
.floating-tags span:nth-child(6) { top: 8%; right: 26%; }
.floating-tags span:nth-child(7) { bottom: 4%; left: 20%; }
.floating-tags span:nth-child(8) { top: 64%; right: 15%; }

.section {
  padding: 92px clamp(20px, 5vw, 84px);
  background: white;
}
.section:nth-of-type(even) { background: var(--background); }
.section-heading {
  max-width: 890px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading.align-left { margin-left: 0; text-align: left; }
.section h2 {
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.two-columns, .card-grid, .feature-matrix, .outcomes, .timeline, .objective-list {
  display: grid;
  gap: 18px;
}
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, .feature-card, .mini-card, .metric, .timeline-step, .objective, .contact-card, .dashboard-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.panel > :not(.visual-icon),
.feature-card > :not(.visual-icon),
.mini-card > :not(.visual-icon),
.metric > :not(.visual-icon),
.timeline-step > :not(.visual-icon),
.objective > :not(.visual-icon) {
  position: relative;
  z-index: 1;
}
.panel { padding: 28px 118px 28px 28px; }
.panel h3, .feature-card h3, .mini-card b, .timeline-step h3 {
  color: var(--primary);
  font-size: 23px;
}
ul { margin: 0; padding: 0; list-style: none; }
li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: #334155;
  line-height: 1.5;
}
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.statement, .summary {
  max-width: 940px;
  margin: 34px auto 0;
  padding: 26px;
  color: var(--primary-dark);
  border: 1px solid rgba(22, 163, 74, .22);
  border-radius: 8px;
  background: #effcf4;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
  text-align: center;
}
.app-gallery {
  position: relative;
  min-height: 590px;
  margin-top: 46px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.app-gallery::before {
  content: "";
  position: absolute;
  width: min(760px, 96%);
  aspect-ratio: 1.55;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 184, 200, .16), rgba(6, 43, 95, .08) 46%, transparent 70%);
  filter: blur(2px);
}
.app-phone {
  position: absolute;
  width: clamp(164px, 16vw, 232px);
  aspect-ratio: 9 / 19.5;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 34px;
  background: #06172e;
  box-shadow: 0 28px 64px rgba(6, 43, 95, .22);
}
.app-phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 3;
  width: 56px;
  height: 15px;
  border-radius: 999px;
  background: #06172e;
  transform: translateX(-50%);
}
.app-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
}
.app-phone figcaption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 9px 11px;
  color: var(--primary-dark);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 26px rgba(6, 43, 95, .12);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%);
}
.app-phone-far-left {
  left: 12%;
  top: 112px;
  z-index: 1;
  transform: rotate(-16deg) scale(.88);
}
.app-phone-left {
  left: 28%;
  top: 54px;
  z-index: 2;
  transform: rotate(-8deg);
}
.app-phone-main {
  z-index: 4;
  width: clamp(190px, 18vw, 262px);
  transform: translateY(-12px);
}
.app-phone-right {
  right: 24%;
  top: 72px;
  z-index: 3;
  transform: rotate(10deg);
}
.backoffice-gallery {
  display: grid;
  gap: 18px;
  margin-top: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.backoffice-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.backoffice-gallery figcaption {
  padding: 14px 16px;
  color: var(--primary);
  font-weight: 900;
}
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card { padding: 26px 94px 26px 26px; }
.feature-card p, .mini-card span, .objective span, .timeline-step p, .metric span {
  color: var(--muted);
  line-height: 1.65;
}
.objective-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.objective {
  padding: 22px 96px 22px 22px;
  display: grid;
  gap: 8px;
}
.objective strong { color: var(--primary); font-size: 19px; }
.feature-matrix { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-card { min-height: 168px; padding: 22px 74px 22px 22px; }
.mini-card b, .mini-card span { display: block; }
.mini-card b { margin-bottom: 10px; font-size: 18px; }
.backoffice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 26px;
}
.dashboard-card { padding: 24px; }
.screenshot-card {
  padding: 0;
  overflow: hidden;
  background: white;
}
.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform .45s ease;
}
.carousel-slide {
  position: relative;
  min-width: 100%;
  margin: 0;
  background: white;
}
.screenshot-card img,
.carousel-slide img {
  width: 100%;
  min-height: 360px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}
.carousel-slide figcaption {
  position: absolute;
  left: 18px;
  top: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 12px;
  color: var(--primary-dark);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(6, 43, 95, .12);
  font-size: 13px;
  font-weight: 900;
}
.carousel-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.carousel-controls button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--primary);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(6, 43, 95, .12);
  cursor: pointer;
  pointer-events: auto;
}
.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  color: white;
  background: var(--primary);
  outline: 0;
}
.carousel-controls button span {
  display: block;
  transform: translateY(-1px);
  font-size: 26px;
  line-height: 1;
}
.carousel-dots {
  padding: 8px 10px;
  display: flex;
  gap: 7px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(6, 43, 95, .1);
}
.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cbd5e1;
}
.carousel-dots span.is-active {
  width: 22px;
  background: var(--accent);
}
.backoffice-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.backoffice-gallery img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: left top;
}
.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.dashboard-top span { color: var(--muted); font-weight: 800; }
.dashboard-top strong { color: var(--success); font-size: 54px; line-height: 1; }
.bars {
  height: 130px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 22px;
}
.bars i {
  flex: 1;
  min-height: 30%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}
.bars i:nth-child(2) { height: 78%; }
.bars i:nth-child(3) { height: 48%; }
.bars i:nth-child(4) { height: 92%; }
.case-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.case-row span { color: var(--muted); }
.outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric { padding: 26px 78px 26px 26px; }
.metric strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 31px;
}
.timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline-step { padding: 24px 78px 24px 24px; }
.timeline-step > span:first-child {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
}
.contact-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: 28px;
  background: var(--primary-dark);
}
.contact-card h2, .contact-card p { color: white; }
.contact-card p { color: rgba(255,255,255,.72); line-height: 1.7; }
.contact-form {
  display: grid;
  gap: 12px;
}
label {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 800;
}
input, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 14px;
  color: white;
  background: rgba(255,255,255,.08);
  font: inherit;
}
textarea { resize: vertical; }
footer {
  padding: 40px clamp(20px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
}
.footer-brand img {
  width: auto;
  height: 46px;
  max-width: min(190px, 60vw);
}
footer p,
footer small {
  margin: 0;
}
footer div:last-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.analytics-consent {
  position: fixed;
  left: clamp(16px, 4vw, 32px);
  right: clamp(16px, 4vw, 32px);
  bottom: 18px;
  z-index: 200;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  color: var(--primary-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.analytics-consent strong,
.analytics-consent p {
  margin: 0;
}
.analytics-consent p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}
.analytics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.analytics-actions .button-outline {
  color: var(--primary);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--border);
}
.reveal { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

@media (max-width: 1120px) {
  .site-header { min-height: 70px; }
  .header-main { min-height: 70px; gap: 16px; }
  .main-nav {
    position: fixed;
    inset: 78px 16px auto;
    max-height: calc(100vh - 102px);
    margin-left: 0;
    padding: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
    overflow: auto;
    backdrop-filter: blur(18px);
    font-size: 18px;
  }
  body.menu-open .main-nav { display: flex; }
  .nav-item { width: 100%; }
  .nav-link {
    min-height: 54px;
    width: 100%;
    padding: 0 18px;
    justify-content: flex-start;
    color: var(--primary-dark);
    background: #f8fcff;
    box-shadow: inset 0 0 0 1px rgba(6, 43, 95, .1);
  }
  .mega-menu,
  .mega-menu-wide {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: max-height .2s ease, padding .2s ease;
  }
  .mega-menu::before { display: none; }
  .nav-item.is-open .mega-menu,
  .nav-item:hover .mega-menu,
  .nav-item:focus-within .mega-menu,
  .nav-item.is-open .mega-menu-wide,
  .nav-item:hover .mega-menu-wide,
  .nav-item:focus-within .mega-menu-wide {
    max-height: 780px;
    padding: 10px 0 0;
    transform: none;
  }
  .mega-grid,
  .mega-grid-three {
    grid-template-columns: 1fr;
  }
  .mega-intro,
  .mega-card {
    min-height: auto;
    border-radius: 8px;
  }
  .menu-toggle {
    margin-left: auto;
    display: block;
  }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero, .backoffice-layout, .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 112px; }
  .hero-visual { min-height: 560px; }
  .card-grid.four, .feature-matrix, .outcomes, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-gallery { min-height: 520px; }
  .app-phone-far-left { left: 5%; }
  .app-phone-left { left: 24%; }
  .app-phone-right { right: 15%; }
}

@media (max-width: 760px) {
  .brand span { display: none; }
  .visual-icon {
    right: -44px;
    width: 118px;
    height: 118px;
    opacity: .1;
  }
  .visual-icon.small {
    width: 96px;
    height: 96px;
  }
  .visual-icon svg {
    width: 88px;
    height: 88px;
  }
  .visual-icon.small svg {
    width: 72px;
    height: 72px;
  }
  .panel,
  .feature-card,
  .mini-card,
  .metric,
  .timeline-step,
  .objective {
    padding-right: 52px;
  }
  .hero { min-height: auto; }
  .hero h1 { font-size: 45px; }
  .hero-visual { min-height: 520px; }
  .logo-card { right: 8px; top: -4px; width: 82px; height: 82px; }
  .assistant-card { left: 8px; top: 0; }
  .floating-tags span { display: none; }
  .app-gallery {
    min-height: 430px;
    margin-top: 28px;
  }
  .app-gallery::before {
    width: 112%;
    aspect-ratio: 1;
  }
  .app-phone {
    width: min(128px, 34vw);
    padding: 5px;
    border-radius: 27px;
  }
  .app-phone::before {
    top: 10px;
    width: 42px;
    height: 11px;
  }
  .app-phone img { border-radius: 21px; }
  .app-phone figcaption {
    bottom: 9px;
    padding: 7px 8px;
    font-size: 10px;
  }
  .app-phone-far-left {
    left: 2%;
    top: 108px;
    transform: rotate(-14deg) scale(.82);
  }
  .app-phone-left {
    left: 16%;
    top: 52px;
    transform: rotate(-8deg) scale(.92);
  }
  .app-phone-main {
    width: min(150px, 39vw);
    transform: translateY(-4px);
  }
  .app-phone-right {
    right: 8%;
    top: 64px;
    transform: rotate(10deg) scale(.92);
  }
  .two-columns, .card-grid.three, .card-grid.four, .feature-matrix, .outcomes, .timeline, .objective-list, .backoffice-gallery { grid-template-columns: 1fr; }
  .section { padding: 70px 18px; }
  .section h2 { font-size: 34px; }
  .hero-message { font-size: 17px; }
  footer { grid-template-columns: 1fr; }
  .analytics-consent {
    grid-template-columns: 1fr;
  }
  .analytics-actions {
    justify-content: stretch;
  }
  .analytics-actions .button {
    flex: 1;
  }
}
