
main{min-height:55vh;max-width:1200px;margin:auto;padding:64px 24px}
/* ==========================================
   SOFTWARE PARA REFACCIONARIAS | SIRE ERP
========================================== */

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

#contenido:has(.sire-ref-hero) section {
  font-family: "Manrope", Arial, sans-serif;
}

#contenido:has(.sire-ref-hero) section *,
#contenido:has(.sire-ref-hero) section *::before,
#contenido:has(.sire-ref-hero) section *::after {
  box-sizing: border-box;
}

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

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

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

.sire-ref-hero h1 span,
.sire-ref-section-heading h2 span,
.sire-ref-feature-copy h3 span,
.sire-ref-payroll h2 span,
.sire-ref-law h2 span,
.sire-ref-faq h2 span {
  color: #0755ad;
}

/* HERO CON IMAGEN DE FONDO */

.sire-ref-hero {
  width: 100%;
  height: clamp(540px, 76vh, 760px);
  position: relative;
  overflow: hidden;
  isolation: isolate;

  font-family: 'Manrope', sans-serif;

  background-color: #10213b;
  background-image:

    url('../img/refaccionaria-hero-bg.png');

  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.sire-ref-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.sire-ref-hero-content {
  max-width: 760px;
  text-align: left;
}

.sire-ref-hero .sire-ref-eyebrow {
  color: #80dddd;
}

.sire-ref-hero h1 {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(40px, 4.5vw, 72px);
}

.sire-ref-hero h1 span {
  color: #80dddd;
}

.sire-ref-hero-content > p {
  max-width: 650px;
  margin: 28px 0 32px;
  color: #d4e2f2;
  font-size: 18px;
  line-height: 1.8;
}

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

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

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

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

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

.sire-ref-btn-secondary {
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(4px);
}

.sire-ref-btn-secondary:hover {
  background: #fff;
  color: #10213b;
}

.sire-ref-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 38px;
  color: #c0d4e8;
  font-size: 13px;
  font-weight: 700;
}

/* GRIDS GENERALES */

.sire-ref-catalog-grid,
.sire-ref-feature-row,
.sire-ref-payroll-grid,
.sire-ref-law-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}

/* IMÁGENES SIN MARCOS */

.sire-ref-catalog-image,
.sire-ref-feature-image,
.sire-ref-payroll-image,
.sire-ref-law-image {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sire-ref-catalog-image img,
.sire-ref-feature-image img,
.sire-ref-payroll-image img,
.sire-ref-law-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ENCABEZADOS */

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

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

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

/* BENEFICIOS */

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

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

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

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

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

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

.sire-ref-benefit h3,
.sire-ref-step h3 {
  margin: 0 0 12px;
  color: #10213b;
  font-size: 20px;
}

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

/* SECCIÓN MÓDULOS RECOMENDADOS (DARK GRADIENT) */

.sire-ref-catalog {
  padding: 110px 0;
  background: linear-gradient(130deg, #10213b, #0b3972);
  scroll-margin-top: 90px;
}

.sire-ref-catalog .sire-ref-eyebrow {
  color: #80dddd;
}

.sire-ref-catalog h2 {
  margin-top: 20px;
  color: #fff;
  font-size: clamp(36px, 3.7vw, 55px);
}

.sire-ref-catalog h2 span {
  color: #80dddd;
}

.sire-ref-catalog-copy > p {
  margin: 22px 0;
  color: #d5e2f2;
  font-size: 16px;
  line-height: 1.85;
}

.sire-ref-catalog-points,
.sire-ref-payroll-points,
.sire-ref-law-points {
  display: grid;
  gap: 17px;
  margin: 26px 0 30px;
}

.sire-ref-catalog-points > div,
.sire-ref-payroll-points > div,
.sire-ref-law-points > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sire-ref-catalog-points span,
.sire-ref-payroll-points span,
.sire-ref-law-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-ref-catalog-points p {
  margin: 0;
  color: #e4edf7;
  font-size: 14px;
  line-height: 1.7;
}

.sire-ref-catalog-copy .sire-ref-catalog-note {
  padding: 16px 20px;
  border-left: 3px solid #80dddd;
  background: rgba(255, 255, 255, .07);
  color: #d4e2f2;
  font-size: 13px;
}

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

.sire-ref-catalog .sire-ref-btn-primary:hover {
  background: #dff5f7;
}

/* FUNCIONALIDADES */

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

.sire-ref-feature-row {
  margin-top: 85px;
}

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

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

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

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

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

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

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

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

.sire-ref-feature-note,
.sire-ref-payroll-note,
.sire-ref-law-note {
  padding: 14px 18px;
  border-left: 3px solid #159ea6;
  background: #eaf4fc;
  font-size: 13px !important;
}

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

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

/* CONEXIÓN GENERAL ERP */

.sire-ref-payroll {
  padding: 105px 0;
  background: #fff;
}

.sire-ref-payroll h2,
.sire-ref-law h2 {
  margin-top: 20px;
  font-size: clamp(34px, 3.6vw, 52px);
}

.sire-ref-payroll-points p,
.sire-ref-law-points p {
  margin: 0;
  color: #344760;
  font-size: 14px;
  line-height: 1.7;
}

/* PROCESO */

.sire-ref-process {
  padding: 95px 0;
  background: #f4f8fc;
}

.sire-ref-step {
  background: #fff;
}

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

/* AUDITORÍA Y CONTROL FISCAL */

.sire-ref-law {
  padding: 105px 0;
  background: linear-gradient(130deg, #edf6fc, #fff);
  scroll-margin-top: 100px;
}

/* FAQ */

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

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

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

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

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

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

.sire-ref-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-ref-faq-items summary::-webkit-details-marker {
  display: none;
}

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

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

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

/* CTA FINAL */

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

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

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

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

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

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

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

.sire-ref-btn-light:hover {
  background: #eaf4fc;
  color: #0755ad;
}

/* ANIMACIONES */

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

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

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

/* RESPONSIVE */

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

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

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

  .sire-ref-hero {
    padding: 80px 0 90px;
    background-position: center center;
  }

  .sire-ref-hero-content {
    text-align: center;
    margin-inline: auto;
  }

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

  .sire-ref-benefits,
  .sire-ref-catalog,
  .sire-ref-features,
  .sire-ref-payroll,
  .sire-ref-process,
  .sire-ref-law,
  .sire-ref-faq,
  .sire-ref-cta {
    padding: 65px 0;
  }

  .sire-ref-catalog-grid,
  .sire-ref-feature-row,
  .sire-ref-payroll-grid,
  .sire-ref-law-grid,
  .sire-ref-faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

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

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

  .sire-ref-catalog-image,
  .sire-ref-payroll-image,
  .sire-ref-law-image {
    max-width: 650px;
    margin-inline: auto;
  }
}

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

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

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

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

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

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

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

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

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