:root {
  --bg: #07111c;
  --bg-deep: #081827;
  --surface: rgba(9, 28, 47, 0.82);
  --surface-strong: rgba(11, 37, 69, 0.94);
  --surface-soft: rgba(248, 251, 255, 0.05);
  --text: #eff5fb;
  --muted: #9fb3c8;
  --line: rgba(217, 226, 236, 0.13);
  --line-strong: rgba(217, 226, 236, 0.22);
  --primary: #0b2545;
  --primary-strong: #12385f;
  --teal: #1E5BB8;
  --teal-soft: #4F8FE0;
  --brand-primary: #1E5BB8;
  --brand-deep: #143C7A;
  --brand-light: #4F8FE0;
  --brand-soft: #E8F1FB;
  --white: #f8fbff;
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1240px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(30, 91, 184, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(79, 143, 224, 0.15), transparent 24%),
    linear-gradient(180deg, #050d15 0%, #07111c 28%, #0b1b2b 55%, #07111c 100%);
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

iframe {
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--white);
  color: var(--primary);
  padding: 12px 16px;
  z-index: 3000;
  border-radius: 10px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 3px solid rgba(79, 143, 224, 0.85);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(9, 23, 38, 0.92), rgba(5, 15, 24, 0.96)),
    linear-gradient(120deg, rgba(18, 56, 95, 0.22), transparent 65%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal-soft);
}

.eyebrow::before,
.mini-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.75rem, 8vw, 5.4rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  max-width: 15ch;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.8;
  color: var(--muted);
}

ul {
  margin: 0;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  border-bottom: 1px solid transparent;
  background: rgba(6, 15, 24, 0.55);
  backdrop-filter: blur(0px);
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: rgba(6, 15, 24, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 84px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: var(--white);
  background:
    linear-gradient(145deg, #12385f 0%, #0b2545 62%, #1E5BB8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 30px rgba(0, 0, 0, 0.28);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: var(--white);
}

.brand-copy small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 245, 251, 0.7);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(239, 245, 251, 0.8);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--teal-soft);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.header-cta {
  border: 1px solid rgba(79, 143, 224, 0.28);
  color: var(--white);
  background: linear-gradient(135deg, rgba(30, 91, 184, 0.16), rgba(18, 56, 95, 0.16));
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #1E5BB8 0%, #143C7A 50%, #0b2545 100%);
  box-shadow: 0 16px 36px rgba(10, 36, 66, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(17, 57, 96, 0.36);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--white);
  background: rgba(248, 251, 255, 0.03);
}

.btn-whatsapp {
  color: var(--white);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.38);
}

.btn i {
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 110px 0 80px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 21, 0.84) 12%, rgba(5, 13, 21, 0.52) 42%, rgba(5, 13, 21, 0.78) 100%),
    radial-gradient(circle at 20% 20%, rgba(30, 91, 184, 0.18), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 56, 95, 0.32) 0%, rgba(18, 56, 95, 0) 65%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--white);
}

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

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(30, 91, 184, 0.12);
  border: 1px solid rgba(79, 143, 224, 0.28);
  color: var(--teal-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-badges span:hover {
  background: rgba(30, 91, 184, 0.22);
  border-color: rgba(79, 143, 224, 0.5);
  color: var(--white);
}

.hero-badges span i {
  font-size: 13px;
}

.hero-text {
  max-width: 66ch;
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.hero-points li {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(248, 251, 255, 0.04);
  backdrop-filter: blur(10px);
}

.hero-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-points span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-panel,
.content-card,
.stats-card,
.compliance-card,
.feature-card,
.equipment-card,
.visual-card,
.detail-card,
.process-card,
.case-card,
.quote-card,
.contact-panel,
.form-card,
.map-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(8, 24, 39, 0.84), rgba(5, 15, 24, 0.96));
}

.hero-panel img,
.case-card img,
.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel::after,
.case-card::after,
.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 21, 0.05), rgba(5, 13, 21, 0.82));
  pointer-events: none;
}

.hero-panel-main {
  min-height: 420px;
}

.hero-stack {
  display: grid;
  gap: 18px;
}

.panel-copy,
.visual-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.panel-copy span,
.visual-copy span {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 251, 255, 0.76);
}

.panel-copy strong,
.visual-copy strong {
  color: var(--white);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.4;
}

.hero-panel-placeholder,
.case-card-placeholder {
  display: grid;
  place-items: stretch;
}

.placeholder-art {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-content: end;
  min-height: 100%;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(79, 143, 224, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(18, 56, 95, 0.94), rgba(6, 20, 33, 0.98));
}

