:root {
  --green-950: #0b241d;
  --green-900: #133f32;
  --green-800: #1f5b45;
  --green-700: #2d7658;
  --green-100: #e7f2ec;
  --gold-700: #a97826;
  --gold-100: #fbefd8;
  --clay-700: #8d3140;
  --ink: #17231f;
  --muted: #5c6d66;
  --line: #dfe7e2;
  --surface: #ffffff;
  --soft: #f5f8f4;
  --paper: #fffaf0;
  --shadow: 0 18px 45px rgba(16, 41, 32, 0.12);
  --radius: 8px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

img.is-broken {
  visibility: hidden;
}

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

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

button {
  cursor: pointer;
}

button,
a,
input,
select,
textarea {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(45, 118, 88, 0.35);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

[data-lucide] {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--green-900);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(19, 63, 50, 0.12);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(19, 63, 50, 0.08);
}

.top-strip {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

.top-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-strip a {
  color: #fff;
  font-weight: 700;
}

.nav-shell {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.brand img {
  width: 58px;
  height: auto;
}

.brand strong,
.footer-brand span {
  display: block;
  color: var(--green-900);
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.18rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: #24332e;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--green-700);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font-weight: 800;
}

.nav-dropdown__trigger:hover,
.nav-dropdown.is-open .nav-dropdown__trigger {
  color: var(--green-700);
}

.nav-dropdown__trigger span {
  color: var(--green-700);
  font-size: 0.8em;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  z-index: 20;
  min-width: 240px;
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  visibility: hidden;
}

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

.nav-dropdown__menu a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  color: #24332e;
  font-size: 0.98rem;
}

.nav-dropdown__menu a:hover {
  background: var(--green-100);
  color: var(--green-800);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.78rem 1rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: normal;
}

.nav-cta {
  background: var(--green-900);
  color: #fff;
  padding-inline: 1rem;
}

.nav-cta:hover,
.button--primary:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--green-900);
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero__slides,
.hero__slide,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slides {
  overflow: hidden;
}

.hero__slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1200ms ease, transform 7200ms ease;
  will-change: opacity, transform;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.08);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(11, 36, 29, 0.92) 0%, rgba(19, 63, 50, 0.74) 46%, rgba(19, 63, 50, 0.34) 100%),
    linear-gradient(0deg, rgba(11, 36, 29, 0.72), rgba(11, 36, 29, 0.1) 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 9rem;
}

.hero__copy-stack {
  position: relative;
  max-width: 780px;
  min-height: 360px;
}

