:root {
  --ink: #071826;
  --ink-soft: #546171;
  --muted: #eef5fb;
  --paper: #f7fafc;
  --white: #ffffff;
  --line: rgba(7, 24, 38, 0.11);
  --line-light: rgba(255, 255, 255, 0.16);
  --brand: #0b73d9;
  --brand-deep: #08213a;
  --brand-mid: #0b2545;
  --brand-soft: #dff0ff;
  --accent: #f7941d;
  --accent-soft: #fff2df;
  --success: #19a46b;
  --shadow-soft: 0 16px 38px rgba(5, 22, 38, 0.1);
  --shadow-strong: 0 28px 80px rgba(5, 22, 38, 0.22);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(11, 115, 217, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(247, 148, 29, 0.13), transparent 24rem),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

main {
  overflow: clip;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-defs symbol * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand-mid);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--brand-deep);
  transition: opacity 400ms ease, visibility 400ms ease;
}

.page-loader span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--accent);
  animation: spin 780ms linear infinite;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  width: min(var(--container), calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 24, 38, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.93);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

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

.brand img,
.footer-brand img {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 16px;
  background: #02070c;
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong,
.footer-brand strong {
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

.brand small,
.footer-brand small {
  max-width: 250px;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.72);
}

.site-header.is-scrolled .brand strong,
.site-header.is-scrolled .brand small {
  color: var(--ink);
}

.site-header.is-scrolled .brand small {
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .site-nav {
  background: rgba(7, 24, 38, 0.05);
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled .site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  color: var(--brand-mid);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-cta {
  min-height: 46px;
  padding-inline: 18px;
  color: #071826;
  background: var(--accent);
  box-shadow: 0 10px 26px rgba(247, 148, 29, 0.28);
}

.button:hover,
.nav-cta:hover,
.button:focus-visible,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #061828;
  background: var(--accent);
  box-shadow: 0 16px 38px rgba(247, 148, 29, 0.28);
}

.button-whatsapp {
  color: var(--white);
  background: var(--success);
  box-shadow: 0 16px 38px rgba(25, 164, 107, 0.22);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary-dark {
  color: var(--brand-mid);
  border-color: rgba(11, 37, 69, 0.18);
  background: rgba(11, 37, 69, 0.06);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay,
.hero-media img {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 18, 32, 0.9) 0%, rgba(5, 18, 32, 0.78) 36%, rgba(5, 18, 32, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 18, 32, 0.12) 0%, rgba(5, 18, 32, 0.78) 100%);
}

.hero-media {
  z-index: -2;
}

.hero-content {
  width: min(770px, calc(100% - 32px));
  margin-inline: max(16px, calc((100vw - var(--container)) / 2));
  padding-block: 168px 68px;
  align-self: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.cta-card h2,
.contact-panel h3 {
  margin: 0;
  font-size: clamp(2.35rem, 5.9vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 11ch;
}

.hero-copy {
  max-width: 43rem;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions,
.cta-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 850px;
  margin-top: 32px;
}

.credential-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  font-size: 0.92rem;
  font-weight: 800;
}

.credential-grid svg,
.service-icon svg,
.why-card svg,
.about-points svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-pad,
.trust-section {
  padding: 96px max(16px, calc((100vw - var(--container)) / 2));
}

.trust-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -44px;
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.trust-card,
.service-card,
.why-card,
.review-card,
.enquiry-form,
.contact-panel,
.owner-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.trust-card {
  padding: 24px;
  backdrop-filter: blur(16px);
}

.trust-number {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--brand-mid);
  background: var(--brand-soft);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-card strong,
.service-card h3,
.why-card h3,
.review-card strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.trust-card p,
.section-heading p,
.service-card p,
.about-copy p,
.why-card p,
.review-card p,
.review-card span,
.cta-card p,
.contact-panel p,
.footer-brand + p,
.site-footer p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.trust-card p,
.service-card p,
.why-card p,
.review-card p {
  margin: 10px 0 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.section-heading h2,
.about-copy h2,
.cta-card h2 {
  font-size: clamp(2rem, 4vw, 4.25rem);
  color: var(--ink);
}

.section-heading p {
  margin: 0;
  max-width: 680px;
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-card {
  min-height: 236px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.92));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 115, 217, 0.26);
  box-shadow: 0 24px 60px rgba(5, 22, 38, 0.14);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 16px;
  color: var(--brand);
  background: var(--brand-soft);
}

.service-card:nth-child(3n) .service-icon,
.why-card:nth-child(3n) svg {
  color: var(--accent);
  background: var(--accent-soft);
}

.about {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(223, 240, 255, 0.58));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 48px;
  align-items: center;
}

.about-copy p {
  margin: 20px 0 0;
  max-width: 690px;
  font-size: 1.06rem;
}

.about-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.about-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-weight: 850;
}

.about-points svg {
  color: var(--success);
}

