/* LandReg – plain HTML/CSS site */

:root {
  --brand-red: #f60505;
  --brand-red-light: #ff4d4d;
  --brand-red-dark: #c90404;
  --green-deep: #1b5e3b;
  --green-dark: #0f3d26;
  --brand-blue: #267dc7;
  --brand-blue-light: #4a9ad4;
  --navy: #0c2340;
  --navy-light: #1a3a5c;
  --gold: #c9a227;
  --gray-soft: #f4f6f8;
  --gray-muted: #6b7280;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --container: 80rem;
  --header-h: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: #1f2937;
  background: #fff;
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  border-bottom: 1px solid rgba(12, 35, 64, 0.08);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(12, 35, 64, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.625rem 0;
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 5.25rem;
    padding: 0.75rem 0;
  }
}

.logo {
  flex-shrink: 1;
  min-width: 0;
  line-height: 0;
}

.logo img {
  height: 3.25rem;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  object-position: left;
}

@media (min-width: 480px) {
  .logo img {
    height: 3.75rem;
    max-width: min(280px, 55vw);
  }
}

@media (min-width: 768px) {
  .logo img {
    height: 4.5rem;
    max-width: 320px;
  }
}

@media (min-width: 1024px) {
  .logo img {
    height: 5rem;
    max-width: 360px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Desktop navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  border-radius: 0.5rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-desktop a:hover {
  color: var(--brand-blue);
  background: rgba(38, 125, 199, 0.06);
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.nav-desktop a.is-active {
  color: var(--brand-blue);
  background: rgba(38, 125, 199, 0.1);
}

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

@media (min-width: 1024px) {
  .nav-desktop {
    gap: 0.5rem;
  }

  .nav-desktop a {
    padding: 0.75rem 1.125rem;
    font-size: 0.875rem;
  }
}

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(12, 35, 64, 0.12);
  border-radius: 0.625rem;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(12, 35, 64, 0.06);
}

.menu-toggle:hover {
  background: var(--gray-soft);
  border-color: rgba(12, 35, 64, 0.18);
}

.menu-toggle[aria-expanded="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.2);
}

.menu-toggle svg {
  width: 1.375rem;
  height: 1.375rem;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none !important;
  }
}

/* Mobile menu backdrop */
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(12, 35, 64, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile navigation panel */
.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    visibility 0.25s ease,
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.nav-mobile.is-open {
  max-height: min(80vh, 420px);
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  border-bottom-color: rgba(12, 35, 64, 0.08);
  box-shadow: 0 16px 40px -12px rgba(12, 35, 64, 0.2);
}

.nav-mobile-inner {
  padding: 0.75rem 1rem 1.25rem;
}

@media (min-width: 640px) {
  .nav-mobile-inner {
    padding: 1rem 1.5rem 1.5rem;
  }
}

.nav-mobile-label {
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-muted);
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.nav-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--gray-soft);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.nav-mobile a::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.35;
  flex-shrink: 0;
}

.nav-mobile a:hover {
  background: #fff;
  color: var(--brand-blue);
  border-color: rgba(38, 125, 199, 0.25);
  transform: translateX(2px);
}

.nav-mobile a:hover::after {
  opacity: 1;
}

.nav-mobile a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--navy-light));
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(38, 125, 199, 0.35);
}

.nav-mobile a.is-active::after {
  border-color: #fff;
  opacity: 0.9;
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .nav-mobile,
  .nav-mobile-backdrop {
    display: none !important;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 2.5rem 0;
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  animation: ken-burns 22s ease-in-out infinite alternate;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.02) contrast(1.05) saturate(1.08);
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1));
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent, transparent);
}

.hero-content {
  position: relative;
  display: flex;
  min-height: 90vh;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0;
}

.hero-subtitle {
  margin: 0 0 1rem;
  max-width: 42rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(to right, var(--brand-red-light), var(--brand-red), var(--brand-red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-desc {
  margin: 0 0 2.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-hero {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.btn-hero:hover {
  transform: scale(1.02);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-hint span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-scroll-mouse {
  height: 2.5rem;
  width: 1.5rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 0.25rem;
}

.hero-scroll-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes ken-burns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.03);
  }
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.3;
  }
}

.hero-text-in {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-text-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-delay-1 {
  animation-delay: 0.15s;
}
.hero-delay-2 {
  animation-delay: 0.3s;
}
.hero-delay-3 {
  animation-delay: 0.45s;
}
.hero-delay-4 {
  animation-delay: 0.6s;
}

@keyframes hero-text-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  height: 12rem;
}

.page-hero.is-large {
  height: 14rem;
}

@media (min-width: 640px) {
  .page-hero {
    height: 14rem;
  }
  .page-hero.is-large {
    height: 16rem;
  }
}

@media (min-width: 768px) {
  .page-hero {
    height: 16rem;
  }
  .page-hero.is-large {
    height: 18rem;
  }
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 35, 64, 0.9), rgba(12, 35, 64, 0.8), rgba(12, 35, 64, 0.6));
}

