/*
 * Professional content direction for the SIMARC home page.
 * Intentionally scoped below the hero so the approved carousel remains untouched.
 */

.home-page.structure-preview {
  --content-paper: #f8faff;
  --content-mist: #edf3fc;
  --content-ice: #e2ecfa;
  --content-navy: #102b50;
  --content-blue: #195bd7;
  --content-muted: #506782;
  --content-gold: #195bd7;
  --content-line: rgba(7, 29, 54, .12);
}

/* Compact proof strip between the hero and the editorial content. */
.home-page.structure-preview .capability-rail {
  position: relative;
  z-index: 3;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(24px, 5.6vw, 88px);
  background: #fff;
  border: 0;
  box-shadow: 0 18px 60px rgba(7, 29, 54, .05);
}

.home-page.structure-preview .capability-rail article,
.home-page.structure-preview .capability-rail article:first-child {
  min-height: 112px;
  padding: 24px clamp(18px, 2.2vw, 34px);
  border: 0;
  border-right: 1px solid var(--content-line);
}

.home-page.structure-preview .capability-rail article:last-child {
  border-right: 0;
}

.home-page.structure-preview .capability-index {
  color: var(--content-gold);
  font-size: .65rem;
  letter-spacing: .1em;
}

.home-page.structure-preview .capability-rail strong {
  margin-bottom: 7px;
  font-size: .94rem;
}

.home-page.structure-preview .capability-rail small {
  color: var(--content-muted);
  font-size: .72rem;
}

/* Portfolio introduction: decisive type, less empty vertical space. */
.home-page.structure-preview .premium-intro {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: 32px;
  align-items: center;
  padding: 52px clamp(24px, 5.6vw, 88px) 32px;
  overflow: hidden;
  background: var(--content-paper);
}

.home-page.structure-preview .premium-intro::after {
  content: none;
  position: absolute;
  top: 15%;
  right: -8%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(230, 189, 56, .28);
  border-radius: 50%;
  pointer-events: none;
}

.home-page.structure-preview .premium-intro-heading,
.home-page.structure-preview .premium-intro-copy {
  position: relative;
  z-index: 1;
}

.home-page.structure-preview .premium-intro h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.home-page.structure-preview .premium-intro-copy {
  padding: 0;
}

.home-page.structure-preview .premium-intro h2 em {
  color: var(--content-blue);
  -webkit-text-fill-color: var(--content-blue);
}

