:root {
  --bg: #f6f4f1;
  --surface: #ffffff;
  --surface-soft: #efebe7;
  --ink: #151515;
  --muted: #62666d;
  --line: rgba(21, 21, 21, 0.1);
  --dark: #111111;
  --dark-2: #191919;
  --dark-card: #242424;
  --red: #e42b1f;
  --orange: #ff6b18;
  --amber: #ff9b1a;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
  --shadow-soft: 0 16px 42px rgba(17, 17, 17, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 14px;
  transform: translateY(-140%);
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(9, 9, 9, 0.96);
  border-bottom: 1px solid rgba(255, 107, 24, 0.28);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.98);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.nav {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

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

.brand img {
  width: 240px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.nav-menu a {
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

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

.phone-link {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.phone-link::before {
  content: "☎";
  margin-right: 8px;
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange) 56%, var(--amber));
  box-shadow: 0 16px 32px rgba(228, 43, 31, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 42px rgba(228, 43, 31, 0.34);
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
}

.btn-small {
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  color: var(--white);
  background: var(--dark);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 86px 0;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 24%, rgba(228, 43, 31, 0.36), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(255, 107, 24, 0.22), transparent 32%),
    linear-gradient(120deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 80px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(246, 244, 241, 0.16));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.hero-content,
.hero-card,
.hero-lead,
.hero-text {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.hero h1,
.section h2,
.cta-section h2,
.footer h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.25rem, 8vw, 7.4rem);
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 740px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.16rem, 2vw, 1.6rem);
  font-weight: 800;
}

.hero-text {
  max-width: 690px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.hero-card-header {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-header strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.25rem;
}

.hero-card-header span {
  color: rgba(255, 255, 255, 0.72);
}

.metric-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.metric-grid div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--orange);
}

.metric-grid strong {
  display: block;
  color: var(--orange);
  font-size: 2rem;
  line-height: 1;
}

.metric-grid span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.trust-bar {
  position: relative;
  z-index: 2;
  padding: 18px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(17, 17, 17, 0.06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trust-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid rgba(228, 43, 31, 0.12);
  border-radius: 14px;
  background: #fffaf7;
  color: #32343a;
  font-weight: 800;
}

.trust-grid span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 0.82rem;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading .section-kicker {
  justify-content: center;
}

.section h2,
.cta-section h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.section p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.card-grid,
.sector-grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.sector-card,
.document-card,
.about-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--amber));
}

.card-number {
  position: absolute;
  right: 22px;
  top: 16px;
  color: rgba(228, 43, 31, 0.06);
  font-size: 5.6rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 18px;
  color: var(--red);
  background: #fff1ed;
  font-size: 1.35rem;
  font-weight: 900;
}

.service-card h3,
.edge-list h3,
.sector-card h3,
.document-card h3,
.timeline strong {
  margin: 0;
  color: #08090d;
  line-height: 1.2;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.28rem;
}

.service-card p {
  margin: 14px 0 0;
  font-size: 0.98rem;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  color: #34373d;
  font-weight: 650;
}

.service-card li {
  display: flex;
  gap: 9px;
}

.service-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.pill {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: #9d231b;
  background: #fff1ed;
  border: 1px solid rgba(228, 43, 31, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
}

.split-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: center;
}

.split-grid h2,
.about-grid h2,
.contact-grid h2 {
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-weight: 900;
}

.defect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.defect-card {
  min-height: 108px;
  padding: 22px;
  border: 1px solid rgba(228, 43, 31, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  color: #22252b;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
}

.defect-card span {
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.section-edge {
  position: relative;
  overflow: hidden;
}

.section-edge::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 107, 24, 0.18), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

.section-edge .container {
  position: relative;
}

.section-edge h2,
.section-edge h3 {
  color: var(--white);
}

.edge-list {
  display: grid;
  gap: 14px;
}

.edge-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.edge-list span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-weight: 950;
}

.edge-list p {
  margin: 7px 0 0;
  font-size: 0.96rem;
}

.sector-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sector-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 26px;
}

.sector-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.sector-card h3 {
  font-size: 1.16rem;
}

.sector-card p {
  margin: 12px 0 0;
  font-size: 0.97rem;
}

.compliance-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.document-card {
  padding: 30px;
}

.document-card h3 {
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.document-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.document-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #fff7f4;
  border: 1px solid rgba(228, 43, 31, 0.12);
  color: #22252b;
  font-weight: 800;
}

.document-list span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 0.76rem;
}

.about-grid {
  align-items: stretch;
}