.placeholder-tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(248, 251, 255, 0.08);
  border: 1px solid rgba(248, 251, 255, 0.1);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.placeholder-art strong {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
}

.placeholder-art p {
  max-width: 34ch;
}

.intro-strip {
  padding-top: 0;
}

.intro-grid {
  display: grid;
  gap: 16px;
}

.intro-grid article {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.04);
}

.section-grid,
.diagnostics-layout,
.contact-layout {
  display: grid;
  gap: 24px;
}

.section-heading {
  display: grid;
  gap: 14px;
}

.content-card,
.stats-card,
.compliance-card,
.contact-panel,
.form-card,
.map-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.content-card {
  display: grid;
  gap: 16px;
}

.content-card-accent {
  background:
    linear-gradient(180deg, rgba(18, 56, 95, 0.86), rgba(7, 17, 28, 0.98)),
    rgba(9, 28, 47, 0.82);
}

.stats-card {
  display: grid;
  gap: 18px;
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.75rem;
  font-family: "Montserrat", sans-serif;
}

.stat span {
  color: var(--muted);
  line-height: 1.7;
}

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

.pillars article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(248, 251, 255, 0.04);
}

.pillars article h3,
.feature-card h3,
.equipment-card h3,
.detail-card h3,
.process-card h3,
.case-copy h3,
.quote-card strong,
.contact-card a,
.contact-card p,
.compliance-card li strong {
  color: var(--white);
}

.compliance-card h3 {
  margin-bottom: 16px;
}

.compliance-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
}

.compliance-card li {
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid,
.equipment-grid,
.cards-grid,
.process-grid,
.case-grid,
.testimonial-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.equipment-card,
.detail-card,
.process-card,
.quote-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(248, 251, 255, 0.04);
}

.feature-card i {
  font-size: 22px;
  color: var(--teal-soft);
  margin-bottom: 16px;
}

.modalities {
  display: grid;
  gap: 12px;
}

.modalities article {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.04);
}

.modalities strong {
  color: var(--white);
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
}

.modalities span {
  color: var(--muted);
  line-height: 1.7;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: var(--radius-xl);
}

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

.detail-card,
.process-card {
  display: grid;
  gap: 12px;
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(79, 143, 224, 0.12);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.case-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius-xl);
  background: rgba(248, 251, 255, 0.04);
}

.case-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.case-copy p {
  color: rgba(239, 245, 251, 0.8);
}

.quote-card {
  background:
    linear-gradient(135deg, rgba(18, 56, 95, 0.7), rgba(8, 24, 39, 0.9));
}

.quote-card p {
  margin-bottom: 18px;
  color: rgba(239, 245, 251, 0.86);
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card:last-child,
.contact-card-full {
  border-bottom: 0;
}

.contact-card span {
  color: var(--teal-soft);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-card a {
  width: fit-content;
}

.form-card {
  display: grid;
  gap: 14px;
}

.form-card label {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(248, 251, 255, 0.04);
  color: var(--white);
}

.form-card select option {
  color: #07111c;
}

.form-card input::placeholder,
.form-card textarea::placeholder {
  color: rgba(239, 245, 251, 0.5);
}

.form-card textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note,
.form-status {
  font-size: 14px;
}

.form-status {
  min-height: 24px;
}

.map-card {
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-xl);
  padding: 0;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  filter: saturate(0.55) contrast(1.02);
}

.site-footer {
  padding: 40px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 17, 0.92);
}

.footer-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 28px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 14px;
  color: var(--white);
}

.site-footer a,
.site-footer p,
.site-footer small {
  color: var(--muted);
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  width: fit-content;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2200;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.35);
  font-size: 28px;
}

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

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media (min-width: 768px) {
  .section {
    padding: 108px 0;
  }

  .hero-layout,
  .section-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: start;
  }

  .hero-layout {
    align-items: center;
  }

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

  .intro-grid,
  .feature-grid,
  .equipment-grid,
  .cards-grid,
  .process-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .diagnostics-layout,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .section-heading {
    grid-column: 1 / -1;
  }

  .visual-card,
  .map-card {
    min-height: 420px;
  }

  .visual-card img,
  .map-card iframe {
    min-height: 420px;
  }

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

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1280px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
  }

  .hero-layout {
    grid-template-columns: 0.98fr 1.02fr;
    gap: 42px;
  }

  .hero-points {
    max-width: 780px;
  }

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

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

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

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

