:root {
  --bg: #f6f8ff;
  --bg-alt: #eef2ff;
  --panel: #ffffff;
  --dark: #080808;
  --text: #171a21;
  --muted: #6b7280;
  --accent: #ff6b00;
  --accent-hover: #ea6200;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 35px rgba(26, 33, 52, 0.1);
  --container: min(1320px, 96%);
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: inter;
  src: url(inter.ttf);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(170deg, var(--bg) 0%, #f9fbff 55%, var(--bg-alt) 100%);
}

.root {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  width: 100%;
  min-height: 92vh;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(9, 11, 20, 0.95), rgba(9, 11, 20, 0.7)),
    url(bghead.webp) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

header nav {
  width: var(--container);
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 14px;
  z-index: 20;
}

header nav .logo {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul {
  gap: 30px;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.9);
}

#menu a {
  color: white;
  text-decoration: none;
}

nav .quote {
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

nav .quote::before {
  content: "📞";
  margin-right: 6px;
  font-size: 0.82rem;
}

nav .quote:hover {
  background: rgba(255, 107, 0, 0.22);
  border-color: rgba(255, 107, 0, 0.6);
  transform: translateY(-1px);
}

.hero {
  width: var(--container);
  margin: 24px 0 30px;
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.hero .dots {
  position: absolute;
  width: 180px;
  opacity: 0.55;
  right: -70px;
  bottom: -40px;
}

.hero .info1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  width: 100%;
}

.hero .info1 .info {
  width: 46%;
}

.hero .info h1 {
  font-size: clamp(2.2rem, 4.7vw, 4.2rem);
  margin: 10px 0 14px;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.hero .info > p:first-child {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.03em;
}

.hero .info > p:nth-of-type(2) {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  width: min(530px, 100%);
}

.hero .info1 .img {
  width: 50%;
}

.info1 .img img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 107, 0, 0.78);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

button {
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
}

nav button,
.info button {
  border: none;
  border-radius: 999px;
  padding: 11px 19px;
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

nav button:hover,
.info button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.info button {
  margin-top: 8px;
  padding: 12px 28px;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

section.detail {
  width: var(--container);
  margin: 36px auto 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 26px;
}

section.detail div.about,
div.detail {
  width: 50%;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

section.detail div.about {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

section.detail div.about h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

section.detail div.about p {
  margin: 0;
  line-height: 1.78;
  color: #475467;
}

div.detail {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 18px;
  gap: 12px;
}

div.detail .l {
  width: 100%;
  margin: 0 0 6px;
}

div.detail .l img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3.6/1.8;
}

.d1 {
  width: calc(50% - 6px);
  background: #f8f9fd;
  border-radius: 12px;
  padding: 14px;
}

div.detail h4 {
  margin: 0;
  color: var(--accent);
  font-size: 1.5rem;
}

.d1 p {
  margin: 8px 0 0;
  color: #344054;
  font-size: 0.9rem;
}

section.video {
  width: var(--container);
  margin: 14px auto 8px;
}

section.video video {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

section.services {
  padding: 58px 2.5%;
  margin-top: 24px;
  background: linear-gradient(160deg, #0b0d16 0%, #101525 100%);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-radius: var(--radius);
  border: 1px solid #1f2a44;
}

section.services .about {
  width: 100%;
  position: sticky;
  top: 96px;
}

section.services .about .kicker {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b54708;
  background: #ffe7d4;
}

section.services .about h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

section.services .about p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.74;
}

.services-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff7a1c, #ff6b00);
  box-shadow: 0 12px 25px rgba(255, 107, 0, 0.28);
}

.services-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

section.services .card {
  grid-column: span 4;
  width: 100%;
  min-height: 212px;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #ffffff;
  color: #111827;
  border: 1px solid #e4e7ec;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

section.services .card-featured {
  grid-column: span 8;
  min-height: 260px;
  background: linear-gradient(135deg, #25160a 0%, #6c3412 52%, #c45a14 100%);
  color: #fffaf5;
  border-color: #d9854f;
  box-shadow: 0 14px 26px rgba(196, 90, 20, 0.24);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-index {
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  color: #b54708;
  font-weight: 700;
}

section.services .card:hover {
  transform: translateY(-6px);
  border-color: #d0d5dd;
  box-shadow: 0 14px 24px rgba(16, 24, 40, 0.12);
}

section.services .card-featured:hover {
  box-shadow: 0 18px 30px rgba(196, 90, 20, 0.3);
}

.card * {
  margin: 0;
}

section.services .card h4 {
  margin-top: 4px;
}

section.services .card p {
  line-height: 1.66;
  font-size: 0.92rem;
  opacity: 0.9;
}

section.services .card img {
  width: 44px;
  padding: 7px;
  border-radius: 12px;
  object-fit: contain;
  background-color: #ffffff;
  border: 1px solid #f0f2f6;
}

.service-tag {
  margin-top: auto;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b54708;
  background: #ffe3cf;
}

section.services .card-featured .service-index {
  color: #ffd4b5;
}

section.services .card-featured .service-tag {
  color: #fff7f0;
  background: rgba(0, 0, 0, 0.24);
}

section.work {
  width: var(--container);
  margin: 52px auto 38px;
}

section.work h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  text-align: center;
}

section.work hr {
  border: 0;
  border-top: 1px solid #d9dfea;
  margin: 14px auto 32px;
  width: min(520px, 90%);
}

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

section.work .w-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid #e4e7ec;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

section.work .w-card:hover {
  transform: translateY(-6px);
  border-color: #cdd5e8;
  box-shadow: 0 16px 32px rgba(16, 24, 40, 0.14);
}

.w-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.w-card .info {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.w-card .info h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
}

.w-card b {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9a3412;
  background: #ffeddc;
  border: 1px solid #ffd8ba;
  border-radius: 999px;
  padding: 6px 10px;
  width: fit-content;
}

.w-card .info p {
  margin: 0;
  color: #667085;
  line-height: 1.62;
  font-size: 0.93rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

.w-card .info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff3e8;
  border: 1px solid #ffd9bd;
  transition: all 0.2s ease;
}

.w-card .info a::after {
  content: "->";
  font-size: 0.85rem;
}

.w-card .info a:hover {
  background: #ffe8d5;
  transform: translateX(2px);
}

.orange {
  color: var(--accent);
}

footer {
  width: var(--container);
  margin-bottom: 16px;
  color: #fff;
  background-color: var(--dark);
  border-radius: var(--radius);
  padding: 42px 36px 24px;
}

footer nav {
  display: flex;
  justify-content: space-between;
  gap: 44px;
}

footer .logo {
  width: 34%;
}

footer .logo h2 {
  margin: 0;
}

footer .logo p {
  color: rgba(255, 255, 255, 0.75);
}

.list a {
  color: #fff;
  text-decoration: none;
}

footer nav .list {
  display: flex;
  align-self: center;
  width: 38%;
  justify-content: space-between;
  gap: 20px;
}

.contact-info h4 {
  margin: 0 0 8px;
}

.contact-info p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.8);
}

.pp {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

.pp * {
  margin: 0;
}

.pp ul {
  gap: 30px;
}

.pp ul li a {
  color: white;
  text-decoration: none;
}

.hide {
  display: none;
}

#burger-menu {
  display: none;
  cursor: pointer;
  height: 27px;
  width: 27px;
  overflow: visible;
  position: relative;
  z-index: 2;
}

#burger-menu span,
#burger-menu span:before,
#burger-menu span:after {
  background: #fff;
  display: block;
  height: 2px;
  opacity: 1;
  position: absolute;
  transition: 0.3s ease-in-out;
}

#burger-menu span:before,
#burger-menu span:after {
  content: "";
}

#burger-menu span:before {
  left: 0;
  top: -10px;
  width: 27px;
}

#burger-menu span {
  right: 0;
  top: 13px;
  width: 27px;
}

