/* ═══════════════════════════════════════════
   BRAND TOKENS - from NowBIM logo
   ═══════════════════════════════════════════ */
:root {
  --teal:        #1b6d7d;
  --teal-deep:   #155d6b;
  --navy:        #0c2636;
  --navy-light:  #112f42;
  --gold:        #c4944e;
  --gold-light:  #d8ad6a;
  --gold-pale:   #e8c68e;
  --cream:       #f0e4ce;
  --cream-light: #f7f0e2;
  --white:       #fefcf8;
  --text-dark:   #0a1f2d;
  --text-muted:  #3a5a6a;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════
   RESET & BASE
   ═══════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ═══════════════════
   UTILITY
   ═══════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* gold rule */
.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 1.25rem 0 1.5rem;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

/* ═══════════════════
   NAVIGATION
   ═══════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(12, 38, 54, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.nav__logo {
  flex-shrink: 0;
}
.nav__logo img {
  height: 72px;
  width: 72px;
  object-fit: contain;
  transition: all 0.4s var(--ease-out);
}
.nav.scrolled .nav__logo img {
  height: 52px;
  width: 52px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a:hover::after { width: 100%; }

/* mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12, 38, 54, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 99;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.nav__mobile-menu a:hover { color: var(--gold); }

/* ═══════════════════
   HERO
   ═══════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--navy);
  overflow: hidden;
  padding: 10rem 0 6rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(27, 109, 125, 0.35), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(196, 148, 78, 0.1), transparent),
    linear-gradient(to bottom, rgba(12, 38, 54, 0.85), rgba(12, 38, 54, 0.95)),
    url('img/bim-mep-model-overhead-view-colorful-systems.jpg');
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-color: var(--navy);
}

/* Animated floating cubes */
.hero__cubes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__cube {
  position: absolute;
  border: 1px solid rgba(196, 148, 78, 0.1);
  opacity: 0.6;
}
.hero__cube--1 {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 10%;
  animation: cubeFloat1 20s ease-in-out infinite;
}
.hero__cube--2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 25%;
  animation: cubeFloat2 25s ease-in-out infinite;
}
.hero__cube--3 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 5%;
  animation: cubeFloat3 30s ease-in-out infinite;
}
.hero__cube--4 {
  width: 60px;
  height: 60px;
  top: 25%;
  left: 15%;
  animation: cubeFloat4 18s ease-in-out infinite;
}
.hero__cube--5 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 5%;
  animation: cubeFloat5 22s ease-in-out infinite;
}
.hero__cube--6 {
  width: 90px;
  height: 90px;
  bottom: 25%;
  left: 30%;
  animation: cubeFloat6 28s ease-in-out infinite;
}

@keyframes cubeFloat1 {
  0%, 100% { transform: translate(0, 0) rotate(45deg); }
  25% { transform: translate(8px, -6px) rotate(47deg); }
  50% { transform: translate(-4px, 10px) rotate(43deg); }
  75% { transform: translate(6px, 4px) rotate(46deg); }
}
@keyframes cubeFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(30deg); }
  33% { transform: translate(-10px, 8px) rotate(32deg); }
  66% { transform: translate(6px, -4px) rotate(28deg); }
}
@keyframes cubeFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(15deg); }
  20% { transform: translate(5px, -8px) rotate(17deg); }
  40% { transform: translate(-6px, 4px) rotate(13deg); }
  60% { transform: translate(8px, 6px) rotate(16deg); }
  80% { transform: translate(-4px, -5px) rotate(14deg); }
}
@keyframes cubeFloat4 {
  0%, 100% { transform: translate(0, 0) rotate(60deg); }
  50% { transform: translate(12px, 8px) rotate(63deg); }
}
@keyframes cubeFloat5 {
  0%, 100% { transform: translate(0, 0) rotate(20deg); }
  33% { transform: translate(-8px, -10px) rotate(18deg); }
  66% { transform: translate(10px, 5px) rotate(22deg); }
}
@keyframes cubeFloat6 {
  0%, 100% { transform: translate(0, 0) rotate(50deg); }
  25% { transform: translate(6px, 10px) rotate(52deg); }
  75% { transform: translate(-8px, -6px) rotate(48deg); }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream-light);
  margin-bottom: 1.75rem;
}
.hero__title strong {
  font-weight: 600;
  color: var(--gold-light);
}
.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(240, 228, 206, 0.75);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 1rem 2.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero__cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.hero__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}
.hero__cta:hover svg { transform: translateX(4px); }

