:root {
  --bg: #f5f8f4;
  --bg-soft: #e8f1ea;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(251, 253, 251, 0.96);
  --panel-accent: rgba(231, 242, 233, 0.94);
  --line: rgba(0, 129, 44, 0.11);
  --line-strong: rgba(0, 129, 44, 0.22);
  --text: #17100d;
  --muted: #5f6f63;
  --green: #00812c;
  --green-deep: #005f20;
  --green-soft: #dcecdf;
  --mint: #9cd0aa;
  --sage: #bfd7c5;
  --accent: #7db38d;
  --cream: #fdfefb;
  --shadow: 0 28px 68px rgba(17, 43, 22, 0.1);
  --shadow-soft: 0 16px 36px rgba(17, 43, 22, 0.06);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(156, 208, 170, 0.36), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(0, 129, 44, 0.09), transparent 18%),
    radial-gradient(circle at 82% 100%, rgba(191, 215, 197, 0.28), transparent 24%),
    linear-gradient(180deg, #f4f8f5 0%, #edf4ee 52%, #f9fbf8 100%);
  font-family: "Montserrat", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}

.halo-a {
  top: -120px;
  left: -100px;
  width: 340px;
  height: 340px;
  background: rgba(125, 179, 141, 0.26);
}

.halo-b {
  right: -110px;
  top: 140px;
  width: 260px;
  height: 260px;
  background: rgba(0, 129, 44, 0.12);
}

.mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 129, 44, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 129, 44, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 90%);
}

main,
.hero,
.footer {
  width: auto;
  max-width: none;
  margin-left: clamp(16px, 3vw, 40px);
  margin-right: clamp(16px, 3vw, 40px);
}

.hero {
  padding-top: 18px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition: background-color 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.brand img {
  height: 42px;
}

.nav-links,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-link.is-current {
  background: var(--green-soft);
  color: var(--green-deep);
}
.nav-links {
  margin-left: auto;
}

.topbar-actions {
  margin-left: 14px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a.is-current {
  color: var(--green-deep);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-contact a:hover,
.footer-links a:hover {
  color: var(--green-deep);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav-cta:hover,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-panel,
.section,
.footer {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 24px;
  align-items: stretch;
}

.eyebrow,
.section-tag,
.card-tag,
.image-label {
  margin: 0;
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
.hero-visual h2,
.section h2,
.footer-contact h2 {
  font-family: "DM Serif Display", serif;
  letter-spacing: -0.03em;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
.visual-copy h2,
.section-copy > h2,
.line-spotlight-copy h3,
.image-card-copy h3,
.representation-intro h3,
.helper-card h3,
.ally-panel h2,
.lead-copy > h2 {
  text-wrap: balance;
  letter-spacing: -0.034em;
}

h1 {
  max-width: 10.8ch;
  margin-top: 12px;
  font-size: clamp(3rem, 2.35rem + 2.4vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.042em;
}

.visual-copy h2,
.section-copy > h2,
.line-spotlight-copy h3,
.image-card-copy h3,
.representation-intro h3,
.helper-card h3,
.ally-panel h2,
.lead-copy > h2 {
  max-width: 14.6ch;
  line-height: 1.03;
}

.helper-card h3 {
  width: min(100%, 13.6ch);
  max-width: 13.6ch;
  font-size: clamp(1.85rem, 1.55rem + 0.7vw, 2.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-text,
.section-header p,
.section-copy p,
.purpose-card p,
.workflow-card p,
.coverage-card p,
.coverage-band p,
.line-detail-card p,
.representation-card p,
.representation-intro p,
.faq-item p,
.lead-copy p,
.helper-card p,
.ally-panel p,
.footer-brand p,
.footer-contact p,
.footer-note,
.form-status {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 39rem;
  margin-top: 20px;
  font-size: 1.05rem;
}

.hero-rotator-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  font-size: 1rem;
  font-weight: 600;
}

.hero-rotator-line strong {
  color: var(--green-deep);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.metric-card,
.visual-note,
.visual-chip,
.purpose-card,
.workflow-card,
.coverage-card,
.coverage-band,
.line-detail-card,
.representation-intro,
.representation-card,
.faq-item,
.helper-card,
.ally-panel,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.metric-card {
  padding: 20px;
}

.metric-card p {
  line-height: 1.55;
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 1.4rem;
  font-weight: 800;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.visual-main {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.visual-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10.8;
  object-fit: cover;
}

.visual-side-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: 18px;
}

.visual-brand-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.visual-brandmark {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 238, 0.96));
  border: 1px solid rgba(0, 129, 44, 0.1);
}

.visual-brandmark img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: auto;
  object-fit: contain;
}

.visual-brand-card h3 {
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: center;
}

.visual-copy {
  width: min(100%, 31rem);
  padding: 22px;
  display: grid;
  align-content: start;
}

.visual-copy h2 {
  margin-top: 8px;
  max-width: 10.6ch;
  font-size: clamp(1.9rem, 1.55rem + 1.1vw, 2.65rem);
  text-wrap: balance;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.visual-stack {
  display: grid;
  gap: 18px;
}

.visual-note {
  padding: 22px;
}

.fact-list {
  padding-left: 18px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.visual-chip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
}

.visual-chip span,
.signal-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  position: relative;
}

.section-header {
  margin-bottom: 24px;
}

.section h2,
.footer-contact h2 {
  margin-top: 8px;
  font-size: clamp(2.25rem, 1.8rem + 1.65vw, 3.65rem);
  line-height: 0.98;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-media {
  display: grid;
  gap: 18px;
}

.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.image-card-copy {
  padding: 20px;
}

.image-card-copy h3 {
  margin-top: 8px;
  font-size: 1.3rem;
  line-height: 1.25;
}

.image-card-offset {
  transform: translateX(32px);
}

.purpose-grid,
.workflow-grid,
.coverage-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.purpose-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.purpose-card,
.workflow-card,
.coverage-card,
.faq-item,
.representation-card {
  padding: 24px;
}

.purpose-icon {
  width: 72px;
  height: 72px;
}

.purpose-card h3,
.coverage-band h3,
.representation-intro h3,
.representation-card h3,
.faq-item h3,
.helper-card h3,
.ally-panel h2 {
  margin: 12px 0;
}

.purpose-card-accent {
  background: linear-gradient(180deg, rgba(0, 129, 44, 0.08), rgba(0, 129, 44, 0.02)), #ffffff;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-card span,
.coverage-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 800;
}

.workflow-card h3,
.coverage-card h3 {
  margin: 14px 0 10px;
}

.coverage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coverage-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  margin-top: 18px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 95, 32, 0.96), rgba(0, 129, 44, 0.84));
  border-color: rgba(255, 255, 255, 0.12);
}

.coverage-band .section-tag,
.coverage-band h3,
.coverage-band p {
  color: #f4faf5;
}

.home-line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.line-detail-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  height: 100%;
}

.line-detail-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
}

.line-detail-card h3 {
  margin: 8px 0 10px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.line-detail-card-wide {
  grid-column: auto;
}

.representation-layout,
.lead-lab,
.footer-main {
  display: grid;
  gap: 18px;
}

.hero-copy,
.section-copy,
.about-media,
.representation-intro,
.representation-list,
.lead-copy,
.lead-form,
.footer-brand,
.footer-contact,
.footer-links,
.line-spotlight-copy,
.visual-main,
.visual-note,
.visual-brand-card {
  min-width: 0;
}

.representation-layout {
  grid-template-columns: 0.95fr 1.05fr;
}

.representation-intro,
.helper-card,
.ally-panel {
  padding: 24px;
}

.representation-list {
  display: grid;
  gap: 18px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 129, 44, 0.08);
  color: var(--green-deep);
  font-size: 1.15rem;
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(0, 95, 32, 0.08);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--green-deep);
}

.lead-lab {
  grid-template-columns: 0.95fr 1.05fr;
}

.helper-card,
.ally-panel {
  margin-top: 22px;
}

.ally-panel {
  background: linear-gradient(135deg, rgba(0, 95, 32, 0.96), rgba(0, 129, 44, 0.88));
  border-color: rgba(255, 255, 255, 0.12);
}

.ally-panel .section-tag,
.ally-panel h2,
.ally-panel p {
  color: #f5fbf6;
}

.ally-panel .section-tag {
  color: #d8efe0;
}

.lead-form {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.consent span {
  color: var(--text);
  font-weight: 600;
}

.field-full {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: rgba(13, 113, 55, 0.46);
  box-shadow: 0 0 0 4px rgba(13, 113, 55, 0.12);
}

.consent {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 16px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
}

.footer {
  margin-bottom: 26px;
}

.footer-main {
  grid-template-columns: 1.05fr 0.9fr 0.8fr;
}

.footer-brand img {
  height: 44px;
  margin-bottom: 18px;
}

.footer-contact,
.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--muted);
  font-weight: 600;
}

.footer-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 110px;
  z-index: 70;
  cursor: pointer;
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1bc45a, #0d8a38);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(11, 101, 43, 0.3);
  isolation: isolate;
}

