/* =============================================
   Jai Infra — Homepage Styles
   Theme: Dark navy / charcoal + warm orange
   ============================================= */

:root {
  --navy: #1a2744;
  --navy-deep: #121a2e;
  --charcoal: #1e2433;
  --charcoal-light: #2a3145;
  --orange: #d4920a;
  --orange-light: #e8a820;
  --orange-glow: rgba(212, 146, 10, 0.25);
  --white: #ffffff;
  --off-white: #f4f2ee;
  --grey-light: #e9ecf1;
  --grey-muted: #6b7280;
  --text-dark: #1a2744;
  --text-muted: #9aa3b5;
  --text-body: #c8ceda;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --header-height: 80px;
  --container-gutter: clamp(1rem, 4vw, 2.5rem);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1140px, calc(100% - var(--container-gutter) * 2));
  margin-inline: auto;
  padding-inline: 0;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy-deep);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--orange);
}

.btn-outline-light:hover {
  background: var(--orange);
  color: var(--navy-deep);
}

.btn-full {
  width: 100%;
}

/* ---- Header ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(18, 26, 46, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-chevron {
  transition: transform var(--transition);
}

.nav-item-dropdown:hover .nav-chevron,
.nav-item-dropdown:focus-within .nav-chevron,
.nav-item-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  padding: 0.5rem 0;
  background: rgba(18, 26, 46, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  list-style: none;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition), background var(--transition);
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(18, 26, 46, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1rem var(--container-gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-list > li > a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-list .btn {
  margin-top: 1.25rem;
  width: 100%;
  min-height: 48px;
}

.mobile-nav-group {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.mobile-nav-toggle .nav-chevron {
  transition: transform var(--transition);
}

.mobile-nav-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  list-style: none;
  padding: 0 0 0.5rem 1rem;
}

.mobile-nav-submenu[hidden] {
  display: none;
}

.mobile-nav-submenu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.mobile-nav-submenu a:hover {
  color: var(--orange-light);
}

body.menu-open {
  overflow: hidden;
}

/* ---- Page hero (inner pages) ---- */

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-top: var(--header-height);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../Homepage%20banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(18, 26, 46, 0.55);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 720px;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 0.85rem;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.text-accent-inline {
  color: var(--orange-light);
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 560px;
}

.page-content {
  background: var(--navy-deep);
}

.page-content.section-light {
  background: var(--grey-light);
}

.page-about {
  padding-top: 4rem;
}

.container-narrow {
  max-width: 760px;
}

.prose {
  color: var(--grey-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 1rem;
}

.prose-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.prose-list li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 500;
  color: var(--text-dark);
}

.prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.prose-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 39, 68, 0.1);
}

.prose-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--orange);
  transition: color var(--transition);
}

.prose-link:hover {
  color: var(--text-dark);
}

/* ---- Project cards (project pages) ---- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-image--placeholder {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.project-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--navy-deep);
  border-radius: 4px;
}

.project-status--future {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid var(--border);
}

.project-card-body {
  padding: 1.75rem;
}

.project-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.project-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.page-cta-banner {
  margin-top: 3rem;
  padding: 2.5rem;
  text-align: center;
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.page-cta-banner p {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

/* ---- Hero ---- */

.hero-block {
  position: relative;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 5.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-image: url("../Homepage%20banner.png");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: rgba(18, 26, 46, 0.52);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 4rem) 0 3rem;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Sections ---- */

.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--charcoal);
}

.section-light {
  background: var(--grey-light);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Service strip (overlapping hero) ---- */

.service-strip-wrap {
  position: relative;
  z-index: 5;
  margin-top: -5.5rem;
  margin-bottom: -5.5rem;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.service-strip-item {
  padding: 2.25rem 2rem;
  text-align: center;
  transition: background var(--transition);
}

.service-strip-item:not(:last-child) {
  border-right: 1px solid rgba(18, 26, 46, 0.08);
}

.service-strip-item:hover {
  background: rgba(244, 242, 238, 0.65);
}

.service-strip-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.service-strip-icon svg {
  width: 40px;
  height: 40px;
}

.service-strip-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.service-strip-desc {
  font-size: 0.92rem;
  color: #5a6478;
  line-height: 1.65;
  max-width: 240px;
  margin-inline: auto;
}

.section-after-strip {
  padding-top: calc(6rem + 5.5rem);
}

/* ---- Why Choose Us ---- */

.why-us {
  background: var(--navy-deep);
}

.why-us-header {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.why-us-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-bottom: 1rem;
}

.why-us-line {
  flex: 1;
  max-width: 22rem;
  height: 2px;
  opacity: 0.95;
}

.why-us-line:first-child {
  background: linear-gradient(to right, transparent, var(--orange-light));
}

.why-us-line:last-child {
  background: linear-gradient(to left, transparent, var(--orange-light));
}

.why-us-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.text-accent {
  color: var(--orange-light);
}

.why-us-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
  margin-inline: auto;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition), background var(--transition);
}

.why-card:hover {
  border-color: rgba(212, 146, 10, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-light);
}

.why-card-icon svg {
  width: 44px;
  height: 44px;
}

.why-card-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.why-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- About Us ---- */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.text-accent-dark {
  color: var(--orange);
}

.about-text {
  font-size: 1rem;
  color: var(--grey-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-highlights {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-highlights li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
}

.about-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.about-visual {
  position: relative;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26, 39, 68, 0.15);
}

.about-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(26, 39, 68, 0.12);
}

.about-badge-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.about-badge p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

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

.btn-outline-dark:hover {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
}

/* ---- Featured Project ---- */

.featured {
  background: var(--navy-deep);
  padding-bottom: 6rem;
}

.featured-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background-image: url("../Homepage%20banner.png");
  background-size: cover;
  background-position: center;
}