@media (max-width: 1279px) {
  .header-shell {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-block;
    order: 3;
  }

  .header-cta {
    order: 2;
    justify-self: end;
  }

  .nav {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    display: grid;
    justify-items: start;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(6, 15, 24, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

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

  .nav a {
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(217, 226, 236, 0.08);
  }

  .nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .header-shell {
    grid-template-columns: auto auto auto;
    gap: 12px;
    min-height: 76px;
  }

  .brand-copy small,
  .header-cta {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-panel-main {
    min-height: 320px;
  }

  .panel-copy,
  .visual-copy,
  .case-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .content-card,
  .stats-card,
  .compliance-card,
  .feature-card,
  .equipment-card,
  .detail-card,
  .process-card,
  .quote-card,
  .contact-panel,
  .form-card {
    padding: 22px;
  }

  .placeholder-art {
    padding: 22px;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 14px;
    bottom: 14px;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges span {
    font-size: 12px;
    padding: 8px 14px;
  }

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

/* ===== SECAO INTRO STRIP ===== */
.section-intro {
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 52ch;
  margin-top: 4px;
}

/* ===== O QUE FAZEMOS ===== */
.what-we-do {
  background:
    radial-gradient(circle at 80% 50%, rgba(30, 91, 184, 0.09), transparent 40%),
    linear-gradient(180deg, rgba(9, 23, 38, 0.6), transparent);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.what-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(248, 251, 255, 0.04);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.what-card:hover {
  background: rgba(30, 91, 184, 0.1);
  border-color: rgba(79, 143, 224, 0.3);
  transform: translateY(-3px);
}

.what-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(30, 91, 184, 0.14);
  border: 1px solid rgba(79, 143, 224, 0.2);
  font-size: 20px;
  color: var(--teal-soft);
}

.what-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.3;
}

.what-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
}

.what-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal-soft);
  text-transform: uppercase;
  transition: gap 0.2s ease, color 0.2s ease;
}

.what-link:hover {
  gap: 10px;
  color: var(--white);
}

.what-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* ===== ICON LIST ===== */
.icon-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 8px 0 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.icon-list li i {
  color: var(--teal-soft);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 14px;
}

.icon-list.small li {
  font-size: 0.88rem;
  gap: 8px;
}

.icon-list.small li i {
  font-size: 11px;
  margin-top: 4px;
}

/* ===== PILLAR ICONS ===== */
.pillar-icon {
  font-size: 22px;
  color: var(--teal-soft);
  margin-bottom: 12px;
  display: block;
}

/* ===== MODALITY HEADER ===== */
.modality-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modality-header i {
  font-size: 16px;
  color: var(--teal-soft);
}

/* ===== SECTION CTA ===== */
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

/* ===== DETAIL CARD WITH ICON ===== */
.detail-card i {
  font-size: 22px;
  color: var(--teal-soft);
  margin-bottom: 10px;
  display: block;
}

/* ===== PROCESS CARD ICON ===== */
.process-card i {
  font-size: 20px;
  color: var(--teal-soft);
}

/* ===== QUOTE CARD ICON ===== */
.quote-icon {
  font-size: 26px;
  color: rgba(79, 143, 224, 0.35);
  margin-bottom: 12px;
  display: block;
}

/* ===== EQUIPMENT CARD ICON ===== */
.equipment-card i {
  font-size: 26px;
  color: var(--teal-soft);
  margin-bottom: 12px;
  display: block;
}

/* ===== SECTION HEADING FULL WIDTH ===== */
.section-heading h2 {
  color: var(--white);
}

/* ===== STRONGER SECTION HEADING ===== */
h2 {
  color: var(--white);
}

/* ===== RESPONSIVE WHAT-GRID ===== */
@media (max-width: 1279px) {
  .what-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .what-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .what-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .what-card {
    padding: 20px 18px;
  }

  .section-cta {
    flex-direction: column;
  }

  .section-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =======================================================
   UX PASS — VISUAL HIERARCHY, CLARITY & BREATHING ROOM
   ======================================================= */

/* H2 inside section-heading: subtle teal underline accent */
.section-heading h2 {
  color: var(--white);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(79, 143, 224, 0.18);
}

/* But NOT in what-we-do (centered heading, no underline needed) */
.what-we-do .section-heading h2 {
  border-bottom: none;
  padding-bottom: 0;
}

/* More breathing room between eyebrow and H2 */
.section-heading {
  gap: 18px;
}

/* Quote card: larger, more readable text + teal author */
.quote-card p {
  font-size: clamp(1.05rem, 1.75vw, 1.18rem);
  line-height: 1.82;
  color: rgba(239, 245, 251, 0.94);
  margin-bottom: 20px;
}

.quote-card strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

/* Equipment cards: centered for better grid symmetry */
.equipment-card {
  text-align: center;
  align-items: center;
}

.equipment-card i {
  font-size: 30px;
  margin-bottom: 14px;
}

/* Stat numbers: bolder visual weight */
.stat strong {
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}

/* Section-cta: ensure gap between buttons */
.section-cta {
  gap: 16px;
  padding-top: 12px;
}

/* Cases CTA: extra top margin since it comes after a grid */
#cases .section-cta {
  margin-top: 20px;
}

/* Process card step number: numero grande em destaque */
.process-card > span {
  display: block;
  width: fit-content;
  height: auto;
  border-radius: 0;
  background: none;
  border: none;
  color: var(--teal-soft);
  font-size: clamp(2rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 4px;
}

.process-card > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--teal-soft);
  border-radius: 2px;
}