.whatsapp-float::before {
  content: "";
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M19.11 17.23c-.28-.14-1.63-.8-1.88-.9-.25-.09-.43-.14-.62.14-.18.28-.71.9-.87 1.08-.16.19-.31.21-.59.07-.28-.14-1.16-.43-2.22-1.39-.82-.73-1.37-1.64-1.53-1.92-.16-.28-.02-.43.12-.57.13-.13.28-.33.42-.5.14-.16.18-.28.28-.47.09-.19.05-.35-.02-.49-.07-.14-.62-1.5-.85-2.05-.22-.53-.45-.45-.62-.46h-.53c-.19 0-.49.07-.75.35s-.98.96-.98 2.34c0 1.39 1.01 2.73 1.15 2.92.14.19 1.98 3.03 4.79 4.24.67.29 1.19.46 1.6.59.67.21 1.28.18 1.77.11.54-.08 1.63-.67 1.86-1.31.23-.64.23-1.19.16-1.31-.07-.11-.25-.18-.53-.33Z'/%3E%3Cpath fill='%23fff' d='M16.02 3.2c-6.96 0-12.61 5.64-12.61 12.58 0 2.22.58 4.39 1.69 6.31L3.2 28.8l6.9-1.8a12.67 12.67 0 0 0 5.92 1.5h.01c6.95 0 12.6-5.64 12.6-12.58 0-3.36-1.31-6.52-3.69-8.89A12.55 12.55 0 0 0 16.02 3.2Zm0 23.17h-.01c-1.84 0-3.65-.5-5.22-1.44l-.37-.22-4.09 1.07 1.09-3.98-.24-.4a10.45 10.45 0 0 1-1.61-5.61c0-5.77 4.69-10.46 10.47-10.46 2.8 0 5.42 1.09 7.39 3.06a10.38 10.38 0 0 1 3.07 7.39c0 5.77-4.7 10.46-10.48 10.46Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

@media (max-width: 1100px) {
  .home-line-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-panel,
  .about,
  .representation-layout,
  .lead-lab,
  .footer-main,
  .coverage-band {
    grid-template-columns: 1fr;
  }

  .purpose-grid,
  .workflow-grid,
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.image-card-offset {
    transform: none;
  }
}

@media (max-width: 860px) {
  .home-line-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: flex;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .hero-metrics,
  .purpose-grid,
  .workflow-grid,
  .coverage-grid,
  .faq-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  
}

@media (max-width: 640px) {
  main,
  .hero,
  .footer {
    margin-left: 10px;
    margin-right: 10px;
  }

  .hero-panel,
  .section,
  .footer {
    padding: 22px;
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }

  .section h2,
  .footer-contact h2,
  .visual-copy h2,
  .ally-panel h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .topbar {
    top: 10px;
    padding: 14px 16px;
  }

  .brand img {
    height: 36px;
  }
}



.home-line-grid .line-detail-card {
  align-items: stretch;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.home-line-grid .line-detail-card img {
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, outline-color 0.22s ease, opacity 0.22s ease;
  outline: 3px solid transparent;
}

.home-line-grid .line-detail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 129, 44, 0.24);
}

.home-line-grid .line-detail-card:hover img {
  transform: scale(1.02);
}

.home-line-grid .line-detail-card.is-active {
  border-color: rgba(0, 129, 44, 0.34);
  background: linear-gradient(135deg, rgba(220, 236, 223, 0.76), rgba(255, 255, 255, 0.96));
  box-shadow: 0 18px 42px rgba(0, 95, 32, 0.14);
}

.home-line-grid .line-detail-card.is-active img {
  outline-color: rgba(0, 129, 44, 0.38);
  box-shadow: 0 14px 30px rgba(0, 95, 32, 0.18);
  transform: scale(1.03);
}

.home-line-grid .line-detail-card.is-active .section-tag {
  color: var(--green);
}

.home-line-grid .line-detail-card.is-active h3 {
  color: var(--green-deep);
}




.line-carousel {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.line-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.line-carousel-kicker {
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.line-carousel-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.line-carousel-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-deep);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.line-carousel-button:hover,
.line-carousel-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 129, 44, 0.4);
  background: #ffffff;
}

.line-skew-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 31.5%);
  gap: 20px;
  align-items: stretch;
  overflow-x: auto;
  padding: 8px 4px 18px;
  margin: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 95, 32, 0.24) transparent;
}

.line-skew-grid::-webkit-scrollbar {
  height: 8px;
}

.line-skew-grid::-webkit-scrollbar-track {
  background: transparent;
}

.line-skew-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 95, 32, 0.18);
}

.line-skew-card {
  position: relative;
  height: auto;
  min-height: 0;
  aspect-ratio: 10 / 11;
  padding: 0;
  border: 1px solid rgba(18, 56, 77, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 246, 0.92));
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  box-shadow: 0 16px 32px rgba(17, 43, 22, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.line-skew-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

.line-skew-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transform-origin: center;
  filter: saturate(1.03) contrast(1.01);
}

.line-skew-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 12, 0.03) 0%, rgba(7, 18, 12, 0.1) 54%, rgba(7, 18, 12, 0.56) 100%);
  transition: opacity 0.24s ease;
  border-radius: inherit;
}

.line-skew-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: #f8fffb;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  text-shadow: 0 2px 10px rgba(8, 25, 37, 0.6);
}

.line-skew-card:hover,
.line-skew-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 95, 32, 0.18);
  box-shadow: 0 22px 38px rgba(17, 43, 22, 0.1);
}

.line-skew-card.is-active {
  border-color: rgba(0, 129, 44, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 246, 0.98));
  box-shadow: 0 24px 44px rgba(0, 95, 32, 0.14);
}

.line-skew-card.is-active::before {
  border-color: rgba(255, 255, 255, 0.72);
}

.line-skew-card.is-active::after {
  opacity: 1;
}

.line-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.line-spotlight img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}

.line-spotlight-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  max-width: 34rem;
}

.line-spotlight-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.65rem, 1.4rem + 0.95vw, 2.2rem);
  max-width: 16ch;
  line-height: 1.04;
}

.line-spotlight-copy p:last-child {
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .line-skew-grid {
    grid-auto-columns: minmax(300px, 46%);
  }

  .visual-side-grid {
    grid-template-columns: 1fr;
  }

  .line-spotlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .line-skew-grid {
    grid-auto-columns: minmax(260px, 72%);
  }

  .line-skew-card {
    aspect-ratio: 10 / 11;
  }
}

@media (max-width: 640px) {
  .line-skew-grid {
    grid-auto-columns: minmax(240px, 86%);
    gap: 14px;
  }

  .line-skew-card {
    aspect-ratio: 10 / 11;
  }

  .line-spotlight img {
    min-height: 0;
  }
}









body.has-policy-modal {
  overflow: hidden;
}

.consent-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(251, 253, 251, 0.96);
  box-shadow: 0 26px 54px rgba(17, 43, 22, 0.18);
  backdrop-filter: blur(14px);
}

.consent-banner.is-hidden {
  display: none;
}

.consent-banner-tag {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.consent-banner-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.consent-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.consent-link,
.policy-close {
  border: 0;
  background: transparent;
  color: var(--green-deep);
  font-weight: 700;
  cursor: pointer;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.policy-modal.is-open {
  display: block;
}

.policy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 13, 0.5);
  backdrop-filter: blur(6px);
}

.policy-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  background: #f9fcf9;
  box-shadow: 0 28px 68px rgba(17, 43, 22, 0.22);
}

.policy-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
}

.policy-dialog-head h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.policy-intro,
.policy-card p,
.policy-status {
  color: var(--muted);
  line-height: 1.7;
}

.policy-intro {
  margin-top: 16px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.policy-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.policy-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.policy-card-wide {
  grid-column: 1 / -1;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.policy-status {
  margin: 16px 0 0;
}

@media (max-width: 860px) {
  .consent-banner {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .consent-banner-actions {
    justify-content: flex-start;
  }

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

  .policy-dialog {
    width: min(100vw - 20px, 920px);
    padding: 22px;
  }
}





.section-copy > .section-tag {
  margin-bottom: 14px;
}

.section-copy > h2 {
  margin-bottom: 16px;
  max-width: 14ch;
  line-height: 1.02;
}

.section-copy > p + p {
  margin-top: 6px;
}

.form-status[data-state="progress"] {
  color: var(--green-deep);
}

.form-status[data-state="success"] {
  color: #0d7c42;
}

.form-status[data-state="warning"] {
  color: #9a6500;
}

.lead-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.policy-page {
  padding-top: 140px;
}

.policy-page .section {
  padding-top: 24px;
}

.policy-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: start;
}

.policy-summary,
.policy-document {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  padding: clamp(26px, 3vw, 38px);
}

.policy-summary {
  position: sticky;
  top: 108px;
  overflow: hidden;
}

.policy-summary::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 208, 170, 0.28), rgba(156, 208, 170, 0));
  pointer-events: none;
}

