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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-h1);
  line-height: 0.95;
}

h2 {
  font-size: var(--text-h2);
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--text-h3);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  padding-block: var(--section-py);
}

.section-alt {
  background-color: var(--color-bg-alt);
  color: var(--color-text-inverse);
}

.section-alt .section-title,
.section-alt .page-header-title,
.section-alt .cta-title {
  color: var(--color-text-inverse);
}

.section-alt .section-lead,
.section-alt .page-header-lead,
.section-alt .sectores-lead,
.section-alt .nosotros-lead,
.section-alt .nosotros-body {
  color: var(--color-text-inverse-secondary);
}

.section-alt .service-card,
.section-alt .pilar,
.section-alt .sector-item {
  color: var(--color-text);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.eyebrow-line {
  flex-shrink: 0;
  width: 2rem;
  height: 1px;
  background-color: var(--color-accent);
}

.eyebrow.reveal .eyebrow-line,
.reveal .eyebrow-line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease);
}

.eyebrow.is-visible .eyebrow-line,
.reveal.is-visible .eyebrow-line {
  transform: scaleX(1);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.text-reveal {
  opacity: 1;
}

.text-reveal-line {
  display: block;
  overflow: hidden;
}

.text-reveal-line > span {
  display: block;
  transform: translateY(100%);
  transition: transform 840ms var(--ease);
  transition-delay: var(--line-delay, 0ms);
}

.text-reveal.is-visible .text-reveal-line > span {
  transform: translateY(0);
}

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

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

  .reveal,
  .text-reveal-line > span {
    opacity: 1;
    transform: none;
  }
}

.eyebrow-text {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-family: var(--font-sans);
}

.section-title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
}

.section-lead {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 52ch;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}





