:root {
  --bg: #F3F7FA;
  --bg-panel: #E9F1F6;
  --bg-panel-2: #EEF4F8;
  --paper: #FFFFFF;
  --ink: #13233D;
  --ink-dim: #54647E;
  --graphite: #7A8AA3;
  --blue: #2E6FED;
  --blue-deep: #1E51B8;
  --teal: #12968A;
  --teal-light: #5FC3B8;
  --coral: #FF6B52;
  --coral-deep: #DE4E36;
  --line: rgba(19, 35, 61, 0.10);
  --line-strong: rgba(19, 35, 61, 0.18);
  --glow: 0 0 60px -12px rgba(46, 111, 237, 0.20);
  --card-shadow: 0 18px 40px -22px rgba(19, 35, 61, 0.22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Fraunces', serif;
  line-height: 1.5;
  overflow-x: hidden;
}

/* animated blueprint grid backdrop */
body::before {
  content: "";
  position: fixed;
  inset: -10% -10%;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: driftGrid 60s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 900px 500px at 15% -5%, rgba(46, 111, 237, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(18, 150, 138, 0.09), transparent 60%);
}

@keyframes driftGrid {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 88px 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }

  * {
    scroll-behavior: auto !important;
  }
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

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

.kn {
  font-family: 'Noto Sans Kannada', sans-serif;
}

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

section[id],
footer[id] {
  scroll-margin-top: 88px;
}

/* scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="stagger"]>* {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}

[data-reveal="stagger"].in>* {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="stagger"].in>*:nth-child(1) {
  transition-delay: .02s;
}

[data-reveal="stagger"].in>*:nth-child(2) {
  transition-delay: .09s;
}

[data-reveal="stagger"].in>*:nth-child(3) {
  transition-delay: .16s;
}

[data-reveal="stagger"].in>*:nth-child(4) {
  transition-delay: .23s;
}

[data-reveal="stagger"].in>*:nth-child(5) {
  transition-delay: .30s;
}

[data-reveal="stagger"].in>*:nth-child(6) {
  transition-delay: .37s;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 247, 250, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

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

/* Circular Logo Container */
.brand-mark {
  width: 40px;
  /* Must match height for a perfect circle */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Clips image edges outside the circle */
  border-radius: 50%;
  /* Creates the round circle shape */
}

/* Logo Image */
.brand-mark .logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Crops image to fit the circle without stretching */
  border-radius: 50%;
  display: block;
}

.brand-mark svg {
  width: 35px;
  height: 35px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text .name {
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-text .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

nav.links {
  display: flex;
  gap: 28px;
  align-items: center;

}

nav.links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: all .2s ease;
}

nav.links a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper);
}

.lang-toggle button {
  background: none;
  border: none;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}

.lang-toggle button.active {
  background: var(--blue);
  color: #fff;
}

.mobile-nav .lang-toggle {
  margin: 18px 0 6px;
  align-self: flex-start;
}

.mobile-nav .lang-toggle button {
  padding: 9px 16px;
  font-size: 0.75rem;
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #fff;
  padding: 9px 16px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  border: 1px solid var(--coral-deep);
  transition: transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #fff;
  padding: 9px 16px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  border: 1px solid var(--coral-deep);
  transition: transform .2s ease, box-shadow .2s ease;
}

.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(255, 107, 82, 0.45);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 60;
  transition: border-color .2s ease;
}

.menu-toggle:hover {
  border-color: var(--blue);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}

.menu-toggle.open span {
  background: var(--blue);
}

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

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

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

/* Mobile nav panel */
.mobile-nav {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 320px);
  background: #FFFFFF;
  border-left: 1px solid var(--line-strong);
  z-index: 55;
  padding: 90px 30px 30px;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1);
  box-shadow: -20px 0 50px -20px rgba(19, 35, 61, 0.35);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, padding-left .2s ease;
}

.mobile-nav a:hover {
  color: var(--blue);
  padding-left: 6px;
}

.mobile-nav .call-btn {
  margin-top: 24px;
  justify-content: center;
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19, 35, 61, 0.35);
  z-index: 54;
  opacity: 0;
  transition: opacity .3s ease;
}

.mobile-nav-backdrop.open {
  display: block;
  opacity: 1;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 88px 0 70px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--teal);
}

h1.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

h1.hero-title em {
  font-style: italic;
  font-weight: 450;
  color: var(--blue);
}

.hero-kn {
  font-size: 1.1rem;
  color: var(--ink-dim);
  margin-bottom: 18px;
}

.hero-tagline {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  border-left: 2px solid var(--coral);
  padding-left: 16px;
  margin-bottom: 28px;
  max-width: 440px;
}

