﻿@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --panel: rgba(255, 255, 255, 0.72);
  --card: rgba(255, 255, 255, 0.84);
  --card-strong: rgba(255, 255, 255, 0.94);
  --text: #0e3159;
  --muted: #425774;
  --line: rgba(14, 49, 89, 0.16);
  --line-strong: rgba(14, 49, 89, 0.32);
  --brand: #0f3d6b;
  --brand-2: #124a81;
  --accent: #f4c20f;
  --shadow-soft: 0 14px 30px rgba(14, 49, 89, 0.08);
  --shadow-strong: 0 22px 48px rgba(14, 49, 89, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 8% 10%, rgba(244, 194, 15, 0.06), transparent 28%),
    radial-gradient(circle at 88% 92%, rgba(15, 61, 107, 0.08), transparent 30%);
}

a {
  color: inherit;
}

p {
  margin: 0 0 14px;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: transparent;
  border-bottom: 0;
  padding-top: 10px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 12px 16px;
  position: relative;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.4px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(36px) saturate(220%) brightness(1.06) contrast(0.9);
  -webkit-backdrop-filter: blur(36px) saturate(220%) brightness(1.06) contrast(0.9);
  box-shadow: 0 20px 40px rgba(14, 49, 89, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.nav-wrap::before {
  content: "";
  position: absolute;
  inset: -40% -15%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.65), transparent 35%),
    radial-gradient(circle at 72% 55%, rgba(255, 255, 255, 0.45), transparent 42%);
  filter: blur(10px);
  opacity: 0.85;
  animation: liquidSheen 10s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.nav-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.45));
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.nav-wrap > * {
  position: relative;
  z-index: 1;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 80px;
  height: auto;
  border-radius: 0;
  opacity: 1;
  filter: saturate(1.08) contrast(1.06);
}

.footer-brand {
  margin: 0;
}

.footer-logo {
  width: 80px;
  height: auto;
  border-radius: 0;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  color: var(--brand);
  padding: 8px 13px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.84);
  padding: 9px 12px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(200%);
  -webkit-backdrop-filter: blur(18px) saturate(200%);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.34);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.hero {
  padding-top: 108px;
}

.hero-grid,
.split {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-grid > img,
.split > img {
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(15, 61, 107, 0.14);
}

.hero-visual > img {
  width: 100%;
  border: 1px solid rgba(15, 61, 107, 0.2);
  box-shadow: 0 18px 34px rgba(15, 61, 107, 0.16);
  position: relative;
  z-index: 2;
}

.hero-visual > img.reveal-right.in,
.hero-visual > img.reveal-left.in {
  animation: heroImageBounce 1.9s ease-in-out infinite alternate;
}

.hero-copy-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
}

.hero .hero-copy-card h1 {
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  line-height: 1.06;
  margin-bottom: 10px;
}

.hero-copy-card::before {
  content: none;
}

.hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.hero-meta span {
  border: 1px solid rgba(15, 61, 107, 0.2);
  background: rgba(255, 255, 255, 0.74);
  padding: 6px 11px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  color: var(--brand);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(15, 61, 107, 0.08);
}

.hero-visual {
  position: relative;
  padding: 18px 0 22px 18px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual:hover {
  transform: translateY(-4px);
}

.hero-frame-back {
  position: absolute;
  inset: 0 18px 34px 0;
  border: 1px solid rgba(15, 61, 107, 0.12);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.55), rgba(15, 61, 107, 0.08));
  border-radius: 14px;
  transform: translate(-1px, 3px);
  box-shadow: 0 14px 30px rgba(15, 61, 107, 0.16);
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.3px);
  z-index: 0;
}

.hero-orb-a {
  width: 88px;
  height: 88px;
  top: -6px;
  right: -4px;
  background: radial-gradient(circle at 30% 30%, rgba(244, 194, 15, 0.9), rgba(244, 194, 15, 0.22));
  animation: orbPulse 4.6s ease-in-out infinite;
}

.hero-orb-b {
  width: 56px;
  height: 56px;
  bottom: 2px;
  left: -8px;
  background: radial-gradient(circle at 30% 30%, rgba(15, 61, 107, 0.82), rgba(15, 61, 107, 0.14));
  animation: orbPulse 5.2s ease-in-out infinite reverse;
}

