:root {
  --ink: #111817;
  --muted: #60706c;
  --paper: #f7f4ed;
  --white: #ffffff;
  --line: rgba(9, 26, 47, .12);
  --green: #0b2a4a;
  --green-2: #1e5b96;
  --gold: #c99b4f;
  --steel: #33413f;
  --shadow: 0 28px 80px rgba(11, 42, 74, .18);
  --section-pad: clamp(4.5rem, 8vw, 7.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at var(--x, 70%) var(--y, 20%), rgba(201, 155, 79, .18), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 35rem);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease, backdrop-filter .25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(247, 244, 237, .9);
  box-shadow: 0 14px 40px rgba(9, 26, 47, .08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(6.6rem, 11vw, 9rem);
  height: auto;
  max-height: 2.35rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .16));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.site-header.scrolled .site-nav,
.site-header.menu-open .site-nav {
  border-color: var(--line);
  background: rgba(255, 255, 255, .72);
}

.site-nav a {
  padding: .7rem .95rem;
  color: currentColor;
  font-size: .92rem;
  font-weight: 650;
  transition: background .2s ease, color .2s ease;
}

.site-nav a:hover {
  background: var(--gold);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: .3rem auto;
  background: currentColor;
  transition: transform .2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(.25rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-.25rem) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(.95) contrast(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 16, 15, .92) 0%, rgba(8, 16, 15, .68) 38%, rgba(8, 16, 15, .12) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 45%, rgba(0, 0, 0, .22));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(48rem, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 7rem);
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--green-2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  line-height: .9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.65vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: .7rem;
  font-size: 1.1rem;
}

.hero-text {
  max-width: 39rem;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions,
.service-tabs {
  display: flex;
  flex-wrap: wrap;
}

.hero-actions {
  gap: .85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: .9rem 1.25rem;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--gold);
  color: #17120a;
  box-shadow: 0 18px 34px rgba(201, 155, 79, .28);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, .36);
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.section-band,
.services {
  padding: var(--section-pad) clamp(1rem, 4vw, 4rem);
}

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

.intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(201, 155, 79, .16), transparent 24rem),
    linear-gradient(112deg, rgba(251, 250, 246, .98) 0%, rgba(239, 244, 239, .96) 100%),
    var(--paper);
  color: var(--ink);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 42, 74, .07), transparent 32%, rgba(201, 155, 79, .06)),
    repeating-linear-gradient(0deg, transparent 0 5.25rem, rgba(11, 42, 74, .04) 5.25rem calc(5.25rem + 1px)),
    repeating-linear-gradient(90deg, transparent 0 7rem, rgba(11, 42, 74, .025) 7rem calc(7rem + 1px));
  opacity: .72;
}

.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 62%, rgba(201, 155, 79, .28) 62% calc(62% + 1px), transparent calc(62% + 1px)),
    linear-gradient(135deg, transparent 0 68%, rgba(11, 42, 74, .08) 68% calc(68% + 1px), transparent calc(68% + 1px));
  pointer-events: none;
}

.intro .section-inner {
  position: relative;
  z-index: 1;
}

.intro .eyebrow.dark {
  color: var(--green-2);
}

.intro h2 {
  max-width: 13ch;
  color: var(--ink);
}

.intro-grid,
.detail-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(20rem, 1.05fr);
  gap: clamp(2.25rem, 6vw, 5.5rem);
  align-items: center;
}

.intro-copy,
.section-heading p,
.detail-copy p,
.service-card p,
.feature p,
.cta p {
  color: var(--muted);
  line-height: 1.72;
}