/* ═══════════════════
   SECTION: ABOUT
   ═══════════════════ */
.about {
  padding: 6rem 0;
  background: var(--white);
}
.about__flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}
.about__image {
  flex: 1 1 400px;
  min-width: 280px;
  aspect-ratio: 4/3;
  background: #d5d5d5;
  position: relative;
  overflow: hidden;
}
.about__image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* gold corner accent */
.about__image::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 1;
}
.about__text {
  flex: 1 1 400px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin-top: 0.5rem;
}
.about__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* ═══════════════════
   SECTION: SERVICES
   ═══════════════════ */
.services {
  padding: 6rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(27, 109, 125, 0.2), transparent 70%);
  pointer-events: none;
}
.services__header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services__header .section-label { color: var(--gold); }
.services__header .section-title { color: var(--cream-light); }
.services__header p {
  color: rgba(240, 228, 206, 0.6);
  font-size: 1rem;
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.services__flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  justify-content: center;
}

.service-card {
  flex: 1 1 320px;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(196, 148, 78, 0.12);
  padding: 2.5rem 2rem;
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(196, 148, 78, 0.3);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.service-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(240, 228, 206, 0.55);
}

/* ═══════════════════
   SECTION: FIRESTOPPING
   ═══════════════════ */
.firestopping {
  padding: 6rem 0;
  background: var(--cream-light);
  position: relative;
}
.firestopping__flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}
.firestopping__content {
  flex: 1 1 400px;
  min-width: 280px;
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.firestopping__visual {
  flex: 1 1 350px;
  min-width: 260px;
  order: 1;
  position: relative;
}
.firestopping__image {
  aspect-ratio: 3/4;
  background: #d5d5d5;
  position: relative;
}
.firestopping__image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.firestopping__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* accent block behind image */
.firestopping__visual::before {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 65%;
  height: 50%;
  background: var(--teal);
  opacity: 0.12;
  z-index: 0;
}
.firestopping__image { position: relative; z-index: 1; }

.firestopping__content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* ═══════════════════
   SECTION: STANDARDS
   ═══════════════════ */
.standards {
  padding: 6rem 0;
  background: var(--white);
}
.standards__header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.standards__flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: center;
}
.standards__block {
  flex: 1 1 320px;
  max-width: 500px;
}
.standards__block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.standards__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.standards__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.standards__list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  margin-top: 0.45rem;
  transform: rotate(45deg);
}

/* ═══════════════════
   SECTION: CONTACT
   ═══════════════════ */
.contact {
  padding: 6rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(196, 148, 78, 0.08);
  transform: rotate(30deg);
  pointer-events: none;
}
.contact__flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4rem;
  position: relative;
  z-index: 1;
}
.contact__info {
  flex: 1 1 360px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact__info .section-label { color: var(--gold); }
.contact__info .section-title { color: var(--cream-light); margin-bottom: 1.5rem; }
.contact__info p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 228, 206, 0.6);
  margin-bottom: 2rem;
}
.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(196, 148, 78, 0.3);
  padding-bottom: 0.25rem;
  transition: border-color 0.3s, color 0.3s;
}
.contact__email:hover {
  color: var(--gold-pale);
  border-color: var(--gold);
}
.contact__email svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact__response {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(240, 228, 206, 0.4);
  font-style: italic;
}

/* contact form area */
.contact__form-area {
  flex: 1 1 400px;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(196, 148, 78, 0.15);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.contact__form-area h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.contact__form-area > p {
  font-size: 0.9rem;
  color: rgba(240, 228, 206, 0.5);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 228, 206, 0.5);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 148, 78, 0.15);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 228, 206, 0.25);
}
.form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 1rem 2.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  margin-top: 0.5rem;
  align-self: flex-start;
}
.form__submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ═══════════════════
   FOOTER
   ═══════════════════ */
.footer {
  padding: 3rem 0;
  background: #081c29;
  border-top: 1px solid rgba(196, 148, 78, 0.1);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(240, 228, 206, 0.35);
}

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   Mobile:  < 576px
   Tablet:  576px - 991px
   Laptop:  992px - 1199px
   Desktop: >= 1200px
   ═══════════════════════════════════════════ */