.hero-badge {
  position: absolute;
  right: 8px;
  bottom: -6px;
  max-width: 270px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 61, 107, 0.18);
  box-shadow: 0 12px 24px rgba(15, 61, 107, 0.12);
  border-radius: 10px;
  padding: 10px 12px 10px 14px;
  z-index: 3;
  border-left: 3px solid rgba(244, 194, 15, 0.88);
  animation: badgeFloat 3.8s ease-in-out infinite;
}

.hero-badge strong {
  display: block;
  font-size: 0.88rem;
  color: var(--brand);
}

.hero-badge span {
  display: block;
  margin-top: 4px;
  font-size: 0.77rem;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #b88d00;
  font-weight: 700;
  margin: 0 0 9px;
  font-size: 0.75rem;
}

.hero .eyebrow {
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.hero .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(244, 194, 15, 0.95), rgba(15, 61, 107, 0.75));
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.18;
  margin: 0 0 13px;
  letter-spacing: -0.015em;
  color: var(--brand-2);
}

h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  max-width: 16ch;
  font-weight: 700;
  background: linear-gradient(108deg, #0f3d6b 0%, #1e6eaa 34%, #d4a300 72%, #f4c20f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
  background: linear-gradient(108deg, #0f3d6b 10%, #1d629e 45%, #c99900 70%, #f4c20f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 61, 107, 0.9), rgba(244, 194, 15, 0.95));
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 700;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--brand);
  letter-spacing: 0.005em;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, background 0.22s ease;
  animation: buttonDrift 3.4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.42), transparent 80%);
  transform: translateX(-160%);
  opacity: 0;
  pointer-events: none;
  animation: buttonShimmer 2.8s ease-in-out infinite;
}

.btn:hover::before {
  animation-duration: 1.6s;
}

.btn-glass {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(244, 194, 15, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 3px 8px rgba(14, 49, 89, 0.08);
}

.btn-glass:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 5px 12px rgba(14, 49, 89, 0.1);
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-outline:hover {
  transform: translateY(-3px) scale(1.01);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 5px 12px rgba(14, 49, 89, 0.11);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 18px rgba(14, 49, 89, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-strong);
}

.card.soft {
  background: var(--card-strong);
}

ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

li {
  margin-bottom: 8px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: #b88d00;
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.service-stack {
  display: grid;
  gap: 34px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(460px, 48%) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid rgba(15, 61, 107, 0.14);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.88));
  box-shadow: 0 16px 34px rgba(15, 61, 107, 0.1);
  backdrop-filter: blur(6px);
}

.service-card.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(460px, 48%);
}

.service-card.reverse .service-media {
  order: 2;
}

.service-media {
  display: flex;
  align-items: stretch;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 390px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(15, 61, 107, 0.15);
}

.service-copy {
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-kicker {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b88d00;
  font-weight: 700;
}

.service-copy h3 {
  margin-bottom: 10px;
}

.service-copy p {
  max-width: 54ch;
}

.service-points {
  margin-top: 10px;
}

.service-points li {
  margin-bottom: 8px;
}

.service-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.service-tag {
  border: 1px solid rgba(15, 61, 107, 0.22);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}

.feature-strip {
  background: #fff;
  border-top: 0;
  border-bottom: 0;
}

.feature-grid,
.grid-3,
.projects-grid,
.mission-vision {
  display: grid;
  gap: 18px;
}

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

.feature-grid > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  box-shadow: none;
  backdrop-filter: blur(8px);
  transition: transform 0.26s ease, border-color 0.26s ease;
}

.feature-grid > div:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

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

.feature-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 1px solid rgba(244, 194, 15, 0.7);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 194, 15, 0.08);
  perspective: 800px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand);
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  animation: iconFlipLoop 6.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.feature-item:hover .feature-icon svg {
  transform: rotateY(180deg) scale(1.06);
}

.feature-grid .feature-item:nth-child(2) .feature-icon svg {
  animation-delay: 0.6s;
}

.feature-grid .feature-item:nth-child(3) .feature-icon svg {
  animation-delay: 1.2s;
}

.feature-grid .feature-item:nth-child(4) .feature-icon svg {
  animation-delay: 1.8s;
}

.feature-grid .feature-item:nth-child(5) .feature-icon svg {
  animation-delay: 2.4s;
}