.hero-desc {
  color: var(--ink-dim);
  max-width: 460px;
  margin-bottom: 34px;
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: 14px 26px;
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--blue-deep);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(46, 111, 237, 0.45);
}

.btn-ghost {
  padding: 14px 26px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .2s ease;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-meta div {
  font-family: 'JetBrains Mono', monospace;
}

.hero-meta .num {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--blue);
}

.hero-meta .lbl {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
}

/* Blueprint SVG panel — kept dark for contrast, like an architect's drawing board */
.hero-visual {
  position: relative;
}

.blueprint-frame {
  background: linear-gradient(165deg, #16233D, #0E1626);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 22px;
  box-shadow: var(--card-shadow), var(--glow);
  position: relative;
}

.blueprint-frame::before {
  content: "A-100 · ELEVATION";
  position: absolute;
  top: -11px;
  left: 20px;
  background: var(--blue);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  font-weight: 700;
}

.blueprint-frame svg {
  width: 100%;
  height: auto;
}

.draw-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 2.6s ease forwards;
}

.draw-line.d2 {
  animation-delay: .25s;
}

.draw-line.d3 {
  animation-delay: .5s;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* sharp angular divider */
.angle-cut {
  height: 64px;
  width: 100%;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
  margin-top: -1px;
}

/* ===== Section shell ===== */
section {
  position: relative;
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head .eyebrow::before {
  display: none;
}

.section-head .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--teal);
}

h2.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--ink-dim);
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ===== Services (drawing sheets) ===== */
.services {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  padding: 26px 24px 24px;
  box-shadow: var(--card-shadow);
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, border-color .3s ease;
}

.sheet:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 54px -24px rgba(19, 35, 61, 0.3), 0 0 0 1px rgba(46, 111, 237, 0.25);
  border-color: rgba(46, 111, 237, 0.35);
}

.sheet-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.sheet h3 {
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.sheet p {
  color: var(--ink-dim);
  font-size: 0.92rem;
}

.sheet-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid var(--teal-light);
  opacity: 0.9;
}

.sheet-corner.tl {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.sheet-corner.br {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

/* ===== Process ===== */
.process-track {
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--teal) 0 6px, transparent 6px 12px);
}

.process-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 22px;
  padding-bottom: 38px;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 6px 14px -6px rgba(19, 35, 61, 0.18);
}

.process-step:hover .step-dot {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(46, 111, 237, 0.12);
}

.step-body h4 {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}

.step-body p {
  color: var(--ink-dim);
  font-size: 0.94rem;
  max-width: 560px;
}

