/* Home page reference pass. This is the authoritative Home layout file. */
.home-page {
  --home-blue: #075eea;
  --home-navy: #082c6e;
  --home-muted: #505b66;
  --home-border: #dce8f5;
  --home-radius-sm: 8px;
  --home-radius-md: 14px;
  --home-shadow: 0 8px 24px rgba(15, 55, 95, .07);
  --home-button-height: 46px;
  --home-small-button-height: 44px;
}
.home-page .hero-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 58% 42%;
  height: clamp(580px, 68vh, 620px);
  min-height: 580px;
  max-height: 620px;
  overflow: hidden;
  background: #f4faff;
}

.home-page .hero-section::before { display: none; }
.home-page .hero-section__factory { position: relative; min-width: 0; overflow: hidden; background: #c7e6fa; }
.home-page .hero-section__factory img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.home-page .hero-section__factory::after {
  position: absolute;
  inset: 0 -1px 0 auto;
  z-index: 1;
  width: 16%;
  background: linear-gradient(90deg, transparent 0%, rgba(244,250,255,.06) 18%, rgba(244,250,255,.62) 70%, #f4faff 100%);
  content: "";
  pointer-events: none;
}
.home-page .hero-section__content {
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(130deg, #f4faff 0%, #fff 56%, #eef8ff 100%);
}
.home-page .hero-section__content::after {
  position: absolute;
  right: -10%;
  bottom: -5%;
  width: 78%;
  height: 28%;
  background: linear-gradient(158deg, transparent 0 35%, rgba(202,231,255,.38) 36% 38%, transparent 39% 53%, rgba(202,231,255,.24) 54% 56%, transparent 57%);
  content: "";
  pointer-events: none;
}
.home-page .hero-section__content-inner {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 92px 42px 42px;
}
.home-page .hero-section__eyebrow {
  margin: 0 0 14px;
  color: #084fe2;
  max-width: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3.2px;
  line-height: 1.2;
  white-space: normal;
}
.home-page .hero-section__headline-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(118px, 30%); align-items: center; gap: 10px; }
.home-page .hero-section h1 {
  flex: 0 1 auto;
  max-width: 410px;
  margin: 0;
  color: var(--home-navy);
  font-size: clamp(50px, 3.6vw, 54px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: .89;
}
.home-page .hero-section h1 span,
.home-page .hero-section h1 em { display: block; font-style: normal; }
.home-page .hero-section h1 em { color: #075eea; }
.home-page .hero-section__ap-message { position: relative; left: 0; top: 0; min-width: 0; margin-top: 0; }
.home-page .hero-section__ap-message img { display: block; width: 114px; height: auto; object-fit: contain; opacity: .58; filter: saturate(1.25) hue-rotate(5deg); }
.home-page .hero-section__ap-message p { margin: 5px 0 0; color: var(--home-navy); font-size: 13px; font-weight: 700; line-height: 1.15; }
.home-page .hero-section__ap-message p span { display: block; width: 44px; height: 3px; margin-top: 8px; background: #ed3030; }
.home-page .hero-section__applications {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--home-navy);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.home-page .hero-section__applications span { display: inline-flex; align-items: center; gap: 6px; }
.home-page .hero-section__applications svg { width: 22px; height: 22px; color: #064fd4; stroke-width: 1.7; }
.home-page .hero-section__description { max-width: 540px; margin: 16px 0 0; color: var(--home-muted); font-size: 15px; line-height: 1.5; }
.home-page .hero-section__actions { display: flex; gap: 13px; margin-top: 17px; }
.home-page .hero-section__button { box-sizing: border-box; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; height: 46px; padding: 0 22px; border-radius: 8px; font-size: 15px; white-space: nowrap; font-weight: 700; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.home-page .hero-section__button svg { width: 19px; height: 19px; }
.home-page .hero-section__button--primary { width: 180px; background: #075eea; color: #fff; }
.home-page .hero-section__button--outline { width: 180px; border: 1px solid rgba(7,94,234,.82); background: rgba(255,255,255,.72); color: #075eea; }
.home-page .hero-section__button:hover,
.home-page .discover-button:hover,
.home-page .contact-actions a:hover,
.home-page .nav-quote:hover { transform: translateY(-1px); }
.home-page a:focus-visible,
.home-page button:focus-visible { outline: 2px solid var(--home-blue); outline-offset: 3px; }
.home-page .hero-section__roof-decoration { position: absolute; right: -20px; bottom: -26px; z-index: 1; width: 66%; height: auto; opacity: .95; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .home-page .main-nav__links > a:not(.is-active):hover { transform: translateY(-1px); }
  .home-page .hero-section__applications span { transition: color .24s ease; }
  .home-page .hero-section__applications span:hover { color: var(--home-blue); }
  .home-page .hero-section__applications svg { transition: transform .24s ease, color .24s ease; }
  .home-page .hero-section__applications span:hover svg { color: var(--home-blue); transform: translateY(-2px) scale(1.03); }
  .home-page .hero-section__button { transition: transform .24s ease, background-color .24s ease, border-color .24s ease, box-shadow .24s ease; }
  .home-page .hero-section__button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(7, 94, 234, .18); }
  .home-page .hero-section__button svg { transition: transform .24s ease; }
  .home-page .hero-section__button:hover svg { transform: translateX(3px); }
  .home-page .process-card__icon { transition: transform .24s ease, background-color .24s ease; }
  .home-page .process-card:hover .process-card__icon { transform: translateY(-2px) scale(1.03); background-color: #deedff; }
  .home-page .process-card:hover .process-card__info > b { transform: scale(1.04); }
  .home-page .process-card:hover + .process-arrow { transform: translateX(calc(-50% + 3px)); }
  .home-page .capability-row > div { transition: color .24s ease; }
  .home-page .capability-row > div:hover { color: var(--home-blue); }
  .home-page .capability-row svg { transition: transform .24s ease, color .24s ease; }
  .home-page .capability-row > div:hover svg { transform: translateY(-2px) scale(1.03); color: var(--home-blue); }
  .home-page .discover-button { transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease; }
  .home-page .discover-button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(7, 94, 234, .24); }
  .home-page .discover-button svg { transition: transform .24s ease; }
  .home-page .discover-button:hover svg { transform: translateX(3px); }
  .home-page .contact-actions a { transition: transform .24s ease, background-color .24s ease, border-color .24s ease, box-shadow .24s ease; }
  .home-page .contact-actions a:hover { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(0, 43, 103, .16); }
  .home-page .branches-block a,
  .home-page .site-footer a { transition: color .24s ease, transform .24s ease; }
  .home-page .branches-block a:hover,
  .home-page .site-footer a:hover { color: #bfe0ff; transform: translateX(2px); }
  .home-page .footer-social a:hover { transform: translateY(-2px) scale(1.04); }
}

@media (min-width: 992px) and (max-width: 1259px) {
  .home-page .hero-section { height: clamp(580px, 68vh, 620px); min-height: 580px; }
  .home-page .hero-section__content-inner { padding-inline: 30px; }
  .home-page .hero-section h1 { font-size: clamp(46px, 4.2vw, 52px); }
}

/* Home Process section redesign. Keep this block as the single Home-specific process layout. */
.home-page .process-section { background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%); }
.home-page .process-section .content-shell { width: min(1440px, calc(100% - 96px)); margin: 0 auto; padding: 32px 0 18px; }
.home-page .process-section .eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 8px; color: var(--home-blue); font-size: 14px; font-weight: 700; letter-spacing: 3.5px; line-height: 1.2; }
.home-page .process-section .eyebrow::after { width: 82px; height: 2px; background: linear-gradient(90deg, var(--home-blue), rgba(7,94,234,0)); content: ""; }
.home-page .process-section h2 { max-width: none; margin: 0; color: var(--home-navy); font-size: clamp(34px, 2.8vw, 38px); font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; }
.home-page .process-section h2 em { color: var(--home-blue); font-style: normal; }
.home-page .process-subtitle { margin: 6px 0 20px; color: #5b7591; font-size: 16px; line-height: 1.45; }
.home-page .process-cards { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; align-items: stretch; }
.home-page .process-card { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: visible; background: #fff; border: 1px solid #e6eef8; border-radius: 14px; box-shadow: var(--home-shadow); outline: 0; transition: transform .24s ease, box-shadow .24s ease; }
.home-page .process-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15, 55, 95, .12); }
.home-page .process-card > img { display: block; width: 100%; height: 165px; min-height: 165px; aspect-ratio: auto; object-fit: cover; border-radius: 13px 13px 0 0; transform: none; }
.home-page .process-card:hover > img { transform: scale(1.015); }
.home-page .process-card__info { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 0; flex: 1; padding: 14px 15px 18px; }
.home-page .process-card__info > b { position: absolute; z-index: 2; top: -22px; left: 15px; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid #fff; border-radius: 50%; background: var(--home-blue); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.home-page .process-card__icon, .home-page .capability-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #eaf3ff; color: var(--home-blue); }
.home-page .process-card__icon { grid-column: 1; grid-row: 1; }
.home-page .process-card__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.home-page .process-card__copy { display: contents; }
.home-page .process-card h3 { grid-column: 2; grid-row: 1; min-height: 0; align-self: center; margin: 0; color: var(--home-navy); font-size: 15px; font-weight: 700; line-height: 1.2; }
.home-page .process-card__accent { grid-column: 2; grid-row: 2; display: block; width: 30px; height: 2px; margin: 8px 0 10px; background: var(--home-blue); }
.home-page .process-card p { grid-column: 1 / -1; grid-row: 3; min-height: 0; margin: 0; color: #5b7591; font-size: 13px; line-height: 1.45; }
.home-page .process-arrow { position: absolute; top: 137px; z-index: 3; display: grid; place-items: center; width: 22px; height: 22px; color: var(--home-blue); opacity: .72; animation: none; transform: translateX(-50%); pointer-events: none; }
.home-page .process-section.is-visible .process-arrow { opacity: 1; }
.home-page .process-arrow:nth-of-type(1) { left: calc(25% + 6.5px); }
.home-page .process-arrow:nth-of-type(2) { left: 50%; }
.home-page .process-arrow:nth-of-type(3) { left: calc(75% - 6.5px); }
.home-page .process-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.home-page .capability-row { height: 66px; min-height: 66px; margin-top: 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 16px; border: 1px solid #e6eef8; border-radius: 14px; background: #fff; box-shadow: var(--home-shadow); }
.home-page .capability-row > div { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid #dce8f5; color: var(--home-navy); font-size: 13px; font-weight: 600; line-height: 1.2; }
.home-page .capability-row > div:last-child { border-right: 0; }
.home-page .capability-icon { flex: 0 0 34px; width: 34px; height: 34px; }
.home-page .capability-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.home-page .discover-button { display: flex; width: max-content; min-width: 220px; height: 43px; min-height: 43px; margin: 14px auto 0; padding: 0 22px; border-radius: 8px; box-shadow: 0 8px 18px rgba(7, 94, 234, .14); font-size: 15px; font-weight: 700; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.home-page .discover-button:hover { background: #004fc7; box-shadow: 0 10px 20px rgba(7, 94, 234, .24); transform: translateY(-2px); }
.home-page .discover-button svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

.home-page .contact-section { height: 214px; background: linear-gradient(110deg, #075eea 0%, #087cfa 58%, #21a4ff 100%); }
.home-page .contact-section__inner { padding: 22px 0; }
.home-page .contact-copy .eyebrow,
.home-page .branches-block p { font-size: 11px; letter-spacing: 1.8px; }
.home-page .contact-copy h2 { margin-bottom: 5px; font-size: 26px; }
.home-page .contact-copy > p:not(.eyebrow) { margin-bottom: 10px; font-size: 13px; }
.home-page .contact-actions { gap: 6px; margin-top: 11px; }
.home-page .contact-actions a { height: 41px; border-radius: var(--home-radius-sm); font-size: 13px; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.home-page .contact-call { width: 92px; }
.home-page .contact-whatsapp { width: 108px; }
.home-page .contact-light { width: 108px; }
.home-page .branches-block { padding-left: 26px; }
.home-page .branches-block { border-left-color: rgba(255,255,255,.25); }
.home-page .branches-block a { gap: 6px; font-size: 13px; line-height: 1.55; }
.home-page .branches-block svg { width: 14px; height: 14px; }
.home-page .contact-script { opacity: .28; font-size: 22px; }

.home-page .site-footer { height: auto; min-height: 190px; padding: 26px 0 20px; }
.home-page .site-footer__grid { grid-template-columns: 1.3fr .8fr .8fr 1.2fr 1.1fr; gap: 24px; }
.home-page .site-footer strong { font-size: 13px; }
.home-page .site-footer a,
.home-page .site-footer span,
.home-page .site-footer p { font-size: 12px; line-height: 1.45; }
.home-page .footer-brand img { width: 160px; height: 44px; }
.home-page .footer-jsw img { width: 138px; height: 46px; }
.home-page .site-footer__bottom { height: 33px; margin-top: 8px; padding-top: 7px; }
.home-page .site-footer__bottom span { font-size: 12px; }

@media (max-width: 991px) {
  .home-page .hero-section__factory img { animation: none; transform: none; }
  .home-page .main-nav { position: absolute; height: 70px; }
  .home-page .main-nav__inner { width: calc(100% - 28px); height: 70px; }
  .home-page .home-logo-card { flex-basis: 160px; width: 160px; height: 52px; padding: 6px 10px; border-radius: 14px; }
  .home-page .home-logo-card img { max-width: 145px; max-height: 42px; }
  .home-page .home-nav-capsule { justify-content: flex-end; height: 52px; padding: 0 8px; border-radius: 14px; }
  .home-page .main-nav__links { display: none; }
  .home-page .main-nav__actions { height: 52px; gap: 8px; }
  .home-page .main-nav__toggle { position: relative; z-index: 1; }
  .home-page .hero-section { display: block; height: auto; min-height: 0; }
  .home-page .hero-section__factory { height: clamp(330px, 55vw, 500px); }
  .home-page .hero-section__factory::after { inset: auto 0 0; width: 100%; height: 30%; background: linear-gradient(0deg, #f4faff 0%, rgba(244,250,255,.55) 45%, transparent 100%); }
  .home-page .hero-section__content-inner { width: 100%; padding: 36px 24px 100px; transform: none; }
  .home-page .hero-section__eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: 3px; white-space: normal; }
  .home-page .hero-section__headline-row { display: block; }
  .home-page .hero-section h1 { max-width: none; font-size: clamp(36px, 9vw, 40px); }
  .home-page .hero-section__applications { grid-template-columns: repeat(2, auto); gap: 16px 24px; margin-top: 28px; font-size: 13px; white-space: normal; }
  .home-page .hero-section__applications svg { width: 28px; height: 28px; }
  .home-page .hero-section__description { margin-top: 24px; font-size: 16px; }
  .home-page .hero-section__desktop-break { display: none; }
  .home-page .hero-section__actions { flex-direction: column; gap: 12px; margin-top: 22px; }
  .home-page .hero-section__button { width: min(100%, 300px); height: 42px; }
  .home-page .hero-section__roof-decoration { right: -22%; bottom: -3%; width: 74%; opacity: .7; }

  .home-page .process-section .content-shell { width: calc(100% - 48px); padding: 26px 0 22px; }
  .home-page .process-section h2 { font-size: 34px; }
  .home-page .process-subtitle { font-size: 16px; }
  .home-page .process-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .home-page .process-card > img { aspect-ratio: 16 / 9; }
  .home-page .process-card h3 { font-size: 17px; }
  .home-page .process-card p { font-size: 14px; }
  .home-page .process-arrow { display: none; }
  .home-page .capability-row { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .capability-row > div { min-height: 64px; font-size: 14px; }
  .home-page .capability-row > div:nth-child(2n) { border-right: 0; }
  .home-page .capability-row > div:last-child { grid-column: 1 / -1; border-top: 1px solid #dce8f5; }
  .home-page .contact-section { height: auto; min-height: 280px; }
  .home-page .contact-section__inner { grid-template-columns: 1fr; gap: 20px; }
  .home-page .branches-block { padding: 15px 0 0; border-top: 1px solid rgba(255,255,255,.45); border-left: 0; }
  .home-page .site-footer { height: auto; min-height: 330px; }
}

@media (max-width: 560px) {
  .home-page .main-nav__logo { flex-basis: 142px; }
  .home-page .main-nav__logo img { width: 138px; }
  .home-page .nav-quote { width: 100px; height: 40px; font-size: 11px; }
  .home-page .hero-section__factory { height: 320px; }
  .home-page .hero-section__content-inner { padding-inline: 20px; }
  .home-page .hero-section__actions { align-items: stretch; }
  .home-page .process-section .content-shell { width: calc(100% - 32px); padding-top: 22px; }
  .home-page .process-section .eyebrow { font-size: 12px; letter-spacing: 3px; }
  .home-page .process-section h2 { font-size: 28px; }
  .home-page .process-subtitle { margin-bottom: 18px; font-size: 15px; }
  .home-page .process-cards { grid-template-columns: 1fr; }
  .home-page .process-card > img { aspect-ratio: 16 / 9; }
  .home-page .process-card h3 { font-size: 18px; }
  .home-page .process-card p { font-size: 15px; }
  .home-page .capability-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
  .home-page .capability-row > div { min-height: 70px; font-size: 13px; }
  .home-page .capability-icon { flex-basis: 44px; width: 44px; height: 44px; }
  .home-page .discover-button { width: min(100%, 250px); min-width: 0; }
  .home-page .contact-section { min-height: 330px; }
  .home-page .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .home-page .footer-brand { grid-column: 1 / -1; }
}
