:root {
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Sora", "Manrope", "Segoe UI", sans-serif;

  --bg-deep: #07162f;
  --bg-deep-2: #0c1f41;
  --bg-soft: #eaf0f8;
  --surface: #ffffff;
  --surface-soft: #f4f8fd;
  --surface-soft-2: #eef4fb;

  --text-primary: #0f1e37;
  --text-secondary: #4b5d7e;
  --text-on-dark: #ecf3ff;
  --text-on-dark-soft: #a9bad9;

  --brand: #0c6af2;
  --brand-2: #14a3ad;
  --brand-dark: #0a4cb0;
  --accent-warm: #f2a64b;
  --border-light: #d7e3f5;
  --border-dark: rgba(175, 198, 232, 0.24);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 12px 30px rgba(9, 25, 52, 0.08);
  --shadow-md: 0 20px 44px rgba(6, 18, 39, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(42% 60% at 92% 1%, rgba(18, 79, 208, 0.34), transparent 70%),
    radial-gradient(32% 38% at 6% 10%, rgba(20, 163, 173, 0.23), transparent 74%),
    linear-gradient(180deg, var(--bg-deep) 0%, #0a2145 34%, #173866 49%, #dce7f5 66%, var(--bg-soft) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

body::before {
  top: -120px;
  left: -130px;
  background: rgba(36, 145, 210, 0.2);
}

body::after {
  top: 40px;
  right: -110px;
  background: rgba(38, 122, 255, 0.18);
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(7, 22, 47, 0.72);
  border-bottom: 1px solid rgba(197, 217, 248, 0.16);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.topbar--scrolled {
  background: rgba(7, 22, 47, 0.94);
  box-shadow: 0 16px 40px rgba(5, 15, 30, 0.4);
}

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

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand__logo {
  height: 35px;
  width: auto;
  display: block;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(177, 199, 232, 0.34);
  border-radius: 999px;
  padding: 3px;
  background: rgba(10, 31, 64, 0.74);
}

.lang-switch a {
  min-width: 36px;
  text-align: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b2c5e6;
  border-radius: 999px;
  padding: 6px 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch a:hover {
  color: #ffffff;
}

.lang-switch a.is-active {
  background: linear-gradient(118deg, var(--brand-2), var(--brand));
  color: #ffffff;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-on-dark-soft);
  font-weight: 600;
  font-size: 0.93rem;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav .btn::after {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  background: linear-gradient(102deg, var(--brand-2) 0%, var(--brand) 58%, var(--brand-dark) 100%);
  box-shadow: 0 10px 24px rgba(6, 77, 176, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 72, 171, 0.45);
  filter: brightness(1.03);
}

.btn--ghost {
  color: var(--text-on-dark);
  border: 1px solid rgba(180, 203, 238, 0.38);
  background: rgba(11, 31, 66, 0.42);
  box-shadow: none;
}

.btn--small {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn--large {
  padding: 16px 28px;
  font-size: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 98px 0 72px;
}

.hero__aurora {
  position: absolute;
  width: 820px;
  height: 820px;
  right: -280px;
  top: -380px;
  background: radial-gradient(circle at center, rgba(20, 163, 173, 0.28), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.hero__content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 800;
  color: #67d4df;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  line-height: 1.16;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 5px 22px rgba(4, 15, 35, 0.42);
  color: #f7fbff;
}

h1 span {
  background: linear-gradient(98deg, #9fdfff 8%, #79b5ff 52%, #8fdbcf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  color: #f7fbff;
}

h3 {
  font-size: 1.23rem;
  margin-bottom: 10px;
}

.lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text-on-dark-soft);
  max-width: 64ch;
}

.hero__chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__chips span {
  border: 1px solid rgba(169, 193, 228, 0.36);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #dce9ff;
  background: rgba(12, 33, 69, 0.68);
}

.hero__actions {
  margin: 28px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__trust {
  margin: 0 0 24px;
  color: #9bb2db;
  font-size: 0.93rem;
  font-weight: 600;
}

.hero__metrics {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero__metrics li {
  border: 1px solid rgba(171, 196, 236, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(9, 26, 56, 0.64);
  padding: 14px 14px 12px;
}

.hero__metrics strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.42rem;
}

.hero__metrics span {
  display: block;
  color: #b2c4e6;
  font-size: 0.87rem;
  line-height: 1.42;
}

.hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  background: linear-gradient(170deg, rgba(13, 35, 73, 0.92), rgba(7, 22, 47, 0.95));
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(124, 171, 244, 0.35), rgba(20, 163, 173, 0.16));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__logo {
  width: clamp(140px, 23vw, 220px);
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.hero__card h2 {
  margin-bottom: 14px;
  font-size: 1.38rem;
  color: #f2f7ff;
}

.hero__card p {
  margin: 0;
  color: #b9cbe8;
  font-size: 0.95rem;
}

.hero__banner {
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(173, 194, 228, 0.25);
  background: linear-gradient(130deg, rgba(27, 80, 177, 0.34), rgba(20, 163, 173, 0.26));
}

.hero__banner img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero__banners-grid {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero__banners-grid img {
  width: 100%;
  height: 102px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(173, 194, 228, 0.24);
}

.section {
  position: relative;
  padding: 84px 0;
}

.section h2 {
  margin-bottom: 0;
}

.section--light {
  color: var(--text-primary);
  background: var(--surface);
}

.section--light .eyebrow {
  color: #11668f;
}

.section--light h2,
.section--light h3 {
  color: #0d1f3b;
}

.logo-strip {
  padding: 68px 0 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, var(--surface) 24%, var(--surface) 100%);
}

.logo-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.logo-slot {
  min-height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  color: #2d4268;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.logo-slot:hover {
  transform: translateY(-3px);
  border-color: #bad0f2;
  box-shadow: var(--shadow-sm);
}

.cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(9, 25, 52, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card p {
  margin-bottom: 0;
  color: #4a5b79;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b8cff2;
  box-shadow: 0 18px 34px rgba(7, 32, 74, 0.12);
}

#sectores {
  background: linear-gradient(164deg, var(--bg-deep-2) 0%, #081b3a 100%);
}

#sectores .eyebrow {
  color: #74dbd2;
}

#sectores h2 {
  color: #f2f8ff;
}

.cards--dark .card--dark {
  background: rgba(12, 32, 67, 0.82);
  border: 1px solid rgba(174, 197, 234, 0.2);
  box-shadow: 0 12px 28px rgba(3, 13, 28, 0.3);
}

.cards--dark .card--dark h3 {
  color: #f5f9ff;
}

.cards--dark .card--dark p {
  color: #b6c8e6;
}

#trabajos {
  background: var(--surface-soft);
}

.portfolio-intro {
  margin: 0;
  max-width: 76ch;
  color: #45587c;
}

.portfolio-cards {
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portfolio-card__logo-box {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid #d8e4f6;
  background: linear-gradient(180deg, #ffffff, #f0f5ff);
  display: grid;
  place-items: center;
  padding: 7px;
}

.portfolio-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portfolio-card__company {
  margin: 0 0 2px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #13589b;
}

.portfolio-card__tag {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c7299;
  font-weight: 700;
}

.portfolio-card h3,
.portfolio-card p {
  margin: 0;
}

.portfolio-card h3 {
  color: #132f5a;
  line-height: 1.32;
}

.portfolio-card ul {
  margin: 0;
  padding-left: 18px;
  color: #415578;
}

.portfolio-card__media {
  border-radius: 12px;
  border: 1px solid #d7e4f8;
  overflow: hidden;
  background: #eaf1fc;
}

.portfolio-card__media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

.portfolio-logos {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portfolio-logo {
  margin: 0;
  min-height: 98px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d6e3f6;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
}

.portfolio-logo img {
  width: 100%;
  max-width: 130px;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.portfolio-logo figcaption {
  font-size: 0.76rem;
  font-weight: 700;
  color: #426089;
}

.portfolio-logo__text {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1f3f71;
  letter-spacing: 0.02em;
}

#casos {
  background: #ffffff;
}

.pillars {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pillars span {
  border: 1px solid #d5e3f9;
  border-radius: 999px;
  background: #ffffff;
  color: #22395f;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 16px;
}

.pillars--cards span {
  flex: 1 1 280px;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: 0 6px 16px rgba(9, 29, 61, 0.06);
}

#proceso {
  background: linear-gradient(180deg, #f6f9fe 0%, #edf4fc 100%);
  color: var(--text-primary);
}

#proceso .eyebrow {
  color: #106586;
}

#proceso h2,
#proceso h3 {
  color: #0f2345;
}

.timeline {
  counter-reset: steps;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.timeline li {
  position: relative;
  padding: 20px 20px 20px 80px;
  border: 1px solid #d4e2f7;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 24, 49, 0.06);
}

.timeline li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 20px rgba(8, 88, 184, 0.28);
}

.timeline p {
  margin: 0;
  color: #4a5f82;
}

#faq {
  background: var(--surface);
}

.faq-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  border: 1px solid #d8e4f6;
  border-left: 4px solid #2892bf;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: var(--radius-md);
  padding: 22px;
}

.faq-item h3 {
  color: #132c53;
}

.faq-item p {
  margin: 0;
  color: #4a5f80;
}

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #0a2148 0%, #0b2b5f 52%, #0d4f78 100%);
}

.cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(242, 166, 75, 0.26), transparent 68%);
  pointer-events: none;
}

.cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.cta h2 {
  margin-bottom: 12px;
  color: #f9fcff;
}

.cta__content p {
  margin: 0;
  max-width: 66ch;
  color: #afc2e6;
}

.cta__help {
  margin-top: 14px !important;
  font-size: 0.94rem;
}

.cta__help a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  border: 1px solid rgba(186, 208, 243, 0.35);
  border-radius: 18px;
  padding: 20px;
  background: rgba(9, 33, 71, 0.66);
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: #d7e5ff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(168, 194, 232, 0.34);
  background: rgba(6, 24, 54, 0.68);
  color: #f6faff;
  font: inherit;
  padding: 11px 12px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(133, 198, 237, 0.8);
  box-shadow: 0 0 0 3px rgba(56, 145, 219, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form .btn--large {
  width: 100%;
  margin-top: 4px;
}

.contact-form__note {
  margin: 0;
  font-size: 0.78rem;
  color: #a6badf;
}

.contact-form__hp {
  display: none;
}

.cta .btn--large {
  background: linear-gradient(120deg, #ffffff, #f1f7ff);
  color: #1d3d70;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 30px rgba(2, 15, 33, 0.28);
}

.kit-strip {
  padding-top: 56px;
}

.kit-strip__card {
  border-radius: 20px;
  border: 1px solid #d5e2f7;
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(12, 35, 73, 0.08);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}

.kit-strip__content .eyebrow {
  color: #0e688e;
}

.kit-strip__content h2 {
  color: #102749;
  margin-bottom: 10px;
}

.kit-strip__content p {
  margin: 0;
  color: #4a5f82;
  max-width: 66ch;
}

.kit-strip__logo-wrap {
  min-width: 300px;
  max-width: 360px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #dbe6f8;
  background: #ffffff;
  display: grid;
  place-items: center;
}

.kit-strip__logo-wrap img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  display: block;
}

.footer {
  background: #07162f;
  border-top: 1px solid rgba(179, 202, 238, 0.2);
  padding: 20px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer p {
  margin: 0;
  color: #9db1d7;
  font-size: 0.9rem;
}

.footer__contact a {
  color: #d8e6ff;
  text-decoration: none;
  font-weight: 700;
}

.section-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.99);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 24;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(175, 198, 232, 0.55);
  color: #ffffff;
  font-size: 1.24rem;
  background: linear-gradient(150deg, rgba(13, 54, 116, 0.94), rgba(14, 110, 132, 0.92));
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, filter 0.2s ease;
}

.back-to-top:hover {
  filter: brightness(1.07);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  margin: 0 auto;
  max-width: 760px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(166, 190, 228, 0.36);
  background: rgba(7, 22, 47, 0.96);
  box-shadow: 0 18px 36px rgba(4, 14, 28, 0.36);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 50;
}

.cookie-banner p {
  margin: 0;
  color: #b8cbea;
  font-size: 0.9rem;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner.is-hidden {
  display: none;
}

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

  .hero__card {
    max-width: 700px;
  }
}

@media (max-width: 980px) {
  .cards,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .cta__grid,
  .kit-strip__card {
    grid-template-columns: 1fr;
  }

  .kit-strip__logo-wrap {
    min-width: 0;
    width: 100%;
    max-width: 460px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 16px;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .lang-switch {
    align-self: flex-end;
  }

  .main-nav::-webkit-scrollbar {
    height: 4px;
  }

  .main-nav::-webkit-scrollbar-thumb {
    background: rgba(173, 197, 232, 0.42);
    border-radius: 999px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .hero {
    padding-top: 82px;
  }

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

  .portfolio-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-logo {
    min-height: 92px;
    padding: 10px;
  }

  .footer__inner {
    justify-content: flex-start;
  }

  .footer__contact {
    width: 100%;
  }

  .timeline li {
    padding: 18px 16px 18px 68px;
  }

  .timeline li::before {
    left: 16px;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