.policy-summary h1 {
  max-width: 10ch;
  margin: 12px 0 14px;
  font-size: clamp(3.1rem, 5.6vw, 5.4rem);
  line-height: 0.92;
  text-wrap: balance;
}

.policy-summary p {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.policy-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.policy-summary-list article {
  position: relative;
  min-height: 100%;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(236, 245, 237, 0.95), rgba(247, 251, 248, 0.98));
  border: 1px solid rgba(0, 129, 44, 0.08);
}

.policy-summary-list h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.policy-summary-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.policy-document {
  min-height: 520px;
  display: grid;
  gap: 18px;
}

.policy-document-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-end;
}

.policy-document-head h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.policy-document-frame {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8faf7;
}

.policy-article {
  align-content: start;
}

.policy-richtext {
  display: grid;
  gap: 18px;
  color: var(--text);
}

.policy-richtext section {
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(246, 250, 246, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(15, 95, 53, 0.08);
}

.policy-richtext h3 {
  margin: 0 0 12px;
  font-size: clamp(1.18rem, 1.75vw, 1.48rem);
  line-height: 1.15;
}

.policy-richtext p {
  margin: 0;
  color: #47584a;
  font-size: 0.98rem;
  line-height: 1.78;
}

.policy-richtext p + p {
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .policy-hero {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    position: relative;
    top: auto;
  }

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

@media (max-width: 980px) {
  .policy-document-frame {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .topbar {
    gap: 12px;
    padding: 12px 14px;
  }

  .topbar-actions {
    gap: 10px;
  }

  .lang-switch {
    padding: 3px;
  }

  .lang-link {
    min-width: 34px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.74rem;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 18px;
  }

  .hero-panel {
    gap: 18px;
  }

  .hero-copy,
  .lead-copy,
  .section-copy,
  .section-header {
    max-width: 100%;
  }

  .hero-actions,
  .form-actions,
  .policy-links {
    flex-direction: column;
  }

  .hero-actions .button,
  .form-actions .button,
  .policy-links .button {
    width: 100%;
  }

  .hero-metrics {
    gap: 12px;
    margin-top: 24px;
  }

  .metric-card,
  .purpose-card,
  .workflow-card,
  .coverage-card,
  .faq-item,
  .representation-card,
  .representation-intro,
  .helper-card,
  .ally-panel,
  .lead-form,
  .visual-note,
  .visual-chip,
  .coverage-band {
    padding: 18px;
  }

  .visual-copy,
  .image-card-copy {
    padding: 18px;
  }

  .visual-main img,
  .image-card img,
  .line-spotlight img {
    aspect-ratio: 4 / 3;
  }

  .signal-row span,
  .visual-chip span {
    min-height: 36px;
    font-size: 0.86rem;
  }

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

  .policy-summary,
  .policy-document {
    padding: 24px;
  }

  .policy-summary h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 9vw, 4.2rem);
  }

  .policy-document-head {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 10px;
    padding: 12px;
  }

  .brand img {
    height: 32px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero-panel,
  .section,
  .footer {
    padding: 18px;
    border-radius: 24px;
  }

  h1 {
    margin-top: 10px;
    font-size: clamp(2.5rem, 14vw, 4rem);
    line-height: 0.96;
  }

  .section h2,
  .footer-contact h2,
  .visual-copy h2,
  .ally-panel h2,
  .policy-dialog-head h2,
  .policy-document-head h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
    line-height: 1.02;
  }

  .hero-text,
  .section-header p,
  .section-copy p,
  .purpose-card p,
  .workflow-card p,
  .coverage-card p,
  .coverage-band p,
  .representation-card p,
  .representation-intro p,
  .faq-item p,
  .lead-copy p,
  .helper-card p,
  .ally-panel p,
  .footer-brand p,
  .footer-contact p,
  .footer-note,
  .form-status,
  .consent-banner-copy p:last-child,
  .policy-intro,
  .policy-card p,
  .policy-status,
  .policy-summary p,
  .policy-richtext p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero-metrics {
    margin-top: 20px;
  }

  .metric-value {
    font-size: 1.2rem;
  }

  .metric-card,
  .purpose-card,
  .workflow-card,
  .coverage-card,
  .faq-item,
  .representation-card,
  .representation-intro,
  .helper-card,
  .ally-panel,
  .lead-form,
  .visual-note,
  .visual-chip,
  .coverage-band,
  .policy-card,
  .policy-summary-list article,
  .policy-richtext section {
    padding: 16px;
  }

  .visual-copy,
  .image-card-copy {
    padding: 16px;
  }

  .purpose-icon {
    width: 60px;
    height: 60px;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .consent {
    align-items: flex-start;
  }

  .consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 20px;
  }

  .consent-banner-actions {
    gap: 8px;
  }

  .policy-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    padding: 18px;
    border-radius: 22px;
  }

  .policy-dialog-head {
    flex-direction: column;
    align-items: stretch;
  }

  .policy-close,
  .consent-link {
    align-self: flex-start;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 124px;
    font-size: 0.9rem;
  }

  .policy-page {
    padding-top: 112px;
  }

  .policy-page .section {
    padding-top: 14px;
  }

  .policy-summary h1 {
    font-size: clamp(2.5rem, 13vw, 3.7rem);
  }
}

body[data-page="inicio"] {
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 129, 44, 0.14), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(0, 95, 32, 0.09), transparent 18%),
    linear-gradient(180deg, #f2f7f3 0%, #e8f0ea 46%, #f8fbf8 100%);
}

body[data-page="inicio"] .topbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 248, 0.88));
  border-color: rgba(0, 95, 32, 0.12);
  box-shadow: 0 20px 40px rgba(17, 43, 22, 0.08);
}

body[data-page="inicio"] .nav-links a {
  position: relative;
  padding-bottom: 2px;
}

body[data-page="inicio"] .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(0, 129, 44, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

body[data-page="inicio"] .nav-links a:hover::after,
body[data-page="inicio"] .nav-links a:focus-visible::after,
body[data-page="inicio"] .nav-links a.is-current::after {
  transform: scaleX(1);
}

body[data-page="inicio"] .hero-panel {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 18px;
  align-items: stretch;
  border-color: rgba(0, 95, 32, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 246, 0.95) 48%, rgba(232, 241, 234, 0.92) 100%);
  box-shadow:
    0 30px 80px rgba(17, 43, 22, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body[data-page="inicio"] .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 160px;
  background:
    linear-gradient(90deg, rgba(0, 129, 44, 0.12), rgba(0, 95, 32, 0.02) 54%, transparent 100%);
  pointer-events: none;
}

body[data-page="inicio"] .hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-right: 12px;
}

body[data-page="inicio"] h1 {
  max-width: 11.2ch;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.04em;
}

body[data-page="inicio"] .hero-text {
  max-width: 44rem;
  color: #516257;
}

body[data-page="inicio"] .hero-rotator-line {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 95, 32, 0.12);
  color: #4f6355;
}

body[data-page="inicio"] .hero-metrics {
  margin-top: auto;
  padding-top: 24px;
  gap: 16px;
}

body[data-page="inicio"] .metric-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  border-color: rgba(0, 95, 32, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 245, 0.94));
}

body[data-page="inicio"] .metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--green), var(--mint));
}

body[data-page="inicio"] .metric-value {
  font-size: 1.75rem;
}

body[data-page="inicio"] .hero-visual {
  position: relative;
  z-index: 1;
}

body[data-page="inicio"] .visual-main,
body[data-page="inicio"] .visual-note,
body[data-page="inicio"] .visual-brand-card,
body[data-page="inicio"] .visual-chip,
body[data-page="inicio"] .purpose-card,
body[data-page="inicio"] .workflow-card,
body[data-page="inicio"] .coverage-card,
body[data-page="inicio"] .faq-item,
body[data-page="inicio"] .representation-card,
body[data-page="inicio"] .representation-intro,
body[data-page="inicio"] .helper-card,
body[data-page="inicio"] .ally-panel,
body[data-page="inicio"] .lead-form,
body[data-page="inicio"] .line-spotlight,
body[data-page="inicio"] .coverage-band,
body[data-page="inicio"] .image-card {
  box-shadow:
    0 20px 36px rgba(17, 43, 22, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="inicio"] .visual-main {
  border-color: rgba(0, 95, 32, 0.12);
}

body[data-page="inicio"] .visual-main img {
  aspect-ratio: 1 / 1.08;
}

body[data-page="inicio"] .visual-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 244, 0.96));
}

body[data-page="inicio"] .visual-side-grid {
  gap: 16px;
}

body[data-page="inicio"] .visual-note,
body[data-page="inicio"] .visual-brand-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 244, 0.95));
}

body[data-page="inicio"] .visual-brandmark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(233, 242, 235, 0.96));
}

body[data-page="inicio"] .visual-chip {
  background:
    linear-gradient(135deg, rgba(0, 95, 32, 0.95), rgba(0, 129, 44, 0.84));
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-page="inicio"] .visual-chip span {
  background: rgba(255, 255, 255, 0.12);
  color: #f4fbf5;
}

