/* ==========================================================================
   Brian InfoTech - Corporate Website
   Visual language matched to the reference site:
   green accent #1dbf73 / charcoal #2a2d34 / black / light #f7f7f7, Montserrat
   ========================================================================== */

:root {
  --green: #1dbf73;
  --green-dark: #16a061;
  --green-soft: rgba(29, 191, 115, 0.12);

  --charcoal: #2a2d34;
  --charcoal-dark: #202329;
  --ink: #272727;
  --black: #000000;

  --gray: #7a7a7a;
  --gray-light: #b9b9b9;
  --light: #f7f7f7;
  --white: #ffffff;
  --line: #e3e3e3;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  --container: 1140px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--green-dark);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 92px 0;
}
.section--light {
  background: var(--light);
}
.section--white {
  background: var(--white);
}
.section--dark {
  background: var(--charcoal);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s var(--ease);
}

.btn--green {
  color: var(--green);
  border-color: var(--green);
  background: transparent;
}
.btn--green:hover {
  background: var(--green);
  color: #fff;
}

.btn--white {
  color: #fff;
  border-color: #fff;
  background: transparent;
}
.btn--white:hover {
  background: #fff;
  color: var(--green);
}

.btn--solid {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn--solid:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.btn--block {
  width: 100%;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  background: var(--green);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ==========================================================================
   Utility bar
   ========================================================================== */
.utility {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
}
.utility__right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.utility__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.site-header.is-stuck {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  width: 46px;
  height: 46px;
  display: block;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__item {
  position: relative;
}
.nav__item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 17px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__item > a:hover,
.nav__item.is-current > a {
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
}
.nav__item .caret {
  transition: transform 0.2s var(--ease);
}
.nav__item:hover .caret {
  transform: rotate(180deg);
}

.nav__drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 232px;
  padding: 8px 0;
  background: var(--charcoal);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s var(--ease);
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__drop a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.nav__drop a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--green);
}

.nav__cta {
  flex: none;
}

.nav__cta-mobile {
  display: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-pattern.svg");
  background-size: 104px 180px;
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0) 78%
  );
  mask-image: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0) 78%
  );
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 92px 0 96px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 3.75vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 span {
  display: block;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero__lead {
  max-width: 430px;
  margin: 0 auto 30px;
  color: #a9a9a9;
  font-size: 15px;
  line-height: 1.85;
  text-align: center;
}

.hero__media {
  position: relative;
}
.hero__frame {
  position: relative;
  border: 3px solid var(--green);
  background: #101114;
}
.hero__frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.hero__badge {
  position: absolute;
  top: 13px;
  left: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  background: var(--charcoal);
  border: 2px solid var(--green);
}
.hero__badge b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.hero__badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hero__badge strong {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}
.hero__badge em {
  font-style: normal;
  color: var(--green);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ==========================================================================
   About band
   ========================================================================== */
.about-band {
  background: var(--charcoal);
  padding: 66px 0 70px;
  text-align: center;
}
.about-band__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.about-band__logo img {
  width: 30px;
  height: 30px;
}
.about-band__logo span {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.about-band h2 {
  color: var(--green);
  font-size: clamp(1.4rem, 2.4vw, 2.05rem);
  margin-bottom: 12px;
}
.about-band__tagline {
  color: #fff;
  font-size: 16.5px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 22px;
}
.about-band__text {
  max-width: 830px;
  margin: 0 auto;
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.85;
}

/* ==========================================================================
   Stacked section headings ("Our / Key / Services")
   ========================================================================== */
.stack-head {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 58px;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.stack-head span {
  display: block;
}
.stack-head span:last-child {
  position: relative;
  padding-right: 5px;
}
.stack-head span:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.stack-head.is-in span:last-child::after {
  transform: scaleX(1);
}

/* ==========================================================================
   Info grid (services / strengths)
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 84px;
  row-gap: 34px;
}
.info-item {
  padding-bottom: 8px;
}
.info-item__text {
  text-align: center;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--gray);
}
.info-item__text strong {
  color: var(--ink);
  font-weight: 700;
}
.info-item img {
  width: 112px;
  height: 112px;
  margin: 20px 0 0 14px;
}

.section-actions {
  margin-top: 40px;
}

/* ==========================================================================
   Skyline divider
   ========================================================================== */
.skyline {
  position: relative;
  height: 190px;
  background: var(--light);
  overflow: hidden;
}
.skyline__art {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 190px;
}
.skyline__hex {
  position: absolute;
  display: block;
}
.skyline__hex--a {
  left: 41%;
  bottom: 26px;
  width: 100px;
}
.skyline__hex--b {
  left: 63%;
  bottom: 40px;
  width: 60px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--charcoal);
  padding: 66px 0 72px;
}
.cta-band h2 {
  color: var(--green);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  margin-bottom: 16px;
}
.cta-band p {
  max-width: 880px;
  margin: 0 auto 26px;
  color: #cdcdcd;
  font-size: 15px;
  line-height: 1.85;
  text-align: center;
}
.cta-band .btn {
  margin-top: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: #fff;
  padding-top: 54px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 46px;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand img {
  width: 44px;
  height: 44px;
}
.footer__brand span {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer__address {
  color: #fff;
  font-size: 14.5px;
  line-height: 1.7;
}
.footer__tagline {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__serving {
  color: #fff;
  font-size: 14.5px;
  line-height: 1.8;
}
.footer__serving a {
  color: var(--green);
}
.footer__serving a:hover {
  color: #fff;
}
.footer__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 20px;
  text-align: center;
}
.footer__social svg {
  color: var(--green);
  flex: none;
}
.footer__social span {
  color: var(--green);
  font-size: 11px;
  line-height: 1.3;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
}
.footer__bottom .copy {
  color: #fff;
}
.footer__bottom .copy a {
  color: #fff;
}

/* ==========================================================================
   Page title band (contact page)
   ========================================================================== */
.page-title {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.page-title__pattern {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-pattern.svg");
  background-size: 104px 180px;
  -webkit-mask-image: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.25) 72%,
    rgba(0, 0, 0, 0)
  );
  mask-image: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.25) 72%,
    rgba(0, 0, 0, 0)
  );
}
.page-title .container {
  position: relative;
  z-index: 2;
  padding: 46px 0 44px;
}
.page-title h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}

/* ==========================================================================
   Contact page content
   ========================================================================== */
.lead-heading {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  font-weight: 700;
}
.lead-heading::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 9px;
  background: var(--green);
}
.lead-text {
  max-width: 900px;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 40px;
}