.page-hero-content {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.page-hero-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(134, 239, 172, 0.9);
}

.page-hero-title {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}

@media (min-width: 640px) {
  .page-hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 3rem;
  }
}

.page-hero-subtitle {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 640px) {
  .page-hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-mesh {
  background-image: radial-gradient(at 20% 30%, rgba(27, 94, 59, 0.06) 0, transparent 50%),
    radial-gradient(at 80% 70%, rgba(12, 35, 64, 0.05) 0, transparent 50%);
}

.section-gray {
  background: var(--gray-soft);
}

.section-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  text-align: center;
}

.section-label.gold {
  color: var(--gold);
}

.section-title {
  margin: 0.5rem 0 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-title .accent {
  color: var(--green-deep);
}

.section-desc {
  margin: 1rem auto 0;
  max-width: 42rem;
  text-align: center;
  color: var(--gray-muted);
}

/* Services grid */
.services-section {
  position: relative;
  overflow: hidden;
  background: var(--gray-soft);
  padding: 6rem 0;
}

.services-section::before {
  content: "";
  position: absolute;
  right: -5rem;
  top: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(27, 94, 59, 0.05);
  filter: blur(48px);
  pointer-events: none;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(246, 5, 5, 0.18);
}

.service-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(246, 5, 5, 0.08), rgba(246, 5, 5, 0.04));
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card:hover .service-card-glow {
  opacity: 1;
}

.service-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--gray-soft), #fff);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.5s, background 0.5s, box-shadow 0.5s;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1);
  background: linear-gradient(to bottom right, rgba(246, 5, 5, 0.15), rgba(246, 5, 5, 0.05));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon-img {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  flex-shrink: 0;
  /* Cyan/black PNG → brand red (works on file:// and http) */
  filter: brightness(0) saturate(100%) invert(14%) sepia(96%) saturate(7491%) hue-rotate(1deg);
  transition: transform 0.5s, filter 0.5s;
}

.service-card:hover .service-icon-img {
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(10%) sepia(96%) saturate(7491%) hue-rotate(1deg);
}

.service-card h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  transition: color 0.3s;
}

@media (min-width: 640px) {
  .service-card h3 {
    font-size: 1rem;
  }
}

.service-card:hover h3 {
  color: var(--brand-red);
}

.service-card p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-muted);
}

.service-card-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(to right, var(--brand-red), var(--brand-red-dark));
  transition: width 0.5s;
}

.service-card:hover .service-card-bar {
  width: 100%;
}

/* About section on home */
.about-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
}

.about-section-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/bg-sec2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
}

.about-grid {
  position: relative;
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-content h2 {
  margin: 0.5rem 0 0;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
}

@media (min-width: 640px) {
  .about-content h2 {
    font-size: 3rem;
  }
}

.about-content .subtitle {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
}

.about-content .text-block p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: #4b5563;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--green-deep);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(27, 94, 59, 0.25);
  transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
  transform: scale(1.02);
  background: var(--green-dark);
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  border: 2px solid rgba(12, 35, 64, 0.2);
  border-radius: 0.75rem;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.btn-navy {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--navy);
  border-radius: 0.75rem;
  transition: transform 0.2s, background 0.2s;
}

.btn-navy:hover {
  transform: scale(1.02);
  background: var(--navy-light);
}

.about-image-frame {
  position: relative;
}

.about-image-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--green-deep), var(--gold));
  opacity: 0.35;
  z-index: -1;
  animation: frame-pulse 4s ease-in-out infinite;
}

@keyframes frame-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.02);
  }
}

.about-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  outline: 1px solid rgba(12, 35, 64, 0.1);
}

.about-image-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 420px;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  .about-image-inner {
    min-height: 480px;
  }
}