body[data-page="inicio"] .section {
  border-color: rgba(0, 95, 32, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 248, 0.94));
}

body[data-page="inicio"] .section-header {
  max-width: 860px;
}

body[data-page="inicio"] .section-header h2,
body[data-page="inicio"] .section-copy h2 {
  text-wrap: balance;
}

body[data-page="inicio"] .about {
  align-items: stretch;
}

body[data-page="inicio"] .image-card {
  height: 100%;
}

body[data-page="inicio"] .image-card img {
  aspect-ratio: 16 / 12;
}

body[data-page="inicio"] .signal-row span {
  background: linear-gradient(180deg, #eff6f0, #deebe0);
}

body[data-page="inicio"] .purpose-card,
body[data-page="inicio"] .workflow-card,
body[data-page="inicio"] .coverage-card,
body[data-page="inicio"] .faq-item,
body[data-page="inicio"] .representation-card {
  position: relative;
  overflow: hidden;
}

body[data-page="inicio"] .purpose-card::before,
body[data-page="inicio"] .workflow-card::before,
body[data-page="inicio"] .coverage-card::before,
body[data-page="inicio"] .faq-item::before,
body[data-page="inicio"] .representation-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-deep), var(--mint));
}

body[data-page="inicio"] .purpose-card-accent {
  background:
    linear-gradient(180deg, rgba(0, 129, 44, 0.12), rgba(0, 129, 44, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 246, 0.96));
}

body[data-page="inicio"] .coverage-band,
body[data-page="inicio"] .ally-panel,
body[data-page="inicio"] .representation-intro {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(0, 95, 32, 0.98), rgba(0, 129, 44, 0.86));
}

body[data-page="inicio"] .line-skew-grid {
  gap: 16px;
}

body[data-page="inicio"] .line-skew-card {
  border-width: 1px;
  box-shadow: 0 18px 30px rgba(17, 43, 22, 0.08);
}

body[data-page="inicio"] .line-skew-card.is-active {
  box-shadow: 0 28px 36px rgba(17, 43, 22, 0.14);
}

body[data-page="inicio"] .line-spotlight {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 245, 0.95));
}

body[data-page="inicio"] .lead-lab {
  background:
    linear-gradient(135deg, rgba(247, 250, 247, 0.96) 0%, rgba(234, 241, 235, 0.94) 100%);
}

body[data-page="inicio"] .lead-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 246, 0.96));
}

body[data-page="inicio"] .field input,
body[data-page="inicio"] .field select,
body[data-page="inicio"] .field textarea {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 2px rgba(17, 43, 22, 0.04);
}

body[data-page="inicio"] .footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 245, 0.94));
}

@media (max-width: 860px) {
  body[data-page="inicio"] .hero-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="inicio"] .hero-metrics {
    margin-top: 24px;
    padding-top: 0;
  }

  body[data-page="inicio"] h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 9vw, 3.5rem);
  }

  body[data-page="inicio"] .hero-panel::before {
    height: 110px;
  }
}

@media (max-width: 640px) {
  body[data-page="inicio"] .hero-panel,
  body[data-page="inicio"] .section,
  body[data-page="inicio"] .footer {
    box-shadow: 0 18px 30px rgba(17, 43, 22, 0.08);
  }

  body[data-page="inicio"] .metric-card {
    min-height: 0;
  }

  body[data-page="inicio"] h1 {
    font-size: clamp(2.1rem, 8.6vw, 2.9rem);
  }
}

/* Homepage premium refresh */
body[data-page="inicio"] {
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 129, 44, 0.12), transparent 18%),
    radial-gradient(circle at 100% 0%, rgba(9, 66, 52, 0.08), transparent 20%),
    linear-gradient(180deg, #f5f8f5 0%, #edf3ef 42%, #f8fbf8 100%);
}

body[data-page="inicio"] .hero,
body[data-page="inicio"] main,
body[data-page="inicio"] .footer {
  margin-left: clamp(16px, 2.6vw, 34px);
  margin-right: clamp(16px, 2.6vw, 34px);
}

body[data-page="inicio"] .topbar {
  gap: 24px;
  padding: 14px 18px;
  border-radius: 22px;
  border-color: rgba(12, 57, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(15, 38, 22, 0.08);
}

body[data-page="inicio"] .topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(15, 38, 22, 0.12);
}

body[data-page="inicio"] .brand img {
  height: 44px;
}

body[data-page="inicio"] .nav-links {
  gap: 24px;
}

body[data-page="inicio"] .nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #506255;
}

body[data-page="inicio"] .topbar-actions {
  gap: 12px;
}

body[data-page="inicio"] .lang-switch {
  background: rgba(245, 249, 246, 0.95);
  border-color: rgba(12, 57, 42, 0.12);
}

body[data-page="inicio"] .lang-link {
  min-width: 38px;
  min-height: 34px;
}

body[data-page="inicio"] .nav-cta,
body[data-page="inicio"] .button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
}

body[data-page="inicio"] .nav-cta {
  background: linear-gradient(135deg, #0d5a2d, #0a4125);
  box-shadow: 0 16px 30px rgba(11, 65, 37, 0.2);
}

body[data-page="inicio"] .button-primary {
  background: linear-gradient(135deg, #0f6b36, #0b4e2a);
  box-shadow: 0 14px 28px rgba(11, 65, 37, 0.16);
}

body[data-page="inicio"] .button-secondary {
  border-color: rgba(11, 65, 37, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #123325;
}

body[data-page="inicio"] .button:hover,
body[data-page="inicio"] .button:focus-visible,
body[data-page="inicio"] .nav-cta:hover,
body[data-page="inicio"] .nav-cta:focus-visible {
  transform: translateY(-2px);
}

body[data-page="inicio"] .hero-panel {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 28px;
  padding: 28px;
  border-radius: 34px;
  border-color: rgba(12, 57, 42, 0.09);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 246, 0.97) 52%, rgba(232, 240, 235, 0.95) 100%);
  box-shadow:
    0 34px 80px rgba(16, 38, 24, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body[data-page="inicio"] .hero-panel::before {
  height: 190px;
  background:
    linear-gradient(90deg, rgba(0, 129, 44, 0.1), rgba(0, 95, 32, 0.02) 48%, transparent 100%);
}

body[data-page="inicio"] .hero-copy {
  max-width: 36rem;
  padding-right: 0;
}

body[data-page="inicio"] .eyebrow {
  color: #0f5a35;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

body[data-page="inicio"] h1 {
  max-width: 10.1ch;
  margin-top: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.95rem, 2.35rem + 1.7vw, 4.15rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.048em;
}

body[data-page="inicio"] .hero-text {
  max-width: 34rem;
  margin-top: 20px;
  color: #4f6155;
  font-size: 1.04rem;
}

body[data-page="inicio"] .hero-rotator-line {
  margin-top: 24px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(12, 57, 42, 0.1);
  color: #4d6154;
}

body[data-page="inicio"] .hero-rotator-line strong {
  color: #0c5e33;
}

body[data-page="inicio"] .hero-actions {
  gap: 12px;
  margin-top: 26px;
}

body[data-page="inicio"] .hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}

body[data-page="inicio"] .metric-card {
  min-height: 0;
  padding: 20px 22px;
  border-radius: 22px;
  border-color: rgba(12, 57, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 245, 0.95));
  box-shadow: 0 16px 32px rgba(17, 43, 22, 0.05);
}

body[data-page="inicio"] .metric-card::before {
  width: 5px;
  background: linear-gradient(180deg, #0e8a3b, #7cc497);
}

body[data-page="inicio"] .metric-value {
  margin-bottom: 10px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

body[data-page="inicio"] .metric-card p {
  color: #4d5f53;
  line-height: 1.5;
}

body[data-page="inicio"] .hero-visual {
  min-width: 0;
  gap: 20px;
}

body[data-page="inicio"] .visual-main,
body[data-page="inicio"] .visual-note,
body[data-page="inicio"] .visual-brand-card,
body[data-page="inicio"] .visual-chip,
body[data-page="inicio"] .purpose-card,
body[data-page="inicio"] .representation-card,
body[data-page="inicio"] .representation-intro,
body[data-page="inicio"] .helper-card,
body[data-page="inicio"] .ally-panel,
body[data-page="inicio"] .lead-form,
body[data-page="inicio"] .line-spotlight,
body[data-page="inicio"] .image-card {
  box-shadow:
    0 18px 44px rgba(17, 43, 22, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body[data-page="inicio"] .visual-main {
  border-radius: 28px;
  border-color: rgba(12, 57, 42, 0.1);
}

body[data-page="inicio"] .visual-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10.5;
}

body[data-page="inicio"] .visual-copy {
  padding: 24px 26px 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 245, 0.96));
}

body[data-page="inicio"] .visual-side-grid {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
}

body[data-page="inicio"] .visual-note,
body[data-page="inicio"] .visual-brand-card {
  border-radius: 24px;
}

body[data-page="inicio"] .visual-note {
  padding: 24px;
}

body[data-page="inicio"] .fact-list {
  margin-top: 16px;
  padding-left: 20px;
  color: #536557;
}

body[data-page="inicio"] .fact-list li + li {
  margin-top: 8px;
}

body[data-page="inicio"] .visual-brand-card {
  align-content: start;
  padding: 18px;
}

body[data-page="inicio"] .visual-brandmark {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 243, 237, 0.94));
}

body[data-page="inicio"] .visual-brand-card h3 {
  text-align: left;
  font-size: 1rem;
}

body[data-page="inicio"] .visual-chip {
  justify-content: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(11, 77, 42, 0.98), rgba(17, 130, 67, 0.9));
}

