:root {
  --color-primary: #0a2340;
  --color-primary-deep: #050f1d;
  --color-secondary: #1b5c88;
  --color-accent: #d3b46a;
  --color-bg: #0b1220;
  --color-surface: #ffffff;
  --color-surface-alt: #0f1a2d;
  --color-border: rgba(148, 163, 184, 0.25);
  --color-text-main: #0b1220;
  --color-text-muted: rgba(148, 163, 184, 0.92);
  --color-chip: rgba(148, 163, 184, 0.16);

  --shadow-soft: 0 1px 2px rgba(2, 6, 23, 0.08), 0 6px 20px rgba(2, 6, 23, 0.08);
  --shadow-strong: 0 10px 30px rgba(2, 6, 23, 0.22);
  --radius-lg: 16px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --font-heading: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Industrial-grade animation: smooth, deliberate, premium */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-slow: 0.7s;
  --duration-mid: 0.5s;
  --duration-fast: 0.25s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(1000px 600px at 10% -10%, rgba(27, 92, 136, 0.35), transparent 55%),
    radial-gradient(900px 520px at 95% 0%, rgba(211, 180, 106, 0.18), transparent 60%),
    var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
}

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

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

main {
  min-height: 60vh;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 56px;
  background: #ffffff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  transition: box-shadow var(--duration-mid) var(--ease-out-quart);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(10, 35, 64, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0.65rem 0.5rem;
  padding-left: max(0.5rem, env(safe-area-inset-left));
  padding-right: max(0.5rem, env(safe-area-inset-right));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: transparent;
  display: grid;
  place-items: center;
  border: none;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-mark.small {
  width: 36px;
  height: 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-acronym {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: var(--color-primary);
}

.brand-full {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.86rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.9rem;
  color: #4a5568;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: rgba(10, 35, 64, 0.04);
}

.nav-toggle:active {
  transform: scale(0.97);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #475569;
  transition: transform var(--duration-mid) var(--ease-out-quart);
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6)),
    url("https://images.pexels.com/photos/2138126/pexels-photo-2138126.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 2.5rem 1.25rem 3rem;
}

.hero-text {
  max-width: 600px;
  padding: 0;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2vw + 1.25rem, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1rem;
  color: #ffffff;
}

.hero-tagline {
  color: var(--color-accent) !important;
  font-weight: 600;
  font-size: 1.05rem !important;
  margin-bottom: 0.5rem !important;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.7rem;
}

.hero-actions .btn {
  min-height: 48px;
  padding: 0.75rem 1.5rem;
}

.hero-highlights {
  display: none;
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section-intro {
  background: #ffffff;
}

.section-services {
  background: #f5f7fb;
}

.section-projects-preview {
  background: #ffffff;
}

.section-why-us {
  background: #f5f7fb;
}

/* Page content below hero – clearly separate from dark hero */
.section-page-intro {
  background: #ffffff;
}

.section-capabilities {
  background: #f5f7fb;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.6rem;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw + 1.1rem, 1.7rem);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.section-heading p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.section-heading .hero-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

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

.split-text h2 {
  font-family: var(--font-heading);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.split-text h3 {
  font-family: var(--font-heading);
  margin-top: 0;
}

.split-text p {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: var(--color-text-muted);
}

.split-image {
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  min-height: 220px;
  border: 1px solid #e2e8f0;
}

.intro-image {
  background-image:
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600");
}

.why-image {
  background-image:
    url("https://images.pexels.com/photos/9762094/pexels-photo-9762094.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

/* Services grid */

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

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  margin: 0.1rem 0 0.3rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.service-icon {
  display: flex;
  justify-content: flex-start;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: #f1f5f9;
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Project preview */

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

.project-card {
  margin: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.project-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.project-card figcaption {
  padding: 0.8rem 1rem 0.9rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.project-img-1 {
  background-image: url("https://images.pexels.com/photos/2138126/pexels-photo-2138126.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.project-img-2 {
  background-image: url("https://images.pexels.com/photos/1238864/pexels-photo-1238864.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.project-img-3 {
  background-image: url("https://images.pexels.com/photos/237836/pexels-photo-237836.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.project-img-4 {
  background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600");
}

.section-cta-inline {
  margin-top: 2rem;
  text-align: center;
}

/* Why choose us */

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.benefits-list li {
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--color-primary);
  background: var(--color-surface);
}

.benefits-list h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.benefits-list p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.section-cta {
  background: #0b2948;
  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  margin: 0 0 0.4rem;
}

.cta-inner p {
  margin: 0;
  color: rgba(243, 246, 251, 0.92);
  font-size: 0.98rem;
}

/* Page hero – balanced like home: one title, one short line */

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 36vh;
  display: flex;
  align-items: center;
  padding: 2.25rem 0;
  background: linear-gradient(180deg, rgba(5, 15, 29, 0.94), rgba(5, 15, 29, 0.84));
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  color: rgba(248, 250, 252, 0.96);
}

.page-hero.slim {
  min-height: 32vh;
  padding: 2rem 0;
}

.page-hero.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
  opacity: 0.38;
}

.page-hero.page-hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 360px at 20% 10%, rgba(211, 180, 106, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(5, 15, 29, 0.92), rgba(5, 15, 29, 0.86));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw + 1.2rem, 2.35rem);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.page-hero p {
  margin: 0;
  max-width: 560px;
  color: rgba(226, 232, 240, 0.92);
  font-size: 1rem;
  line-height: 1.5;
}

.page-hero-services::before {
  background-image: url("https://images.pexels.com/photos/10407689/pexels-photo-10407689.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.page-hero-projects::before {
  background-image: url("https://images.pexels.com/photos/2603464/pexels-photo-2603464.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.page-hero-about::before {
  background-image: url("https://images.pexels.com/photos/189925/pexels-photo-189925.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.page-hero-documents::before {
  background-image: url("https://images.pexels.com/photos/7688336/pexels-photo-7688336.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

/* Documents grid */

.section-documents {
  background: #ffffff;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.document-card {
  margin: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--duration-mid) var(--ease-out-quart);
}

.document-card:hover {
  box-shadow: var(--shadow-strong);
}

.document-link {
  display: block;
  line-height: 0;
}

.document-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.document-card figcaption {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
}

/* Values */

.section-values {
  background: #ffffff;
}

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

.value-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
}

.value-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: 1.02rem;
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.bullet-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

/* Service detail images */

.service-detail {
  background: #ffffff;
}

.service-detail.alt {
  background: #f5f7fb;
}

.service-img-equipment {
  background-image: url("https://images.pexels.com/photos/1238864/pexels-photo-1238864.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.service-img-factory {
  background-image: url("https://images.pexels.com/photos/6837596/pexels-photo-6837596.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.service-img-labor {
  background-image: url("https://images.pexels.com/photos/2880871/pexels-photo-2880871.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.service-img-products {
  background-image: url("https://images.pexels.com/photos/6045858/pexels-photo-6045858.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.service-img-construction {
  background-image: url("https://images.pexels.com/photos/4202932/pexels-photo-4202932.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

/* Gallery */

.gallery-section {
  background: #ffffff;
}

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

.gallery-item {
  margin: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.gallery-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.gallery-item figcaption {
  padding: 0.8rem 1rem 0.95rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.gallery-img-1 {
  background-image: url("https://images.pexels.com/photos/2603464/pexels-photo-2603464.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.gallery-img-2 {
  background-image: url("https://images.pexels.com/photos/1238864/pexels-photo-1238864.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.gallery-img-3 {
  background-image: url("https://images.pexels.com/photos/10407689/pexels-photo-10407689.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.gallery-img-4 {
  background-image: url("https://images.pexels.com/photos/257703/pexels-photo-257703.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.gallery-img-5 {
  background-image: url("https://images.pexels.com/photos/372796/pexels-photo-372796.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.gallery-img-6 {
  background-image: url("https://images.pexels.com/photos/6837596/pexels-photo-6837596.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.gallery-img-7 {
  background-image: url("https://images.pexels.com/photos/274021/pexels-photo-274021.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.gallery-img-8 {
  background-image: url("https://images.pexels.com/photos/208768/pexels-photo-208768.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

/* About page gallery */

.section-about-gallery {
  background: #ffffff;
}

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

.about-gallery-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.about-gallery-image {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.about-gallery-item figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.about-img-gulf-towers {
  background-image: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600");
}

.about-img-gulf-industrial {
  background-image: url("https://images.pexels.com/photos/221047/pexels-photo-221047.jpeg?auto=compress&cs=tinysrgb&w=1600");
}

.about-img-gulf-site {
  background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600");
}

/* Contact */

.contact-section {
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.contact-details h2,
.contact-form-wrapper h2 {
  font-family: var(--font-heading);
  margin-top: 0;
}

.contact-details p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-block {
  margin-top: 1.25rem;
  padding: 1.25rem 1.25rem;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.contact-block p {
  margin: 0 0 0.7rem;
}

.contact-block a {
  color: var(--color-text-main);
}

.contact-form-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  border: 1px solid #e2e8f0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.form-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.form-field.full {
  flex-basis: 100%;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid rgba(203, 213, 232, 0.95);
  background: #f9fbff;
  padding: 0.85rem 1rem;
  min-height: 48px;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.form-field textarea {
  min-height: 140px;
}

.form-field textarea {
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(158, 169, 186, 0.75);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 1px solid var(--color-primary);
  outline-offset: 0;
}

.section-map {
  background: #f5f7fb;
  padding-top: 0;
  padding-bottom: 4rem;
}

.section-map h2 {
  font-family: var(--font-heading);
  margin-bottom: 0.35rem;
}

.map-note {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
  background: #0b1726;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--duration-mid) var(--ease-out-quart), background var(--duration-mid) var(--ease-out-quart), color var(--duration-mid) ease, border-color var(--duration-mid) ease, box-shadow var(--duration-mid) var(--ease-out-quart);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #0a2340, #0e3a66);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(2, 6, 23, 0.26);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(226, 232, 240, 0.7);
}

.btn-outline:hover {
  transform: translateY(-1px);
  background: rgba(148, 163, 184, 0.12);
}

.btn-outline-light {
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(15, 23, 42, 0.9);
  background: rgba(255, 255, 255, 0.92);
}

.btn-outline-light:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 1);
}

.btn-wide {
  padding-inline: 1.9rem;
}

.btn-success {
  background: linear-gradient(135deg, #0d7a3d, #0a5c2e) !important;
  color: #fff !important;
  cursor: default;
}

/* Footer */

.site-footer {
  margin-top: 2.6rem;
  background: linear-gradient(to bottom, #061525, #020814);
  border-top: 1px solid rgba(30, 64, 98, 0.85);
  color: rgba(197, 211, 233, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 2rem 1.25rem 1.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-company {
  margin: 0;
  font-size: 0.9rem;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.footer-column li {
  margin-bottom: 0.3rem;
}

.footer-column a {
  color: var(--color-text-muted);
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-contact span:first-child {
  font-weight: 500;
  margin-right: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 64, 98, 0.9);
  padding: 0.7rem 0;
  background: #020814;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(170, 188, 214, 0.9);
}

/* ========== Mobile-first: base is mobile; below = tablet/desktop ========== */

/* Mobile nav: right-side panel (only the space it needs) */
@media (max-width: 899px) {
  .site-header .brand,
  .site-header .nav-toggle {
    position: relative;
    z-index: 1001;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 35, 64, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-mid) var(--ease-out-quart), visibility 0s linear var(--duration-mid);
  }

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

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    min-width: 160px;
    width: min(200px, 50vw);
    max-width: 220px;
    max-height: 100vh;
    height: auto;
    z-index: 1000;
    background: #ffffff;
    box-shadow: -4px 0 24px rgba(2, 6, 23, 0.12);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out-expo);
    overflow-y: auto;
    padding-top: 0.75rem;
    padding-bottom: 1rem;
  }

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

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.75rem 0.5rem;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 0.75rem;
    min-height: 44px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    -webkit-tap-highlight-color: transparent;
  }

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

@media (max-width: 899px) {
  .hero-content {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .hero {
    min-height: 55vh;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .cta-inner .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 599px) {
  .section-heading .hero-actions {
    flex-direction: column;
  }

  .section-heading .hero-actions .btn {
    width: 100%;
  }
}

/* Tablet and up: restore multi-column and spacing */
@media (min-width: 600px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .split-image {
    min-height: 260px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .projects-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
}

@media (min-width: 900px) {
  .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    padding: 0;
    overflow: visible;
  }

  .main-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 1.75rem;
  }

  .main-nav a {
    display: inline;
    padding: 0;
    min-height: 0;
    font-size: 0.9rem;
    border-bottom: none;
  }

  .nav-toggle {
    display: none;
  }

  .split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.6rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.3rem;
  }

  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-inner .btn {
    width: auto;
  }

  .section {
    padding: 3.75rem 0;
  }

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

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

  .projects-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }

  .about-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.9fr));
    gap: 2rem;
    padding: 2.3rem 1.5rem 1.9rem;
  }

  .contact-form-wrapper {
    padding: 1.75rem 1.75rem;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .hero-content {
    padding: 3rem 1.5rem 4rem;
  }
}

@media (min-width: 1101px) {
  .hero-content {
    padding: 3.5rem 1.5rem 4rem;
  }

  .split-image {
    min-height: 280px;
  }
}

/* ========== Industrial-grade scroll & load animations ========== */

@keyframes usus-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes usus-shine {
  from { opacity: 0; transform: translateX(-100%); }
  to { opacity: 0.06; transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-on-load,
  .animate-on-scroll .stagger-item,
  .hero-content .hero-text,
  .page-hero .container { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .service-card, .value-card, .project-card, .gallery-item, .about-gallery-item, .benefits-list li { transition: none !important; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-out-expo), transform var(--duration-slow) var(--ease-out-expo);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll .stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out-quart), transform var(--duration-slow) var(--ease-out-quart);
}

.animate-on-scroll.animated .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.animated .stagger-item:nth-child(1) { transition-delay: 0.08s; }
.animate-on-scroll.animated .stagger-item:nth-child(2) { transition-delay: 0.16s; }
.animate-on-scroll.animated .stagger-item:nth-child(3) { transition-delay: 0.24s; }
.animate-on-scroll.animated .stagger-item:nth-child(4) { transition-delay: 0.32s; }
.animate-on-scroll.animated .stagger-item:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll.animated .stagger-item:nth-child(6) { transition-delay: 0.48s; }
.animate-on-scroll.animated .stagger-item:nth-child(7) { transition-delay: 0.56s; }
.animate-on-scroll.animated .stagger-item:nth-child(8) { transition-delay: 0.64s; }

.animate-on-load {
  animation: usus-fade-in-up 1s var(--ease-out-expo) forwards;
}

.hero-content .hero-text {
  opacity: 0;
  transform: translateY(28px);
  animation: usus-fade-in-up 1s var(--ease-out-expo) 0.25s forwards;
}

.page-hero .container {
  opacity: 0;
  transform: translateY(20px);
  animation: usus-fade-in 0.8s var(--ease-out-quart) 0.2s forwards;
}

/* Cards: industrial lift + subtle border glow on hover/focus */
.service-card,
.value-card,
.project-card,
.gallery-item,
.about-gallery-item,
.benefits-list li {
  transition: transform var(--duration-mid) var(--ease-out-quart), box-shadow var(--duration-mid) var(--ease-out-quart), border-color var(--duration-mid) ease;
}

.service-card:hover,
.value-card:hover,
.project-card:hover,
.gallery-item:hover,
.about-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.12), 0 0 0 1px rgba(211, 180, 106, 0.12);
}

.service-card:active,
.value-card:active,
.project-card:active {
  transform: translateY(-2px);
}

.benefits-list li {
  transition: transform var(--duration-mid) var(--ease-out-quart), border-left-color var(--duration-mid) ease;
}

.benefits-list li:hover {
  transform: translateX(6px);
  border-left-color: var(--color-accent);
}

