/* =========================================================
   Make Sense Data
   Version 0.3
========================================================= */

:root {
  --navy: #0b2233;
  --navy-light: #15374e;
  --teal: #1fae95;
  --teal-bright: #27c5a7;
  --teal-dark: #11816f;
  --mint: #ddf7f0;
  --cream: #f6f5ef;
  --white: #ffffff;
  --ink: #13222d;
  --muted: #687783;
  --line: rgba(11, 34, 51, 0.12);
  --blue: #5495f5;
  --orange: #f4a24c;
  --positive: #68dfb9;
  --shadow: 0 28px 80px rgba(11, 34, 51, 0.16);
  --radius: 22px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 9px 22px rgba(11, 34, 51, 0.18);
}

.brand-mark span {
  display: block;
  border-radius: 3px 3px 1px 1px;
  background: var(--teal-bright);
}

.brand-mark span:nth-child(1) {
  height: 48%;
}

.brand-mark span:nth-child(2) {
  height: 74%;
}

.brand-mark span:nth-child(3) {
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #5c6a75;
  font-size: 0.93rem;
  font-weight: 750;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--teal-dark);
}

.main-nav .nav-cta {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--navy);
  transition: transform 0.2s ease;
}

/* Common */

.eyebrow {
  width: fit-content;
  margin: 0 0 22px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dark-eyebrow {
  color: #79ead4;
  background: rgba(39, 197, 167, 0.12);
}

.button {
  min-height: 52px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(31, 174, 149, 0.24);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(11, 34, 51, 0.16);
}

.button.secondary:hover {
  background: var(--white);
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading h2,
.about-copy h2,
.contact-panel h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.45rem, 4.8vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.light h2 {
  color: var(--white);
}

.section-heading.light p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 77px);
  display: flex;
  align-items: center;
  padding: 76px 0 82px;
  background:
    radial-gradient(circle at 88% 17%, rgba(39, 197, 167, 0.16), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -380px;
  bottom: -470px;
  border: 100px solid rgba(39, 197, 167, 0.055);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(560px, 1.07fr);
  align-items: center;
  gap: clamp(42px, 5vw, 76px);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--navy);
  font-size: clamp(3.7rem, 6.35vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-copy h1 span {
  color: var(--teal);
}

.lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.27rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.capabilities span {
  padding: 7px 11px;
  border: 1px solid rgba(11, 34, 51, 0.11);
  border-radius: 999px;
  color: #50616d;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 750;
}

/* Dashboard */

.dashboard-shell {
  position: relative;
  padding: 25px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 11px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 22px;
}

.dashboard-toolbar,
.dashboard-kpis,
.dashboard-main {
  position: relative;
  z-index: 1;
}

.dashboard-toolbar {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-toolbar small,
.dashboard-toolbar strong {
  display: block;
}

.dashboard-toolbar small {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.75rem;
}

.dashboard-toolbar strong {
  font-size: 1.05rem;
}

.live-status {
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: #8debd8;
  background: rgba(39, 197, 167, 0.11);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-status i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 5px rgba(39, 197, 167, 0.1);
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.kpi-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.072);
}

.kpi-card > span,
.kpi-card > strong,
.kpi-card > small {
  display: block;
}

.kpi-card > span {
  overflow: hidden;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.kpi-card > strong {
  margin-bottom: 4px;
  font-size: clamp(1rem, 1.45vw, 1.45rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.kpi-card > small {
  font-size: 0.58rem;
  font-weight: 750;
}

.positive {
  color: var(--positive);
}

.info {
  color: #8db9ff;
}

.warning {
  color: #ffc47e;
}

.dashboard-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(175px, 0.72fr);
  gap: 11px;
  margin-top: 11px;
}

.chart-panel,
.donut-panel,
.quality-panel {
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.058);
  border-radius: 16px;
}

.chart-panel {
  padding: 16px 16px 11px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.panel-heading span,
.panel-heading strong {
  display: block;
}

.panel-heading span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.64rem;
}

.panel-heading strong {
  font-size: 0.78rem;
}

.panel-pill {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.57rem !important;
}

.line-chart {
  margin-top: 8px;
}

.line-chart svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.grid-lines line {
  stroke: rgba(255, 255, 255, 0.065);
  stroke-width: 1;
}

.area-path {
  fill: url(#areaFill);
  opacity: 0;
  animation: fadeArea 0.8s ease 1.2s forwards;
}

.trend-path {
  fill: none;
  stroke: var(--teal-bright);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 1.7s ease 0.4s forwards;
}

.chart-dots circle {
  fill: var(--navy);
  stroke: var(--teal-bright);
  stroke-width: 4;
  opacity: 0;
  animation: fadeDots 0.4s ease 1.55s forwards;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.55rem;
}

.dashboard-side {
  display: grid;
  gap: 11px;
}

.donut-panel {
  padding: 14px;
}

.donut-wrap {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 91px 1fr;
  align-items: center;
  gap: 9px;
}

.donut {
  width: 86px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--teal-bright) 0 68%,
    var(--blue) 68% 88%,
    var(--orange) 88% 100%
  );
  transform: rotate(-80deg);
}

.donut::before {
  content: "";
  width: 60px;
  aspect-ratio: 1;
  grid-area: 1 / 1;
  border-radius: 50%;
  background: #172f42;
}

.donut > div {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  text-align: center;
  transform: rotate(80deg);
}

.donut strong,
.donut span {
  display: block;
}

.donut strong {
  font-size: 1rem;
}

.donut span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.48rem;
}

.legend {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.55rem;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 2px;
}

.legend-teal {
  background: var(--teal-bright);
}

.legend-blue {
  background: var(--blue);
}

.legend-orange {
  background: var(--orange);
}

.quality-panel {
  padding: 14px;
}

.quality-panel span,
.quality-panel strong {
  display: block;
}

.quality-panel > div:first-child span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
}