body[data-page="inicio"] .visual-chip span {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(246, 251, 247, 0.92);
  color: #0f5a35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="inicio"] .section {
  padding: 42px;
  border-radius: 32px;
  border-color: rgba(12, 57, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(17, 43, 22, 0.06);
}

body[data-page="inicio"] .section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

body[data-page="inicio"] .section-tag,
body[data-page="inicio"] .card-tag,
body[data-page="inicio"] .image-label {
  color: #0f5a35;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}

body[data-page="inicio"] .section h2 {
  margin-top: 10px;
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  line-height: 1;
}

body[data-page="inicio"] .about {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 30px;
  align-items: center;
}

body[data-page="inicio"] .section-copy > h2 {
  max-width: 12.1ch;
  letter-spacing: -0.042em;
}

body[data-page="inicio"] .section-copy > p + p {
  margin-top: 10px;
}

body[data-page="inicio"] .signal-row {
  gap: 12px;
  margin-top: 28px;
}

body[data-page="inicio"] .signal-row span {
  min-height: 40px;
  padding: 0 16px;
  background: linear-gradient(180deg, #eef6f0, #dfece2);
}

body[data-page="inicio"] .image-card {
  border-radius: 28px;
  overflow: hidden;
}

body[data-page="inicio"] .image-card img {
  aspect-ratio: 4 / 3;
}

body[data-page="inicio"] .image-card-copy {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 245, 0.96));
}

body[data-page="inicio"] .image-card-copy h3 {
  max-width: 13.9ch;
  font-size: 1.45rem;
  line-height: 1.08;
}

body[data-page="inicio"] .purpose-grid {
  gap: 20px;
}

body[data-page="inicio"] .purpose-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 100%;
  padding: 26px;
  border-radius: 26px;
  border-color: rgba(12, 57, 42, 0.08);
}

body[data-page="inicio"] .purpose-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #0b5a2f, rgba(124, 196, 151, 0.85));
}

body[data-page="inicio"] .purpose-icon {
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(232, 242, 234, 0.95), rgba(246, 249, 246, 0.98));
  border: 1px solid rgba(12, 57, 42, 0.08);
}

body[data-page="inicio"] .purpose-card h3 {
  margin: 10px 0 6px;
  font-size: 1.35rem;
  line-height: 1.15;
}

body[data-page="inicio"] .purpose-card p:not(.section-tag) {
  color: #556759;
}

body[data-page="inicio"] .purpose-card-accent {
  background:
    linear-gradient(180deg, rgba(241, 248, 243, 0.98), rgba(255, 255, 255, 0.98));
}

body[data-page="inicio"] .line-carousel {
  gap: 18px;
}

body[data-page="inicio"] .line-carousel-head {
  align-items: flex-end;
}

body[data-page="inicio"] .line-carousel-kicker {
  color: #0f5a35;
  font-size: 0.78rem;
}

body[data-page="inicio"] .line-carousel-button {
  width: 44px;
  height: 44px;
  border-color: rgba(12, 57, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(17, 43, 22, 0.06);
}

body[data-page="inicio"] .line-skew-grid {
  grid-auto-columns: minmax(290px, 31.5%);
  gap: 22px;
  padding: 6px 4px 20px;
  margin: 0;
}

body[data-page="inicio"] .line-skew-card {
  height: clamp(268px, 24vw, 330px);
  border-radius: 26px;
}

body[data-page="inicio"] .line-skew-image {
  transform: scale(1.01);
}

body[data-page="inicio"] .line-skew-card:hover,
body[data-page="inicio"] .line-skew-card:focus-visible {
  transform: translateY(-5px);
}

body[data-page="inicio"] .line-skew-card.is-active {
  border-color: rgba(13, 113, 55, 0.92);
  box-shadow: 0 22px 38px rgba(17, 43, 22, 0.12);
}

body[data-page="inicio"] .line-skew-label {
  left: 24px;
  right: 24px;
  bottom: 22px;
  font-size: 0.82rem;
  text-align: left;
}

body[data-page="inicio"] .line-spotlight {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 28px;
  border-color: rgba(12, 57, 42, 0.08);
  background:
    linear-gradient(135deg, rgba(250, 252, 250, 0.98), rgba(243, 248, 245, 0.96));
}

body[data-page="inicio"] .line-spotlight img {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
}

body[data-page="inicio"] .line-spotlight-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

body[data-page="inicio"] .line-spotlight-copy h3 {
  max-width: 13.8ch;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

body[data-page="inicio"] .line-spotlight-copy p:last-child {
  color: #556759;
}

body[data-page="inicio"] .representation-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

body[data-page="inicio"] .representation-intro {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(11, 77, 42, 0.98), rgba(17, 130, 67, 0.92));
}

body[data-page="inicio"] .representation-intro .card-tag,
body[data-page="inicio"] .representation-intro h3,
body[data-page="inicio"] .representation-intro p {
  color: #f4faf5;
}

body[data-page="inicio"] .representation-intro h3 {
  max-width: 12.2ch;
  font-size: clamp(2.35rem, 3.8vw, 3.35rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

body[data-page="inicio"] .representation-list {
  gap: 16px;
}

body[data-page="inicio"] .representation-card {
  padding: 24px 24px 24px 26px;
  border-left: 4px solid rgba(13, 113, 55, 0.9);
}

body[data-page="inicio"] .representation-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

body[data-page="inicio"] .lead-lab {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  background:
    linear-gradient(135deg, rgba(248, 251, 248, 0.98) 0%, rgba(236, 243, 238, 0.96) 100%);
}

body[data-page="inicio"] .lead-copy > h2 {
  max-width: 12.4ch;
  line-height: 1;
  letter-spacing: -0.042em;
}

body[data-page="inicio"] .helper-card,
body[data-page="inicio"] .ally-panel {
  margin-top: 20px;
  border-radius: 24px;
}

body[data-page="inicio"] .helper-card {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 245, 0.96));
}

body[data-page="inicio"] .lead-form {
  padding: 28px;
  border-radius: 28px;
  border-color: rgba(12, 57, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 247, 0.98));
}

body[data-page="inicio"] .form-grid {
  gap: 18px;
}

body[data-page="inicio"] .field {
  gap: 10px;
}

body[data-page="inicio"] .field span {
  color: #173325;
  font-size: 0.92rem;
  font-weight: 700;
}

