:root {
  color-scheme: light;
  --bg: #f8fbff;
  --bg-alt: #eef5ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #06111f;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --primary: #2563eb;
  --secondary: #0f766e;
  --accent: #38bdf8;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.07);
  --hero-gradient: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(56, 189, 248, 0.18));
  --glow: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(56, 189, 248, 0.16));
}

body[data-theme='dark'] {
  color-scheme: dark;
  --bg: #020617;
  --bg-alt: #07111f;
  --surface: rgba(10, 18, 34, 0.86);
  --surface-strong: rgba(15, 23, 42, 0.96);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --border: rgba(255, 255, 255, 0.12);
  --primary: #60a5fa;
  --secondary: #2dd4bf;
  --accent: #38bdf8;
  --shadow: 0 26px 70px rgba(2, 6, 23, 0.38);
  --shadow-soft: 0 16px 38px rgba(2, 6, 23, 0.3);
  --hero-gradient: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(45, 212, 191, 0.16));
  --glow: linear-gradient(135deg, rgba(96, 165, 250, 0.24), rgba(56, 189, 248, 0.12));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.2rem;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  font-size: clamp(12.8px, 0.76vw, 14.4px);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.5s ease, color 0.5s ease;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1104px, calc(100% - 1.6rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 0.8rem 0;
  transition: padding 0.25s ease;
}

