:root {
  --primary: #f08b2f;
  --primary-dark: #cf6c16;
  --navy: #14243c;
  --text: #20242b;
  --muted: #656d78;
  --line: #e9edf2;
  --cream: #fff9f3;
  --hero-bg: #1c120d;
  --footer-bg: #17243b;
  --white: #ffffff;
  --shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: #fff;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

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

.logo-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text span:first-child {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-text span:last-child {
  font-size: 0.98rem;
  font-weight: 700;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.9rem;
  color: #3d4653;
  min-width: 0;
}

.nav a {
  padding: 27px 0 24px;
  position: relative;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
}

.header-phone {
  background: linear-gradient(180deg, #ffa54e, #e17c1f);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(240, 139, 47, 0.24);
}

.hero {
  background:
    linear-gradient(90deg, rgba(19, 11, 8, 0.97) 0%, rgba(27, 15, 11, 0.94) 54%, rgba(31, 17, 11, 0.72) 100%),
    radial-gradient(circle at right center, rgba(255, 153, 43, 0.08), transparent 38%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 510px;
  gap: 28px;
}

.hero-copy {
  color: var(--white);
  padding: 34px 0;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(2.35rem, 4.8vw, 3.35rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero-text {
  max-width: 490px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  padding: 13px 20px;
  border-radius: 28px;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-frame {
  position: relative;
  width: min(100%, 500px);
  margin-left: auto;
  border-radius: 26px 26px 0 26px;
  overflow: hidden;
  box-shadow: 0 28px 42px rgba(0, 0, 0, 0.28);
  background: #fff;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 28, 44, 0.06), rgba(17, 28, 44, 0.2));
}

.hero-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 54px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 26px;
}

.section-heading h2,
.why-copy h2,
.industries h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.1rem;
  line-height: 1.2;
  font-weight: 700;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.info-card {
  background: var(--white);
  border: 1px solid #edf1f6;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 22px 18px 20px;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #254e8e, #183865);
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 10px 18px rgba(31, 66, 118, 0.18);
}

.service-card h3 {
  margin: 14px 0 12px;
  font-size: 1.14rem;
  line-height: 1.35;
  color: var(--navy);
}

.service-card ul,
.check-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.service-card li::before,
.check-list li::before,
.industry-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.process-panel {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid #edf1f6;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffaf4, #ffffff);
  box-shadow: var(--shadow);
}

.panel-tag {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-panel h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.25;
}

.process-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.process-image,
.feature-image,
.gallery-card img {
  width: 100%;
  display: block;
}

.process-image {
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #edf1f6;
  background: #fff;
}

.expertise-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: center;
}

.expertise-image {
  position: relative;
  min-height: 320px;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 20px 18px;
}

.mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: var(--primary-dark);
  background: #fff3e6;
  font-size: 1rem;
  flex: 0 0 auto;
}

.info-card h3 {
  margin: 1px 0 6px;
  color: var(--navy);
  font-size: 1rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 28px;
  align-items: center;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--line);
  color: #47505d;
  font-size: 0.95rem;
}

.why-image {
  position: relative;
  min-height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-image {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.projects {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
  grid-auto-rows: 230px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.industries {
  padding: 28px 0 34px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(71, 38, 18, 0.12), transparent),
    linear-gradient(180deg, #5a2f13 0%, #341807 100%);
}

.industries h2 {
  color: var(--white);
  font-size: 2rem;
}

.industry-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 24px;
}

.industry-list span {
  position: relative;
  display: inline-block;
  padding-left: 16px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer {
  background: linear-gradient(180deg, #1b2d49 0%, #132136 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: 34px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.8fr;
  gap: 28px;
}

.footer-logo .logo-text span:first-child,
.footer-logo .logo-text span:last-child {
  color: var(--white);
}

.footer-copy {
  max-width: 340px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 6px 0 14px;
  color: var(--white);
  font-size: 1.06rem;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .header-phone {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 1040px) {
  .header-inner,
  .hero-grid,
  .expertise-layout,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 20px;
    padding-bottom: 16px;
  }

  .header-inner {
    gap: 12px;
    padding: 16px 0;
  }

  .nav a {
    padding: 0;
  }

  .nav {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }

  .four-col,
  .two-col,
  .industry-list,
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 20px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual,
  .expertise-image {
    min-height: 360px;
  }

  .hero-frame {
    margin: 0 auto;
  }

  .process-panel {
    grid-template-columns: 1fr;
  }

  .gallery-wide,
  .gallery-tall {
    grid-column: auto;
    grid-row: auto;
  }
}

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

  .site-header {
    position: static;
  }

  .logo {
    gap: 8px;
  }

  .logo-image {
    width: 44px;
    height: 44px;
  }

  .logo-text span:first-child {
    font-size: 1rem;
  }

  .logo-text span:last-child {
    font-size: 0.82rem;
  }

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

  .section-heading h2,
  .why-copy h2,
  .industries h2 {
    font-size: 1.7rem;
  }

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

  .btn,
  .header-phone {
    width: 100%;
    text-align: center;
  }

  .header-phone {
    padding-inline: 14px;
  }

  .four-col,
  .two-col,
  .industry-list,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 42px 0;
  }

  .hero-grid {
    min-height: unset;
    gap: 18px;
    padding-bottom: 28px;
  }

  .hero-copy {
    padding: 20px 0 0;
    text-align: left;
  }

  .hero-text {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-frame {
    width: 100%;
    border-radius: 18px;
  }

  .hero-image,
  .process-image,
  .feature-image {
    height: auto;
    min-height: 0;
  }

  .process-image,
  .feature-image,
  .gallery-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .process-panel,
  .service-card,
  .info-card {
    padding: 16px;
  }

  .project-gallery {
    gap: 14px;
    grid-auto-rows: auto;
  }

  .gallery-card {
    border-radius: 14px;
  }

  .industry-list {
    gap: 14px;
  }

  .footer-grid {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 18px, 1120px);
  }

  .header-inner {
    padding: 12px 0;
  }

  .nav {
    gap: 12px 16px;
    font-size: 0.82rem;
  }

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

  .hero-text,
  .check-list li,
  .process-panel p,
  .service-card li,
  .footer-links li {
    font-size: 0.84rem;
  }

  .section-heading h2,
  .why-copy h2,
  .industries h2 {
    font-size: 1.48rem;
  }

  .process-panel h3 {
    font-size: 1.26rem;
  }

  .service-card h3,
  .info-card h3 {
    font-size: 0.98rem;
  }
}