body[data-page="inicio"] .field input,
body[data-page="inicio"] .field select,
body[data-page="inicio"] .field textarea {
  padding: 15px 16px;
  border-radius: 16px;
  border-color: rgba(12, 57, 42, 0.12);
  background: rgba(248, 251, 248, 0.98);
  box-shadow: inset 0 1px 2px rgba(17, 43, 22, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body[data-page="inicio"] .field input:focus-visible,
body[data-page="inicio"] .field select:focus-visible,
body[data-page="inicio"] .field textarea:focus-visible,
body[data-page="inicio"] .button:focus-visible,
body[data-page="inicio"] .nav-cta:focus-visible,
body[data-page="inicio"] .line-carousel-button:focus-visible,
body[data-page="inicio"] .menu-toggle:focus-visible,
body[data-page="inicio"] .nav-links a:focus-visible {
  outline: none;
  border-color: rgba(13, 113, 55, 0.56);
  box-shadow: 0 0 0 4px rgba(13, 113, 55, 0.14);
}

body[data-page="inicio"] .field input:hover,
body[data-page="inicio"] .field select:hover,
body[data-page="inicio"] .field textarea:hover {
  border-color: rgba(13, 113, 55, 0.2);
}

body[data-page="inicio"] .consent {
  margin-top: 18px;
}

body[data-page="inicio"] .form-actions {
  gap: 12px;
  margin-top: 22px;
}

body[data-page="inicio"] .form-actions .button,
body[data-page="inicio"] .form-actions a.button {
  flex: 1 1 220px;
}

body[data-page="inicio"] .footer {
  border-radius: 32px;
  border-color: rgba(4, 25, 15, 0.16);
  background:
    linear-gradient(135deg, #0c2518 0%, #133523 58%, #1a4a30 100%);
  box-shadow: 0 24px 56px rgba(8, 19, 12, 0.22);
}

body[data-page="inicio"] .footer .section-tag,
body[data-page="inicio"] .footer h2,
body[data-page="inicio"] .footer a,
body[data-page="inicio"] .footer p,
body[data-page="inicio"] .footer-note {
  color: #eef6f0;
}

body[data-page="inicio"] .footer-brand p,
body[data-page="inicio"] .footer-contact p,
body[data-page="inicio"] .footer-note,
body[data-page="inicio"] .footer-links a {
  color: rgba(238, 246, 240, 0.88);
}

body[data-page="inicio"] .footer-links a:hover,
body[data-page="inicio"] .footer-contact a:hover {
  color: #ffffff;
}

body[data-page="inicio"] .footer-note {
  border-top-color: rgba(255, 255, 255, 0.12);
}

body[data-page="inicio"] .whatsapp-float {
  background: linear-gradient(135deg, #19b956, #0d7a34);
  box-shadow: 0 18px 42px rgba(11, 101, 43, 0.28);
}

@media (max-width: 1180px) {
  body[data-page="inicio"] .hero-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="inicio"] .hero-copy {
    max-width: 100%;
  }

  body[data-page="inicio"] .hero-metrics {
    margin-top: 24px;
    padding-top: 0;
  }

  body[data-page="inicio"] .visual-main img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 980px) {
  body[data-page="inicio"] .section,
  body[data-page="inicio"] .footer {
    padding: 32px;
  }

  body[data-page="inicio"] .about,
  body[data-page="inicio"] .representation-layout,
  body[data-page="inicio"] .lead-lab,
  body[data-page="inicio"] .line-spotlight {
    grid-template-columns: 1fr;
  }

  body[data-page="inicio"] .purpose-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="inicio"] .line-spotlight img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 860px) {
  body[data-page="inicio"] .topbar {
    border-radius: 20px;
  }

  body[data-page="inicio"] .nav-links {
    gap: 12px;
  }

  body[data-page="inicio"] .nav-links.is-open {
    border-radius: 22px;
  }

  body[data-page="inicio"] .hero-panel,
  body[data-page="inicio"] .section,
  body[data-page="inicio"] .footer {
    padding: 24px;
    border-radius: 26px;
  }

  body[data-page="inicio"] h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 2.2rem + 2vw, 3.6rem);
  }

  body[data-page="inicio"] .hero-actions,
  body[data-page="inicio"] .form-actions {
    flex-direction: column;
  }

  body[data-page="inicio"] .hero-actions .button,
  body[data-page="inicio"] .form-actions .button,
  body[data-page="inicio"] .form-actions a.button {
    width: 100%;
  }

  body[data-page="inicio"] .hero-metrics,
  body[data-page="inicio"] .form-grid,
  body[data-page="inicio"] .footer-main {
    grid-template-columns: 1fr;
  }

  body[data-page="inicio"] .visual-side-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="inicio"] .line-skew-grid {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }

  body[data-page="inicio"] .line-skew-card {
    aspect-ratio: 10 / 11;
  }
}

@media (max-width: 640px) {
  body[data-page="inicio"] .hero,
  body[data-page="inicio"] main,
  body[data-page="inicio"] .footer {
    margin-left: 10px;
    margin-right: 10px;
  }

  body[data-page="inicio"] .topbar {
    padding: 12px;
    gap: 10px;
  }

  body[data-page="inicio"] .brand img {
    height: 34px;
  }

  body[data-page="inicio"] .nav-cta,
  body[data-page="inicio"] .button {
    min-height: 46px;
    border-radius: 14px;
  }

  body[data-page="inicio"] .hero-panel,
  body[data-page="inicio"] .section,
  body[data-page="inicio"] .footer {
    padding: 18px;
    border-radius: 22px;
  }

  body[data-page="inicio"] h1 {
    font-size: clamp(2.2rem, 2rem + 1.25vw, 2.85rem);
  }

  body[data-page="inicio"] .section h2,
  body[data-page="inicio"] .visual-copy h2,
  body[data-page="inicio"] .ally-panel h2,
  body[data-page="inicio"] .footer h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  body[data-page="inicio"] .metric-card,
  body[data-page="inicio"] .purpose-card,
  body[data-page="inicio"] .visual-note,
  body[data-page="inicio"] .visual-brand-card,
  body[data-page="inicio"] .visual-chip,
  body[data-page="inicio"] .line-spotlight,
  body[data-page="inicio"] .representation-intro,
  body[data-page="inicio"] .representation-card,
  body[data-page="inicio"] .helper-card,
  body[data-page="inicio"] .ally-panel,
  body[data-page="inicio"] .lead-form {
    border-radius: 20px;
  }

  body[data-page="inicio"] .line-skew-grid {
    grid-auto-columns: calc((100% - 12px) / 2);
    gap: 12px;
    padding: 4px 6px 16px;
    margin: 0 -6px;
  }

  body[data-page="inicio"] .line-skew-card {
    aspect-ratio: 10 / 11;
    border-radius: 18px;
  }

  body[data-page="inicio"] .line-skew-label {
    left: 18px;
    right: 18px;
    bottom: 16px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  body[data-page="inicio"] .line-spotlight img {
    min-height: 0;
  }
}

/* Institutional inner pages */
body[data-page="nosotros"],
body[data-page="lineas"],
body[data-page="representacion"] {
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 113, 55, 0.08), transparent 20%),
    radial-gradient(circle at 0% 0%, rgba(11, 77, 42, 0.08), transparent 18%),
    linear-gradient(180deg, #f5f8f5 0%, #edf3ef 44%, #f8fbf8 100%);
}

body[data-page="nosotros"] .hero,
body[data-page="nosotros"] main,
body[data-page="nosotros"] .footer,
body[data-page="lineas"] .hero,
body[data-page="lineas"] main,
body[data-page="lineas"] .footer,
body[data-page="representacion"] .hero,
body[data-page="representacion"] main,
body[data-page="representacion"] .footer {
  margin-left: clamp(16px, 2.6vw, 34px);
  margin-right: clamp(16px, 2.6vw, 34px);
}

body[data-page="nosotros"] .topbar,
body[data-page="lineas"] .topbar,
body[data-page="representacion"] .topbar {
  gap: 24px;
  padding: 14px 18px;
  border-radius: 22px;
  border-color: rgba(12, 57, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(15, 38, 22, 0.08);
}

body[data-page="nosotros"] .topbar.is-scrolled,
body[data-page="lineas"] .topbar.is-scrolled,
body[data-page="representacion"] .topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(15, 38, 22, 0.12);
}

body[data-page="nosotros"] .brand img,
body[data-page="lineas"] .brand img,
body[data-page="representacion"] .brand img {
  height: 44px;
}

body[data-page="nosotros"] .nav-links,
body[data-page="lineas"] .nav-links,
body[data-page="representacion"] .nav-links {
  gap: 24px;
}

body[data-page="nosotros"] .nav-links a,
body[data-page="lineas"] .nav-links a,
body[data-page="representacion"] .nav-links a {
  position: relative;
  padding-bottom: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #506255;
}

body[data-page="nosotros"] .nav-links a::after,
body[data-page="lineas"] .nav-links a::after,
body[data-page="representacion"] .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(0, 129, 44, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

body[data-page="nosotros"] .nav-links a:hover::after,
body[data-page="nosotros"] .nav-links a:focus-visible::after,
body[data-page="nosotros"] .nav-links a.is-current::after,
body[data-page="lineas"] .nav-links a:hover::after,
body[data-page="lineas"] .nav-links a:focus-visible::after,
body[data-page="lineas"] .nav-links a.is-current::after,
body[data-page="representacion"] .nav-links a:hover::after,
body[data-page="representacion"] .nav-links a:focus-visible::after,
body[data-page="representacion"] .nav-links a.is-current::after {
  transform: scaleX(1);
}

body[data-page="nosotros"] .lang-switch,
body[data-page="lineas"] .lang-switch,
body[data-page="representacion"] .lang-switch {
  background: rgba(245, 249, 246, 0.95);
  border-color: rgba(12, 57, 42, 0.12);
}

body[data-page="nosotros"] .nav-cta,
body[data-page="nosotros"] .button,
body[data-page="lineas"] .nav-cta,
body[data-page="lineas"] .button,
body[data-page="representacion"] .nav-cta,
body[data-page="representacion"] .button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
}