.home-page.structure-preview .premium-intro-copy p {
  max-width: 520px;
  margin-bottom: 14px;
  color: var(--content-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.home-page.structure-preview .text-arrow {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  padding-bottom: 7px;
  color: var(--content-navy);
  border-bottom: 2px solid var(--content-gold);
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

/* Six real solution cards: no placeholders, no artificial empty canvases. */
.home-page.structure-preview .editorial-solutions {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(24px, 5.6vw, 88px) clamp(100px, 9vw, 142px);
  background: var(--content-paper);
}

.home-page.structure-preview .editorial-card,
.home-page.structure-preview .editorial-card:nth-child(n) {
  grid-column: auto;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--content-line);
  box-shadow: none;
  transition: transform .45s var(--premium-ease), box-shadow .45s var(--premium-ease);
}

.home-page.structure-preview .editorial-card:hover {
  z-index: 2;
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(7, 29, 54, .13);
}

.home-page.structure-preview .editorial-card-media,
.home-page.structure-preview .editorial-card:nth-child(n) .editorial-card-media {
  height: auto;
  min-height: 300px;
  aspect-ratio: 1.28 / 1;
  background: #eef3f4;
}

.home-page.structure-preview .editorial-card-media::after {
  background: linear-gradient(0deg, rgba(7, 29, 54, .22), transparent 45%);
}

.home-page.structure-preview .editorial-card-media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  background: transparent;
  filter: none;
}

.home-page.structure-preview .editorial-card-marca-precio .editorial-card-media,
.home-page.structure-preview .editorial-card-impresoras-industriales .editorial-card-media,
.home-page.structure-preview .editorial-card-linerless .editorial-card-media,
.home-page.structure-preview .editorial-card-brady .editorial-card-media {
  background:
    radial-gradient(circle at 58% 42%, rgba(255, 255, 255, .95), transparent 42%),
    linear-gradient(145deg, #f4f7fd, #e2ebf8);
}

.home-page.structure-preview .editorial-card-marca-precio .editorial-card-media img,
.home-page.structure-preview .editorial-card-impresoras-industriales .editorial-card-media img,
.home-page.structure-preview .editorial-card-linerless .editorial-card-media img,
.home-page.structure-preview .editorial-card-brady .editorial-card-media img {
  padding: 8%;
  object-fit: contain;
  background: transparent;
}

.home-page.structure-preview .editorial-card-soluciones-integrales .editorial-card-media img {
  object-position: 64% center;
}

.home-page.structure-preview .editorial-card-number {
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  color: var(--content-navy);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(7, 29, 54, .1);
  box-shadow: 0 8px 24px rgba(7, 29, 54, .12);
}

.home-page.structure-preview .editorial-card-action {
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--content-gold);
  border-radius: 50%;
}

.home-page.structure-preview .editorial-card-copy {
  display: flex;
  flex-direction: column;
  padding: 30px clamp(24px, 2.5vw, 36px) 34px;
}

.home-page.structure-preview .editorial-card-copy > p {
  margin-bottom: 13px;
  color: var(--content-blue);
  font-size: .63rem;
  letter-spacing: .15em;
}

.home-page.structure-preview .editorial-card-copy h3 {
  margin: 0 0 15px;
  font-size: clamp(1.7rem, 2.25vw, 2.45rem);
  line-height: 1.02;
}

.home-page.structure-preview .editorial-card-copy > span {
  min-height: 0;
  margin-bottom: 25px;
  color: var(--content-muted);
  font-size: .9rem;
  line-height: 1.62;
}

.home-page.structure-preview .editorial-card-copy > a {
  margin-top: auto;
  padding-top: 18px;
  font-size: .77rem;
}

/* Industry section uses light color and photography instead of a dark placeholder wall. */
.home-page.structure-preview .industry-editorial {
  grid-template-columns: minmax(320px, .68fr) minmax(0, 1.32fr);
  gap: clamp(48px, 7vw, 106px);
  align-items: center;
  padding: clamp(92px, 9vw, 138px) clamp(24px, 6.8vw, 108px);
  color: var(--content-navy);
  background: var(--content-mist);
}

.home-page.structure-preview .premium-eyebrow-light {
  color: var(--content-blue);
}

.home-page.structure-preview .industry-editorial h2 {
  max-width: 650px;
  color: var(--content-navy);
  font-size: clamp(3rem, 4.75vw, 5.3rem);
}

.home-page.structure-preview .industry-editorial-copy > p:not(.premium-eyebrow) {
  max-width: 560px;
  color: var(--content-muted);
}

.home-page.structure-preview .industry-editorial .premium-button-gold {
  color: #fff;
  background: var(--content-navy);
  box-shadow: 0 16px 34px rgba(7, 29, 54, .16);
}

.home-page.structure-preview .industry-gallery {
  grid-template-columns: 1.12fr .88fr;
  grid-template-rows: 258px 258px;
  gap: 12px;
}

.home-page.structure-preview .industry-gallery figure {
  border-radius: 2px;
  background: #cfdee1;
}

.home-page.structure-preview .industry-gallery img {
  filter: saturate(.82) contrast(1.04);
}

.home-page.structure-preview .industry-gallery figure::after {
  background: linear-gradient(0deg, rgba(4, 23, 43, .82), transparent 62%);
}

.home-page.structure-preview .industry-gallery figcaption {
  right: 20px;
  bottom: 19px;
  left: 20px;
  font-size: .84rem;
}

.home-page.structure-preview .industry-gallery figcaption span {
  color: #f5cf4b;
}

/* Method section: strong product photography and spacious, readable copy. */
.home-page.structure-preview .technical-story {
  grid-template-columns: 1.04fr .96fr;
  min-height: 700px;
  background: #fff;
}

.home-page.structure-preview .technical-visual {
  min-height: 680px;
  background: #e8eff0;
}

.home-page.structure-preview .technical-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(7, 29, 54, .3));
  pointer-events: none;
}

.home-page.structure-preview .technical-visual img {
  object-position: center;
}

.home-page.structure-preview .technical-visual-tag {
  z-index: 2;
  right: 24px;
  bottom: 24px;
  padding: 11px 14px;
  color: var(--content-navy);
  background: rgba(255, 255, 255, .92);
}

.home-page.structure-preview .technical-copy {
  padding: clamp(76px, 7vw, 112px);
}

.home-page.structure-preview .technical-copy h2 {
  margin-bottom: 34px;
  font-size: clamp(2.7rem, 4vw, 4.55rem);
}

.home-page.structure-preview .premium-steps li {
  grid-template-columns: 40px 1fr;
  gap: 17px;
  padding: 19px 0;
}

.home-page.structure-preview .premium-steps li > span {
  color: var(--content-gold);
}

