:root {
  --ink: #10100f;
  --ink-2: #20201d;
  --gold: #f6bd25;
  --gold-2: #ffcf45;
  --paper: #fff9e9;
  --white: #ffffff;
  --muted: #6e695c;
  --line: rgba(16, 16, 15, 0.14);
  --shadow: 0 24px 70px rgba(16, 16, 15, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(16, 16, 15, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(246, 189, 37, 0.35);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(246, 189, 37, 0.45);
  border-radius: 50%;
}

.brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: 50% 24%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.05;
}

.brand small {
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.91rem;
  font-weight: 700;
}

.nav a:hover {
  background: rgba(246, 189, 37, 0.14);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(540px, 0.9fr) minmax(520px, 1.1fr);
  min-height: min(840px, calc(100svh - 72px));
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(16, 16, 15, 0.94) 0%, rgba(16, 16, 15, 0.88) 52%, rgba(16, 16, 15, 0.2) 100%),
    var(--ink);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -30vw;
  width: 44vw;
  height: 44vw;
  background: var(--gold);
  transform: rotate(-24deg);
  transform-origin: center;
}

.hero-media {
  order: 2;
  position: relative;
  min-height: 620px;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  filter: saturate(0.9) contrast(1.04);
  opacity: 0.94;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 720px;
  padding: clamp(48px, 6vw, 84px) clamp(28px, 4.6vw, 68px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(2.9rem, 4.35vw, 4.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 800;
}

h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.btn.primary {
  background: var(--gold);
  color: var(--ink);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(24px, 3vw, 38px);
  max-width: 760px;
}

.hero-facts span {
  min-height: 94px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.74);
}

.hero-facts strong {
  display: block;
  color: var(--gold);
  font-size: 1.06rem;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--gold);
  color: var(--ink);
  border-block: 1px solid rgba(16, 16, 15, 0.18);
}

.contact-strip a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border-right: 1px solid rgba(16, 16, 15, 0.18);
  font-size: 0.93rem;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(68px, 9vw, 128px) clamp(20px, 5vw, 70px);
}

.intro,
.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.intro > p,
.experience p,
.field-band p,
.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 980px;
  margin: 0 auto clamp(28px, 4vw, 52px);
  text-align: center;
}

.service-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
}

.service-grid article,
.team-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 16, 15, 0.06);
}

.service-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  background: var(--ink);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 800;
}

.service-grid p,
.team-grid p,
.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
}

.field-band {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 70px);
  background: var(--ink);
  color: var(--white);
}

.field-band img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-band p:not(.eyebrow) {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 210px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline span {
  display: block;
  margin-bottom: 36px;
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 800;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  padding: 11px 14px;
  background: var(--ink);
  color: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 800;
}

.team {
  background: #f4ead2;
}

.team-grid article {
  min-height: 178px;
}

.certifications {
  background: var(--white);
}

.tabs {
  max-width: 920px;
  margin: 0 auto;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.tab {
  min-height: 48px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  background: var(--ink);
  color: var(--gold);
}

.tab-panel {
  display: none;
  padding: clamp(12px, 3vw, 24px);
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tab-panel.active {
  display: block;
}

.tab-panel img {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
  padding: clamp(68px, 9vw, 128px) clamp(20px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(16, 16, 15, 0.96), rgba(16, 16, 15, 0.88)),
    var(--ink);
  color: var(--white);
}

.cta h2 {
  max-width: 10ch;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: clamp(14px, 3vw, 24px);
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
}

.contact-card a {
  min-height: 48px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(16, 16, 15, 0.14);
  border-radius: 6px;
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(20px, 5vw, 70px);
  background: #070706;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.footer a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  background: #1f9d55;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(16, 16, 15, 0.28);
  font-size: 0.9rem;
  font-weight: 800;
}

.whatsapp-float:hover {
  background: #178447;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 72px);
  }

  .hero-media {
    position: absolute;
    inset: 0;
    min-height: 100%;
    opacity: 0.4;
  }

  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 16, 15, 0.96) 0%, rgba(16, 16, 15, 0.82) 58%, rgba(16, 16, 15, 0.42) 100%);
  }

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

  .hero-content {
    min-height: calc(100svh - 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

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

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

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 72px 12px auto;
    display: none;
    padding: 10px;
    background: var(--ink);
    border: 1px solid rgba(246, 189, 37, 0.35);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    min-height: 46px;
    border-radius: 6px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 10.2vw, 3.55rem);
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero-facts,
  .contact-strip,
  .intro,
  .experience,
  .field-band,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-facts span {
    min-height: 0;
    padding: 12px 10px;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .hero-facts strong {
    font-size: 0.9rem;
  }

  .contact-strip a {
    justify-content: start;
    min-height: 50px;
    text-align: left;
  }

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

  .service-grid article,
  .timeline li {
    min-height: 0;
  }

  .timeline span {
    margin-bottom: 12px;
  }

  .field-band img {
    aspect-ratio: 4 / 3;
  }

  .section-heading {
    text-align: left;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .cta > *,
  .contact-card {
    min-width: 0;
  }

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

  .footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-mark img {
    width: 52px;
    height: 52px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 46px;
    padding-inline: 15px;
    font-size: 0.82rem;
  }
}