.owner-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--brand-deep);
  color: var(--white);
}

.owner-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.owner-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(5, 18, 32, 0.72);
  backdrop-filter: blur(12px);
}

.owner-card figcaption strong {
  font-size: 1.04rem;
}

.owner-card figcaption span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.projects {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(11, 115, 217, 0.36), transparent 26rem),
    linear-gradient(180deg, #071826 0%, #0b2545 100%);
}

.section-heading-light h2,
.section-heading-light p {
  color: var(--white);
}

.section-heading-light p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.project-slider {
  position: relative;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-strong);
}

.slides {
  position: relative;
  min-height: clamp(360px, 56vw, 640px);
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.slide figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  width: fit-content;
  max-width: min(520px, calc(100% - 48px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 18, 32, 0.72);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-weight: 850;
}

.slider-controls {
  position: absolute;
  right: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 18, 32, 0.58);
  backdrop-filter: blur(12px);
}

.slider-prev,
.slider-next {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.55rem;
  line-height: 1;
}

.slider-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition: width 200ms ease, background 200ms ease;
}

.slider-dot.is-active {
  width: 22px;
  background: var(--accent);
}

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

.gallery-item {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  box-shadow: none;
  padding: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 450ms ease, filter 450ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
}

.gallery-item span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  font-weight: 900;
  text-align: left;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

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

.why-card {
  padding: 24px;
}

.why-card svg {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: 14px;
  color: var(--brand);
  background: var(--brand-soft);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews {
  background: #ffffff;
}

.review-card {
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.stars {
  color: #f6a21a;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  font-weight: 900;
}

.review-card p {
  min-height: 58px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
}

.review-card span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
}

.review-screenshots {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.82fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 24px;
}

.review-screenshots img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.cta {
  padding-top: 70px;
  padding-bottom: 70px;
  background:
    linear-gradient(135deg, rgba(11, 115, 217, 0.12), rgba(247, 148, 29, 0.1)),
    #f3f8fd;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(247, 148, 29, 0.36), transparent 20rem),
    linear-gradient(135deg, #071826, #0b2545 70%, #0b73d9);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-card h2 {
  max-width: 740px;
  color: var(--white);
}

.cta-card p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
}

.enquiry-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: #ffffff;
}

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

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(7, 24, 38, 0.14);
  border-radius: 16px;
  outline: none;
  background: #f8fbfd;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: rgba(11, 115, 217, 0.55);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 115, 217, 0.12);
}

.enquiry-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(247, 148, 29, 0.22), transparent 16rem),
    linear-gradient(180deg, #08213a, #071826);
}

.contact-panel h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  color: var(--white);
}

.contact-row {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-row span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-row strong,
.contact-row a {
  font-size: 1.05rem;
  font-weight: 900;
}

.contact-row p,
.contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr 0.9fr;
  gap: 34px;
  padding: 54px max(16px, calc((100vw - var(--container)) / 2)) 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #061522;
}

.footer-brand strong,
.footer-brand small {
  color: var(--white);
}

.footer-brand + p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer nav,
.site-footer > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #071826;
  background: var(--accent);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 1.2rem;
  font-weight: 950;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 62px 18px 28px;
  background: rgba(2, 7, 12, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.lightbox p {
  margin: 16px 0 0;
  color: var(--white);
  text-align: center;
  font-weight: 850;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  font-size: 2rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 940px) {
  .site-header {
    align-items: center;
    border-radius: 24px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-strong);
  }

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

  .site-nav a,
  .site-header.is-scrolled .site-nav a {
    display: block;
    padding: 14px 16px;
    color: var(--ink);
    background: transparent;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-header.is-scrolled .site-nav a:hover,
  .site-header.is-scrolled .site-nav a:focus-visible {
    color: var(--brand-mid);
    background: var(--muted);
  }

  .credential-grid,
  .trust-section,
  .why-grid,
  .reviews-grid,
  .contact-layout,
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    align-items: start;
  }

  .contact-layout {
    align-items: stretch;
  }

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

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

  .review-screenshots {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    padding: 8px;
  }

  .brand img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    max-width: 160px;
    font-size: 0.69rem;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-block: 138px 44px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-actions,
  .cta-actions,
  .form-actions {
    flex-direction: column;
  }

  .credential-grid,
  .trust-section,
  .service-grid,
  .why-grid,
  .reviews-grid,
  .contact-layout,
  .about-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-pad,
  .trust-section {
    padding-block: 74px;
  }

  .trust-section {
    padding-top: 0;
    margin-top: -32px;
  }

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

  .slides {
    min-height: 420px;
  }

  .slide figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    border-radius: 18px;
  }

  .slider-controls {
    right: 14px;
    top: 14px;
  }

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

  .gallery-item {
    min-height: 280px;
  }

  .owner-card img {
    aspect-ratio: 4 / 4.8;
  }

  .site-footer {
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
