
main{min-height:55vh;max-width:1200px;margin:auto;padding:64px 24px}

/* ==========================================
   TESORERÍA | SIRE ERP
========================================== */

#contenido:has(.sire-tes-hero) {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: clip;
}

.sire-tes-hero,
.sire-tes-benefits,
.sire-tes-features,
.sire-tes-process,
.sire-tes-highlight,
.sire-tes-faq,
.sire-tes-cta {
  font-family: "Manrope", Arial, sans-serif;
}

.sire-tes-hero *,
.sire-tes-benefits *,
.sire-tes-features *,
.sire-tes-process *,
.sire-tes-highlight *,
.sire-tes-faq *,
.sire-tes-cta * {
  box-sizing: border-box;
}

.sire-tes-container {
  width: min(1440px, calc(100% - 80px));
  margin-inline: auto;
}

.sire-tes-eyebrow {
  display: inline-block;
  color: #159ea6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.sire-tes-hero h1,
.sire-tes-section-heading h2,
.sire-tes-feature-copy h3,
.sire-tes-highlight h2,
.sire-tes-faq h2,
.sire-tes-cta h2 {
  margin: 0;
  color: #10213b;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.045em;
}

.sire-tes-hero h1 span,
.sire-tes-section-heading h2 span,
.sire-tes-highlight h2 span,
.sire-tes-faq h2 span {
  color: #0755ad;
}

/* HERO */

.sire-tes-hero {
  padding: 95px 0 105px;
  background: linear-gradient(125deg, #f2f7fd, #fff 75%);
}

.sire-tes-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
}

.sire-tes-hero-content {
  min-width: 0;
}

.sire-tes-hero h1 {
  max-width: 750px;
  margin-top: 24px;
  font-size: clamp(40px, 4.3vw, 70px);
}

.sire-tes-hero-content > p {
  max-width: 610px;
  margin: 28px 0 32px;
  color: #506078;
  font-size: 17px;
  line-height: 1.8;
}

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

.sire-tes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s, background .25s;
}

.sire-tes-btn:hover {
  transform: translateY(-3px);
}

.sire-tes-btn-primary {
  background: #0755ad;
  color: #fff;
}

.sire-tes-btn-primary:hover {
  background: #10213b;
  color: #fff;
}

.sire-tes-btn-secondary {
  border: 1px solid #d6e2ef;
  background: #fff;
  color: #10213b;
}

.sire-tes-btn-secondary:hover {
  background: #edf5fd;
  color: #10213b;
}

.sire-tes-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 34px;
  color: #506078;
  font-size: 12px;
  font-weight: 700;
}

/* IMAGEN PRINCIPAL SIN RECUADRO */

.sire-tes-hero-visual {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sire-tes-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 590px;
  object-fit: contain;
}

/* ENCABEZADOS */

.sire-tes-section-heading {
  max-width: 830px;
  margin: 0 auto 50px;
  text-align: center;
}

.sire-tes-section-heading h2 {
  margin-top: 16px;
  font-size: clamp(34px, 3.6vw, 52px);
}

.sire-tes-section-heading p {
  max-width: 660px;
  margin: 18px auto 0;
  color: #506078;
  font-size: 15px;
  line-height: 1.8;
}

/* BENEFICIOS */

.sire-tes-benefits {
  padding: 95px 0;
  background: #fff;
}

.sire-tes-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.sire-tes-benefit {
  padding: 32px;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.sire-tes-benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(16, 33, 59, .08);
}

.sire-tes-benefit-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: #eaf4fc;
  color: #0755ad;
}

.sire-tes-benefit-icon svg {
  width: 29px;
  height: 29px;
}

.sire-tes-benefit h3 {
  margin: 0 0 12px;
  color: #10213b;
  font-size: 19px;
}

.sire-tes-benefit p {
  margin: 0;
  color: #506078;
  font-size: 14px;
  line-height: 1.75;
}

/* FUNCIONALIDADES */

.sire-tes-features {
  padding: 95px 0;
  background: #f4f8fc;
  scroll-margin-top: 100px;
}

.sire-tes-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  margin-top: 80px;
}

.sire-tes-feature-reverse .sire-tes-feature-copy {
  order: 2;
}

.sire-tes-feature-reverse .sire-tes-feature-image {
  order: 1;
}

.sire-tes-feature-number {
  color: #159ea6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.sire-tes-feature-copy h3 {
  margin-top: 20px;
  font-size: clamp(32px, 3vw, 45px);
}

.sire-tes-feature-copy > p {
  margin: 22px 0;
  color: #506078;
  font-size: 16px;
  line-height: 1.8;
}

.sire-tes-feature-copy ul {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.sire-tes-feature-copy li {
  position: relative;
  padding-left: 29px;
  color: #344760;
  font-size: 14px;
  line-height: 1.6;
}

.sire-tes-feature-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #159ea6;
  font-weight: 800;
}

.sire-tes-text-link {
  color: #0755ad;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.sire-tes-text-link:hover {
  color: #159ea6;
}

/* IMÁGENES LIBRES */

.sire-tes-feature-image,
.sire-tes-highlight-image {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sire-tes-feature-image img,
.sire-tes-highlight-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* PROCESO */

.sire-tes-process {
  padding: 95px 0;
  background: #fff;
}

.sire-tes-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sire-tes-step {
  padding: 32px;
  border: 1px solid #e5edf5;
  border-radius: 17px;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.sire-tes-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(16, 33, 59, .07);
}

.sire-tes-step-number {
  display: block;
  margin-bottom: 45px;
  color: #159ea6;
  font-size: 14px;
  font-weight: 800;
}

.sire-tes-step h3 {
  margin: 0 0 12px;
  color: #10213b;
  font-size: 22px;
}

.sire-tes-step p {
  margin: 0;
  color: #506078;
  font-size: 14px;
  line-height: 1.7;
}

/* SECCIÓN DESTACADA */

.sire-tes-highlight {
  padding: 95px 0;
  background: #f4f8fc;
}

.sire-tes-highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}