.hero__copy {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(780px, 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.hero__copy.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.hero .eyebrow {
  color: #ffd98c;
}

.hero h1,
.hero h2 {
  max-width: 760px;
  margin: 0;
  font-size: 4.15rem;
  line-height: 0.98;
  letter-spacing: 0;
  color: #fff;
}

.hero__lead {
  max-width: 670px;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__controls {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(11, 36, 29, 0.32);
  backdrop-filter: blur(10px);
}

.hero__arrow,
.hero__dots button {
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero__arrow {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero__dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__dots button {
  width: 30px;
  height: 4px;
  border-radius: 999px;
  padding: 0;
  opacity: 0.58;
}

.hero__dots button.is-active {
  width: 48px;
  background: #ffd98c;
  opacity: 1;
}

.button--primary {
  background: var(--green-900);
  color: #fff;
  border-color: var(--green-900);
}

.button--light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-900);
  border-color: rgba(255, 255, 255, 0.7);
}

.button--light:hover {
  background: #fff;
  transform: translateY(-1px);
}

.button--outline {
  color: var(--green-900);
  border-color: var(--green-900);
  background: #fff;
}

.button--outline:hover {
  background: var(--green-100);
}

.button--full {
  width: 100%;
}

.hero-proof {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

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

.hero-proof__grid div {
  padding: 1.1rem 1.35rem;
  border-left: 1px solid var(--line);
}

.hero-proof__grid div:first-child {
  border-left: 0;
}

.hero-proof strong {
  display: block;
  color: var(--green-900);
  font-size: 1rem;
}

.hero-proof span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: 5.5rem 0;
}

.section--white {
  background: #fff;
}

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

.section-heading {
  max-width: 700px;
}

.section-heading--center {
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading--center p:not(.eyebrow),
.section-heading--split p:not(.eyebrow) {
  color: var(--muted);
}

.section-heading--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 2.55rem;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
}

p {
  overflow-wrap: anywhere;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.content-stack p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.feature-item,
.sales-points div {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #273831;
  font-weight: 700;
}

.feature-item [data-lucide],
.sales-points [data-lucide] {
  color: var(--green-700);
  margin-top: 0.15rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-card,
.product-card,
.cert-card,
.mission-grid article,
.quote-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 41, 32, 0.07);
}

.process-card {
  min-height: 290px;
  padding: 1.35rem;
  position: relative;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 900;
}

.process-card [data-lucide] {
  width: 2rem;
  height: 2rem;
  color: var(--gold-700);
  margin: 1.4rem 0 1rem;
}

.process-card p,
.product-card p,
.cert-card p,
.mission-grid p,
.mission-grid li,
.quote-panel p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card__image {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-card__image img.product-card__photo {
  object-fit: cover;
  padding: 0;
}

.product-card__body {
  padding: 1.3rem;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.tag {
  width: fit-content;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: var(--green-100);
  color: var(--green-900) !important;
  font-size: 0.78rem;
  font-weight: 900;
}

.tag--red {
  background: #f7e8eb;
  color: var(--clay-700) !important;
}

.tag--gold {
  background: var(--gold-100);
  color: #6c4a12 !important;
}

.product-card__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1rem;
}

.product-card__actions a,
.product-card__actions button,
.text-link {
  color: var(--green-800);
  font-weight: 900;
}

.product-card__actions button {
  border: 0;
  background: transparent;
  padding: 0;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.5rem;
}

.product-card__actions a:hover,
.product-card__actions button:hover,
.text-link:hover {
  color: var(--gold-700);
}

.retail-section {
  background: var(--green-950);
  color: #fff;
}

.retail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.retail-copy h2 {
  color: #fff;
}

.retail-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 2rem 0 0;
}

.spec-list div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.spec-list strong {
  display: block;
  color: #ffd98c;
  font-weight: 900;
}

.spec-list span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.84);
}

.gallery {
  min-width: 0;
}

.gallery__main {
  margin: 0;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.gallery__thumbs button {
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  padding: 0.35rem;
}

.gallery__thumbs button.is-active {
  border-color: #ffd98c;
}

.gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}

.cert-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cert-card--wide {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.cert-card__image {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.cert-card--wide .cert-card__image {
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.cert-card__image img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  padding: 1rem;
}

.cert-card__image--portrait {
  background: var(--paper);
}

.cert-card__body {
  padding: 1.35rem;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-700);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.logo-grid img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  filter: saturate(0.92);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mission-grid article {
  padding: 1.4rem;
}

.mission-grid [data-lucide] {
  width: 2rem;
  height: 2rem;
  color: var(--gold-700);
  margin-bottom: 1rem;
}

.mission-grid h2 {
  font-size: 1.45rem;
}

.mission-grid ul {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
}

.sales-section {
  background: var(--paper);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--green-950);
  padding: 6.5rem 0 5rem;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-position: center;
  background-size: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 36, 29, 0.66);
}

.detail-hero--senasica::before {
  background-image: url("/assets/img/certificaciones/senasica1.jpg");
}

.detail-hero--mexico::before {
  background-image: url("/assets/img/certificaciones/henmex1.jpg");
}

.detail-hero .container {
  position: relative;
  z-index: 1;
}

.detail-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3.25rem;
}

