:root {
  --orange: #ff5a0a;
  --orange-dark: #e94c00;
  --black: #101010;
  --dark: #171717;
  --white: #ffffff;
  --muted: #666666;
  --border: #dedede;
}


/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

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

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

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.container {
  width: min(1420px, calc(100% - 80px));
  margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
  min-height: 120px;
  display: flex;
  align-items: center;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.nav {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}


/* =========================
   LOGO
========================= */

.logo {
  width: 494px;
  min-width: 494px;
  display: flex;
  align-items: center;
}

.navbar-logo {
  width: 100%;
  height: 120px;
  object-fit: contain;
  object-position: left center;
}


/* =========================
   NAVIGATION
========================= */

.nav-links {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 52px;
  font-size: 19px;
  font-weight: 800;
}

.nav-links a {
  height: 100%;
  padding: 0 0;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 5px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  border-color: var(--orange);
}


/* =========================
   HEADER ACTIONS
========================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.phone {
  font-size: 19px;
  font-weight: 800;
}

.phone span {
  margin-right: 8px;
  color: var(--orange);
}


/* =========================
   BUTTONS
========================= */

.btn {
  min-height: 52px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn-orange {
  color: #fff;
  background: var(--orange);
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-outline {
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  color: #111;
  background: #fff;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 610px;
  color: #fff;

  background:
    linear-gradient(
      90deg,
      rgba(9, 9, 9, 0.88) 0%,
      rgba(9, 9, 9, 0.72) 43%,
      rgba(9, 9, 9, 0.12) 72%,
      rgba(9, 9, 9, 0.20) 100%
    ),
    url("../images/image-1.jpeg") center / cover no-repeat;
}

.hero-inner {
  min-height: 610px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(690px, 60%);
  padding: 62px 0 45px;
}

.eyebrow {
  margin-bottom: 15px;
  font-size: 14px;
  letter-spacing: 7px;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(52px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -2px;
  text-transform: uppercase;
}

h1 .accent {
  display: block;
  color: var(--orange);
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 30px;
  font-size: 21px;
}

.hero-buttons {
  display: flex;
  gap: 22px;
  margin-bottom: 46px;
}


/* =========================
   SERVICE ICONS
========================= */

.service-icons {
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.service-icon {
  padding: 0 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-icon:last-child {
  border-right: 0;
}

.service-icon .symbol {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 32px;
}


/* =========================
   SOLUTIONS
========================= */

.solutions {
  padding: 28px 0 22px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1.12fr);
  gap: 16px;
  align-items: stretch;
}

.solutions-copy {
  padding-right: 20px;
}

.section-title {
  font-size: clamp(34px, 3vw, 48px);
  line-height: 0.98;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section-kicker {
  margin: 8px 0 15px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.solutions-copy p {
  max-width: 550px;
  margin-bottom: 20px;
  color: #333;
  font-size: 16px;
}

.learn {
  min-height: 44px;
  padding: 0 24px;
  color: #222;
  border-color: var(--orange);
}

.learn:hover {
  color: #fff;
  background: var(--orange);
}


/* =========================
   SOLUTION CARDS
========================= */

.solution-card {
  height: 320px;
  position: relative;
  display: block;
  overflow: hidden;
  background: #222;
}

.solution-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

/* CUSTOM IMAGE POSITIONING */

/* Office Cleaning — show more of cleaner on left */

.solution-card:nth-child(2) img {

  object-position: 25% center;

}

/* Retail Cleaning — move cleaner to the LEFT */

.solution-card:nth-child(3) img {

  object-position: 75% center;

}

/* Medical Facilities — show more of window cleaner on right */

.solution-card:nth-child(4) img {

  object-position: 75% center;

}

.solution-card:hover img {
  transform: scale(1.04);
}

.solution-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 45%,
      rgba(0, 0, 0, 0.18) 65%,
      rgba(0, 0, 0, 0.9) 100%
    );

  pointer-events: none;
}

.solution-label {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;

  min-height: 66px;
  padding: 16px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.solution-label .solution-name {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.solution-label > span:last-child {
  flex-shrink: 0;
  color: var(--orange);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}


/* =========================
   TRUST BAR
========================= */

.trust {
  color: #fff;
  background: #111;
}

.trust-inner {
  min-height: 160px;
  display: grid;
  grid-template-columns: repeat(5, 1fr) 1.7fr;
}

.trust-item {
  padding: 18px 14px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-right: 1px solid #454545;

  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
}

.trust-symbol {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 34px;
}


/* =========================
   QUOTE PANEL
========================= */

.quote-panel {
  padding: 24px 34px 24px 65px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: var(--orange);
  text-transform: uppercase;

  clip-path: polygon(
    12% 0,
    100% 0,
    100% 100%,
    0 100%
  );
}

.quote-panel strong {
  margin-bottom: 18px;
  font-size: 27px;
  line-height: 1.05;
}

.quote-panel a {
  padding-top: 13px;

  display: flex;
  justify-content: space-between;

  border-top: 1px solid rgba(255, 255, 255, 0.75);

  font-size: 17px;
  font-weight: 800;
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 28px 0;
  color: #aaa;
  background: #080808;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* =========================

   TABLET

========================= */

@media (max-width: 1100px) {

  .container {

    width: min(calc(100% - 40px), 1420px);

  }

  .site-header,

  .nav {

    min-height: 101px;

  }

  .logo {

    width: 377px;

    min-width: 377px;

  }

  .navbar-logo {

    height: 101px;

  }

  .nav {

    gap: 22px;

  }

  .nav-links {

    gap: 25px;

    font-size: 18px;

    font-weight: 800;

  }

  .header-actions {

    gap: 18px;

  }

  .header-actions .btn {

    display: none;

  }

  .phone {

    font-size: 16px;

  }

  /* SOLUTIONS */

  .solutions-grid {

    grid-template-columns: 1fr 1fr;

  }

  .solutions-copy {

    grid-column: 1 / -1;

    padding-bottom: 15px;

  }

  /* TRUST */

  .trust-inner {

    grid-template-columns: repeat(5, 1fr);

  }

  .quote-panel {

    grid-column: 1 / -1;

    padding: 28px 40px;

    clip-path: none;

  }

}

/* =========================

   MOBILE

========================= */

@media (max-width: 760px) {

  .container {

    width: min(calc(100% - 28px), 1420px);

  }

  /* MOBILE NAVBAR */

  .site-header {

    min-height: 100px;

  }

  .nav {

    min-height: 100px;

    gap: 10px;

    align-items: center;

  }

  .logo {

    width: 220px;

    min-width: 220px;

    display: flex;

    align-items: center;

  }

  .navbar-logo {

    width: 100%;

    height: 76px;

    object-fit: contain;

    object-position: left center;

  }

  .nav-links {

    gap: 14px;

    font-size: 17px;

    font-weight: 800;

  }

  .nav-links a {

    padding: 0;

    border-bottom-width: 4px;

  }

  .header-actions {

    display: none;

  }

  /* HERO */

  .hero,

  .hero-inner {

    min-height: 650px;

  }

  .hero {

    background-position: 65% center;

  }

  .hero-copy {

    width: 100%;

    padding: 55px 0 38px;

  }

  .eyebrow {

    font-size: 11px;

    letter-spacing: 4px;

  }

  h1 {

    font-size: 48px;

  }

  .hero-copy p {

    max-width: 520px;

    font-size: 17px;

  }

  .hero-buttons {

    width: min(100%, 300px);

    margin-bottom: 34px;

    flex-direction: column;

    gap: 12px;

  }

  /* SERVICES */

  .service-icons {

    grid-template-columns: repeat(3, 1fr);

    gap: 18px 0;

  }

  .service-icon:nth-child(3) {

    border-right: 0;

  }

  /* SOLUTIONS */

  .solutions {

    padding-top: 34px;

  }

  .solutions-grid {

    grid-template-columns: 1fr;

  }

  .solution-card {

    height: 260px;

  }

  /* TRUST */

  .trust-inner {

    grid-template-columns: 1fr 1fr;

  }

  .trust-item {

    min-height: 130px;

    border-bottom: 1px solid #454545;

  }

  .trust-item:nth-child(even) {

    border-right: 0;

  }

  .trust-item:nth-child(5) {

    grid-column: 1 / -1;

  }

  .quote-panel {

    grid-column: 1 / -1;

  }

  /* FOOTER */

  .footer-inner {

    flex-direction: column;

    text-align: center;

  }

}

/* =========================

   SMALL MOBILE

   CLIENT-REQUESTED NAVBAR

========================= */

@media (max-width: 480px) {

  /*

     Compact white navbar.

     Logo and Contact are larger and

     positioned slightly lower.

  */

  .site-header {

    min-height: 100px;

  }

  .nav {

    min-height: 100px;

    gap: 8px;

    align-items: center;

  }

  /* LARGER OSTIA LOGO */

  .logo {

    width: 255px;

    min-width: 255px;

    height: 100px;

    display: flex;

    align-items: center;

  }

  .navbar-logo {

    width: 100%;

    height: 88px;

    object-fit: contain;

    object-position: left center;

    /* Client requested logo slightly lower */

    transform: translateY(6px);

  }

  /* HIDE HOME ON PHONE */

  .nav-links a:first-child {

    display: none;

  }

  /* LARGER CONTACT */

  .nav-links {

    height: 100px;

    align-self: auto;

    display: flex;

    align-items: center;

    flex-shrink: 0;

    font-size: 19px;

    font-weight: 800;

  }

  .nav-links a {

    height: auto;

    padding: 0;

    display: flex;

    align-items: center;

    /* Move Contact down to match logo */

    transform: translateY(6px);

    /* Clean phone appearance */

    border-bottom: 0;

  }

  /* HERO */

  h1 {

    font-size: 40px;

  }

  /* SERVICES */

  .service-icons {

    grid-template-columns: 1fr 1fr;

  }

  .service-icon {

    border-right:

      1px solid rgba(255, 255, 255, 0.35) !important;

  }

  .service-icon:nth-child(even) {

    border-right: 0 !important;

  }

  .service-icon:last-child {

    grid-column: 1 / -1;

    border-right: 0 !important;

  }

  /* TRUST */

  .trust-inner {

    grid-template-columns: 1fr;

  }

  .trust-item,

  .trust-item:nth-child(5) {

    grid-column: auto;

    border-right: 0;

  }

}