:root {
  --ink: #071b36;
  --muted: #5f6e7f;
  --line: #dce7f2;
  --soft: #f4f8fc;
  --blue: #0759b8;
  --blue-2: #0b8ee8;
  --gold: #f5b500;
  --white: #ffffff;
  font-family: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(245, 181, 0, 0.7);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(7, 27, 54, 0.14);
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.mobile-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active,
.nav-phone:hover {
  color: var(--blue);
}

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

.nav-phone {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  gap: 4px;
  padding: 14px 20px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 42px rgba(7, 27, 54, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav a {
  padding: 13px 0;
  color: var(--muted);
  font-weight: 800;
}

.mobile-nav .mobile-phone {
  color: var(--blue);
}

.menu-open .mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 52px;
  align-items: center;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.hero-copy > p:not(.eyebrow),
.split > p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -34px -24px;
  z-index: -1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 16%, rgba(11, 142, 232, 0.09), transparent 34%),
    linear-gradient(135deg, var(--soft), var(--white) 64%);
  opacity: 0.8;
  animation: heroGlow 9s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(10px, -8px, 0) scale(1.02);
  }
}

.hero-actions,
.stats,
.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 30px rgba(7, 89, 184, 0.22);
}

.secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.whatsapp {
  color: var(--white);
  background: #25d366;
}

.stats {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stats span {
  min-width: 110px;
  color: var(--muted);
  font-size: 13px;
}

.stats strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(7, 27, 54, 0.22);
}

.hero-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 14px 28px rgba(7, 27, 54, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.hero-media img,
.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clients {
  padding: 34px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.clients > p,
.client-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.clients > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.client-grid span,
.client-grid a {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.client-grid a:hover {
  color: var(--blue);
  border-color: rgba(7, 89, 184, 0.35);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 20px;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.services {
  background: var(--soft);
  max-width: none;
}

.services > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cards,
.project-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.cards article {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(7, 27, 54, 0.06);
  transition: all 0.25s ease;
}

.cards article:hover {
  border-color: rgba(7, 89, 184, 0.3);
  border-left-color: var(--blue);
  box-shadow: 0 22px 44px rgba(7, 27, 54, 0.11);
  transform: translateY(-6px);
}

.cards h3 {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.cards h3 span {
  font-size: 20px;
  line-height: 1;
}

.cards p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.project-grid article {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: 20px;
  background: var(--ink);
}

.project-grid span {
  position: absolute;
  inset: auto 14px 14px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(7, 27, 54, 0.78);
  font-weight: 900;
  line-height: 1.2;
}

.gallery {
  overflow: hidden;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.gallery-filter {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  margin-top: 32px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  box-shadow: 0 16px 34px rgba(7, 27, 54, 0.08);
  cursor: pointer;
  transform: translateY(22px);
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.gallery-item:nth-child(6n + 1),
.gallery-item:nth-child(6n + 4) {
  grid-row: span 2;
  min-height: 456px;
}

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

.gallery-item.is-filtered-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.94);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 54, 0), rgba(7, 27, 54, 0.28));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: rgba(7, 89, 184, 0.35);
  box-shadow: 0 22px 44px rgba(7, 27, 54, 0.16);
  transform: translateY(-4px);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 72px 20px 28px;
  background: rgba(7, 27, 54, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 120px);
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.gallery-lightbox.is-open img {
  transform: scale(1);
}

.gallery-close {
  position: fixed;
  top: 20px;
  right: 20px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
  cursor: pointer;
}

.documents {
  background: var(--soft);
  max-width: none;
}

.documents > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

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

.document-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(7, 27, 54, 0.06);
}

.document-grid h3 {
  min-height: 58px;
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.3;
}

.document-frame {
  width: 100%;
  height: min(68vh, 620px);
  min-height: 420px;
  border: 0;
  overflow-y: auto;
  background: #eef3f8;
}

.document-frame img {
  display: block;
  width: calc(100% - 28px);
  height: auto;
  margin: 14px auto;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 27, 54, 0.12);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.testimonial-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(7, 27, 54, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-grid article:hover {
  border-color: rgba(7, 89, 184, 0.28);
  box-shadow: 0 22px 44px rgba(7, 27, 54, 0.1);
  transform: translateY(-4px);
}

.rating {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 17px;
  letter-spacing: 0;
}

.testimonial-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-author span:last-child {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.avatar {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.contact-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}

.contact-box a:not(.button) {
  width: 100%;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.enquiry-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.enquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.enquiry-form label:nth-child(3),
.enquiry-form label:nth-child(4),
.enquiry-form .button,
.form-status {
  grid-column: 1 / -1;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: rgba(7, 89, 184, 0.55);
  box-shadow: 0 0 0 4px rgba(7, 89, 184, 0.08);
}

.enquiry-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.enquiry-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-success {
  color: #25d366;
}

.form-status.is-error {
  color: var(--muted);
}

.map-frame {
  width: 100%;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 34px rgba(7, 27, 54, 0.22);
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(37, 211, 102, 0.28);
  animation: whatsappPulse 1.8s ease-out infinite;
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 22px 42px rgba(7, 27, 54, 0.26);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.whatsapp-hover-label {
  display: none;
}

.floating-whatsapp:hover .whatsapp-label {
  display: none;
}

.floating-whatsapp:hover .whatsapp-hover-label {
  display: inline;
}

.whatsapp-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: 210px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 28px rgba(7, 27, 54, 0.18);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-whatsapp:hover .whatsapp-tooltip,
.floating-whatsapp:focus-visible .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 18px 34px rgba(7, 27, 54, 0.22);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.legal-page {
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(38px, 5vw, 58px);
}

.legal-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-page a:not(.button) {
  color: var(--blue);
  font-weight: 800;
}

.footer {
  padding: 34px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  text-align: center;
}

.footer img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.footer a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .client-grid,
  .cards,
  .project-grid,
  .gallery-grid,
  .document-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(6n + 4) {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .brand strong {
    font-size: 18px;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy::before {
    inset: -18px -12px;
  }

  .client-grid,
  .cards,
  .project-grid,
  .gallery-grid,
  .document-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .project-grid article,
  .gallery-item,
  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(6n + 4) {
    min-height: 240px;
  }

  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }

  .back-to-top {
    left: 16px;
    bottom: 16px;
  }

  .footer {
    flex-direction: column;
  }
}

.footer p a {
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
  line-height: 1.7;
}

.footer p a:hover {
  color: #f5b500;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .scroll-reveal,
  .gallery-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