.mission-vision .card {
  box-shadow: none;
  background: transparent;
}

.mission-vision .card:hover {
  box-shadow: none;
  transform: translateY(-2px);
}

.flip-card {
  perspective: 1400px;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  min-height: 220px;
  transform-style: preserve-3d;
  transition: transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.flip-face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(15, 61, 107, 0.18);
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.95));
  padding: 18px 18px 16px;
  backface-visibility: hidden;
  box-shadow: 0 10px 22px rgba(15, 61, 107, 0.1);
}

.flip-front {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(249, 253, 255, 0.96));
}

.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 244, 0.95));
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.tap-hint {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b88d00;
  font-weight: 600;
}

.tap-icon {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(184, 141, 0, 0.42);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 194, 15, 0.12);
  animation: tapPulse 1.45s ease-in-out infinite;
  position: relative;
}

.tap-icon svg {
  width: 13px;
  height: 13px;
  stroke: #9d7600;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tap-icon::before,
.tap-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(244, 194, 15, 0.55);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
}

.tap-icon::before {
  animation: tapWave 1.45s ease-out infinite;
}

.tap-icon::after {
  animation: tapWave 1.45s ease-out 0.34s infinite;
}

.flip-card:focus-visible {
  outline: 2px solid rgba(244, 194, 15, 0.85);
  outline-offset: 5px;
  border-radius: 12px;
}

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

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

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

.projects-showcase {
  display: grid;
  gap: 18px;
}

.projects-row {
  display: flex;
  gap: 14px;
  overflow: hidden;
  position: relative;
  mask-image: none;
  -webkit-mask-image: none;
}

.projects-track {
  display: flex;
  gap: 14px;
  min-width: max-content;
  animation: projectsMarquee 36s linear infinite;
}

.projects-row.reverse .projects-track {
  animation-name: projectsMarqueeReverse;
  animation-duration: 40s;
}

.projects-row:hover .projects-track {
  animation-play-state: paused;
}

.projects-showcase .project-card {
  width: min(360px, 82vw);
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  padding: 0;
}

.projects-showcase .project-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.project-flip-card {
  perspective: 1400px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.project-flip-inner {
  position: relative;
  min-height: 320px;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  overflow: hidden;
  backface-visibility: hidden;
  padding: 0;
}

.projects-showcase .project-card > div,
.projects-showcase .project-card .project-face,
.projects-showcase .project-card .project-flip-inner {
  padding: 0;
}

.project-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  box-shadow: none;
  border-radius: 10px;
  display: block;
}

.project-title-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 14px 14px;
  background: linear-gradient(to top, rgba(7, 26, 47, 0.78), rgba(7, 26, 47, 0.38), transparent);
  overflow: hidden;
}

.project-title-overlay h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.04rem;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-back {
  transform: rotateY(180deg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.95));
  padding: 16px 14px;
  box-shadow: none;
}

.project-back h3 {
  margin-bottom: 8px;
}

.project-back p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-flip-card.is-flipped .project-flip-inner {
  transform: rotateY(180deg);
}

.project-flip-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.project-flip-card:focus-visible {
  outline: 2px solid rgba(244, 194, 15, 0.9);
  outline-offset: 5px;
  border-radius: 12px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 28px rgba(15, 61, 107, 0.14);
}

.project-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(15, 61, 107, 0.1);
}

.project-card div {
  padding: 18px;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #fff;
  color: var(--brand);
  padding: 12px 13px;
  margin-top: 6px;
  margin-bottom: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 194, 15, 0.2);
}

.contact-form label {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  border-top: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(244, 194, 15, 0.14), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(15, 61, 107, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  margin-top: 78px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 61, 107, 0.24), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(15, 61, 107, 0.12);
  filter: blur(35px);
  pointer-events: none;
}

.footer-grid {
  padding: 40px 0 34px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.footer-grid > div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 14px 14px 10px;
  backdrop-filter: blur(4px);
}

.footer-grid p {
  margin: 0 0 8px;
  color: var(--muted);
}