.about-image-frame:hover .about-image-inner {
  transform: scale(1.03);
}

.about-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 35, 64, 0.4), transparent, transparent);
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  outline: 1px solid #f3f4f6;
}

.about-badge .num {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-deep);
}

.about-badge .label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-muted);
}

/* What we do / portfolio grids */
.what-we-do-section {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 7rem 0;
}

.what-we-do-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24rem;
  height: 24rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(12, 35, 64, 0.05);
  filter: blur(48px);
  pointer-events: none;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(200px, 1fr));
    gap: 1.25rem;
  }
  .portfolio-grid .item-0 {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 320px;
  }
}

.gallery-bento-item {
  min-height: 200px;
}

.gallery-bento-item .portfolio-thumb {
  height: 100%;
  min-height: 200px;
}

.gallery-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, minmax(140px, 1fr));
    gap: 1.25rem;
  }
  .gallery-bento .g-0 {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-bento .g-3 {
    grid-row: span 2;
  }
  .gallery-bento .g-5 {
    grid-column: span 2;
  }
}

.portfolio-thumb {
  position: relative;
  display: block;
  width: 100%;
  min-height: 220px;
  padding: 0;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  outline: 1px solid rgba(12, 35, 64, 0.1);
  transition: box-shadow 0.5s, outline-color 0.5s;
}

.portfolio-thumb > img,
.portfolio-thumb .gallery-bento-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .portfolio-thumb {
    min-height: 200px;
    height: 100%;
  }
}

.portfolio-thumb:hover {
  box-shadow: 0 25px 50px -12px rgba(12, 35, 64, 0.25);
  outline-color: rgba(27, 94, 59, 0.3);
}

.portfolio-thumb img,
.gallery-bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-thumb:hover img,
.gallery-bento-item:hover .gallery-bento-img {
  transform: scale(1.08);
}

.portfolio-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 35, 64, 0.8), rgba(12, 35, 64, 0.2), transparent);
  opacity: 0.7;
  transition: opacity 0.5s;
}

.portfolio-thumb:hover .thumb-overlay {
  opacity: 0.9;
}

.portfolio-thumb .zoom-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-thumb:hover .zoom-icon {
  opacity: 1;
}

.zoom-icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  outline: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  transition: transform 0.3s;
}

.portfolio-thumb:hover .zoom-icon span {
  transform: scale(1.1);
}

.zoom-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #fff;
}

.thumb-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
}

.thumb-caption .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.thumb-caption .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

.thumb-caption p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

@media (min-width: 640px) {
  .thumb-caption p {
    font-size: 1rem;
  }
}

/* Portfolio section (dark) */
.portfolio-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 7rem 0 8rem;
}

.portfolio-section-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("../images/bg-action-1024x201-copy.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.portfolio-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 35, 64, 0.9), rgba(12, 35, 64, 0.95), var(--navy));
}

.portfolio-section .section-title {
  color: #fff;
}

.portfolio-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-bento-item .portfolio-thumb {
  outline-color: rgba(255, 255, 255, 0.1);
}

.gallery-bento-item .portfolio-thumb:hover {
  outline-color: rgba(74, 222, 128, 0.4);
}

/* About page */
.about-intro {
  padding: 5rem 0;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
}

.about-intro-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-cards {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 3rem auto 0;
}

@media (min-width: 640px) {
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-cards .card-full {
    grid-column: span 2;
  }
}

.about-card {
  padding: 1.5rem;
  background: rgba(244, 246, 248, 0.8);
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.about-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.about-card p {
  margin: 0;
  line-height: 1.7;
  color: #4b5563;
}

.vision-mission-section {
  padding: 6rem 0;
}

.vision-mission-section .container > * + * {
  margin-top: 7rem;
}

.vision-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .vision-block {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .vision-block.reversed .vision-text {
    order: 2;
  }
  .vision-block.reversed .vision-image {
    order: 1;
  }
}

.vision-index {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(27, 94, 59, 0.1);
}

@media (min-width: 640px) {
  .vision-index {
    font-size: 5rem;
  }
}

.vision-block h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
}

@media (min-width: 640px) {
  .vision-block h2 {
    font-size: 2.25rem;
  }
}

.vision-divider {
  width: 4rem;
  height: 4px;
  margin: 1rem 0;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--green-deep), var(--gold));
}

.vision-block .vision-content {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
}

.vision-image .about-image-inner {
  aspect-ratio: 3 / 2;
  min-height: auto;
}