.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 52px;
}
.contact-card {
  background: #efefef;
  padding: 26px 28px;
}
.contact-card strong {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-card p {
  margin: 0;
  color: #5c5c5c;
  font-size: 15px;
  line-height: 1.8;
}

.contact-meta h2 {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  margin-bottom: 18px;
}
.contact-meta dl {
  margin: 0;
  display: grid;
  gap: 9px;
}
.contact-meta dt,
.contact-meta dd {
  display: inline;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
}
.contact-meta .row {
  display: block;
}
.contact-meta .label {
  color: var(--green);
  font-weight: 600;
}
.contact-meta .value {
  color: var(--ink);
  font-weight: 600;
}

.sub-heading {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.sub-text {
  max-width: 900px;
  font-size: 14.5px;
  line-height: 1.85;
  font-style: italic;
  color: var(--gray);
}

/* Stay connected / map */
.dark-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding: 62px 0 68px;
  align-items: start;
}
.dark-cols h2 {
  color: var(--green);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 14px;
}
.dark-cols h2.is-light {
  color: #fff;
}
.dark-cols p {
  color: #cdcdcd;
  font-size: 14.5px;
  line-height: 1.85;
  max-width: 380px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.social-link svg {
  color: var(--green);
  flex: none;
}
.social-link:hover {
  color: var(--green);
}
.social-link em {
  display: block;
  font-style: normal;
  color: var(--green);
  font-size: 10.5px;
  font-weight: 500;
}
.map-frame {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: #3a3d44;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-link {
  margin: 12px 0 0;
  font-size: 12.5px;
}
.map-link a {
  color: var(--green);
}
.map-link a:hover {
  color: #fff;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .stack-head span:last-child::after {
    transform: scaleX(1);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__item > a {
    padding: 12px 12px;
    font-size: 12px;
  }
  .hero__grid {
    gap: 44px;
  }
  .info-grid {
    column-gap: 56px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 38px;
    row-gap: 34px;
  }
}

@media (max-width: 940px) {
  .section {
    padding: 70px 0;
  }
  .hero__grid,
  .contact-cols,
  .dark-cols {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero__lead {
    margin-left: 0;
    text-align: left;
  }
  .hero__grid {
    padding: 68px 0 74px;
  }
  .hero__badge {
    top: -18px;
    left: -12px;
  }
  .about-band {
    padding: 56px 0 60px;
  }
  .info-grid {
    column-gap: 40px;
  }
  .stack-head {
    margin-bottom: 44px;
  }
  .dark-cols p {
    max-width: none;
  }
  .skyline {
    height: 150px;
  }
  .skyline__art {
    height: 150px;
  }
}

@media (max-width: 880px) {
  .nav {
    gap: 14px;
  }
  .nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .nav__cta {
    display: none;
  }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 4px 0 10px;
    background: var(--green-dark);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
    display: none;
  }
  .nav__menu.is-open {
    display: flex;
  }
  .nav__item > a {
    padding: 14px 22px;
    font-size: 13px;
  }
  .nav__item.is-current > a {
    background: rgba(0, 0, 0, 0.16);
  }
  .nav__drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.18);
    padding: 4px 0;
    min-width: 0;
  }
  .nav__drop a {
    padding: 10px 36px;
  }
  .nav__cta-mobile {
    display: block;
    padding: 12px 22px 4px;
  }
  .nav__cta-mobile .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .utility .container {
    min-height: 38px;
  }
  .info-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }
  .info-item img {
    margin-left: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 22px 20px;
  }
  .skyline__hex--a {
    left: 38%;
    width: 70px;
  }
  .skyline__hex--b {
    left: 62%;
    width: 44px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 1.7rem;
  }
  .utility__phone {
    font-size: 12px;
  }
  .stack-head {
    font-size: 1.5rem;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
