@import "tailwindcss";

:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --steel: #2563eb;
  --steel-bright: #3b82f6;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --card: #dde3ea;
  --line: #94a3b8;
  --muted: #64748b;
  --whatsapp: #25d366;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

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

:focus-visible {
  outline: 3px solid var(--steel-bright);
  outline-offset: 4px;
}

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

.wide-container {
  width: min(1280px, calc(100% - 40px));
}

.section {
  padding: 112px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--slate-100);
}

.header-brand {
  min-width: 0;
  color: var(--slate-100);
}

.brand-logo {
  width: auto;
  height: 46px;
  flex: none;
  object-fit: contain;
}

.header-brand .brand-copy strong {
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(59, 130, 246, 0.75);
  background: rgba(37, 99, 235, 0.14);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  transform: skewX(-7deg);
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.brand-copy strong {
  font-size: 0.96rem;
  letter-spacing: 0.16em;
}

.brand-copy small {
  color: #93c5fd;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  color: var(--slate-300);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

.desktop-nav a:not(.nav-contact)::after {
  position: absolute;
  inset: auto 0 -9px;
  height: 2px;
  background: var(--steel-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover {
  color: #ffffff;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-contact {
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 10px 16px;
}

.nav-contact:hover {
  border-color: var(--steel-bright);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  width: 42px;
  height: 42px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(203, 213, 225, 0.5);
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span {
  width: 18px;
  height: 2px;
  background: var(--slate-100);
}

.mobile-nav nav {
  position: absolute;
  top: 51px;
  right: 0;
  display: grid;
  width: min(280px, calc(100vw - 40px));
  border: 1px solid rgba(148, 163, 184, 0.34);
  background: var(--navy-soft);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
}

.mobile-nav nav a {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--slate-200);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0.52;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.66) 52%, rgba(15, 23, 42, 0.82) 100%);
}

.hero-grid,
.contact-grid {
  opacity: 0.13;
  background-image: linear-gradient(rgba(148, 163, 184, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.24) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.9), transparent 86%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 896px;
  padding-top: 94px;
  text-align: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 32px;
  height: 2px;
  background: var(--steel-bright);
}

.hero h1 {
  margin: 0;
  color: #f8fafc;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.08;
  text-shadow: 0 5px 22px rgba(15, 23, 42, 0.72);
}

.hero-slogan {
  margin: 26px 0 0;
  color: #60a5fa;
  font-size: clamp(1.35rem, 3.2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-description {
  max-width: 650px;
  margin: 26px auto 0;
  color: var(--slate-300);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-top: 42px;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.primary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0 23px;
  color: var(--slate-100);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease;
}

.primary-button:hover {
  border-color: var(--steel-bright);
  background: rgba(37, 99, 235, 0.16);
}

.primary-button span {
  color: #93c5fd;
  font-size: 1.15rem;
}

.about {
  background: var(--slate-300);
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.eyebrow {
  margin: 0 0 18px;
  color: #1d4ed8;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.about .eyebrow,
.services .eyebrow {
  font-size: 1.208rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 88px;
  align-items: end;
}

.split-heading > p,
.services-heading > p,
.clients-heading > p {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 62px;
  gap: 24px;
}

.pillar-card,
.service-card {
  border: 1px solid var(--line);
  background: var(--card);
}

.pillar-card {
  position: relative;
  display: flex;
  min-height: 330px;
  overflow: hidden;
  flex-direction: column;
  padding: 32px;
  background: var(--navy-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pillar-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.92));
  content: "";
}

.pillar-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 500ms ease;
}

.pillar-card:hover {
  border-color: #64748b;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.pillar-card:hover .pillar-background {
  transform: scale(1.05);
}

.pillar-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(191, 219, 254, 0.42);
  background: rgba(15, 23, 42, 0.5);
  color: #bfdbfe;
  font-size: 1.3rem;
  font-weight: 700;
}

.pillar-number {
  color: #bfdbfe;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.pillar-copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.pillar-card h3 {
  margin: 0 0 14px;
  color: #f8fafc;
  font-size: 1.34rem;
  letter-spacing: -0.025em;
}

.pillar-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.72;
}

.services {
  background: var(--slate-200);
}

.services-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.services-heading > p {
  max-width: 440px;
  padding-bottom: 5px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 58px;
  gap: 32px;
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:hover {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  transform: translateY(-5px);
}

.service-media {
  position: relative;
  overflow: hidden;
  background: var(--navy-soft);
}

.service-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.72));
  content: "";
}

.service-media img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  transition: filter 250ms ease, transform 400ms ease;
}

.service-card:hover .service-media img {
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.025);
}

.service-media span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 12px;
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.16rem;
  line-height: 1.35;
}

.service-body > p {
  margin: 15px 0 21px;
  color: #475569;
  font-size: 0.89rem;
  line-height: 1.68;
}

.service-body ul {
  display: grid;
  margin: auto 0 0;
  padding: 20px 0 0;
  gap: 11px;
  border-top: 1px solid rgba(100, 116, 139, 0.28);
  list-style: none;
}

.service-body li {
  position: relative;
  padding-left: 17px;
  color: #334155;
  font-size: 0.77rem;
  line-height: 1.55;
}

.service-body li::before {
  position: absolute;
  top: 0.61em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--steel);
  content: "";
}

.clients {
  background: #ffffff;
}