.detail-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.breadcrumb {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.5rem;
  color: #ffd98c;
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.document-viewer,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.document-viewer {
  margin: 0;
  overflow: hidden;
}

.document-viewer img {
  width: 100%;
  max-height: 780px;
  object-fit: contain;
  background: #fff;
}

.document-viewer--portrait img {
  max-height: 880px;
}

.detail-panel {
  padding: 1.5rem;
  position: sticky;
  top: 118px;
}

.detail-panel h2 {
  font-size: 2rem;
}

.detail-panel p {
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.detail-list div {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.detail-list strong {
  display: block;
  color: var(--green-900);
  font-weight: 900;
}

.detail-list span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.sales-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 2rem;
  align-items: center;
}

.sales-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 2rem;
}

.quote-panel {
  padding: 1.5rem;
  background: var(--green-950);
  color: #fff;
}

.quote-panel h3 {
  font-size: 1.65rem;
}

.quote-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.quote-panel .button {
  margin-top: 0.6rem;
  background: #fff;
  color: var(--green-900);
  border-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: start;
}

.contact-copy h2 {
  font-size: 2.25rem;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}

.contact-list [data-lucide] {
  color: var(--green-700);
}

.contact-list a {
  color: var(--green-800);
  font-weight: 900;
}

.copy-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--green-900);
  padding: 0.4rem 0.65rem;
  font-weight: 800;
}

.copy-button:hover {
  background: var(--green-100);
}

.map-frame {
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  padding: 1.4rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row--split {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-row--split > div {
  display: grid;
  gap: 0.4rem;
}

label {
  color: var(--green-950);
  font-weight: 900;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0.85rem 0.9rem;
}

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

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(45, 118, 88, 0.45);
}

.form-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 900;
}

.footer-brand img {
  width: 56px;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.25rem;
}

.footer-brand span,
.site-footer h2 {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.site-footer a,
.site-footer span {
  display: block;
  width: fit-content;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(11, 36, 29, 0.88);
}

.lightbox figure {
  width: min(1060px, 100%);
  max-height: 92vh;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
}

.lightbox figcaption {
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

table th {
  vertical-align: top;
}

@media (max-width: 1060px) {
  .hero h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.2rem;
  }

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

  .process-card {
    min-height: 240px;
  }

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

  .cert-grid,
  .cert-card--wide,
  .split,
  .retail-layout,
  .sales-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cert-card--wide .cert-card__image {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 78px;
  }

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

  .top-strip {
    display: none;
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand img {
    width: 48px;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
  }

  .brand span {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 44px;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0.8rem;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: var(--green-100);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.8rem;
    border-radius: 6px;
  }

  .nav-dropdown__trigger:hover {
    background: var(--green-100);
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    display: none;
    margin: 0 0 0.35rem;
    padding: 0 0 0 1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    display: grid;
  }

  .nav-dropdown__menu a {
    padding: 0.7rem 0.8rem;
  }

  .nav-cta {
    margin-top: 0.4rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__overlay {
    background: linear-gradient(0deg, rgba(11, 36, 29, 0.9), rgba(19, 63, 50, 0.55));
  }

  .hero__content {
    padding: 5rem 0 3rem;
  }

  .hero-proof {
    position: relative;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.55rem;
    max-width: 11ch;
  }

  .detail-hero h1 {
    font-size: 2.35rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__copy-stack {
    min-height: 400px;
  }

  .hero__actions,
  .section-heading--split,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__controls {
    display: flex;
    width: 100%;
    justify-content: center;
  }

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

  .hero-proof__grid div {
    padding: 0.8rem;
  }

  .section {
    padding: 4rem 0;
  }

  h2 {
    font-size: 1.95rem;
  }

  .feature-grid,
  .sales-points,
  .spec-list,
  .form-row--split {
    grid-template-columns: 1fr;
  }

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

  .contact-list li {
    grid-template-columns: auto 1fr;
  }

  .copy-button {
    grid-column: 2;
    width: fit-content;
  }
}

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

  .hero {
    min-height: auto;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.05rem;
  }

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

  .hero-proof__grid div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-proof__grid div:first-child {
    border-top: 0;
  }

  .product-card__actions {
    flex-direction: column;
  }

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

  .cert-card__image {
    min-height: 250px;
  }

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

  .lightbox {
    padding: 0.75rem;
  }
}

/* Adiciones para index.html (Alpine.js / Tailwind) */
[x-cloak] {
  display: none !important;
}

.lightbox-img {
  cursor: zoom-in;
}