.featured-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 26, 46, 0.95) 0%,
    rgba(18, 26, 46, 0.5) 50%,
    rgba(18, 26, 46, 0.2) 100%
  );
}

.featured-content {
  position: relative;
  z-index: 1;
  padding: 3rem;
  max-width: 520px;
}

.featured-content .section-desc {
  margin-bottom: 1.75rem;
}

/* ---- Contact ---- */

.contact {
  background: var(--charcoal);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.form-alert {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.form-alert--success {
  background: rgba(46, 125, 50, 0.15);
  border-color: rgba(76, 175, 80, 0.35);
  color: #a5d6a7;
}

.form-alert--error {
  background: rgba(183, 28, 28, 0.15);
  border-color: rgba(229, 57, 53, 0.35);
  color: #ef9a9a;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--charcoal-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition), background var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(154, 163, 181, 0.6);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.07);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239aa3b5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select option {
  background: var(--charcoal);
  color: var(--white);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--orange-light);
}

.footer-contact p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-light);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---- Animations ---- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lineExpand {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 0.95;
    transform: scaleX(1);
  }
}

@keyframes heroKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes iconPop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  70% {
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes headerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bg,
.page-hero-bg {
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}

.site-header {
  animation: headerSlideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content > *,
.page-hero-content > * {
  opacity: 0;
  animation: fadeInUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-eyebrow,
.page-hero-eyebrow {
  animation-delay: 0.15s;
}

.hero-title,
.page-hero-title {
  animation-delay: 0.3s;
}

.hero-subtitle,
.page-hero-subtitle {
  animation-delay: 0.45s;
}

.hero-actions {
  animation-delay: 0.6s;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

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

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-fade.is-visible {
  opacity: 1;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

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

.service-strip.reveal-scale.is-visible {
  transform: scale(1) translateY(0);
}

.why-us-line {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us-header.is-visible .why-us-line {
  opacity: 0.95;
  transform: scaleX(1);
}

.why-us-header.is-visible .why-us-line:first-child {
  transition-delay: 0.15s;
}

.why-us-header.is-visible .why-us-line:last-child {
  transition-delay: 0.25s;
}

.why-card.is-visible .why-card-icon,
.service-strip-item.is-visible .service-strip-icon {
  animation: iconPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.btn {
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--transition);
}

.why-card,
.service-strip-item,
.project-card {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .page-hero-bg {
    animation: none;
  }

  .site-header,
  .hero-content > *,
  .page-hero-content > * {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal,
  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .why-us-line {
    opacity: 0.95;
    transform: scaleX(1);
    transition: none;
  }
}

/* ---- Responsive ---- */

/* Large tablets & small laptops */
@media (max-width: 1200px) {
  .nav-list {
    gap: 1.5rem;
  }

  .header-cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* Tablets */
@media (max-width: 960px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
    min-width: 44px;
    min-height: 44px;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 2.5rem);
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-hero {
    min-height: 280px;
  }

  .page-hero-content {
    padding: 3rem 0;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-strip-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(18, 26, 46, 0.08);
  }

  .service-strip-wrap {
    margin-top: -4rem;
    margin-bottom: -4rem;
  }

  .section-after-strip {
    padding-top: calc(5rem + 4rem);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    gap: 1.25rem;
  }

  .why-card:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
    margin-inline: auto;
    width: 100%;
  }

  .why-us-line {
    max-width: 14rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    order: -1;
  }

  .about-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: -2rem;
    margin-inline: 1.5rem;
    max-width: none;
  }

  .about-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about-actions .btn {
    width: auto;
    flex: 1;
    min-width: min(100%, 200px);
  }

  .featured-banner {
    min-height: 300px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Use vertical motion on tablet/mobile instead of horizontal slides */
  .reveal-left,
  .reveal-right {
    transform: translateY(28px);
  }

  .reveal-left.is-visible,
  .reveal-right.is-visible {
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .why-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .why-us-header {
    margin-bottom: 2.5rem;
  }

  .why-us-heading {
    gap: 1rem;
  }

  .why-us-line {
    max-width: 3.5rem;
  }

  .why-us-title {
    white-space: normal;
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .why-us-subtitle {
    font-size: 0.98rem;
  }

  .about-actions {
    flex-direction: column;
  }

  .about-actions .btn {
    width: 100%;
  }

  .about-image {
    min-height: 240px;
  }

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

  .page-cta-banner {
    padding: 2rem 1.5rem;
  }

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

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 3.5rem;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 1.75rem);
    padding-bottom: 1.5rem;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.35rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .service-strip-wrap {
    margin-top: -2.5rem;
    margin-bottom: -2.5rem;
  }

  .section-after-strip {
    padding-top: calc(3.5rem + 2.5rem);
  }

  .service-strip {
    border-radius: var(--radius);
  }

  .service-strip-item {
    padding: 1.5rem 1.25rem;
  }

  .service-strip-title {
    font-size: 1.2rem;
  }

  .why-card {
    padding: 2rem 1.5rem;
  }

  .about-title {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  .about-badge {
    margin-inline: 1rem;
    padding: 1rem 1.15rem;
    flex-direction: column;
    text-align: center;
  }

  .featured-content {
    padding: 1.75rem 1.25rem;
  }

  .featured-banner {
    min-height: 260px;
    border-radius: var(--radius);
  }

  .section-title {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .page-hero {
    min-height: 240px;
  }

  .page-hero-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .page-hero-subtitle {
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .btn {
    min-height: 48px;
    padding: 0.85rem 1.25rem;
  }

  .why-us-line {
    max-width: 2.5rem;
  }

  .hero-bg,
  .page-hero-bg {
    animation: none;
  }
}

/* Legacy breakpoint alias — keep form row stack */
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