.about-panel {
  padding: 34px;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline div {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--orange);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline strong {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
}

.timeline p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-section {
  padding: 74px 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(228, 43, 31, 0.28), transparent 32%),
    linear-gradient(135deg, #111, #1a0d0a);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.cta-card h2 {
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.cta-card p:last-child {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.contact-section {
  background: var(--surface);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-card {
  display: block;
  min-height: 124px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-card[href]:hover,
.contact-card[href]:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(228, 43, 31, 0.22);
  box-shadow: var(--shadow);
}

.contact-card span {
  display: block;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  color: var(--ink);
  line-height: 1.3;
}

.footer {
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer img {
  width: 220px;
  height: auto;
  border-radius: 4px;
}

.footer h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-note {
  font-size: 0.88rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--white);
  background: #15bd72;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

.whatsapp-float span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(255, 107, 24, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .nav-actions {
    justify-self: end;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 107, 24, 0.22);
    border-radius: 20px;
    background: rgba(14, 14, 14, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body.nav-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: rgba(255, 107, 24, 0.12);
  }

  .nav-menu a::after {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .about-grid,
  .contact-grid,
  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 640px;
  }

  .services-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    height: var(--header-height);
  }

  .nav {
    gap: 12px;
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    min-width: 165px;
  }

  .brand img {
    width: 165px;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 54px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 13.2vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section {
    padding: 68px 0;
  }

  .section h2,
  .cta-section h2 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .services-grid,
  .sector-grid,
  .trust-grid,
  .defect-grid,
  .document-list,
  .contact-cards,
  .cta-actions {
    grid-template-columns: 1fr;
  }

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

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

  .section-heading .section-kicker {
    justify-content: flex-start;
  }

  .cta-card {
    padding: 28px;
  }

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

  .whatsapp-float {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: center;
    min-height: 54px;
    padding-inline: 16px;
    font-size: 0.92rem;
  }

  body {
    padding-bottom: 76px;
  }
}

@media (max-width: 410px) {
  .brand {
    min-width: 150px;
  }

  .brand img {
    width: 150px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    justify-content: center;
  }
}


@media (max-width: 360px) {
  .hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 3rem);
  }

  .brand {
    min-width: 138px;
  }

  .brand img {
    width: 138px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

/* Flip cards for Industries / Sectors */
.sector-card.flip-card {
  min-height: 265px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  perspective: 1200px;
  cursor: pointer;
}

.sector-card.flip-card::after {
  display: none;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 265px;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition: transform 560ms cubic-bezier(.2, .7, .2, 1);
  box-shadow: var(--shadow-soft);
}

.sector-card.flip-card:hover .flip-card-inner,
.sector-card.flip-card:focus-visible .flip-card-inner,
.sector-card.flip-card.is-flipped .flip-card-inner,
.sector-card.flip-card.auto-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  min-height: 265px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(246, 244, 241, .95)),
    linear-gradient(135deg, rgba(228, 43, 31, .08), rgba(255, 107, 24, .05));
}

.flip-card-front::before,
.flip-card-back::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--amber));
}

.flip-card-front::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(228, 43, 31, .07);
}

.flip-card-back {
  color: var(--white);
  transform: rotateY(180deg);
  border-color: rgba(255, 255, 255, .16);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .82)),
    var(--sector-image),
    linear-gradient(135deg, #1a1a1a, #3a0d08);
  background-position: center;
  background-size: cover;
}

.flip-card-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 16%, rgba(255, 107, 24, .32), transparent 34%);
  pointer-events: none;
}

.flip-card-face > * {
  position: relative;
  z-index: 1;
}

.sector-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #9d231b;
  background: #fff1ed;
  border: 1px solid rgba(228, 43, 31, .16);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.flip-card-front h3,
.flip-card-back h3 {
  font-size: 1.28rem;
  line-height: 1.16;
}

.flip-card-front h3 {
  color: #08090d;
}

.flip-card-front p {
  color: var(--muted);
}

.flip-card-back .sector-label {
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .2);
}

.flip-card-back h3 {
  color: var(--white);
}

.flip-card-back p {
  color: rgba(255, 255, 255, .78);
}

@media (max-width: 760px) {
  .sector-card.flip-card,
  .flip-card-inner,
  .flip-card-face {
    min-height: 245px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flip-card-inner {
    transition: none;
  }
}

/* Mobile flip-card fix: iPhone/Safari can sometimes render both 3D faces during scroll.
   On touch devices we show the image side cleanly instead of using a 3D flip. */
.flip-card-front {
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  z-index: 2;
}

.flip-card-back {
  -webkit-transform: rotateY(180deg);
  z-index: 1;
}

@media (hover: none), (max-width: 760px) {
  .sector-card.flip-card {
    perspective: none;
    cursor: default;
    overflow: hidden;
  }

  .flip-card-inner,
  .sector-card.flip-card:hover .flip-card-inner,
  .sector-card.flip-card:focus-visible .flip-card-inner,
  .sector-card.flip-card.is-flipped .flip-card-inner,
  .sector-card.flip-card.auto-flipped .flip-card-inner {
    min-height: 285px;
    transform: none !important;
    -webkit-transform: none !important;
    transform-style: flat;
    transition: none;
  }

  .flip-card-front {
    display: none;
  }

  .flip-card-back {
    position: relative;
    inset: auto;
    min-height: 285px;
    transform: none !important;
    -webkit-transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    z-index: 1;
  }
}

/* Service image reveal cards
   Desktop: image reveals on hover.
   Mobile: image shows at the top of each card. */

.service-card {
  isolation: isolate;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.service-card::before {
  z-index: 3;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  transform: scale(1.04);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.86)),
    var(--service-image),
    linear-gradient(135deg, #1a1a1a, #3a0d08);
  background-size: cover;
  background-position: center;
  transition:
    opacity 260ms ease,
    transform 420ms ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (min-width: 761px) {
  .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 24, 0.22);
    box-shadow: 0 28px 70px rgba(17, 17, 17, 0.18);
  }

  .service-card:hover::after {
    opacity: 1;
    transform: scale(1);
  }

  .service-card:hover .icon-box {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
  }

  .service-card:hover h3 {
    color: var(--white);
  }

  .service-card:hover p {
    color: rgba(255, 255, 255, 0.82);
  }

  .service-card:hover ul {
    color: rgba(255, 255, 255, 0.56);
    opacity: 0.42;
  }

  .service-card:hover li::before {
    background: var(--orange);
  }

  .service-card:hover .pill {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 760px) {
  .service-card {
    padding-top: 28px;
  }

  .service-card::after {
    position: relative;
    inset: auto;
    display: block;
    order: -1;
    width: calc(100% + 56px);
    height: 180px;
    margin: -28px -28px 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 18px 18px;
    opacity: 1;
    transform: none;
  }

  .service-card .icon-box {
    margin-bottom: 18px;
  }
}

@media (max-width: 410px) {
  .service-card::after {
    height: 155px;
  }
}