.intro-copy {
  margin: 0;
  max-width: 38rem;
  padding: 1.25rem 0 1.25rem 1.45rem;
  border-left: 2px solid rgba(201, 155, 79, .85);
  color: #3f514d;
  font-size: 1.02rem;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.services {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(201, 155, 79, .18), transparent 25rem),
    radial-gradient(circle at 86% 8%, rgba(30, 91, 150, .28), transparent 30rem),
    linear-gradient(135deg, #071323 0%, #0b2a4a 52%, #091a2f 100%);
  padding-top: clamp(4rem, 6.5vw, 6rem);
  color: var(--white);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035), transparent 30%, rgba(201, 155, 79, .07)),
    repeating-linear-gradient(0deg, transparent 0 5.5rem, rgba(255, 255, 255, .035) 5.5rem calc(5.5rem + 1px)),
    repeating-linear-gradient(90deg, transparent 0 8rem, rgba(255, 255, 255, .025) 8rem calc(8rem + 1px));
  opacity: .7;
  pointer-events: none;
}

.services::after {
  content: "";
  position: absolute;
  top: clamp(4rem, 7vw, 6.5rem);
  right: clamp(1rem, 8vw, 8rem);
  width: clamp(7rem, 16vw, 14rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 155, 79, .75), rgba(11, 42, 74, .18));
  opacity: .8;
  pointer-events: none;
}

.services .section-inner {
  position: relative;
  z-index: 1;
}

.services .section-heading {
  max-width: 840px;
  display: block;
  margin-bottom: clamp(1.45rem, 3vw, 2.2rem);
}

.services .section-heading .eyebrow {
  position: relative;
  width: fit-content;
  margin-bottom: .95rem;
  padding-left: 1.1rem;
  color: var(--gold);
}

.services .section-heading .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: -.55rem;
  bottom: -.55rem;
  width: 2px;
  background: var(--gold);
}

.services .section-heading h2 {
  max-width: 780px;
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 1;
  color: var(--white);
}

.services .section-heading p {
  max-width: 690px;
  margin: 0;
  padding: .85rem 0 .85rem 1.15rem;
  border-left: 2px solid rgba(201, 155, 79, .78);
  color: rgba(255, 255, 255, .76);
}

.service-tabs {
  gap: .65rem;
  margin-bottom: 1.6rem;
  padding: .45rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
  backdrop-filter: blur(14px);
}

.tab {
  min-height: 2.85rem;
  padding: .72rem 1.05rem;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tab:hover,
.tab.active {
  background: var(--gold);
  color: #16120a;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(201, 155, 79, .22);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
}

.service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  min-height: 16.5rem;
  padding: clamp(1.15rem, 1.8vw, 1.45rem);
  border: 1px solid rgba(11, 42, 74, .1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
  transform-style: preserve-3d;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), rgba(201, 155, 79, .85));
  opacity: .9;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -3.2rem;
  top: -3.2rem;
  width: 8.4rem;
  height: 8.4rem;
  border-radius: 50%;
  background: rgba(11, 42, 74, .045);
  transition: transform .25s ease, background .25s ease;
}

.service-card:hover {
  border-color: rgba(201, 155, 79, .55);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 30px 70px rgba(11, 42, 74, .16);
}

.service-card:hover::after {
  transform: scale(1.18);
  background: rgba(201, 155, 79, .09);
}

.service-card.hidden {
  display: none;
}

.service-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(11, 42, 74, .12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(232, 238, 246, .92));
  color: var(--green);
  box-shadow: inset 0 0 0 7px rgba(11, 42, 74, .035), 0 12px 24px rgba(11, 42, 74, .08);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.service-icon svg {
  width: 1.58rem;
  height: 1.58rem;
  fill: currentColor;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin-bottom: .65rem;
  line-height: 1.25;
  color: var(--ink);
}

.service-card p {
  margin-bottom: 0;
  color: #4d5f5b;
}

.service-card:hover .service-icon {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.service-card[data-category="treinamentos"] .service-icon {
  color: #7a5a19;
}

.service-card[data-category="engenharia"] .service-icon {
  color: #193f73;
}

.service-card[data-category="ambiental"] .service-icon {
  color: #1e5b96;
}

.detail-band {
  position: relative;
  padding: var(--section-pad) clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 155, 79, .16), transparent 24rem),
    radial-gradient(circle at 10% 88%, rgba(11, 42, 74, .08), transparent 22rem),
    linear-gradient(180deg, #fbfaf6 0%, #f1efe8 100%);
  color: var(--ink);
  overflow: hidden;
}

