:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --navy: #0f172a;
  --teal: #14b8a6;
  --green: #22c55e;
  --orange: #f97316;
  --bg: #f8fafc;
  --text: #334155;
  --muted: #64748b;
  --line: #dbe4f0;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.announcement {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.88rem;
}

.announcement__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.announcement a {
  font-weight: 800;
}

.announcement svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.announcement__whatsapp {
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--white);
  background: rgba(34, 197, 94, 0.18);
}

.announcement__whatsapp svg {
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 240, 0.92);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  flex: 0 0 auto;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 7px;
  border-radius: var(--radius);
}

.nav-item > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.65;
}

.site-nav > a:hover,
.nav-item:hover > a {
  background: #eef6ff;
  color: var(--blue);
}

.nav-item {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 0.18s ease;
}

.submenu--wide {
  min-width: 430px;
  grid-template-columns: 1fr 1fr;
}

.submenu--right {
  left: auto;
  right: 0;
}

.submenu a {
  display: block;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 0.86rem;
}

.submenu a:hover {
  background: #eef6ff;
  color: var(--blue);
}

.nav-item:hover .submenu,
.nav-item.is-submenu-open .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-actions,
.hero__actions,
.announcement span,
.announcement a,
.btn,
.contact-cards a,
.floating-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.nav-toggle {
  display: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: #eef6ff;
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

.btn {
  min-height: 44px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 16px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.2);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.header-actions .btn {
  min-height: 42px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.btn--primary {
  color: var(--white);
  background: var(--blue);
}

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

.btn--ghost {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.btn--light {
  color: var(--navy);
  background: var(--white);
}

.btn--large {
  min-height: 52px;
  padding: 0 22px;
}

.btn--full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero__media,
.hero__ai {
  position: absolute;
  inset: 0;
}

.hero__media {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.42)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.hero__ai {
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.18) 1px, transparent 1px),
    radial-gradient(circle at 22% 22%, rgba(20, 184, 166, 0.3), transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(37, 99, 235, 0.35), transparent 30%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  animation: aiMove 15s linear infinite;
}

@keyframes aiMove {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 72px 72px, 72px 72px, 0 0, 0 0;
  }
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 44px;
  align-items: center;
  padding: 92px 0;
}

.eyebrow,
.form-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(3rem, 6.4vw, 4.8rem);
  font-weight: 800;
}

.hero__content p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

.hero__actions,
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__actions {
  margin-top: 30px;
}

.hero__proof {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.hero__proof span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
}

.lead-form,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 28px;
  color: var(--text);
}

.lead-form h2 {
  margin-bottom: 18px;
  font-size: 1.7rem;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--navy);
  background: var(--white);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.section {
  padding: 92px 0;
}

.section--tint {
  background: #eef7fb;
}

