:root {
  --blue: #0B5ED7;
  --blue-dark: #083F97;
  --blue-soft: #EAF2FF;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #D8E0EA;
  --gray: #F4F7FB;
  --white: #FFFFFF;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 224, 234, 0.85);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1160px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  width: 182px;
  height: auto;
  pointer-events: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(11, 94, 215, 0.24);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transition: right 0.25s ease;
}

.nav-links a:hover::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 72px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 17, 42, 0.92) 0%, rgba(8, 63, 151, 0.76) 48%, rgba(5, 17, 42, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 17, 42, 0.15), rgba(5, 17, 42, 0.82));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 44px;
  align-items: center;
}

.hero-photo {
  position: relative;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.hero-photo figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(4, 18, 43, 0.66);
  backdrop-filter: blur(12px);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-photo svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #A9CAFF;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #A9CAFF;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(11, 94, 215, 0.32);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(920px, 100%);
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.hero-metrics div {
  padding: 20px;
  background: rgba(4, 18, 43, 0.42);
  backdrop-filter: blur(10px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--gray);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.section-copy p:not(.eyebrow),
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.feature-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #1E293B;
  background: var(--white);
  font-weight: 700;
}

.feature-row svg {
  width: 18px;
  color: var(--blue);
}

.about-panel {
  position: relative;
}

.about-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(310px, calc(100% - 44px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.floating-card svg {
  width: 36px;
  height: 36px;
  color: var(--blue);
  flex: 0 0 auto;
}

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

.service-grid,
.project-grid,
.difference-grid,
.tech-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.difference-card,
.content-block,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.service-card {
  min-height: 208px;
  padding: 24px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 94, 215, 0.35);
  box-shadow: 0 24px 58px rgba(11, 94, 215, 0.12);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--blue-soft);
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.service-card p,
.project-card p,
.difference-card p,
.content-block p {
  color: var(--muted);
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.project-card div {
  padding: 20px;
}

.tech-section {
  color: var(--white);
  background: #0A1020;
}

.tech-section .section-heading p,
.tech-section .eyebrow {
  color: #A9CAFF;
}

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

.tech-grid div {
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.tech-grid i,
.tech-grid svg {
  width: 34px;
  height: 34px;
  font-size: 2.15rem;
}

.tech-grid span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

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

.difference-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 20px;
  font-weight: 800;
}

.difference-card svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: 0 0 auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -24px;
  width: 30px;
  height: 2px;
  background: var(--blue);
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.content-block {
  padding: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.contact-list a,
.contact-list > span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 700;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex: 0 0 auto;
}

.map-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--gray);
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 30px;
}

.contact-form label {
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.12);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #081225;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 42px 0;
}

.footer-brand .brand-mark {
  background: var(--white);
  color: var(--blue);
}

.footer-brand .brand-logo {
  filter: brightness(0) invert(1);
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
}

.footer-links,
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #22C55E;
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.34);
}

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

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

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

@media (max-width: 1050px) {
  .service-grid,
  .project-grid,
  .difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .timeline-item::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-metrics,
  .hero-layout,
  .split,
  .contact-grid,
  .content-columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-width: 520px;
  }

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

  .footer-links,
  .footer-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 580px) {
  .container,
  .navbar {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 72px 0;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .service-grid,
  .project-grid,
  .difference-grid,
  .tech-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .contact-form {
    padding: 22px;
  }
}