.cta-bar {
  padding: 4rem 0;
  background: var(--gray-soft);
  border-top: 1px solid #f3f4f6;
}

.cta-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cta-bar-inner {
    flex-direction: row;
  }
}

.cta-bar-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-deep);
}

.cta-bar-text {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
}

/* Contact form */
.contact-section {
  padding: 5rem 0;
  background: var(--gray-soft);
}

.contact-form {
  max-width: 42rem;
  margin: 0 auto;
}

.contact-form .form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .contact-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.form-group .required {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  color: var(--navy);
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.2);
}

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

.form-status {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}

.form-status.success {
  background: #f0fdf4;
  color: #166534;
}

.form-status.error {
  background: #fef2f2;
  color: #991b1b;
}

.btn-submit {
  width: 100%;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--green-deep);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

@media (min-width: 640px) {
  .btn-submit {
    width: auto;
  }
}

.btn-submit:hover:not(:disabled) {
  background: var(--green-dark);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  visibility: hidden;
}

.lightbox-overlay.is-open {
  display: flex !important;
  pointer-events: auto;
  visibility: visible;
  animation: lightbox-fade-in 0.3s ease forwards;
}

@media (min-width: 640px) {
  .lightbox-overlay {
    padding: 2rem;
  }
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(12, 35, 64, 0.95);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.lightbox-panel {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 72rem;
  animation: lightbox-slide-up 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.lightbox-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.lightbox-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 10;
  min-height: 240px;
}

@media (min-width: 640px) {
  .lightbox-image-wrap {
    min-height: 400px;
  }
}

@media (min-width: 768px) {
  .lightbox-image-wrap {
    min-height: 480px;
  }
}

.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: lightbox-image-in 0.35s ease forwards;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.2s;
  animation: lightbox-fade-in 0.4s ease 0.15s both;
}

@media (min-width: 640px) {
  .lightbox-nav {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav svg {
  width: 1.5rem;
  height: 1.5rem;
}

.lightbox-nav-prev {
  left: 0.75rem;
}

.lightbox-nav-next {
  right: 0.75rem;
}

@media (min-width: 640px) {
  .lightbox-nav-prev {
    left: 1rem;
  }
  .lightbox-nav-next {
    right: 1rem;
  }
}

.lightbox-caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

@media (min-width: 640px) {
  .lightbox-caption {
    font-size: 1.125rem;
  }
}

.lightbox-caption-sub {
  margin: 0.5rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
}

.lightbox-thumb {
  position: relative;
  flex-shrink: 0;
  width: 6rem;
  height: 4rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  outline: 2px solid rgba(255, 255, 255, 0.2);
  transition: opacity 0.2s, transform 0.2s, outline-color 0.2s;
}

@media (min-width: 640px) {
  .lightbox-thumb {
    width: 7rem;
    height: 5rem;
  }
}

.lightbox-thumb:hover {
  opacity: 1;
}

.lightbox-thumb.is-active {
  opacity: 1;
  transform: scale(1.05);
  outline-color: #4ade80;
  outline-offset: 2px;
}

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

@keyframes lightbox-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lightbox-slide-up {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lightbox-image-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Content visible before JS (opening file directly) */
html.no-js .animate-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 700ms;
}

.animate-on-scroll.is-visible {
  opacity: 1;
}

.anim-fade-up {
  transform: translateY(32px);
}
.anim-fade-up.is-visible {
  transform: translateY(0);
}

.anim-fade-right {
  transform: translateX(-40px);
}
.anim-fade-right.is-visible {
  transform: translateX(0);
}

.anim-fade-left {
  transform: translateX(40px);
}
.anim-fade-left.is-visible {
  transform: translateX(0);
}

.anim-scale-up {
  transform: scale(0.92);
}
.anim-scale-up.is-visible {
  transform: scale(1);
}

/* Utilities */
.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .hero-bg,
  .hero-text-in,
  .hero-scroll-dot,
  .about-image-frame::before {
    animation: none !important;
    transition: none !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .service-card:hover,
  .portfolio-thumb:hover img,
  .gallery-bento-item:hover .gallery-bento-img,
  .about-image-frame:hover .about-image-inner {
    transform: none;
  }

  .lightbox-overlay,
  .lightbox-panel,
  .lightbox-image-wrap img,
  .lightbox-nav {
    animation: none !important;
  }
}
