:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --ink: #142033;
  --muted: #697181;
  --line: rgba(20, 32, 51, 0.12);
  --primary: #f5a126;
  --primary-deep: #da8610;
  --dark: #101b2e;
  --dark-soft: #1a2740;
  --radius: 24px;
  --shadow: 0 20px 48px rgba(16, 27, 46, 0.12);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.topbar__inner,
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
}

.topbar__inner {
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.topbar__left,
.topbar__right {
  gap: 18px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-family: "Barlow", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  color: #42506a;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 999px;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.hero {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__bg,
.hero__overlay,
.cta-band__bg,
.cta-band__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg,
.cta-band__bg {
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  background: linear-gradient(90deg, rgba(16, 27, 46, 0.88), rgba(16, 27, 46, 0.34));
}

.hero__content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 40px 0 30px;
}

.eyebrow,
.section-label {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--primary);
}

.hero h1,
.section h2,
.cta-band h2 {
  margin: 0;
  font-family: "Barlow", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6vw, 5.3rem);
}

.hero__lead {
  max-width: 700px;
  margin: 14px 0 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
}

.hero__tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__actions,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

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

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

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
}

.btn--small {
  min-height: 46px;
}

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

.section {
  padding: 40px 0;
}

.section--about {
  padding-top: 24px;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--dark);
  color: white;
  padding: 0;
}

.section-label {
  color: var(--primary);
}

.section-label--light {
  color: var(--primary);
}

.section h2,
.cta-band h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

.about,
.split-feature,
.testimonial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.about__visual,
.split-feature__image {
  position: relative;
}

.about__visual img,
.split-feature__image img,
.service-card img,
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__visual img,
.split-feature__image img {
  min-height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-card,
.experience-badge {
  position: absolute;
  left: -20px;
  top: 22px;
  z-index: 1;
  padding: 22px 20px;
  border-radius: 20px;
  background: var(--primary);
  color: white;
  box-shadow: 0 18px 34px rgba(245, 161, 38, 0.28);
}

.experience-card strong,
.experience-badge {
  display: block;
  font-family: "Barlow", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.experience-card span {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
}

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

.about__content p + p {
  margin-top: 16px;
}

.about__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.about__points div {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.about__points strong,
.check-grid strong,
.service-card h3,
.number-card h3,
.portfolio-card h3,
.testimonial__name,
.site-footer h3 {
  font-family: "Barlow", sans-serif;
}

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

.number-card {
  position: relative;
  min-height: 360px;
  padding: 34px 24px 28px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.number-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 27, 46, 0.15), rgba(16, 27, 46, 0.88));
}

.number-card > * {
  position: relative;
  z-index: 1;
}

.number-card__index {
  display: block;
  margin-bottom: 96px;
  font-family: "Barlow", sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 161, 38, 0.95);
}

.number-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.number-card p {
  color: rgba(255, 255, 255, 0.78);
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.check-grid div {
  padding: 22px 22px 22px 54px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
  position: relative;
  box-shadow: var(--shadow);
}

.check-grid div::before {
  content: "✓";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 161, 38, 0.14);
  color: var(--primary-deep);
  font-weight: 800;
}

.check-grid p,
.section-copy,
.service-card p,
.portfolio-card p,
.testimonial__intro p,
.footer-copy,
.site-footer p,
.contact-list,
.social-links {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading--compact {
  align-items: end;
}

.section-copy {
  max-width: 420px;
  margin: 0;
}

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

.service-card,
.portfolio-card,
.contact-card,
.testimonial__card {
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(20, 32, 51, 0.07);
  box-shadow: var(--shadow);
}

.service-card img {
  aspect-ratio: 16 / 10;
}

.service-card__body,
.portfolio-card__body {
  padding: 24px;
}

.service-card h3,
.portfolio-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.cta-band {
  position: relative;
  color: white;
  overflow: hidden;
}

.cta-band__overlay {
  background: linear-gradient(90deg, rgba(16, 27, 46, 0.92), rgba(16, 27, 46, 0.66));
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 40px 0;
}

.cta-band__content p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
}

.contact-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(20, 32, 51, 0.14);
  background: #f9fafc;
  color: var(--ink);
}

.contact-card textarea {
  min-height: 140px;
  resize: vertical;
  margin: 14px 0 18px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.portfolio-card {
  height: 100%;
}

.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.portfolio-card--tall img {
  height: 220px;
}

.testimonial {
  align-items: stretch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.stats div {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.stats strong {
  display: block;
  font-family: "Barlow", sans-serif;
  font-size: 2rem;
  color: var(--primary-deep);
}

.testimonial__card {
  padding: 34px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.testimonial__card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.testimonial__card blockquote {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: 1.7rem;
  line-height: 1.3;
}

.testimonial__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.site-footer {
  background: var(--dark);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.15fr 0.9fr;
  gap: 28px;
  padding: 36px 0 20px;
  align-items: start;
}

.brand--footer img {
  width: 56px;
  height: 56px;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.contact-list,
.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li,
.social-links li {
  margin-bottom: 10px;
}

.contact-list li {
  line-height: 1.55;
  font-size: 0.96rem;
}

.contact-list a,
.social-links a {
  color: rgba(255, 255, 255, 0.82);
  word-break: break-word;
}

.social-links__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-links__item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}

.site-footer p,
.footer-copy,
.social-links,
.contact-list {
  font-size: 0.95rem;
}

.footer-bottom {
  padding: 20px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(16, 27, 46, 0.24);
  animation: waFloat 2.8s ease-in-out infinite;
}

.floating-wa img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

@keyframes waFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 1080px) {
  .numbered-grid,
  .services-grid,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about,
  .split-feature,
  .cta-band__inner,
  .testimonial {
    grid-template-columns: 1fr;
  }

  .portfolio-card--tall {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 1px solid rgba(20, 32, 51, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 380px;
  }

  .hero__content {
    padding: 30px 0 24px;
  }

  .hero__actions,
  .section-heading,
  .section-heading--compact {
    flex-direction: column;
    align-items: flex-start;
  }

  .about__points,
  .check-grid,
  .services-grid,
  .portfolio-grid,
  .footer-grid,
  .contact-card__grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .portfolio-card--tall {
    grid-column: auto;
  }

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

@media (max-width: 560px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .brand__text span {
    display: none;
  }

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

  .section {
    padding: 28px 0;
  }

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

  .number-card__index {
    margin-bottom: 72px;
  }
}
