/* ADEL ACCESSORIES - MRO SERVICES PAGE CSS
   Updated: footer matches the shared ADEL footer HTML.
   Existing MRO page sections and responsive layouts are retained.
*/

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  color: #102b45;
  background: #fff;
  line-height: 1.65;
}

/* HEADER */
.site-header {
  height: 84px;
  background: #071d2d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 70px);
  gap: 28px;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #244052;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffbd25;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  border: 2px solid #00b9ee;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  color: #ffbd25;
}

.brand-name {
  font-size: 25px;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -1px;
}

.brand-name b {
  display: block;
  color: #00b9ee;
  font-size: 11px;
  letter-spacing: 1.7px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 27px);
}

.main-nav > a {
  color: #eaf2f8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: #00c1f1;
}

.main-nav .nav-cta {
  padding: 14px 18px;
  background: #078ef5;
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px;
}

/* PAGE */
.mro-page { overflow-x: hidden; }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  background: #edf3f7;
}

.hero-copy {
  background: #0b2030;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 6vw, 82px);
}

.eyebrow {
  display: block;
  color: #00b9ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.eyebrow.blue { color: #078ef5; }

.hero h1,
.intro h2,
.commitment h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(42px, 4.4vw, 64px);
  color: #fff;
  max-width: 610px;
}

.hero h1 span { color: #00b9ee; }

.hero-copy p {
  max-width: 520px;
  color: #d4e1eb;
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: #078ef5;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  padding: 15px 20px;
  border: 1px solid #078ef5;
  transition: background .2s;
}

.button:hover { background: #006fc9; }

.hero-photo {
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  background: #e9f0f5;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

/* INTRODUCTION */
.section-wrap {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.intro {
  padding-top: 65px;
  padding-bottom: 28px;
}

.intro h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  color: #0b2030;
}

.intro p {
  max-width: 850px;
  color: #607286;
  font-size: 14px;
  margin: 0;
}

/* SERVICE CARDS */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 18px;
  padding-bottom: 70px;
}

.service-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #dce5ed;
  box-shadow: 0 12px 30px rgba(11,32,48,.06);
  overflow: hidden;
}

.card-image {
  height: 220px;
  background: #edf3f7;
  overflow: hidden;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.service-card:hover .card-image img { transform: scale(1.035); }

.card-copy { padding: 22px 23px 26px; }

.card-number {
  color: #078ef5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.card-copy h3 {
  font-size: 18px;
  color: #0b2030;
  margin: 7px 0 9px;
}

.card-copy p {
  font-size: 13px;
  line-height: 1.85;
  color: #607286;
  margin: 0;
}

/* COMMITMENT */
.commitment {
  margin: 0 8px 8px;
  background: #0b2030;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px clamp(26px, 6.5vw, 90px);
}

.commitment h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  max-width: 700px;
}

.commitment p {
  color: #c5d5e1;
  font-size: 13px;
  margin: 0;
}

.commitment .button { flex-shrink: 0; }

/* FOOTER - MATCHES THE SHARED FOOTER HTML */
.mro-page .site-footer {
  width: 100%;
  background: #061827;
  color: #b9c9d5;
  border-top: 4px solid #00b9ee;
  padding: 48px clamp(22px, 5vw, 70px) 18px;
  box-sizing: border-box;
}

.mro-page .footer-main {
  width: min(1250px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr 1fr 1.2fr;
  align-items: start;
  gap: 38px;
}

.mro-page .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  color: #ffbd25;
}

.mro-page .footer-logo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  max-width: 100%;
}

.mro-page .footer-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.mro-page .footer-brand p {
  max-width: 270px;
  margin: 0;
  color: #b9c9d5;
  font-size: 13px;
  line-height: 1.9;
}

.mro-page .footer-links,
.mro-page .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.mro-page .footer-links h3,
.mro-page .footer-contact h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin: 5px 0 20px;
}

.mro-page .footer-links a {
  display: block;
  color: #b9c9d5;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 10px;
}

.mro-page .footer-links a:hover { color: #00b9ee; }

.mro-page .footer-contact p {
  color: #b9c9d5;
  font-size: 13px;
  line-height: 1.8;
  max-width: 300px;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.mro-page .footer-bottom {
  width: min(1250px, 100%);
  margin: 38px auto 0;
  padding-top: 16px;
  border-top: 1px solid #263c4b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
}

.mro-page .footer-bottom p {
  margin: 0;
  color: #91a9ba;
  font-size: 11px;
}

.mro-page .footer-bottom .footer-tagline {
  letter-spacing: 1.5px;
  color: #00b9ee;
}

.mro-page .footer-bottom .back-to-top {
  color: #eaf2f8;
  text-decoration: none;
  font-size: 11px;
}

/* TABLET */
@media (max-width: 1050px) {
  .main-nav { gap: 12px; }
  .main-nav > a { font-size: 11px; }
  .brand-name { font-size: 21px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mro-page .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }
}

/* MOBILE */
@media (max-width: 760px) {
  .site-header { height: 74px; }

  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #071d2d;
    padding: 18px 24px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    border-top: 1px solid #244052;
  }

  .main-nav.open { display: flex; }
  .main-nav > a { font-size: 13px; }
  .main-nav .nav-cta { text-align: center; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 42px 24px; }
  .hero h1 { font-size: 45px; }

  .hero-photo {
    height: 280px;
    min-height: 280px;
  }

  .hero-photo img {
    height: 280px;
    min-height: 280px;
  }

  .section-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro { padding-top: 45px; }

  .service-grid {
    grid-template-columns: 1fr;
    padding-bottom: 45px;
  }

  .card-image { height: 240px; }

  .commitment {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 20px;
  }

  .mro-page .site-footer { padding: 38px 24px 18px; }

  .mro-page .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .mro-page .footer-logo img { width: 155px; }

  .mro-page .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .mro-page .footer-main { grid-template-columns: 1fr; }
}

/* TABLET HERO */
@media (min-width: 761px) and (max-width: 900px) {
  .hero { min-height: 360px; }
  .hero-photo,
  .hero-photo img { min-height: 360px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* MRO HERO - FINAL TWO-COLUMN LAYOUT */
.mro-page .hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 390px !important;
  height: 390px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #edf3f7 !important;
  position: relative !important;
}

.mro-page .hero-copy {
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 42px clamp(28px, 5vw, 68px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background: #0b2030 !important;
}

.mro-page .hero-photo {
  grid-column: 2 !important;
  grid-row: 1 !important;
  position: relative !important;
  inset: auto !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #edf3f7 !important;
}

.mro-page .hero-photo img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

.mro-page .hero-copy h1 {
  max-width: 580px !important;
  font-size: clamp(38px, 3.6vw, 54px) !important;
  line-height: 1.08 !important;
  margin-bottom: 18px !important;
}

.mro-page .hero-copy p {
  max-width: 500px !important;
  line-height: 1.8 !important;
}

/* MOBILE HERO */
@media (max-width: 760px) {
  .mro-page .hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 250px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .mro-page .hero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 36px 24px !important;
  }

  .mro-page .hero-photo {
    grid-column: 1 !important;
    grid-row: 2 !important;
    height: 250px !important;
    min-height: 250px !important;
  }

  .mro-page .hero-photo img {
    height: 250px !important;
  }
}