#burger-menu span:after {
  left: 0;
  top: 10px;
  width: 27px;
}

#burger-menu.close span:before {
  top: 0;
  transform: rotate(90deg);
}

#burger-menu.close span {
  transform: rotate(-45deg);
}

#burger-menu.close span:after {
  top: 0;
  left: 0;
  transform: rotate(90deg);
  opacity: 0;
  width: 0;
}

@media (min-width: 651px) {
  header nav ul {
    display: flex !important;
  }
}

@media (max-width: 980px) {
  section.services {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  section.services .about {
    position: static;
  }

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

  section.services .card-featured {
    grid-column: span 2;
  }

  section.services .card {
    grid-column: span 1;
  }

  .w-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  section.detail {
    flex-direction: column-reverse;
    margin-top: 36px;
  }

  section.detail div.about,
  div.detail {
    width: 100%;
  }
}

@media (max-width: 650px) {
  nav .quote,
  button.big {
    display: none;
  }

  #menu a {
    width: 95%;
    color: #1f2937;
  }

  header {
    min-height: fit-content;
  }

  header nav {
    width: calc(100% - 10px);
    border-radius: 14px;
    margin-top: 8px;
    top: 8px;
  }

  header nav .logo {
    width: 100%;
    justify-content: space-between;
  }

  header nav ul {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 14px 0;
    border-radius: 0 0 12px 12px;
    flex-direction: column;
    background-color: #f8f9ff;
    gap: 5px;
  }

  header nav ul li {
    width: 90%;
    padding: 7px 4px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  #burger-menu,
  #menu button {
    display: block !important;
  }

  .hero {
    margin: 14px 0 24px;
    align-items: flex-start;
  }

  .hero .dots {
    display: none;
  }

  .hero .info1 {
    flex-direction: column-reverse;
    gap: 18px;
  }

  .hero .info1 .img,
  .hero .info1 .info {
    width: 100%;
  }

  .hero .info > p:nth-of-type(2) {
    width: 100%;
  }

  section.video video {
    height: 260px !important;
  }

  section.services {
    margin-top: 16px;
    padding: 40px 2.5%;
  }

  section.services .about,
  section.services .card {
    width: 100%;
  }

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

  section.services .card,
  section.services .card-featured {
    grid-column: span 1;
    min-height: auto;
  }

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

  footer nav {
    flex-direction: column;
    gap: 18px;
  }

  footer .logo,
  footer nav .list,
  .contact-info {
    width: 100%;
  }

  footer nav .list {
    justify-content: flex-start;
    gap: 20px;
    margin: 6px 0;
    flex-wrap: wrap;
  }

  .pp {
    flex-direction: column;
    gap: 10px;
  }

  .pp ul {
    width: 100%;
    justify-content: space-between;
  }
}