/* Detail card: stronger icon */
.detail-card > i {
  font-size: 26px;
  margin-bottom: 12px;
}

/* Hero sub: slightly larger for readability */
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

/* What-we-do: full-width centered heading already inline,
   ensure card links are prominent */
.what-link {
  margin-top: 4px;
  font-size: 12.5px;
}

/* Visual-card: taller on large screens for more impact */
@media (min-width: 1280px) {
  .visual-card {
    min-height: 460px;
  }
}

/* Section cta responsive */
@media (max-width: 767px) {
  .section-cta {
    flex-direction: column;
  }

  .section-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== SVG ICON SYSTEM ===== */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-filled {
  fill: currentColor;
  stroke: none;
}
/* Block-level icons inside cards */
.feature-card .icon,
.pillar-icon.icon,
.equipment-card > .icon,
.detail-card > .icon,
.process-card .icon-proc,
.modality-header .icon {
  display: block;
}
.feature-card .icon { width: 22px; height: 22px; color: var(--teal-soft); margin-bottom: 16px; }
.equipment-card > .icon { width: 30px; height: 30px; color: var(--teal-soft); margin-bottom: 14px; }
.detail-card > .icon { width: 26px; height: 26px; color: var(--teal-soft); margin-bottom: 12px; }
.process-card .icon-proc { width: 20px; height: 20px; color: var(--teal-soft); }
.pillar-icon.icon { width: 22px; height: 22px; color: var(--teal-soft); margin-bottom: 12px; }
.modality-header .icon { width: 16px; height: 16px; color: var(--teal-soft); display: inline-block; }
.icon-list li .icon { width: 14px; height: 14px; color: var(--teal-soft); margin-top: 3px; flex-shrink: 0; }
.icon-list.small li .icon { width: 11px; height: 11px; margin-top: 4px; }
.quote-icon.icon { width: 26px; height: 26px; color: rgba(79,143,224,0.35); margin-bottom: 12px; display: block; }
.what-icon .icon { width: 20px; height: 20px; }
.what-link .icon { width: 13px; height: 13px; }
.hero-badges span .icon { width: 13px; height: 13px; }
.btn .icon { width: 15px; height: 15px; }
.contact-card span .icon { width: 14px; height: 14px; }
.footer-bottom .icon { width: 14px; height: 14px; }

/* ===== HEADER NAV POLISH — subtitulo oculto <1600px ===== */
@media (max-width: 1599px) {
  .brand-copy small { display: none; }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .nav { gap: 6px; }
  .nav a { font-size: 11.5px; letter-spacing: 0.02em; padding: 6px 0; }
  .header-cta { padding: 0 12px; font-size: 11px; min-height: 42px; gap: 6px; max-width: 148px; }
  .brand-mark { width: 42px; height: 42px; font-size: 14px; }
  .brand-copy strong { font-size: 14px; }
}

@media (min-width: 1600px) {
  .nav { gap: 14px; }
  .nav a { font-size: 12px; letter-spacing: 0.02em; }
}

/* ===== CARD TITLE — sem hifenizacao, largura adequada ===== */
.feature-card h3,
.equipment-card h3,
.detail-card h3,
.process-card h3,
.what-card h3,
.case-copy h3 {
  overflow-wrap: normal;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.3;
}

/* feature-grid e process-grid: 4 colunas so em >=1500px */
@media (min-width: 1500px) {
  .feature-grid,
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* cards-grid: 3 colunas em >=1280px */
@media (min-width: 1280px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* h2 overflow em headings de secao */
h2 {
  overflow-wrap: break-word;
}

/* ===== BRAND LOGO ===== */
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(79, 143, 224, 0.35));
}

.brand-logo-footer {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.92;
  margin-bottom: 16px;
}

@media (max-width: 1279px) {
  .brand-logo { height: 38px; }
}

@media (max-width: 767px) {
  .brand-logo { height: 34px; }
}