.sire-tes-highlight-image img {
  max-height: 580px;
}

.sire-tes-highlight h2 {
  margin-top: 20px;
  font-size: clamp(34px, 3.5vw, 52px);
}

.sire-tes-highlight-copy > p {
  margin: 22px 0;
  color: #506078;
  font-size: 16px;
  line-height: 1.8;
}

.sire-tes-highlight-points {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.sire-tes-highlight-points > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sire-tes-highlight-points span {
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dff5ed;
  color: #159e76;
  font-size: 13px;
  font-weight: 800;
}

.sire-tes-highlight-points p {
  margin: 0;
  color: #344760;
  font-size: 14px;
  line-height: 1.7;
}

/* FAQ */

.sire-tes-faq {
  padding: 95px 0;
  background: #fff;
}

.sire-tes-faq-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}

.sire-tes-faq-intro h2 {
  margin: 20px 0;
  font-size: clamp(35px, 3.6vw, 52px);
}

.sire-tes-faq-intro p {
  max-width: 420px;
  margin: 0 0 25px;
  color: #506078;
  font-size: 15px;
  line-height: 1.8;
}

.sire-tes-faq-items {
  display: grid;
  gap: 12px;
  align-content: start;
}

.sire-tes-faq-items details {
  padding: 23px 25px;
  border: 1px solid #e2eaf4;
  border-radius: 13px;
  background: #f8fbfe;
}

.sire-tes-faq-items summary {
  position: relative;
  padding-right: 30px;
  color: #10213b;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.sire-tes-faq-items summary::-webkit-details-marker {
  display: none;
}

.sire-tes-faq-items summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  color: #0755ad;
  font-size: 22px;
  line-height: 1;
}

.sire-tes-faq-items details[open] summary::after {
  content: "−";
}

.sire-tes-faq-items details p {
  margin: 15px 0 0;
  color: #506078;
  font-size: 14px;
  line-height: 1.8;
}

/* CTA */

.sire-tes-cta {
  padding: 90px 0;
  background: #fff;
}

.sire-tes-cta-panel {
  padding: 80px 35px;
  border-radius: 26px;
  background: linear-gradient(120deg, #10213b, #0755ad);
  text-align: center;
}

.sire-tes-cta .sire-tes-eyebrow {
  color: #80dddd;
}

.sire-tes-cta h2 {
  max-width: 850px;
  margin: 20px auto;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
}

.sire-tes-cta h2 span {
  color: #80dddd;
}

.sire-tes-cta p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: #d4e2f2;
  font-size: 16px;
  line-height: 1.8;
}

.sire-tes-btn-light {
  background: #fff;
  color: #0755ad;
}

/* ANIMACIONES */

[data-tes-reveal] {
  opacity: 1;
  transform: none;
}

.sire-tes-animations-ready [data-tes-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.2, .7, .2, 1);
}

.sire-tes-animations-ready [data-tes-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .sire-tes-benefits-grid,
  .sire-tes-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sire-tes-hero-grid {
    gap: 35px;
  }

  .sire-tes-hero h1 {
    font-size: clamp(38px, 4.2vw, 58px);
  }
}

@media (max-width: 800px) {
  .sire-tes-container {
    width: calc(100% - 36px);
  }

  .sire-tes-hero,
  .sire-tes-benefits,
  .sire-tes-features,
  .sire-tes-process,
  .sire-tes-highlight,
  .sire-tes-faq,
  .sire-tes-cta {
    padding: 65px 0;
  }

  .sire-tes-hero-grid,
  .sire-tes-feature-row,
  .sire-tes-highlight-grid,
  .sire-tes-faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .sire-tes-hero-content {
    text-align: center;
  }

  .sire-tes-hero h1,
  .sire-tes-hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .sire-tes-actions,
  .sire-tes-hero-tags {
    justify-content: center;
  }

  .sire-tes-hero-visual,
  .sire-tes-highlight-image {
    width: 100%;
    max-width: 650px;
    margin-inline: auto;
  }

  .sire-tes-feature-reverse .sire-tes-feature-copy,
  .sire-tes-feature-reverse .sire-tes-feature-image {
    order: initial;
  }

  .sire-tes-feature-row {
    margin-top: 65px;
  }

  .sire-tes-faq-layout {
    gap: 35px;
  }
}

@media (max-width: 520px) {
  .sire-tes-hero h1 {
    font-size: clamp(35px, 9vw, 47px);
  }

  .sire-tes-hero-content > p {
    font-size: 15px;
  }

  .sire-tes-actions {
    flex-direction: column;
  }

  .sire-tes-actions .sire-tes-btn {
    width: 100%;
  }

  .sire-tes-benefits-grid,
  .sire-tes-process-grid {
    grid-template-columns: 1fr;
  }

  .sire-tes-benefit,
  .sire-tes-step {
    padding: 25px;
  }

  .sire-tes-cta-panel {
    padding: 55px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sire-tes-animations-ready [data-tes-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sire-tes-btn,
  .sire-tes-benefit,
  .sire-tes-step {
    transition: none;
  }
}
