:root {
  --bg: #f2f8fb;
  --bg-soft: #e8f1f6;
  --surface: #ffffff;
  --surface-2: #f7fbfe;
  --text: #1a2a38;
  --muted: #5c7086;
  --line: #cfe0eb;
  --primary: #00a5b5;
  --primary-2: #2bc0ce;
  --accent: #1f4fa8;
  --danger: #de4d5d;
  --danger-soft: #ffeef1;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 10px 24px rgba(23, 56, 89, 0.08);
  --shadow-lg: 0 28px 58px rgba(14, 41, 67, 0.15);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0.01em;
  background:
    radial-gradient(780px 360px at -4% -8%, rgba(43, 192, 206, 0.16), transparent 68%),
    radial-gradient(780px 380px at 102% 0, rgba(222, 77, 93, 0.13), transparent 70%),
    linear-gradient(180deg, #f5fbff, var(--bg) 48%, #eef6fb);
}

a {
  color: var(--accent);
  text-decoration-color: rgba(31, 79, 168, 0.45);
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
  color: var(--primary);
  text-decoration-color: rgba(0, 165, 181, 0.62);
}

a:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--accent) 62%, white);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 248, 251, 0.9);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.86rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.64rem;
  text-decoration: none;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.main-nav {
  display: inline-flex;
  gap: 1rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
  transition: color 180ms ease, border-color 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent);
  border-color: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.84rem;
  border-radius: 11px;
  padding: 0.64rem 0.94rem;
  background: linear-gradient(130deg, var(--danger), #ec7280);
  box-shadow: 0 12px 24px rgba(222, 77, 93, 0.28);
  text-decoration: none;
}

.breadcrumb-wrap {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.44rem;
  padding: 0.55rem 0;
  color: #6d8197;
  font-size: 0.84rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--accent);
}

.hero {
  padding: 4.8rem 0 2.9rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 1.2rem;
}

.eyebrow,
.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--danger);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  margin-top: 0.74rem;
  font-size: clamp(2rem, 4.7vw, 3.5rem);
  line-height: 1.08;
  text-wrap: balance;
  max-width: 18ch;
}

h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.52rem, 3.3vw, 2.26rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 74ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 11px;
  font-weight: 800;
  padding: 0.82rem 1.14rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 26px rgba(0, 165, 181, 0.26);
}

.btn-secondary {
  color: var(--accent);
  border: 1px solid #c4d7ea;
  background: #fff;
}

.hero-kpis {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.hero-kpis li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.72rem;
  border: 1px solid #d4e3ee;
  border-radius: 11px;
  padding: 0.56rem 0.7rem;
  background: linear-gradient(170deg, #ffffff, #f4f9fd);
  box-shadow: var(--shadow-sm);
}

.hero-kpis strong {
  font-size: 0.9rem;
}

.hero-kpis span {
  font-size: 0.83rem;
  color: var(--muted);
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

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

.hero-media figcaption {
  padding: 0.72rem 0.86rem 0.92rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.section {
  padding: 3.2rem 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(500px 220px at 8% 0, rgba(31, 79, 168, 0.07), transparent 72%),
    radial-gradient(520px 240px at 96% 100%, rgba(222, 77, 93, 0.09), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.protocol-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.protocol-card {
  border: 1px solid #d2e3ee;
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, #ffffff, #f7fcff);
  padding: 1.04rem;
  box-shadow: var(--shadow-sm);
}

.step-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 0.22rem 0.52rem;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--danger);
  border-radius: 999px;
  background: var(--danger-soft);
}

.protocol-card h3 {
  margin-top: 0.42rem;
}

.protocol-card p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.cards {
  margin-top: 1.22rem;
  display: grid;
  gap: 0.9rem;
}

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

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

.card {
  border: 1px solid #d2e2ee;
  border-radius: var(--radius-md);
  background: linear-gradient(162deg, #ffffff, #f7fbfe);
  box-shadow: var(--shadow-sm);
  padding: 1.02rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b8d1e4;
  box-shadow: 0 20px 34px rgba(18, 54, 83, 0.15);
}

.card p {
  margin-top: 0.48rem;
  color: var(--muted);
}

.image-mosaic {
  margin-top: 1.24rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.image-mosaic figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

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

.image-mosaic figcaption,
.image-grid-3 figcaption {
  padding: 0.58rem 0.72rem 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.mosaic-a { grid-column: span 3; }
.mosaic-b { grid-column: span 3; }
.mosaic-c { grid-column: span 2; }
.mosaic-d { grid-column: span 4; }

.image-grid-3 {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.image-grid-3 figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.image-grid-3 img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.twin-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  border: 1px solid #cdddea;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #ffffff, #f4f9fd);
  box-shadow: var(--shadow-sm);
  padding: 1.08rem;
}

.panel p {
  margin-top: 0.72rem;
  color: var(--muted);
}

.section-link-row {
  margin-top: 1rem;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--primary);
}

.partner-link {
  color: #0f3f86;
  font-weight: 800;
  text-decoration-thickness: 1px;
}

.partner-link:hover {
  color: #0e7f8b;
}

.section-contact {
  padding-bottom: 3.8rem;
}

.contact-box {
  border: 1px solid #c8dbe8;
  border-radius: var(--radius-xl);
  padding: 1.3rem;
  background:
    radial-gradient(290px 140px at 0 0, rgba(0, 165, 181, 0.13), transparent 74%),
    radial-gradient(280px 150px at 100% -6%, rgba(222, 77, 93, 0.14), transparent 72%),
    #fff;
  box-shadow: var(--shadow-lg);
}

.contact-box p {
  margin-top: 0.72rem;
  color: var(--muted);
}

.contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-weight: 800;
}

.contact-row a {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #eef5fb;
  padding: 1.08rem 0 1.5rem;
}

.footer-wrap {
  color: #6a8198;
  font-size: 0.9rem;
}

.footer-wrap p + p {
  margin-top: 0.4rem;
}

.footer-wrap a {
  color: #2759a8;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

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

  .protocol-grid,
  .cards-4,
  .cards-3,
  .image-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic-a,
  .mosaic-b,
  .mosaic-c,
  .mosaic-d {
    grid-column: span 3;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 3.8rem;
  }

  .protocol-grid,
  .cards-4,
  .cards-3,
  .image-grid-3 {
    grid-template-columns: 1fr;
  }

  .image-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-a,
  .mosaic-b,
  .mosaic-c,
  .mosaic-d {
    grid-column: auto;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .section,
  .section-contact {
    padding: 2.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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