.quality-panel > div:first-child strong {
  margin-top: 2px;
  font-size: 1.05rem;
}

.quality-bar {
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
}

.quality-bar span {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal-bright));
  animation: growQuality 1.2s ease 1s forwards;
}

/* Problem strip */

.problem-strip {
  border-top: 1px solid rgba(11, 34, 51, 0.07);
  border-bottom: 1px solid rgba(11, 34, 51, 0.07);
  background: var(--white);
}

.problem-grid {
  min-height: 94px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.problem-grid p {
  margin: 0;
  padding: 0 26px;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid var(--line);
}

.problem-grid p:first-child {
  padding-left: 0;
}

.problem-grid p:last-child {
  padding-right: 0;
  border-right: 0;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 310px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 15px 42px rgba(11, 34, 51, 0.055);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(31, 174, 149, 0.32);
  box-shadow: 0 24px 58px rgba(11, 34, 51, 0.11);
}

.service-number {
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 1.27rem;
  line-height: 1.15;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 850;
}

.service-card a span,
.insight-card a span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.service-card a:hover span,
.insight-card a:hover span {
  transform: translateX(4px);
}

/* Work */

.work-section {
  background:
    radial-gradient(circle at 95% 6%, rgba(39, 197, 167, 0.12), transparent 30%),
    var(--navy);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
}

.case-card > span,
.case-content > span {
  color: #7be4d0;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card h3 {
  margin: 14px 0 12px;
  font-size: 1.42rem;
  line-height: 1.12;
}

.case-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.case-card.featured {
  min-height: 420px;
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 50px;
  background:
    linear-gradient(135deg, rgba(39, 197, 167, 0.11), transparent 58%),
    rgba(255, 255, 255, 0.06);
}

.case-content ul {
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.91rem;
}

.case-content li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--teal-bright);
  font-weight: 900;
}

.mini-report {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 22px;
  background: #102a3c;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.21);
}

.mini-report-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
}

.mini-report-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-bright);
}

.mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.mini-kpis div {
  padding: 17px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
}

.mini-kpis small,
.mini-kpis strong {
  display: block;
}

.mini-kpis small {
  color: rgba(255, 255, 255, 0.46);
}

.mini-kpis strong {
  margin-top: 5px;
  font-size: 1.5rem;
}

.quartiles {
  height: 150px;
  margin-top: 22px;
  display: flex;
  align-items: flex-end;
  gap: 13px;
}

.quartiles span {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #62dec6, var(--teal));
  transform-origin: bottom;
  animation: growBars 1.2s ease both;
}

/* About */

.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 84px;
}

.about-body {
  color: var(--muted);
  font-size: 1.12rem;
}

.about-body p {
  margin-top: 0;
}

.about-body blockquote {
  margin: 34px 0 0;
  padding: 22px 24px;
  color: var(--navy);
  background: var(--mint);
  border-left: 4px solid var(--teal);
  border-radius: 0 17px 17px 0;
  font-size: 1.05rem;
  font-weight: 800;
}

/* Insights */

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.insight-card {
  min-height: 285px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--teal);
  border-radius: 0 0 var(--radius) var(--radius);
  background: #f7faf9;
}

.insight-card > span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.insight-card h3 {
  margin: 18px 0 12px;
  color: var(--navy);
  font-size: 1.36rem;
  line-height: 1.14;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
}

.insight-card a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

/* Contact */

.contact-section {
  padding-top: 44px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  border-radius: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 3%, rgba(39, 197, 167, 0.2), transparent 33%),
    var(--navy);
  box-shadow: var(--shadow);
}

.contact-panel::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  top: -220px;
  border: 55px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel h2 {
  max-width: 750px;
  color: var(--white);
}

.contact-panel p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 1.07rem;
}

.contact-button {
  color: var(--navy);
  background: var(--teal-bright);
  white-space: nowrap;
}

.contact-button:hover {
  background: #6ee3cd;
}

/* Footer */

.site-footer {
  padding: 36px 0 44px;
}

.footer-wrap {
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.footer-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-brand {
  font-size: 0.98rem;
}

.footer-brand .brand-mark {
  width: 33px;
  height: 33px;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeArea {
  to {
    opacity: 1;
  }
}

@keyframes fadeDots {
  to {
    opacity: 1;
  }
}

@keyframes growQuality {
  to {
    width: 98.2%;
  }
}

@keyframes growBars {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Responsive */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 880px;
  }

  .dashboard-shell {
    width: min(100%, 850px);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 77px 20px auto;
    padding: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 11px 10px;
  }

  .main-nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-grid p {
    min-height: 70px;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line);
  }

  .problem-grid p:nth-child(2) {
    border-right: 0;
  }

  .problem-grid p:nth-child(3),
  .problem-grid p:nth-child(4) {
    border-bottom: 0;
  }

  .work-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .case-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-button {
    width: fit-content;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 66px;
  }

  .hero-copy h1 {
    font-size: clamp(3.15rem, 15vw, 4.75rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dashboard-shell {
    padding: 17px;
    border-radius: 23px;
  }

  .dashboard-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-main {
    grid-template-columns: 1fr;
  }

  .dashboard-side {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 275px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid p,
  .problem-grid p:first-child,
  .problem-grid p:last-child {
    min-height: 64px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem-grid p:last-child {
    border-bottom: 0;
  }

  .contact-panel {
    min-height: 0;
    padding: 36px 25px;
  }

  .contact-button {
    width: 100%;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