.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.trust {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(37, 99, 235, 0.1), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(20, 184, 166, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
}

.trust .container {
  position: relative;
  z-index: 1;
}

.trust .section-heading p {
  margin-inline: auto;
}

.section--dark h2,
.section--dark h3,
.section--dark strong {
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.split h2,
.cta-panel h2,
.contact h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.section-heading p,
.split p,
.cta-panel p,
.contact p {
  color: var(--muted);
  font-size: 1.06rem;
}

.logo-strip,
.rating-strip,
.stats-grid,
.card-grid,
.industry-grid,
.timeline,
.why-grid,
.tech-grid,
.portfolio-grid,
.case-grid,
.product-grid,
.staff-grid,
.testimonial-grid,
.award-grid,
.pricing-grid,
.blog-grid,
.resource-grid,
.footer__grid {
  display: grid;
  gap: 18px;
}

.logo-strip {
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 18px;
}

.logo-strip span {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.logo-strip svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.rating-strip {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}

.stats-grid {
  grid-template-columns: repeat(5, 1fr);
}

.rating-strip div,
.stats-grid div,
.service-card,
.about-panel,
.case-grid article,
.product-grid article,
.staff-grid article,
.testimonial-grid article,
.pricing-grid article,
.faq-list details,
.blog-grid article,
.resource-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rating-strip div,
.stats-grid div {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  padding: 22px;
}

.rating-strip div::after,
.stats-grid div::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  right: -30px;
  top: -30px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.rating-strip svg,
.stats-grid svg {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  color: var(--teal);
}

.rating-strip strong,
.stats-grid strong {
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.45rem;
}

.stats-grid strong {
  color: var(--blue);
  font-size: 2.2rem;
}

.rating-strip span,
.stats-grid span {
  color: var(--muted);
}

.about {
  background: var(--white);
}

.split,
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-panel {
  padding: 28px;
}

.about-panel div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.about-panel div:first-child {
  padding-top: 0;
}

.about-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-panel strong {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: #eaf2ff;
  color: var(--blue);
}

.about-panel span {
  color: var(--navy);
  font-weight: 800;
}

.card-grid--services {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.product-grid article,
.staff-grid article,
.testimonial-grid article,
.pricing-grid article,
.blog-grid article,
.resource-grid article {
  padding: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-card:hover,
.product-grid article:hover,
.staff-grid article:hover,
.testimonial-grid article:hover,
.pricing-grid article:hover,
.blog-grid article:hover,
.resource-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow);
}

.service-card svg,
.product-grid svg,
.testimonial-grid svg,
.resource-grid svg {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  padding: 9px;
  border-radius: var(--radius);
  color: var(--blue);
  background: #eaf2ff;
}

.service-card h3,
.product-grid h3,
.staff-grid h3,
.testimonial-grid h3,
.blog-grid h3,
.resource-grid h3 {
  font-size: 1.2rem;
}

.service-card p,
.case-grid p,
.product-grid p,
.staff-grid p,
.testimonial-grid p,
.pricing-grid p,
.blog-grid p,
.resource-grid p,
.faq-list p {
  color: var(--muted);
}

.service-card a,
.case-grid a,
.pricing-grid a,
.blog-grid a {
  color: var(--blue);
  font-weight: 900;
}

.section-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.solution-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.solution-list span,
.tech-grid span,
.award-grid span,
.office-grid span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
}

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

.industry-grid div,
.why-grid div {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
}

.industry-grid svg,
.why-grid svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.process,
.tech,
.contact {
  background: var(--white);
}

.process {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(238, 247, 251, 0.95)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
}

.process .container {
  position: relative;
  z-index: 1;
}

.timeline {
  grid-template-columns: repeat(7, 1fr);
  position: relative;
  align-items: stretch;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 4%;
  right: 4%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.timeline div {
  position: relative;
  min-height: 226px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.timeline div:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.timeline span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
  font-weight: 900;
}

.timeline div > svg {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--blue);
}

.timeline strong {
  display: block;
  color: var(--navy);
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.split--media {
  grid-template-columns: 0.95fr 1.05fr;
}

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

.why-grid div {
  border-color: rgba(255, 255, 255, 0.13);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

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

.tech-grid span,
.award-grid span {
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.tech-grid span:hover,
.award-grid span:hover {
  transform: translateY(-4px);
  color: var(--white);
  background: var(--blue);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-btn {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.filter-btn.is-active,
.filter-btn:hover {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.portfolio-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background-position: center;
  background-size: cover;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.88));
}

.portfolio-card h3,
.portfolio-card span {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.portfolio-card span {
  width: max-content;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.portfolio-card--one {
  grid-column: span 2;
  background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=85");
}

.portfolio-card--two {
  background-image: url("https://images.unsplash.com/photo-1555774698-0b77e0d5fac6?auto=format&fit=crop&w=900&q=85");
}

.portfolio-card--three {
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=85");
}

.portfolio-card--four {
  grid-column: span 2;
  background-image: url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1200&q=85");
}

.portfolio-card--five {
  grid-column: span 2;
  background-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=85");
}

.case-grid,
.product-grid,
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.case-grid article {
  padding: 26px;
}

.staff .cta-panel {
  margin-bottom: 18px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: var(--radius);
  padding: 38px;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(20, 184, 166, 0.84)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1400&q=85") center/cover;
}

.cta-panel h2,
.cta-panel .eyebrow {
  color: var(--white);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.staff-grid,
.testimonial-grid {
  grid-template-columns: repeat(4, 1fr);
}

.award-grid {
  grid-template-columns: repeat(8, 1fr);
}

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

.pricing-grid article.featured {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.faq-list details {
  padding: 14px 16px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 900;
}

.faq-list p {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

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

.blog-grid article {
  overflow: hidden;
  padding: 0;
}

.blog-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.blog-grid article:hover img {
  transform: scale(1.04);
}

.blog-grid article > div {
  padding: 22px;
}

.blog-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--blue);
  background: #eaf2ff;
  font-weight: 900;
}

.resource-grid {
  grid-template-columns: repeat(5, 1fr);
}

.contact__grid {
  align-items: stretch;
}

.map-wrap {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.contact-cards,
.office-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-cards a {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--navy);
  background: var(--bg);
  font-weight: 900;
}

.contact-cards svg {
  color: var(--blue);
}

.office-grid {
  grid-template-columns: repeat(5, 1fr);
}

.contact-form {
  border-color: var(--line);
  background: var(--bg);
}

.footer {
  padding: 58px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #07111f;
}

.footer__grid {
  grid-template-columns: 1.6fr repeat(8, 1fr);
}

.footer img {
  width: 190px;
  margin-bottom: 16px;
}

.footer h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer a,
.footer span {
  display: block;
  margin-bottom: 9px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer .social-icons a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  fill: currentColor;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.footer .social-icons__link--linkedin:hover {
  background: #0a66c2;
}

.footer .social-icons__link--facebook:hover {
  background: #1877f2;
}

.footer .social-icons__link--instagram:hover {
  background: #e4405f;
}

.footer .social-icons__link--youtube:hover {
  background: #ff0000;
}

.footer .social-icons a:hover {
  transform: translateY(-2px);
}

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

.newsletter {
  display: grid;
  gap: 10px;
  max-width: 320px;
}

.newsletter label {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.floating-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-actions a,
.floating-actions button {
  width: 44px;
  height: 44px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  border-radius: 50%;
  border: 0;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.floating-actions a:first-child {
  background: var(--green);
}

.floating-actions a:nth-child(2) {
  background: var(--orange);
}

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

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

@media (max-width: 1320px) {
  .header-actions {
    display: none;
  }
}

@media (max-width: 1240px) {

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 0.96rem;
  }

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

  .site-nav > a,
  .nav-item > a {
    justify-content: space-between;
    min-height: 44px;
    padding: 0 12px;
  }

  .submenu,
  .submenu--wide {
    position: static;
    min-width: 0;
    display: none;
    grid-template-columns: 1fr;
    margin: 0 0 8px 14px;
    padding: 8px;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .nav-item:hover .submenu,
  .nav-item:focus-within .submenu {
    display: none;
    opacity: 0;
    pointer-events: none;
  }

  .nav-item.is-submenu-open .submenu {
    display: grid;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item.is-submenu-open > a {
    color: var(--blue);
    background: #eef6ff;
  }

  .nav-item.is-submenu-open > a::after {
    transform: rotate(225deg) translate(-2px, -1px);
  }

  .hero__grid,
  .split,
  .split--media,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .lead-form {
    max-width: 640px;
  }

  .card-grid--services {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .timeline::before {
    display: none;
  }

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

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

  .footer__grid > div:first-child {
    grid-column: span 4;
  }
}

@media (max-width: 920px) {
  .announcement__inner {
    justify-content: flex-start;
    padding: 10px 0;
  }

  .section {
    padding: 68px 0;
  }

  .logo-strip,
  .rating-strip,
  .stats-grid,
  .card-grid--services,
  .industry-grid,
  .timeline,
  .tech-grid,
  .case-grid,
  .product-grid,
  .staff-grid,
  .testimonial-grid,
  .award-grid,
  .pricing-grid,
  .blog-grid,
  .resource-grid,
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-card,
  .portfolio-card--one,
  .portfolio-card--four,
  .portfolio-card--five {
    grid-column: auto;
  }

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

  .footer__grid > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1320px);
  }

  .brand img {
    width: 156px;
  }

  .hero__grid {
    padding: 70px 0;
  }

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

  .hero__content p {
    font-size: 1rem;
  }

  .hero__actions .btn,
  .btn--large {
    width: 100%;
  }

  .lead-form,
  .contact-form,
  .cta-panel {
    padding: 22px;
  }

  .logo-strip,
  .rating-strip,
  .stats-grid,
  .card-grid--services,
  .industry-grid,
  .timeline,
  .why-grid,
  .tech-grid,
  .portfolio-grid,
  .case-grid,
  .product-grid,
  .staff-grid,
  .testimonial-grid,
  .award-grid,
  .pricing-grid,
  .blog-grid,
  .resource-grid,
  .office-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .footer__grid > div:first-child {
    grid-column: auto;
  }

  .cta-panel,
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .floating-actions a,
  .floating-actions button {
    width: 42px;
    height: 42px;
  }
}