/* ===== Why us ===== */
.why {
  background: var(--bg-panel-2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-item {
  background: var(--paper);
  padding: 34px 26px;
  transition: background .3s ease;
}

.why-item:hover {
  background: #F3F9FC;
}

.why-item .why-mark {
  font-family: 'JetBrains Mono', monospace;
  color: var(--blue);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.why-item h4 {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--ink-dim);
  font-size: 0.9rem;
}

/* ===== Gallery — kept dark as an accent band against the light page ===== */
.gallery {
  background: linear-gradient(180deg, #16233D, #0F1A2E);
  color: #EAF0F7;
}

.gallery .eyebrow {
  color: var(--teal-light);
}

.gallery .eyebrow::after {
  background: var(--teal-light);
}

.gallery h2.section-title {
  color: #fff;
}

.gallery .section-desc {
  color: #AEC0D6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-slot {
  aspect-ratio: 4/3;
  border: 1px dashed rgba(234, 240, 247, 0.22);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FA3C0;
  background: rgba(234, 240, 247, 0.03);
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}

.gallery-slot:hover {
  border-color: var(--teal-light);
  background: rgba(95, 195, 184, 0.08);
  color: var(--teal-light);
}

.gallery-slot svg {
  width: 30px;
  height: 30px;
  opacity: 0.8;
}

.gallery-note {
  margin-top: 26px;
  text-align: center;
  color: #8FA3C0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* ===== Gallery expand button (for videos) ===== */
.gallery-slot {
  position: relative;
  cursor: pointer;
}

.expand-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: rgba(15, 26, 46, 0.75);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.expand-btn:hover {
  background: var(--blue);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background: rgba(8, 13, 24, 0.96);
  box-sizing: border-box;
}

.lightbox.open {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 70px 90px;
  box-sizing: border-box;
}

.lightbox-stage img,
.lightbox-stage video {
  display: none;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  border: 1px solid rgba(234, 240, 247, 0.2);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  border-radius: 2px;
}

.lightbox-stage img.active,
.lightbox-stage video.active {
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 22px;
  z-index: 100000;
  background: none;
  border: none;
  color: #EAF0F7;
  font-size: 2.3rem;
  line-height: 1;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  padding: 6px 10px;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100000;
  background: rgba(234, 240, 247, 0.08);
  border: 1px solid rgba(234, 240, 247, 0.25);
  color: #EAF0F7;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.lightbox-nav:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #AEC0D6;
  background: rgba(234, 240, 247, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
}

@media (max-width: 700px) {
  .lightbox-stage {
    padding: 60px 20px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .lightbox-nav.prev {
    left: 8px;
  }

  .lightbox-nav.next {
    right: 8px;
  }

  .lightbox-close {
    top: 10px;
    right: 14px;
    font-size: 2rem;
  }
}
.lightbox-back {
  position: fixed;
  top: 16px;
  left: 22px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 240, 247, 0.08);
  border: 1px solid rgba(234, 240, 247, 0.25);
  color: #EAF0F7;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.lightbox-back:hover {
  background: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 700px) {
  .lightbox-back {
    top: 10px;
    left: 14px;
    padding: 7px 12px;
    font-size: 0.7rem;
  }
}

/* ===== CTA band ===== */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 55%, var(--teal));
  color: #fff;
  text-align: center;
  padding: 70px 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-band .wrap {
  position: relative;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.cta-band p {
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral-deep);
}

.cta-band .btn-primary:hover {
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.35);
}

.cta-band .btn-ghost {
  border-color: #fff;
  color: #fff;
}

.cta-band .btn-ghost:hover {
  background: #fff;
  color: var(--blue-deep);
  border-color: #fff;
}

/* ===== Footer — deep navy to ground the light page ===== */
footer {
  background: #101B30;
  color: #EAF0F7;
  padding-top: 76px;
  border-top: 1px solid rgba(234, 240, 247, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(234, 240, 247, 0.1);
}

.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 20px;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.footer-tag {
  font-style: italic;
  color: #AEC0D6;
  margin-bottom: 22px;
  font-size: 0.96rem;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal-light);
}

.footer-contact-item a,
.footer-contact-item span {
  color: #C7D3E3;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-contact-item a:hover {
  color: var(--teal-light);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(234, 240, 247, 0.22);
  color: #C7D3E3;
  background: rgba(234, 240, 247, 0.04);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.social-btn svg {
  width: 19px;
  height: 19px;
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn.whatsapp:hover {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37, 211, 102, 0.08);
}

.social-btn.instagram:hover {
  border-color: #E1306C;
  color: #E1306C;
  background: rgba(225, 48, 108, 0.08);
}

.social-btn.facebook:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
}

.map-frame {
  border: 1px solid rgba(234, 240, 247, 0.18);
  border-radius: 2px;
  width: 100%;
  height: 180px;
  filter: grayscale(0.2) contrast(1.02);
}

/* Enquiry form */
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  background: rgba(234, 240, 247, 0.05);
  border: 1px solid rgba(234, 240, 247, 0.2);
  color: #EAF0F7;
  padding: 11px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  border-radius: 2px;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}

.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
  color: #7E8CA3;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--teal-light);
  background: rgba(95, 195, 184, 0.07);
}

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

.enquiry-form select option {
  color: #111;
}

.form-submit {
  margin-top: 6px;
  background: var(--coral);
  color: #fff;
  border: 1px solid var(--coral-deep);
  padding: 13px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(255, 107, 82, 0.5);
}

.form-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #AEC0D6;
  min-height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #7E8CA3;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(37, 211, 102, 0.55);
  transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease;
  animation: floatPulse 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 32px -8px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
}

@keyframes floatPulse {

  0%,
  100% {
    box-shadow: 0 12px 26px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.35);
  }

  50% {
    box-shadow: 0 12px 26px -8px rgba(37, 211, 102, 0.55), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

@media (max-width:880px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  nav.links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

/* ===== Local media gallery support ===== */
.gallery-slot {
  position: relative;
  overflow: hidden;
}

.gallery-slot img,
.gallery-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.gallery-slot span {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 9px 12px;
  background: rgba(15, 26, 46, .78);
  width: 100%;
  text-align: center;
  color: #fff;
}

.gallery-slot.media-missing {
  background: rgba(234, 240, 247, 0.03);
}

.gallery-slot.media-missing img {
  display: none;
}

/* ===== Responsive header: laptop vs mobile ===== */
/* Laptop/Desktop (above 880px):
   SERVICES / PROCESS / WORK / CONTACT + CALL NOW, matching the desktop design. */

/* Mobile/Tablet (880px and below):
   hide desktop links and Call Now; show hamburger menu. */
@media (max-width: 880px) {
  nav.links {
    display: none !important;
  }

  .call-btn {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
  }
}