/* AM1 Ground Support — Static Styles */

:root {
  --red: #d71920;
  --red-dark: #b51218;
  --black: #0b0b0b;
  --dark: #141414;
  --dark-2: #1b1b1b;
  --white: #ffffff;
  --gray: #b8b8b8;
  --light: #f4f4f4;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
}

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

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

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(100% - 40px, var(--max-width));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-logo {
  width: auto;
  height: 48px;
  max-width: 190px;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav a:hover {
  color: var(--red);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-cta:hover,
.btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

/* Hero */

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.25) 100%),
    linear-gradient(0deg, rgba(0,0,0,.5), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding-top: 90px;
}

.hero-content h1 {
  max-width: 700px;
  margin: 0 0 24px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-content p {
  max-width: 600px;
  margin: 0 0 34px;
  color: #e1e1e1;
  font-size: 20px;
}

/* General sections */

.section {
  padding: 100px 20px;
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.section-label {
  margin-bottom: 15px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.section p {
  color: #c7c7c7;
}

/* About */

.about {
  background: var(--white);
  color: var(--black);
}

.about p {
  max-width: 850px;
  color: #444;
  font-size: 21px;
}

.about h2 {
  max-width: 900px;
}

/* Services */

.services {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: #333;
}

.service-card {
  min-height: 250px;
  padding: 32px 26px;
  background: var(--dark-2);
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  font-size: 15px;
}

/* Profile / owner */

.profile {
  background: var(--black);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: center;
  gap: 70px;
}

.profile-photo {
  width: 100%;
  max-width: 420px;
  height: 480px;
  margin: 0 auto;
  overflow: hidden;
  background: #222;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-content p {
  max-width: 700px;
  font-size: 18px;
}

/* Standalone owner image */

.owner-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  margin: 0 auto;
}

/* Contact */

.contact {
  padding: 80px 20px;
  background: var(--red);
  text-align: center;
}

.contact h2 {
  margin-bottom: 15px;
}

.contact p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: var(--white);
}

.contact .btn {
  background: var(--black);
  border-color: var(--black);
}

.contact .btn:hover {
  background: #222;
  border-color: #222;
}

/* Footer */

.site-footer {
  padding: 35px 20px;
  background: #050505;
  color: #999;
  font-size: 13px;
  text-align: center;
}

.site-footer img {
  width: auto;
  height: 38px;
  max-width: 150px;
  margin: 0 auto 15px;
  object-fit: contain;
}

/* Prevent oversized logo/image elements regardless of surrounding markup */

.logo img,
.logo-image,
.brand-logo {
  width: auto;
  height: 48px;
  max-width: 190px;
  object-fit: contain;
}

.hero img {
  max-height: 100%;
}

.profile img:not(.site-logo) {
  max-width: 100%;
}

/* Mobile */

@media (max-width: 900px) {
  .site-header nav {
    display: none;
  }

  .header-inner {
    min-height: 70px;
  }

  .site-logo {
    height: 42px;
    max-width: 160px;
  }

  .hero {
    min-height: 650px;
  }

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

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .profile-photo {
    height: 420px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    width: min(100% - 28px, var(--max-width));
  }

  .header-cta {
    min-height: 40px;
    padding: 0 15px;
    font-size: 11px;
  }

  .hero-content {
    width: min(100% - 28px, var(--max-width));
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .section {
    padding: 72px 14px;
  }

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

  .service-card {
    min-height: auto;
  }

  .profile-photo {
    height: 360px;
  }

  .owner-image {
    max-width: 320px;
  }
}
