:root {
  --ink: #111827;
  --ink-soft: #1f2937;
  --blue: #0574c9;
  --electric-blue: #0aa5ff;
  --yellow: #ffc423;
  --yellow-strong: #ff9900;
  --orange: #f05a1a;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--ink);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.09);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 168px;
  height: 64px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 8px 14px rgba(17, 24, 39, 0.14));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  font-size: 12px;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a:hover {
  background: rgba(22, 167, 255, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
  opacity: 0.34;
  filter: saturate(0.92) brightness(1.2);
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 28%, rgba(10, 165, 255, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0.98) 74%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12));
}

.hero-content {
  width: min(940px, calc(100% - 36px));
  margin-inline: auto;
  padding-top: 96px;
  color: var(--ink);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(540px, 82vw);
  height: auto;
  margin-bottom: 18px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 18px 22px rgba(17, 24, 39, 0.12));
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.1;
}

.hero-copy {
  max-width: 660px;
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(7, 9, 15, 0.76);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(255, 74, 22, 0.27);
}

.button.whatsapp {
  color: var(--white);
  background: #25d366;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.22);
}

.button.secondary {
  color: currentColor;
  border-color: rgba(7, 9, 15, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.section .button.secondary,
.contact .button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.service-grid,
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.location-card,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(7, 20, 39, 0.06);
}

.service-card {
  min-height: 330px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--electric-blue);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 196, 35, 0.18);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 52px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), #003d73);
  color: var(--yellow);
  font-weight: 900;
}

.service-card p,
.location-card p,
.credential p,
.contact-card p,
.work-copy p {
  color: rgba(17, 24, 39, 0.68);
}

.work-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 74, 22, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(7, 9, 15, 0.98), rgba(2, 120, 216, 0.9)),
    var(--ink);
}

.work-copy {
  position: sticky;
  top: 110px;
}

.work-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.work-list {
  display: grid;
  gap: 10px;
}

.work-item {
  width: 100%;
  min-height: 66px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  text-align: left;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.work-item:hover,
.work-item.active {
  transform: translateX(4px);
  color: var(--ink);
  border-color: var(--yellow);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.credential {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: center;
  background: var(--white);
}

.credential-panel {
  border-radius: 8px;
  padding: 30px;
  color: var(--white);
  background: linear-gradient(145deg, var(--ink), #003d73);
  box-shadow: var(--shadow);
}

.credential-panel span,
.credential-panel strong {
  display: block;
}

.credential-panel span {
  margin-bottom: 12px;
  color: var(--yellow);
  font-weight: 900;
}

.credential-panel strong {
  font-size: 34px;
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.gallery-copy p {
  color: rgba(17, 24, 39, 0.68);
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--ink);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: min(420px, calc(100% - 36px));
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.76);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.carousel-control {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-control:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.04);
}

.carousel-control.prev {
  left: 16px;
}

.carousel-control.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.carousel-dot.active {
  width: 28px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

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

.location-card {
  padding: 30px;
}

.pin {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 22px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  transform: rotate(-45deg);
  box-shadow: 0 10px 22px rgba(255, 74, 22, 0.28);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 22px;
  background: #eef2f7;
}

.contact-card,
.contact-form {
  padding: clamp(24px, 4vw, 42px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 800;
}

.contact-emails a {
  color: var(--blue);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

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

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  color: var(--white);
  background: #25d366;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.26);
}

.whatsapp-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #25d366;
  background: var(--white);
}

.whatsapp-mark svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

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

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

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    right: 18px;
    left: 18px;
    display: none;
    padding: 12px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 830px;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 110px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  }

  .service-grid,
  .location-grid,
  .work-band,
  .project-gallery,
  .credential,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .service-icon {
    margin-bottom: 28px;
  }

  .work-copy {
    position: static;
  }

  .carousel-slide {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 120px;
    height: 46px;
  }

  .brand strong {
    max-width: 118px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .contact-emails {
    display: grid;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding-right: 14px;
  }

  .carousel-control {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .carousel-slide figcaption {
    right: 12px;
    bottom: 42px;
    font-size: 14px;
  }

  .credential-panel strong {
    font-size: 28px;
  }
}