.footer-grid a {
  color: #b88d00;
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-logo {
  filter: saturate(1.06) contrast(1.03);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(1px);
  transition: opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1), transform 0.82s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-left,
.reveal-right {
  opacity: 0;
  filter: blur(1px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.75s ease;
  will-change: transform, opacity;
}

.reveal-left {
  transform: translateX(-56px);
}

.reveal-right {
  transform: translateX(56px);
}

.reveal-left.in,
.reveal-right.in {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

@keyframes buttonDrift {
  0% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
  100% { transform: translateY(0); }
}

@keyframes buttonShimmer {
  0% { transform: translateX(-160%); opacity: 0; }
  18% { opacity: 0.95; }
  42% { transform: translateX(160%); opacity: 0.95; }
  55% { opacity: 0; }
  100% { transform: translateX(160%); opacity: 0; }
}

@keyframes mediaFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

@keyframes orbPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes tapPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 194, 15, 0.46); }
  55% { transform: scale(1.12); box-shadow: 0 0 0 12px rgba(244, 194, 15, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 194, 15, 0); }
}

@keyframes tapWave {
  0% { transform: scale(0.88); opacity: 0.85; }
  100% { transform: scale(1.42); opacity: 0; }
}

@keyframes iconFlipLoop {
  0%, 14%, 100% { transform: rotateY(0deg); }
  20% { transform: rotateY(180deg); }
  28% { transform: rotateY(360deg); }
}

@keyframes liquidSheen {
  0% { transform: translateX(-8%) translateY(0%) rotate(0deg); }
  50% { transform: translateX(8%) translateY(2%) rotate(4deg); }
  100% { transform: translateX(-8%) translateY(0%) rotate(0deg); }
}

@keyframes heroImageBounce {
  0% { transform: translateX(0) translateY(-5px); }
  100% { transform: translateX(0) translateY(5px); }
}

@keyframes projectsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 14px)); }
}

@keyframes projectsMarqueeReverse {
  from { transform: translateX(calc(-100% - 14px)); }
  to { transform: translateX(0); }
}

@media (max-width: 980px) {
  .site-header {
    padding-top: 8px;
  }

  .nav-wrap {
    padding: 10px 12px;
    overflow: visible;
  }

  .site-nav {
    position: fixed;
    top: 88px;
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 61, 107, 0.16);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    background: rgba(255, 255, 255, 0.96);
    display: none;
    flex-direction: column;
    box-shadow: 0 18px 40px rgba(14, 49, 89, 0.16);
    z-index: 5;
  }

  .site-nav a {
    background: #fff;
  }

  .site-nav.open {
    display: flex;
  }

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

  .hero-grid,
  .split,
  .service-card,
  .service-card.reverse,
  .grid-3,
  .projects-grid,
  .mission-vision,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card.reverse .service-media {
    order: initial;
  }

  .service-card {
    padding: 14px;
    gap: 18px;
  }

  .service-card img {
    min-height: 240px;
    max-height: 300px;
  }

  .service-bottom {
    flex-wrap: wrap;
  }

  .projects-row {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .projects-showcase .project-card {
    width: min(320px, 86vw);
  }

  .project-flip-inner {
    min-height: 290px;
  }

  .section {
    padding: 58px 0;
  }

  .hero-copy-card {
    padding: 0;
  }

  .hero-visual {
    padding: 14px 0 28px;
  }

  .hero-frame-back {
    inset: 8px 10px 40px 10px;
    transform: none;
  }

  .hero-badge {
    right: 14px;
    left: 14px;
    max-width: none;
    bottom: -14px;
  }

  .footer-grid > div {
    padding: 12px 12px 8px;
  }

  .flip-card-inner {
    min-height: 210px;
  }
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .brand-logo,
  .footer-logo {
    width: 80px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero .hero-copy-card h1 {
    font-size: 1.72rem;
  }

  h2::after {
    width: 40px;
  }

  .nav-wrap {
    gap: 10px;
  }

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

  .service-tag {
    width: 100%;
    text-align: center;
  }

  .projects-track {
    animation-duration: 28s;
  }

  .projects-row.reverse .projects-track {
    animation-duration: 31s;
  }

  .project-flip-inner {
    min-height: 260px;
  }

  .btn {
    width: 100%;
    animation: none;
  }

  .flip-card-inner {
    min-height: 210px;
  }

  .flip-face {
    position: absolute;
  }
}

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

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

  .flip-card-inner {
    transition: none !important;
  }
}