.detail-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 42, 74, .05), transparent 35%, rgba(201, 155, 79, .06)),
    repeating-linear-gradient(0deg, transparent 0 5.5rem, rgba(11, 42, 74, .03) 5.5rem calc(5.5rem + 1px));
  pointer-events: none;
}

.detail-band .section-inner {
  position: relative;
  z-index: 1;
}

.detail-copy {
  max-width: 38rem;
}

.detail-copy .eyebrow {
  margin-bottom: 1.15rem;
}

.detail-copy h2 {
  max-width: 16.5ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 3.45vw, 3.65rem);
  line-height: 1.06;
  text-wrap: balance;
}

.detail-copy p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.feature-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
}

.feature {
  padding: clamp(1.2rem, 2vw, 1.5rem);
  border: 1px solid rgba(11, 42, 74, .1);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 48px rgba(9, 26, 47, .07);
}

.feature span {
  color: var(--gold);
  font-weight: 900;
}

.feature strong {
  display: block;
  margin: .8rem 0 .35rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.feature p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta {
  padding: var(--section-pad) clamp(1rem, 4vw, 4rem);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 155, 79, .2), transparent 24rem),
    linear-gradient(135deg, rgba(11, 42, 74, .98), rgba(9, 26, 47, .98));
}

.cta p {
  color: rgba(255, 255, 255, .76);
}

.contact-cards {
  display: grid;
  gap: .8rem;
  margin-top: 2rem;
}

.contact-cards a {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 3.4rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .88);
  transition: background .2s ease, transform .2s ease;
}

.contact-cards a:hover {
  background: rgba(255, 255, 255, .13);
  transform: translateX(4px);
}

.contact-cards svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--gold);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: grid;
  gap: .45rem;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  padding: .95rem 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 155, 79, .16);
}

.form-button {
  width: 100%;
  border: 0;
}

.site-footer {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 4rem) 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(201, 155, 79, .16), transparent 24rem),
    linear-gradient(135deg, rgba(8, 17, 31, 1), rgba(11, 42, 74, 1));
  color: rgba(255, 255, 255, .74);
}

.floating-social {
  position: fixed;
  right: clamp(.8rem, 2vw, 1.25rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 18;
  display: grid;
  gap: .7rem;
}

.floating-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}

.floating-link::after {
  content: "";
  position: absolute;
  inset: .32rem;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
}

.floating-link svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.floating-link.whatsapp {
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .28), transparent 1.2rem),
    linear-gradient(135deg, #2ccf74, #128c5a 62%, #0d5b42);
}

.floating-link.instagram {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .32), transparent 1.2rem),
    linear-gradient(135deg, #405de6 0%, #833ab4 34%, #c13584 58%, #f77737 82%, #fcb045 100%);
}

.floating-link::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + .7rem);
  top: 50%;
  transform: translate(.4rem, -50%);
  padding: .45rem .65rem;
  background: rgba(8, 16, 15, .92);
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.floating-link:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 255, 255, .38);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .32);
  filter: saturate(1.08);
}

.floating-link:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(16rem, 1.25fr) repeat(3, minmax(9rem, .75fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1.15rem;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  min-height: 3.1rem;
  padding: .32rem .42rem;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .2);
}

.footer-logo {
  width: 100%;
  height: auto;
  max-height: 2.35rem;
  object-fit: contain;
}

.footer-brand p {
  max-width: 24rem;
  margin: 0;
  line-height: 1.72;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .75rem 1rem;
  background: var(--gold);
  color: #17120a;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(201, 155, 79, .18);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: .65rem;
}