/* ─────────────────────────────────
   DESKTOP (1200px+)
   ───────────────────────────────── */
@media (min-width: 1200px) {
  .nav__logo img {
    height: 80px;
    width: 80px;
  }
  .nav.scrolled .nav__logo img {
    height: 56px;
    width: 56px;
  }
  .hero { padding: 11rem 0 7rem; }
  .service-card { flex: 1 1 340px; }
}

/* ─────────────────────────────────
   LAPTOP (992px - 1199px)
   ───────────────────────────────── */
@media (min-width: 992px) and (max-width: 1199px) {
  .container { padding: 0 2.5rem; }
  .nav__links { gap: 2rem; }
  .service-card { flex: 1 1 300px; }
}

/* ─────────────────────────────────
   TABLET (576px - 991px)
   ───────────────────────────────── */
@media (max-width: 991px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .nav__logo img {
    height: 64px;
    width: 64px;
  }
  .nav.scrolled .nav__logo img {
    height: 48px;
    width: 48px;
  }

  .hero { padding: 9rem 0 5rem; }
  .hero__title { font-size: clamp(2.2rem, 5vw, 3.2rem); }

  .about__flex,
  .firestopping__flex,
  .contact__flex {
    gap: 3rem;
  }

  .service-card {
    flex: 1 1 280px;
    padding: 2rem 1.75rem;
  }

  .standards__flex { gap: 3rem; }

  /* Hero cubes smaller on tablet */
  .hero__cube--1 { width: 80px; height: 80px; }
  .hero__cube--3 { width: 140px; height: 140px; }
  .hero__cube--5 { width: 100px; height: 100px; }
}

/* ─────────────────────────────────
   MOBILE (< 576px)
   ───────────────────────────────── */
@media (max-width: 575px) {
  html { font-size: 15px; }

  .container { padding: 0 1.25rem; }

  .nav { padding: 0.75rem 0; }
  .nav__logo img {
    height: 56px;
    width: 56px;
  }
  .nav.scrolled .nav__logo img {
    height: 44px;
    width: 44px;
  }
  .nav__mobile-menu a { font-size: 1.6rem; }

  .hero { padding: 7rem 0 4rem; }
  .hero__eyebrow {
    font-size: 0.7rem;
    gap: 0.75rem;
  }
  .hero__eyebrow::before { width: 24px; }
  .hero__title {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }
  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .hero__cta {
    padding: 0.875rem 1.75rem;
    font-size: 0.8rem;
  }

  /* Hide some cubes on mobile for performance */
  .hero__cube--2,
  .hero__cube--4,
  .hero__cube--6 { display: none; }
  .hero__cube--1 { width: 60px; height: 60px; top: 10%; right: 5%; }
  .hero__cube--3 { width: 100px; height: 100px; }
  .hero__cube--5 { width: 80px; height: 80px; }

  .about,
  .services,
  .firestopping,
  .standards,
  .contact { padding: 4rem 0; }

  .about__flex,
  .firestopping__flex,
  .standards__flex,
  .contact__flex {
    flex-direction: column;
    gap: 2.5rem;
  }

  .about__image,
  .about__text,
  .firestopping__content,
  .firestopping__visual,
  .standards__block,
  .contact__info,
  .contact__form-area {
    flex: 1 1 100%;
    min-width: 0;
  }

  .firestopping__content { order: 1; }
  .firestopping__visual { order: 2; }

  .section-title { font-size: 1.6rem; }

  .services__header { margin-bottom: 3rem; }
  .services__flex { gap: 1rem; }
  .service-card {
    flex: 1 1 100%;
    max-width: none;
    padding: 1.75rem 1.5rem;
  }
  .service-card__icon { width: 40px; height: 40px; }
  .service-card__title { font-size: 1.2rem; }

  .contact__form-area { padding: 1.75rem; width: 100%; box-sizing: border-box; }
  .contact__email { font-size: 1.1rem; }

  .form__submit { width: 100%; justify-content: center; }

  .footer { padding: 2rem 0; }
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer__logo img { height: 40px; width: 40px; }
}

/* ─────────────────────────────────
   EXTRA SMALL (< 360px)
   ───────────────────────────────── */
@media (max-width: 359px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }
  .hero__title { font-size: 1.75rem; }
  .nav__logo img { height: 48px; width: 48px; }
}