.site-header.scrolled {
  padding: 0.48rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.76rem 1.04rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(17.6px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body[data-theme='dark'] .navbar {
  background: rgba(10, 18, 34, 0.42);
  border-color: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .navbar {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text {
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.88rem;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 245, 255, 0.92));
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
  overflow: hidden;
  padding: 0.2rem;
}

.brand-mark img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.phone-link {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-toggle,
.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.lang-toggle:hover,
.theme-toggle:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.24rem;
  padding: 0.35rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(6.8rem, 8vw, 8.8rem) 0 clamp(3.2rem, 4.8vw, 5.6rem);
  transition: background 0.45s ease, color 0.45s ease;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(22.4px);
  opacity: 0.55;
}

.orb-one {
  width: 17.6rem;
  height: 17.6rem;
  background: rgba(37, 99, 235, 0.28);
  top: -3.2rem;
  right: -2.4rem;
}

.orb-two {
  width: 14.4rem;
  height: 14.4rem;
  background: rgba(56, 189, 248, 0.22);
  bottom: -1.6rem;
  left: -1.6rem;
}

.orb-three {
  width: 10.4rem;
  height: 10.4rem;
  background: rgba(15, 118, 110, 0.16);
  top: 8rem;
  left: 34%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.76rem, 2.56vw, 3.2rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.16rem;
  max-width: 33.6rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.illustration-card {
  width: min(100%, 30.4rem);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  margin: 0 0 0 0rem;
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--primary);
  font-size: 0.664rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

body[data-theme='dark'] .eyebrow {
  background: rgba(15, 23, 42, 0.62);
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.84rem, 2.96vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero h1 {
  background: linear-gradient(90deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle,
.section-copy,
.info-card p,
.document-card p,
.contact-copy a,
.contact-address,
.site-footer p {
  color: var(--muted);
  font-size: 1rem;
}

.hero-subtitle {
  max-width: 512px;
  font-size: 0.864rem;
  margin: 0 0 1.36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-bottom: 1.44rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.04rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-1.6px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 9.6px 22.4px rgba(37, 99, 235, 0.24);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.link-center,
.retourner {
  display: flex;
  justify-content: center;
}

.link-center > .btn,
.retourner > .btn {
  margin: 0;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-highlights li {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.illustration-card,
.info-card,
.document-card,
.contact-card {
  background: linear-gradient(145deg, var(--surface), rgba(255, 255, 255, 0.32));
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body[data-theme='dark'] .illustration-card,
body[data-theme='dark'] .info-card,
body[data-theme='dark'] .document-card,
body[data-theme='dark'] .contact-card {
  background: linear-gradient(145deg, var(--surface-strong), rgba(15, 23, 42, 0.7));
}

.illustration-card {
  padding: 1rem;
}

.section {
  padding: clamp(2.6rem, 4.48vw, 4.4rem) 0;
  position: relative;
  z-index: 0;
  margin-top: 3.2rem;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-heading {
  display: grid;
  gap: 0.76rem;
  max-width: 688px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('../assets/images/section-bg.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 33.6rem;
  opacity: 0.18;
  pointer-events: none;
}

.section.clients::before {
  display: none;
}

.client-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 25.6px 80px rgba(15, 23, 42, 0.14);
  padding: clamp(1.6rem, 2.4vw, 2.4rem) 0;
  min-height: 12.8rem;
}

.section.clients .client-marquee {
  padding: 3rem 0;
}

.client-marquee::before,
.client-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 9.6rem;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(247, 250, 255, 1), rgba(247, 250, 255, 0));
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(247, 250, 255, 1), rgba(247, 250, 255, 0));
}

.client-track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 1.76rem;
  transform: translateY(-50%);
  white-space: nowrap;
  animation: client-marquee 32s linear infinite;
}

.client-track:hover {
  animation-play-state: paused;
}

@keyframes client-marquee {
  0% {
    transform: translate(0, -50%);
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

.client-item {
  min-width: 14.5rem;
  width: 14.5rem;
  display: grid;
  place-items: center;
  padding: 1.4rem 1.35rem;
  border-radius: 2rem;
  /* background: rgba(15, 23, 42, 0.06); */
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.client-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.98);
}

.client-item img {
  display: block;
  max-height: 4rem;
  width: auto;
  object-fit: contain;
  filter: saturate(1);
}

body[data-theme='dark'] .section::before {
  opacity: 0.08;
}

.section-heading {
  max-width: 608px;
  margin-bottom: 1rem;
}

.section-heading .section-copy {
  margin-top: 0.6rem;
}

.section.clients .section-heading {
  max-width: 672px;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(1.44rem, 2.4vw, 1.92rem);
}

.section.clients .section-heading h2 {
  font-size: clamp(1.76rem, 3.2vw, 2.4rem);
}

.section.clients .section-heading .section-copy {
  max-width: 608px;
  margin-top: 0.72rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.card-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.2vw, 1.2rem);
  position: relative;
}

.section.documents::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/documents-bg.svg');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 38.4rem;
  opacity: 0.18;
  pointer-events: none;
}

body[data-theme='dark'] .section.documents::before {
  opacity: 0.09;
}

.info-card,
.document-card {
  position: relative;
  padding: 1.16rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.document-card:nth-child(1) {
  border-color: rgba(37, 99, 235, 0.2);
}

.document-card:nth-child(2) {
  border-color: rgba(15, 118, 110, 0.2);
}

.document-card:nth-child(3) {
  border-color: rgba(124, 58, 237, 0.2);
}

.document-card:nth-child(4) {
  border-color: rgba(234, 88, 12, 0.2);
}

.info-card::before,
.document-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--glow);
}

.info-card:hover,
.document-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

/* Focus mode: when a grid is focused, non-focused cards blur */
.card-grid.focused .info-card:not(.focused),
.document-grid.focused .document-card:not(.focused) {
  filter: blur(4px);
  opacity: 0.68;
  transform: scale(0.995) translateY(0);
  transition: filter 0.36s ease, opacity 0.36s ease, transform 0.36s ease;
  pointer-events: none;
}

.card-grid .info-card.focused,
.document-grid .document-card.focused {
  transform: translateY(-12px) scale(1.03);
  z-index: 12;
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.28);
}

/* graceful transitions */
.info-card, .document-card {
  transition: transform 0.36s cubic-bezier(.2,.9,.2,1), box-shadow 0.36s ease, filter 0.36s ease, opacity 0.36s ease;
}

.card-icon,
.doc-icon {
  display: inline-grid;
  place-items: center;
  width: 2.56rem;
  height: 2.56rem;
  border-radius: 0.88rem;
  margin-bottom: 0.8rem;
  font-size: 0.96rem;
  box-shadow: 0 8px 19.2px rgba(37, 99, 235, 0.22);
}

.card-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.document-card:nth-child(1) .doc-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

.document-card:nth-child(2) .doc-icon {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: white;
}

.document-card:nth-child(3) .doc-icon {
  background: linear-gradient(135deg, #7c3aed, #38bdf8);
  color: white;
}

.document-card:nth-child(4) .doc-icon {
  background: linear-gradient(135deg, #ea580c, #fb923c);
  color: white;
}

.info-card h3,
.document-card h3 {
  margin: 0 0 0.52rem;
  font-size: 0.92rem;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  margin-top: 0.8rem;
  padding: 0.64rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.download-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.23), transparent);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.download-link:hover::before {
  transform: translateX(120%);
}

.download-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.28);
}

.download-link::after {
  content: '↓';
  font-size: 0.95rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(0.96rem, 1.6vw, 1.6rem);
  padding: clamp(1.08rem, 1.6vw, 1.6rem);
  background: linear-gradient(145deg, var(--surface), rgba(255, 255, 255, 0.34));
  border: 1px solid var(--border);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 0.76rem;
}

.contact-copy a {
  display: inline-block;
  color: var(--text);
  font-weight: 600;
}

.contact-list {
  display: grid;
  gap: 0.56rem;
  margin-top: 0.28rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.576rem 0.72rem;
  border-radius: 0.76rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-item span {
  font-size: 0.624rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-item:hover {
  transform: translateY(-1.6px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 8px 17.6px rgba(15, 23, 42, 0.08);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 0.96rem;
  align-items: center;
  padding-top: 0.12rem;
  margin-left: 0.24rem;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.68rem;
  height: 1.68rem;
  border-radius: 0.56rem;
  border: none;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.28s ease, box-shadow 0.28s ease;
}

.social-link:hover {
  border-radius: 50%;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
}

.social-link .social-icon {
  display: block;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  border-radius: 0.7rem;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.28s ease;
}

.social-link--facebook .social-icon,
.social-link--mail .social-icon {
  padding: 0.08rem;
  box-sizing: border-box;
}

.social-link:hover .social-icon {
  transform: scale(1.04);
  border-radius: 50%;
}

.social-link .social-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-link--facebook .social-icon img,
.social-link--mail .social-icon img {
  object-fit: contain;
  transform: scale(1.03);
  padding: 0.04rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: inherit;
}

.social-link .social-label {
  position: absolute;
  left: 50%;
  top: -0.2rem;
  transform: translate(-50%, -100%) translateY(8px) scale(0.96);
  padding: 0.192rem 0.368rem;
  opacity: 0;
  font-size: 0.544rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  color: #f8fbff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(56, 189, 248, 0.95));
  border-radius: 999px;
  box-shadow: 0 6.4px 14.4px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(8px);
  transition: opacity 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  pointer-events: none;
}

.social-link:hover .social-label {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(0) scale(1);
}

.social-link--instagram {
  color: #d62976;
}

.social-link--facebook {
  color: #1877f2;
}

.social-link--linkedin {
  color: #0a66c2;
}

.social-link--mail {
  color: var(--primary);
}

.contact-map-panel {
  display: flex;
  justify-content: flex-end;
}

.map-card {
  width: min(100%, 20.8rem);
  border-radius: 0.88rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 15rem;
  border: 0;
}

.social-link--whatsapp {
  color: #25d366;
}

.social-link--whatsapp .social-icon {
  display: grid;
  place-items: center;
  background: rgba(37, 211, 102, 0.08);
  border-radius: 50%;
}

.social-link--whatsapp .social-icon svg {
  width: 1rem;
  height: 1rem;
}

.site-footer {
  padding: 1.2rem 0 1.6rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 0;
  transform: translateY(19.2px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1440px) {
  .container {
    width: min(1184px, calc(100% - 2.4rem));
  }

  .hero {
    padding: clamp(6.8rem, 8vw, 8.8rem) 0 clamp(3.2rem, 4.8vw, 4.8rem);
  }

  .hero-grid {
    gap: clamp(2.4rem, 3.2vw, 4rem);
  }

  .section {
    padding: clamp(3.4rem, 4.96vw, 5.2rem) 0;
  }

  .card-grid,
  .document-grid {
    gap: clamp(1rem, 1.44vw, 1.44rem);
  }
}

@media (min-width: 1920px) {
  .container {
    width: min(1344px, calc(100% - 2.8rem));
  }

  .navbar {
    padding: 1.1rem 1.3rem;
    gap: 1.1rem;
  }

  .nav-link {
    font-size: 1.08rem;
  }

  .phone-link {
    padding: 0.84rem 1.12rem;
    font-size: 1rem;
  }

  .btn {
    padding: 0.84rem 1.12rem;
    font-size: 1rem;
  }

  .hero {
    padding: clamp(7.4rem, 6.8vw, 9.6rem) 0 clamp(4.2rem, 4.8vw, 5.8rem);
  }

  .hero-grid {
    gap: clamp(2.8rem, 3.2vw, 4.8rem);
  }

  .hero-copy {
    max-width: 41.5rem;
    gap: 1.3rem;
  }

  .hero h1 {
    font-size: 3.45rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.55rem;
  }

  .hero-actions {
    gap: 1rem;
    margin-bottom: 1.65rem;
  }

  .illustration-card {
    width: min(100%, 35.5rem);
  }

  .eyebrow {
    font-size: 0.73rem;
    padding: 0.47rem 0.76rem;
  }

  .section {
    padding: clamp(3.8rem, 4.9vw, 6rem) 0;
  }

  .section-heading {
    max-width: 742px;
    gap: 1rem;
  }

  .section.clients .section-heading {
    max-width: 768px;
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
  }

  .section-copy {
    font-size: 1.02rem;
    line-height: 1.76;
  }

  .card-grid,
  .document-grid {
    gap: clamp(1.2rem, 1.4vw, 1.85rem);
  }

  .info-card,
  .document-card {
    padding: 1.3rem;
  }

  .client-marquee {
    padding: 3.7rem 0;
    min-height: 15rem;
  }

  .client-item {
    min-width: 17.4rem;
    padding: 1.7rem 1.45rem;
  }

  .client-item img {
    max-height: 4.45rem;
  }

  .card-icon,
  .doc-icon {
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
  }

  .contact-card {
    gap: clamp(1.2rem, 1.8vw, 1.95rem);
    padding: clamp(1.2rem, 1.8vw, 1.95rem);
  }

  .contact-item {
    padding: 0.7rem 0.9rem;
  }

  .contact-item span {
    font-size: 0.69rem;
  }

  .social-links {
    gap: 1.8rem;
  }

  .social-link {
    width: 1.9rem;
    height: 1.9rem;
  }

  .social-link .social-icon {
    border-radius: 0.79rem;
  }

  .map-card {
    width: min(100%, 23.2rem);
  }

  .map-card iframe {
    height: 15.8rem;
  }

  .footer-content {
    gap: 1rem;
  }
}

@media (min-width: 2560px) {
  body {
    font-size: 18px;
  }

  .container {
    width: min(2100px, calc(100% - 4rem));
  }

  .navbar {
    padding: 1.8rem 1.7rem;
    gap: 2rem;
  }

  .nav-link {
    font-size: 1.8rem;
  }

  .phone-link {
    padding: 1.2rem 1.55rem;
    font-size: 1.4rem;
  }

  .btn {
    padding: 1.2rem 1.55rem;
    font-size: 1.4rem;
  }

  .hero {
    padding: clamp(13rem, 9vw, 18rem) 0 clamp(9rem, 7vw, 15rem);
  }

  .hero-grid {
    gap: clamp(6rem, 5vw, 9rem);
  }

  .hero-copy {
    max-width: 72rem;
    gap: 2.6rem;
  }

  .hero h1 {
    font-size: 5.8rem;
  }

  .hero-subtitle {
    font-size: 1.9rem;
    margin-bottom: 3.2rem;
  }

  .hero-actions {
    gap: 2rem;
    margin-bottom: 3.4rem;
  }

  .illustration-card {
    width: min(100%, 52rem);
  }

  .eyebrow {
    font-size: 1.2rem;
    padding: 1rem 1.4rem;
  }

  .section {
    padding: clamp(8rem, 6vw, 12rem) 0;
  }

  .section-heading {
    max-width: 1100px;
    gap: 1.8rem;
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: clamp(3rem, 2vw, 4.4rem);
  }

  .section.clients .section-heading h2 {
    font-size: clamp(3.2rem, 2vw, 5rem);
  }

  .section.clients .section-heading .section-copy {
    font-size: 1.45rem;
    line-height: 2;
    max-width: 720px;
  }

  .section-copy {
    font-size: 1.75rem;
    line-height: 1.95;
  }

  .card-grid,
  .document-grid {
    gap: clamp(4.5rem, 4vw, 5.6rem);
  }

  .info-card,
  .document-card {
    padding: 3.6rem;
  }

  .info-card h3,
  .document-card h3 {
    font-size: 2rem;
  }

  .info-card p,
  .document-card p {
    font-size: 1.3rem;
    line-height: 1.9;
  }

  .contact-card {
    gap: clamp(3rem, 2.8vw, 4.2rem);
    padding: clamp(3rem, 2.8vw, 4.2rem);
  }

  .contact-copy {
    gap: 1.2rem;
  }

  .contact-copy a {
    font-size: 1.4rem;
  }

  .contact-list {
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .contact-item {
    padding: 1.8rem 2rem;
    gap: 0.3rem;
  }

  .contact-item span {
    font-size: 1.15rem;
    letter-spacing: 0.18em;
  }

  .contact-item p,
  .contact-item a,
  .contact-item strong {
    font-size: 1.25rem;
  }

  .client-marquee {
    padding: 8rem 0;
    min-height: 28rem;
  }

  .client-item {
    min-width: 28rem;
    padding: 3.6rem 3.2rem;
  }

  .client-item img {
    max-height: 9.8rem;
  }

  .card-icon,
  .doc-icon {
    width: 6rem;
    height: 6rem;
    font-size: 1.8rem;
    margin-bottom: 1.9rem;
  }

  .contact-card {
    gap: clamp(3rem, 2.8vw, 4.2rem);
    padding: clamp(3rem, 2.8vw, 4.2rem);
  }

  .contact-copy {
    gap: 1.2rem;
  }

  .contact-copy a {
    font-size: 1.3rem;
  }

  .contact-list {
    gap: 0.9rem;
    margin-top: 0.5rem;
  }

  .contact-item {
    padding: 1.8rem 2rem;
    gap: 0.3rem;
  }

  .contact-item span {
    font-size: 1.15rem;
    letter-spacing: 0.18em;
  }

  .contact-item p,
  .contact-item a,
  .contact-item strong {
    font-size: 1.2rem;
  }

  .social-links {
    gap: 3.8rem;
  }

  .social-link {
    width: 3.8rem;
    height: 3.8rem;
  }

  .social-link .social-icon {
    border-radius: 1rem;
  }

  .social-link .social-label {
    font-size: 0.72rem;
  }

  .map-card {
    width: min(100%, 40rem);
  }

  .map-card iframe {
    height: 30rem;
  }

  .footer-content {
    gap: 2.2rem;
  }
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 5.6rem;
  }
  
  .hero {
    padding-top: 2.8rem;
  }
  
  .navbar {
    border-radius: 1rem;
    flex-wrap: wrap;
    padding: 0.68rem 0.8rem;
    gap: 0.6rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    gap: 0.6rem;
    background: var(--surface);
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
    animation: fadeIn 0.25s ease;
  }

  .nav-links .nav-link {
    width: 100%;
    padding: 0.68rem 0.8rem;
    border-radius: 0.76rem;
    background: transparent;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    background: rgba(37, 99, 235, 0.08);
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.4rem;
    gap: 0.48rem;
  }

  .nav-actions .btn,
  .nav-actions .control-group {
    flex: 1;
  }

  main {
    margin-top: 5.6rem;
  }

  .page-shell {
    margin-top: 1.76rem;
  }

  .nav-actions .btn {
    min-width: 40%;
  }

  .control-group {
    justify-content: flex-end;
  }

  .phone-link {
    flex: 1;
    text-align: center;
  }

  .card-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .contact-map-panel {
    justify-content: flex-start;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .nav-actions {
    flex-wrap: wrap;
  }

  .phone-link {
    width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6.4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