body[data-page="nosotros"] .nav-cta,
body[data-page="lineas"] .nav-cta,
body[data-page="representacion"] .nav-cta,
body[data-page="nosotros"] .button-primary,
body[data-page="lineas"] .button-primary,
body[data-page="representacion"] .button-primary {
  background: linear-gradient(135deg, #0f6b36, #0b4e2a);
  box-shadow: 0 14px 28px rgba(11, 65, 37, 0.16);
}

body[data-page="nosotros"] .button-secondary,
body[data-page="lineas"] .button-secondary,
body[data-page="representacion"] .button-secondary {
  border-color: rgba(11, 65, 37, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #123325;
}

body[data-page="nosotros"] .hero-panel,
body[data-page="lineas"] .hero-panel,
body[data-page="representacion"] .hero-panel {
  gap: 26px;
  padding: 28px;
  border-radius: 32px;
  border-color: rgba(12, 57, 42, 0.09);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 246, 0.97) 52%, rgba(232, 240, 235, 0.95) 100%);
  box-shadow:
    0 30px 72px rgba(16, 38, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body[data-page="nosotros"] .hero-copy,
body[data-page="lineas"] .hero-copy,
body[data-page="representacion"] .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body[data-page="nosotros"] .eyebrow,
body[data-page="lineas"] .eyebrow,
body[data-page="representacion"] .eyebrow,
body[data-page="nosotros"] .section-tag,
body[data-page="lineas"] .section-tag,
body[data-page="representacion"] .section-tag,
body[data-page="nosotros"] .card-tag,
body[data-page="lineas"] .card-tag,
body[data-page="representacion"] .card-tag,
body[data-page="nosotros"] .image-label,
body[data-page="lineas"] .image-label,
body[data-page="representacion"] .image-label {
  color: #0f5a35;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}

body[data-page="nosotros"] h1,
body[data-page="lineas"] h1,
body[data-page="representacion"] h1 {
  max-width: 10.5ch;
  margin-top: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.8rem, 2.25rem + 1.55vw, 4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.047em;
}

body[data-page="nosotros"] .hero-text,
body[data-page="lineas"] .hero-text,
body[data-page="representacion"] .hero-text {
  max-width: 36rem;
  margin-top: 18px;
  color: #4f6155;
  font-size: 1.03rem;
}

body[data-page="nosotros"] .hero-actions,
body[data-page="lineas"] .hero-actions,
body[data-page="representacion"] .hero-actions {
  margin-top: 24px;
}

body[data-page="nosotros"] .hero-metrics,
body[data-page="lineas"] .hero-metrics,
body[data-page="representacion"] .hero-metrics {
  gap: 16px;
  margin-top: auto;
  padding-top: 26px;
}

body[data-page="nosotros"] .metric-card,
body[data-page="lineas"] .metric-card,
body[data-page="representacion"] .metric-card {
  min-height: 0;
  padding: 20px 22px;
  border-radius: 22px;
  border-color: rgba(12, 57, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 245, 0.95));
  box-shadow: 0 16px 32px rgba(17, 43, 22, 0.05);
}

body[data-page="nosotros"] .metric-card::before,
body[data-page="lineas"] .metric-card::before,
body[data-page="representacion"] .metric-card::before {
  width: 5px;
}

body[data-page="nosotros"] .metric-value,
body[data-page="lineas"] .metric-value,
body[data-page="representacion"] .metric-value {
  font-size: 1.9rem;
}

body[data-page="nosotros"] .visual-main,
body[data-page="lineas"] .visual-main,
body[data-page="representacion"] .visual-main,
body[data-page="nosotros"] .visual-note,
body[data-page="lineas"] .visual-note,
body[data-page="representacion"] .visual-note,
body[data-page="nosotros"] .visual-chip,
body[data-page="lineas"] .visual-chip,
body[data-page="representacion"] .visual-chip,
body[data-page="nosotros"] .purpose-card,
body[data-page="lineas"] .coverage-card,
body[data-page="lineas"] .faq-item,
body[data-page="lineas"] .representation-card,
body[data-page="lineas"] .lead-form,
body[data-page="lineas"] .helper-card,
body[data-page="lineas"] .ally-panel,
body[data-page="lineas"] .line-spotlight,
body[data-page="representacion"] .representation-card,
body[data-page="representacion"] .representation-intro,
body[data-page="representacion"] .coverage-card,
body[data-page="nosotros"] .image-card {
  box-shadow:
    0 18px 44px rgba(17, 43, 22, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

body[data-page="nosotros"] .visual-main,
body[data-page="lineas"] .visual-main,
body[data-page="representacion"] .visual-main,
body[data-page="nosotros"] .image-card {
  border-radius: 28px;
  overflow: hidden;
}

body[data-page="nosotros"] .visual-copy,
body[data-page="lineas"] .visual-copy,
body[data-page="representacion"] .visual-copy,
body[data-page="nosotros"] .image-card-copy {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 245, 0.96));
}

body[data-page="nosotros"] .visual-note,
body[data-page="lineas"] .visual-note,
body[data-page="representacion"] .visual-note,
body[data-page="nosotros"] .visual-chip,
body[data-page="lineas"] .visual-chip,
body[data-page="representacion"] .visual-chip {
  border-radius: 24px;
}

body[data-page="nosotros"] .visual-chip,
body[data-page="lineas"] .visual-chip,
body[data-page="representacion"] .visual-chip,
body[data-page="nosotros"] .coverage-band,
body[data-page="lineas"] .coverage-band,
body[data-page="representacion"] .coverage-band,
body[data-page="lineas"] .representation-intro,
body[data-page="lineas"] .ally-panel,
body[data-page="representacion"] .representation-intro {
  background: linear-gradient(135deg, rgba(11, 77, 42, 0.98), rgba(17, 130, 67, 0.9));
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-page="nosotros"] .visual-chip span,
body[data-page="lineas"] .visual-chip span,
body[data-page="representacion"] .visual-chip span,
body[data-page="nosotros"] .coverage-band .section-tag,
body[data-page="lineas"] .coverage-band .section-tag,
body[data-page="representacion"] .coverage-band .section-tag,
body[data-page="nosotros"] .coverage-band h3,
body[data-page="lineas"] .coverage-band h3,
body[data-page="representacion"] .coverage-band h3,
body[data-page="nosotros"] .coverage-band p,
body[data-page="lineas"] .coverage-band p,
body[data-page="representacion"] .coverage-band p,
body[data-page="lineas"] .representation-intro .card-tag,
body[data-page="lineas"] .representation-intro h3,
body[data-page="lineas"] .representation-intro p,
body[data-page="lineas"] .ally-panel .section-tag,
body[data-page="lineas"] .ally-panel h2,
body[data-page="lineas"] .ally-panel p,
body[data-page="representacion"] .representation-intro .card-tag,
body[data-page="representacion"] .representation-intro h3,
body[data-page="representacion"] .representation-intro p {
  color: #f4faf5;
}

body[data-page="inicio"] .ally-panel .section-tag,
body[data-page="lineas"] .ally-panel .section-tag,
body[data-page="contacto"] .ally-panel .section-tag {
  color: #d8efe0;
}

body[data-page="nosotros"] .visual-chip span,
body[data-page="lineas"] .visual-chip span,
body[data-page="representacion"] .visual-chip span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(246, 251, 247, 0.92);
  color: #0f5a35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="nosotros"] .section,
body[data-page="lineas"] .section,
body[data-page="representacion"] .section {
  padding: 40px;
  border-radius: 30px;
  border-color: rgba(12, 57, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(17, 43, 22, 0.06);
}

body[data-page="nosotros"] .section h2,
body[data-page="lineas"] .section h2,
body[data-page="representacion"] .section h2 {
  margin-top: 10px;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1;
}

body[data-page="nosotros"] .section-header,
body[data-page="lineas"] .section-header,
body[data-page="representacion"] .section-header {
  max-width: 740px;
  margin-bottom: 28px;
}

body[data-page="nosotros"] .about,
body[data-page="lineas"] .lead-lab,
body[data-page="lineas"] .representation-layout,
body[data-page="representacion"] .representation-layout {
  gap: 24px;
}

body[data-page="nosotros"] .signal-row span {
  min-height: 40px;
  padding: 0 16px;
  background: linear-gradient(180deg, #eef6f0, #dfece2);
}

body[data-page="nosotros"] .purpose-grid {
  gap: 20px;
}

body[data-page="nosotros"] .purpose-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 26px;
  border-radius: 26px;
  border-color: rgba(12, 57, 42, 0.08);
}

body[data-page="nosotros"] .section-copy > h2,
body[data-page="lineas"] .section-copy > h2,
body[data-page="representacion"] .section-copy > h2 {
  max-width: 12.2ch;
  letter-spacing: -0.042em;
}

body[data-page="nosotros"] .image-card-copy h3,
body[data-page="lineas"] .helper-card h3,
body[data-page="representacion"] .representation-intro h3 {
  max-width: 14ch;
  line-height: 1.08;
}

body[data-page="nosotros"] .purpose-icon {
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(232, 242, 234, 0.95), rgba(246, 249, 246, 0.98));
  border: 1px solid rgba(12, 57, 42, 0.08);
}

body[data-page="nosotros"] .workflow-card,
body[data-page="representacion"] .coverage-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(12, 57, 42, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 36px rgba(17, 43, 22, 0.05);
}

body[data-page="lineas"] .line-carousel {
  gap: 18px;
}

body[data-page="lineas"] .line-carousel-button {
  width: 44px;
  height: 44px;
  border-color: rgba(12, 57, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(17, 43, 22, 0.06);
}

body[data-page="lineas"] .line-skew-grid {
  grid-auto-columns: minmax(290px, 31.5%);
  gap: 22px;
  padding: 8px 4px 20px;
  margin: 0;
}

body[data-page="lineas"] .line-skew-card {
  height: auto;
  min-height: 0;
  aspect-ratio: 10 / 11;
  border-radius: 26px;
}

body[data-page="lineas"] .line-skew-image {
  transform: scale(1.01);
}

body[data-page="lineas"] .line-skew-card:hover,
body[data-page="lineas"] .line-skew-card:focus-visible {
  transform: translateY(-5px);
}

body[data-page="lineas"] .line-skew-card.is-active {
  border-color: rgba(13, 113, 55, 0.92);
  box-shadow: 0 22px 38px rgba(17, 43, 22, 0.12);
}

body[data-page="lineas"] .line-skew-label {
  left: 24px;
  right: 24px;
  bottom: 20px;
  text-align: left;
  font-size: 0.82rem;
}

body[data-page="lineas"] .line-spotlight {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 28px;
  border-color: rgba(12, 57, 42, 0.08);
  background:
    linear-gradient(135deg, rgba(250, 252, 250, 0.98), rgba(243, 248, 245, 0.96));
}

body[data-page="lineas"] .line-spotlight img {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
}

body[data-page="lineas"] .line-spotlight-copy h3 {
  max-width: 13.8ch;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

body[data-page="lineas"] .representation-card,
body[data-page="representacion"] .representation-card {
  padding: 24px 24px 24px 26px;
  border-left: 4px solid rgba(13, 113, 55, 0.9);
  border-radius: 24px;
}

body[data-page="lineas"] .lead-form,
body[data-page="lineas"] .helper-card,
body[data-page="lineas"] .ally-panel {
  border-radius: 24px;
}

body[data-page="lineas"] .lead-form {
  padding: 28px;
  border-color: rgba(12, 57, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 247, 0.98));
}

body[data-page="lineas"] .field input,
body[data-page="lineas"] .field select,
body[data-page="lineas"] .field textarea,
body[data-page="nosotros"] .button:focus-visible,
body[data-page="lineas"] .button:focus-visible,
body[data-page="representacion"] .button:focus-visible {
  border-color: rgba(12, 57, 42, 0.12);
}

body[data-page="lineas"] .field input,
body[data-page="lineas"] .field select,
body[data-page="lineas"] .field textarea {
  background: rgba(248, 251, 248, 0.98);
}

body[data-page="lineas"] .faq-item {
  padding: 22px 24px;
  border-radius: 24px;
  border-color: rgba(12, 57, 42, 0.08);
  background: rgba(248, 251, 248, 0.98);
}

body[data-page="representacion"] .representation-layout {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

body[data-page="representacion"] .representation-intro {
  padding: 28px;
  border-radius: 28px;
}

body[data-page="lineas"] .representation-intro h3,
body[data-page="representacion"] .representation-intro h3 {
  max-width: 12.4ch;
  font-size: clamp(2.1rem, 3.3vw, 2.95rem);
  line-height: 0.94;
  letter-spacing: -0.048em;
}

body[data-page="representacion"] .coverage-band a,
body[data-page="nosotros"] .coverage-band a,
body[data-page="lineas"] .coverage-band a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-page="nosotros"] .footer,
body[data-page="lineas"] .footer,
body[data-page="representacion"] .footer,
body[data-page="contacto"] .footer {
  border-radius: 30px;
  border-color: rgba(4, 25, 15, 0.16);
  background:
    linear-gradient(135deg, #0c2518 0%, #133523 58%, #1a4a30 100%);
  box-shadow: 0 24px 56px rgba(8, 19, 12, 0.22);
}

body[data-page="nosotros"] .footer .section-tag,
body[data-page="nosotros"] .footer h2,
body[data-page="nosotros"] .footer a,
body[data-page="nosotros"] .footer p,
body[data-page="nosotros"] .footer-note,
body[data-page="lineas"] .footer .section-tag,
body[data-page="lineas"] .footer h2,
body[data-page="lineas"] .footer a,
body[data-page="lineas"] .footer p,
body[data-page="lineas"] .footer-note,
body[data-page="representacion"] .footer .section-tag,
body[data-page="representacion"] .footer h2,
body[data-page="representacion"] .footer a,
body[data-page="representacion"] .footer p,
body[data-page="representacion"] .footer-note,
body[data-page="contacto"] .footer .section-tag,
body[data-page="contacto"] .footer h2,
body[data-page="contacto"] .footer a,
body[data-page="contacto"] .footer p,
body[data-page="representacion"] .footer-note {
  color: #eef6f0;
}

body[data-page="nosotros"] .footer-brand p,
body[data-page="nosotros"] .footer-contact p,
body[data-page="nosotros"] .footer-note,
body[data-page="nosotros"] .footer-links a,
body[data-page="lineas"] .footer-brand p,
body[data-page="lineas"] .footer-contact p,
body[data-page="lineas"] .footer-note,
body[data-page="lineas"] .footer-links a,
body[data-page="representacion"] .footer-brand p,
body[data-page="representacion"] .footer-contact p,
body[data-page="representacion"] .footer-note,
body[data-page="representacion"] .footer-links a,
body[data-page="contacto"] .footer-brand p,
body[data-page="contacto"] .footer-contact p,
body[data-page="contacto"] .footer-note,
body[data-page="contacto"] .footer-links a,
body[data-page="representacion"] .footer-links a {
  color: rgba(238, 246, 240, 0.88);
}

body[data-page="nosotros"] .footer-note,
body[data-page="lineas"] .footer-note,
body[data-page="representacion"] .footer-note,
body[data-page="contacto"] .footer-note {
  border-top-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  body[data-page="nosotros"] .hero-panel,
  body[data-page="lineas"] .hero-panel,
  body[data-page="representacion"] .hero-panel,
  body[data-page="nosotros"] .about,
  body[data-page="lineas"] .representation-layout,
  body[data-page="lineas"] .lead-lab,
  body[data-page="lineas"] .line-spotlight,
  body[data-page="representacion"] .representation-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="nosotros"] .purpose-grid,
  body[data-page="nosotros"] .workflow-grid,
  body[data-page="representacion"] .coverage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body[data-page="nosotros"] .hero,
  body[data-page="nosotros"] main,
  body[data-page="nosotros"] .footer,
  body[data-page="lineas"] .hero,
  body[data-page="lineas"] main,
  body[data-page="lineas"] .footer,
  body[data-page="representacion"] .hero,
  body[data-page="representacion"] main,
  body[data-page="representacion"] .footer {
    margin-left: 12px;
    margin-right: 12px;
  }

  body[data-page="nosotros"] .hero-panel,
  body[data-page="nosotros"] .section,
  body[data-page="nosotros"] .footer,
  body[data-page="lineas"] .hero-panel,
  body[data-page="lineas"] .section,
  body[data-page="lineas"] .footer,
  body[data-page="representacion"] .hero-panel,
  body[data-page="representacion"] .section,
  body[data-page="representacion"] .footer {
    padding: 24px;
    border-radius: 24px;
  }

  body[data-page="nosotros"] h1,
  body[data-page="lineas"] h1,
  body[data-page="representacion"] h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 8.6vw, 3.7rem);
  }

  body[data-page="lineas"] .line-skew-grid {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }

  body[data-page="lineas"] .line-skew-card {
    aspect-ratio: 10 / 11;
  }
}

@media (max-width: 640px) {
  body[data-page="nosotros"] .topbar,
  body[data-page="lineas"] .topbar,
  body[data-page="representacion"] .topbar {
    padding: 12px;
    gap: 10px;
  }

  body[data-page="nosotros"] .brand img,
  body[data-page="lineas"] .brand img,
  body[data-page="representacion"] .brand img {
    height: 34px;
  }

  body[data-page="nosotros"] .nav-cta,
  body[data-page="nosotros"] .button,
  body[data-page="lineas"] .nav-cta,
  body[data-page="lineas"] .button,
  body[data-page="representacion"] .nav-cta,
  body[data-page="representacion"] .button {
    min-height: 44px;
    border-radius: 14px;
  }

  body[data-page="nosotros"] .hero-panel,
  body[data-page="nosotros"] .section,
  body[data-page="nosotros"] .footer,
  body[data-page="lineas"] .hero-panel,
  body[data-page="lineas"] .section,
  body[data-page="lineas"] .footer,
  body[data-page="representacion"] .hero-panel,
  body[data-page="representacion"] .section,
  body[data-page="representacion"] .footer {
    padding: 18px;
    border-radius: 20px;
  }

  body[data-page="nosotros"] .section h2,
  body[data-page="lineas"] .section h2,
  body[data-page="representacion"] .section h2,
  body[data-page="nosotros"] .visual-copy h2,
  body[data-page="lineas"] .visual-copy h2,
  body[data-page="representacion"] .visual-copy h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  body[data-page="lineas"] .line-skew-grid {
    grid-auto-columns: calc((100% - 12px) / 2);
    gap: 12px;
    padding: 4px 6px 16px;
    margin: 0 -6px;
  }

  body[data-page="lineas"] .line-skew-card {
    aspect-ratio: 10 / 11;
    border-radius: 18px;
  }

  body[data-page="lineas"] .line-skew-label {
    left: 18px;
    right: 18px;
    bottom: 16px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  body[data-page="lineas"] .line-spotlight img {
    aspect-ratio: 16 / 10;
  }
}