/* Contact: a light professional close with one clear action area. */
.home-page.structure-preview .contact-section {
  grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.02fr);
  gap: clamp(54px, 7vw, 108px);
  padding: clamp(94px, 9vw, 138px) clamp(24px, 6.8vw, 108px);
  color: var(--content-navy);
  background: var(--content-ice);
}

.home-page.structure-preview .contact-copy .eyebrow {
  color: var(--content-blue);
}

.home-page.structure-preview .contact-copy h2 {
  max-width: 650px;
  color: var(--content-navy);
  font-size: clamp(3rem, 4.6vw, 5.15rem);
}

.home-page.structure-preview .contact-copy > p {
  color: var(--content-muted);
}

.home-page.structure-preview .contact-assurance {
  color: var(--content-navy);
  font-size: .83rem;
}

.home-page.structure-preview .whatsapp-panel {
  color: #fff;
  background: #087f52;
  border: 0;
  box-shadow: 0 15px 35px rgba(8, 127, 82, .18);
}

.home-page.structure-preview .whatsapp-panel:hover {
  background: #066a45;
}

.home-page.structure-preview .whatsapp-label {
  color: rgba(255, 255, 255, .72);
}

.home-page.structure-preview .lead-form {
  padding: clamp(28px, 3.5vw, 46px);
  border: 1px solid rgba(7, 29, 54, .1);
  border-radius: 2px;
  box-shadow: 0 28px 75px rgba(7, 29, 54, .13);
}

.home-page.structure-preview .field input,
.home-page.structure-preview .field select,
.home-page.structure-preview .field textarea {
  background: #fbfcfc;
  border-color: #c6d3d7;
}

.home-page.structure-preview .form-submit {
  min-height: 56px;
  color: #fff;
  background: var(--content-navy);
}

.home-page.structure-preview .form-submit:hover {
  color: #fff;
  background: var(--content-gold);
}

/* A quieter footer gives the page a finished edge. */
.home-page.structure-preview .premium-footer {
  padding-top: 68px;
  padding-bottom: 68px;
  background: var(--content-navy);
}

.home-page.structure-preview .premium-footer .footer-brand > strong {
  color: #f1ca49;
}

@media (max-width: 1080px) {
  .home-page.structure-preview .editorial-solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page.structure-preview .industry-editorial,
  .home-page.structure-preview .contact-section {
    grid-template-columns: 1fr;
  }

  .home-page.structure-preview .industry-editorial-copy,
  .home-page.structure-preview .contact-copy {
    max-width: 760px;
  }

  .home-page.structure-preview .industry-gallery {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .home-page.structure-preview .capability-rail {
    grid-template-columns: 1fr 1fr;
    padding: 0 18px;
  }

  .home-page.structure-preview .capability-rail article,
  .home-page.structure-preview .capability-rail article:first-child,
  .home-page.structure-preview .capability-rail article:nth-child(n) {
    min-height: 96px;
    padding: 18px 14px;
    border: 0;
    border-bottom: 1px solid var(--content-line);
  }

  .home-page.structure-preview .capability-rail article:nth-child(odd) {
    border-right: 1px solid var(--content-line);
  }

  .home-page.structure-preview .premium-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 38px 18px 28px;
  }

  .home-page.structure-preview .premium-intro::after {
    top: 20px;
    right: -210px;
  }

  .home-page.structure-preview .premium-intro h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .home-page.structure-preview .editorial-solutions {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 18px 78px;
  }

  .home-page.structure-preview .editorial-card-media,
  .home-page.structure-preview .editorial-card:nth-child(n) .editorial-card-media {
    min-height: 270px;
  }

  .home-page.structure-preview .industry-editorial {
    gap: 45px;
    padding: 78px 18px;
  }

  .home-page.structure-preview .industry-editorial h2 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .home-page.structure-preview .industry-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 340px 230px 230px;
    min-height: 0;
  }

  .home-page.structure-preview .industry-gallery figure:first-child {
    grid-row: auto;
  }

  .home-page.structure-preview .technical-story {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-page.structure-preview .technical-visual {
    min-height: 410px;
  }

  .home-page.structure-preview .technical-copy {
    padding: 72px 18px;
  }

  .home-page.structure-preview .technical-copy h2 {
    font-size: clamp(2.55rem, 11vw, 3.8rem);
  }

  .home-page.structure-preview .contact-section {
    gap: 48px;
    padding: 78px 18px;
  }

  .home-page.structure-preview .contact-copy h2 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .home-page.structure-preview .field-grid {
    grid-template-columns: 1fr;
  }

  .home-page.structure-preview .field-wide {
    grid-column: auto;
  }
}