.clients-heading {
  max-width: 720px;
}

.clients-heading > p:last-child {
  max-width: 600px;
  margin-top: 23px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 1152px;
  margin: 40px auto 0;
  align-items: stretch;
  justify-items: center;
  gap: 32px;
}

.client-card {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 154px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  opacity: 0.8;
  transition: opacity 300ms ease;
}

.client-logo-stage {
  display: grid;
  width: 100%;
  min-width: 0;
  height: 104px;
  overflow: hidden;
  padding-inline: 12px;
  place-items: center;
}

.client-card:hover {
  opacity: 1;
}

.client-logo {
  width: min(180px, 100%);
  height: 80px;
  max-width: 180px;
  object-fit: contain;
  transition: transform 300ms ease;
}

.client-logo.client-logo-square {
  width: min(94%, 240px);
  height: auto;
  max-width: none;
}

.client-card figcaption {
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
}

.client-card:hover .client-logo {
  transform: scale(1.12);
}

.contact {
  position: relative;
  overflow: hidden;
  background: var(--navy-soft);
}

.contact::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 3px;
  background: var(--steel);
  content: "";
}

.contact-grid {
  position: absolute;
  inset: 0;
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 80px;
}

.dark-eyebrow {
  color: #93c5fd;
}

.contact h2 {
  max-width: 780px;
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.contact-copy > p:last-child {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--slate-300);
  line-height: 1.76;
}

.whatsapp-button {
  display: flex;
  min-width: 310px;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  padding: 18px 20px;
  color: #f8fafc;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.whatsapp-button:hover {
  border-color: var(--whatsapp);
  background: rgba(37, 211, 102, 0.1);
  transform: translateY(-3px);
}

.whatsapp-button span {
  display: grid;
  gap: 3px;
  font-size: 1.05rem;
  font-weight: 700;
}

.whatsapp-button small {
  color: var(--slate-300);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.whatsapp-button b {
  margin-left: auto;
  color: #86efac;
  font-size: 1.2rem;
}

.whatsapp-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
  object-fit: contain;
}

.site-footer {
  background: var(--navy);
  color: var(--slate-300);
}

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

.footer-half {
  padding: 76px 0 64px;
}

.footer-half-light {
  background: var(--navy);
}

.footer-half-dark {
  background: var(--navy);
}

.footer-half-content {
  width: min(590px, calc(100% - 40px));
}

.footer-half-content-left {
  margin-left: auto;
  padding-right: 64px;
}

.footer-half-content-right {
  margin-right: auto;
  padding-left: 64px;
}

.footer-details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(120px, 0.75fr);
  gap: 48px;
}

.footer-half-light .brand {
  color: var(--slate-100);
}

.footer-brand p {
  margin: 25px 0 7px;
  color: var(--slate-300);
  font-size: 0.9rem;
}

.footer-logo {
  width: auto;
  height: 70px;
  flex: none;
  object-fit: contain;
}

.footer-brand > span {
  color: var(--line);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: var(--slate-100);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column address,
.footer-column a {
  color: var(--line);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.75;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: #93c5fd;
}

.footer-bottom {
  display: flex;
  padding: 22px 0 24px;
  justify-content: space-between;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom-shell {
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  background: var(--navy);
}

.footer-bottom span:first-child {
  color: #64748b;
}

.footer-bottom span:last-child {
  color: #64748b;
}

.whatsapp-float {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(37, 211, 102, 0.5);
  border-radius: 50%;
  background: #ffffff;
  padding: 7px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  box-shadow: 0 15px 38px rgba(15, 23, 42, 0.42);
  transform: translateY(-4px) scale(1.03);
}

.whatsapp-float .whatsapp-mark {
  width: 100%;
  height: 100%;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .whatsapp-button {
    width: min(100%, 380px);
  }

  .footer-details {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

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

  .section {
    padding: 82px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 84px;
  }

  .hero-overlay {
    background: rgba(15, 23, 42, 0.72);
  }

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

  .pillar-card {
    min-height: 240px;
  }

  .service-body h3 {
    min-height: auto;
  }

  .clients-grid {
    gap: 28px 20px;
  }

  .client-card {
    min-height: 146px;
    padding: 0;
  }

  .client-logo-stage {
    height: 96px;
    padding-inline: 8px;
  }

  .client-logo.client-logo-square {
    width: min(88%, 170px);
  }

  .contact h2 {
    font-size: 2.5rem;
  }

  .whatsapp-button {
    min-width: 0;
  }

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

  .footer-half {
    padding: 56px 0;
  }

  .footer-half-content {
    width: min(calc(100% - 30px), 1180px);
    margin-inline: auto;
    padding: 0;
  }

  .footer-bottom-shell {
    background: var(--navy);
  }

  .footer-bottom span:first-child {
    color: #64748b;
  }

  .footer-logo {
    height: 62px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.25rem;
  }

}

@media (min-width: 768px) {
  .brand-logo {
    height: 50px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .pillar-card {
    padding: 40px;
  }

  .service-card {
    flex-direction: row;
    align-items: stretch;
  }

  .service-media {
    flex: 0 0 41.666667%;
  }

  .service-media img {
    height: 100%;
    min-height: 100%;
  }

  .service-body {
    width: 58.333333%;
    padding: 32px;
  }

  .clients-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
  }

}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
