/* Inersis Web v2 */

:root {
  --navy-950: #031020;
  --navy-900: #06182c;
  --navy-800: #0b2745;
  --blue-600: #126bff;
  --blue-500: #2f80ff;
  --blue-300: #6fb0ff;
  --text: #0b1830;
  --muted: #60708a;
  --line: #e5edf7;
  --surface: #ffffff;
  --surface-soft: #f6f9fd;
  --shadow: 0 24px 70px rgba(3, 16, 32, .18);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229,237,247,.9);
}

.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 310px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}

.main-nav a {
  color: #17233a;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--blue-600);
}

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(18, 107, 255, .28);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--navy-900);
  margin: 6px 0;
  border-radius: 999px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.svg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,16,32,.97) 0%, rgba(3,16,32,.88) 36%, rgba(3,16,32,.38) 68%, rgba(3,16,32,.08) 100%),
    linear-gradient(180deg, rgba(3,16,32,.10), rgba(3,16,32,.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 86px 0;
}

.hero-card {
  width: min(560px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 900;
}

.hero h1 span {
  color: var(--blue-500);
}

.hero-copy {
  color: #c8d7eb;
  margin: 24px 0 0;
  font-size: 18px;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  box-shadow: 0 18px 40px rgba(18, 107, 255, .30);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.06);
}

/* Pillars */

.pillars-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 -18px 60px rgba(3,16,32,.12);
}

.pillars-grid {
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: center;
}

.pillar {
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--navy-800);
  text-align: center;
}

.pillar-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue-500);
}

.pillar-icon img {
  width: 44px;
  height: 44px;
}

.pillar strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Sections */

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2,
.approach-text h2,
.contact h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.section-heading p,
.approach-text p,
.contact p {
  color: var(--muted);
  font-size: 17px;
}

.services {
  background: var(--surface-soft);
  padding-top: 40px;
}

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

.service-card,
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(3,16,32,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover,
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(47,128,255,.28);
}

.service-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.service-card h3,
.case-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -.02em;
}

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

/* Approach */

.approach {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: white;
  position: relative;
  overflow: hidden;
}

.approach::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -260px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,128,255,.25), rgba(47,128,255,0) 65%);
}

.approach-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.approach-text h2,
.approach-text p {
  color: #fff;
}

.approach-text p {
  color: #c8d7eb;
}

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

.step {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 24px;
}

.step span {
  display: block;
  color: var(--blue-300);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 22px;
}

.step strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  color: #b6c8df;
  font-size: 14px;
}

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

/* Contact */

.contact {
  padding: 96px 0;
  background: var(--surface-soft);
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  background: #fff;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 48px;
}

.contact-card h2 {
  max-width: 660px;
}

.contact-card p {
  max-width: 560px;
}

/* Footer */

.footer {
  background: var(--navy-950);
  color: #c8d7eb;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer img {
  width: 250px;
}

/* Reveal animation */

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 980px) {
  .header-inner {
    min-height: 92px;
  }

  .brand img {
    width: 250px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 92px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

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

  .approach-inner {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .brand img {
    width: 212px;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(3,16,32,.97), rgba(3,16,32,.74));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pillars-grid,
  .services-grid,
  .steps,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    padding: 24px 0;
  }

  .pillar {
    grid-template-columns: 44px 1fr;
    justify-items: start;
    text-align: left;
  }

  .section {
    padding: 72px 0;
  }

  .contact-card {
    padding: 30px;
  }
}

.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;

    width: 64px;
    height: 64px;

    border-radius: 50%;

    background: #25D366;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 15px 35px rgba(37,211,102,.35);

    transition: all .25s ease;

    z-index: 999;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 22px 45px rgba(37,211,102,.45);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}