.footer-column h2 {
  margin: 0 0 .35rem;
  color: var(--white);
  font-size: .84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer-column a {
  color: rgba(255, 255, 255, .72);
  line-height: 1.35;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  width: min(1160px, 100%);
  margin: clamp(2rem, 5vw, 3.25rem) auto 0;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, .56);
  font-size: .88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: min(42rem, calc(100% - 2rem));
  }

  .section-heading {
    max-width: 44rem;
  }

  .detail-copy {
    max-width: 42rem;
  }

  .detail-copy h2 {
    max-width: 15ch;
  }

  .detail-copy p {
    max-width: 38rem;
  }

  .services .section-heading {
    max-width: 44rem;
  }

  .services .section-heading h2 {
    max-width: 100%;
    font-size: clamp(2.1rem, 8.2vw, 3.25rem);
  }

  .services .section-heading p {
    max-width: 42rem;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }

  .intro h2 {
    max-width: 16ch;
  }

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

  .intro-grid,
  .detail-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: .85rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + .55rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: .25rem;
    padding: .5rem;
    color: var(--ink);
    background: rgba(247, 244, 237, .96);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(9, 26, 47, .12);
    transform: translateY(-.6rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 16, 15, .86) 0%, rgba(8, 16, 15, .72) 55%, rgba(8, 16, 15, .56)),
      linear-gradient(90deg, rgba(8, 16, 15, .76), rgba(8, 16, 15, .12));
  }

  .hero-bg {
    object-position: 62% center;
  }

  .hero-content {
    width: calc(100% - 2rem);
    margin: 0 auto;
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: .94;
  }

  h2 {
    font-size: clamp(1.9rem, 8.5vw, 3rem);
    line-height: 1.04;
  }

  .section-heading {
    margin-bottom: 1.6rem;
  }

  .services::after {
    top: 3.4rem;
    right: 1rem;
    width: 7rem;
    opacity: .55;
  }

  .intro-grid,
  .detail-grid,
  .cta-grid {
    gap: 1.65rem;
  }

  .detail-copy h2 {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    line-height: 1.04;
  }

  .intro h2 {
    max-width: 13ch;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

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

  .intro::after {
    background:
      linear-gradient(135deg, transparent 0 70%, rgba(201, 155, 79, .24) 70% calc(70% + 1px), transparent calc(70% + 1px)),
      repeating-linear-gradient(90deg, transparent 0 4rem, rgba(11, 42, 74, .03) 4rem calc(4rem + 1px));
  }

  .intro-copy {
    padding-left: 1rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section-band,
  .services,
  .detail-band,
  .cta {
    padding: 3.8rem .9rem;
  }

  .hero-text,
  .intro-copy,
  .section-heading p,
  .detail-copy p,
  .service-card p,
  .feature p,
  .cta p {
    line-height: 1.62;
  }

  .service-card,
  .feature,
  .contact-form {
    padding: 1.1rem;
  }

  .brand-logo {
    width: clamp(6rem, 34vw, 7.4rem);
    max-height: 2.15rem;
  }

  .floating-social {
    right: .75rem;
    bottom: .75rem;
    gap: .5rem;
  }

  .floating-link {
    width: 3rem;
    height: 3rem;
  }

  .floating-link::before {
    display: none;
  }

  .service-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    padding: .4rem;
    padding-bottom: .4rem;
    scroll-snap-type: x mandatory;
  }

  .tab {
    flex: 0 0 auto;
    padding-inline: .85rem;
    scroll-snap-align: start;
  }

  .service-icon {
    width: 3.35rem;
    height: 3.35rem;
    margin-bottom: 1.05rem;
  }

  .contact-cards span {
    overflow-wrap: anywhere;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-logo-card {
    width: 8.2rem;
  }

  .footer-column {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: 5.8rem;
  }

  .hero-content {
    width: calc(100% - 1.5rem);
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .btn {
    padding-inline: .9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
