/* Company story, supplied partner marks and Sella-Sil product presentation. */
:root { --forest: #184d35; --leaf: #257044; --sella-yellow: #f4bf13; }
#empresa { scroll-margin-top: 32px; }
.intro-grid { grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 84px); }
.intro h2 { font-size: clamp(2.25rem, 4.3vw, 3.65rem); line-height: 1.13; }
.intro-grid p { margin-bottom: 0; }
.company-profile { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(28px, 6vw, 84px); margin-top: 66px; padding-top: 54px; border-top: 1px solid var(--line); }
.experience-panel { background: var(--forest); color: white; padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.experience-location { font-size: .875rem; line-height: 1.5; color: #c3dccd; }
.experience-panel strong { font-family: var(--display); font-size: clamp(5rem, 10.5vw, 9rem); letter-spacing: -.075em; line-height: 1.1; margin: 32px 0 0; }
.experience-label { font-size: 1.15rem; font-weight: 600; }
.experience-panel p { margin: 30px 0 0; padding-top: 22px; width: 100%; border-top: 1px solid #ffffff35; color: #dae9e0; }
.company-copy .section-kicker { margin: 0 0 18px; }
.company-copy h3 { font-size: clamp(1.6rem, 3vw, 2.45rem); line-height: 1.2; }
.company-copy p { color: #515657; margin: 20px 0; }
.company-copy .text-link { display: inline-block; margin-top: 6px; }
.company-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 42px; margin-top: 46px; border-top: 1px solid var(--line); }
.company-services span { display: block; color: var(--leaf); font-size: .875rem; font-weight: 700; margin-bottom: 14px; }
.company-services h3 { font-size: 1.2rem; line-height: 1.35; letter-spacing: -.02em; }
.company-services p { color: #616768; margin: 12px 0 0; }
.brands-heading { grid-template-columns: 1.15fr 1fr; }
.brands-heading h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.15; overflow-wrap: break-word; }
.partner-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.partner { min-width: 0; margin: 0; border: 1px solid #dce1dc; border-radius: 3px; background: #fff; overflow: hidden; }
.partner-art { min-height: 132px; padding: 20px; display: flex; justify-content: center; align-items: center; background: #fff; }
.partner-art-dark { background: var(--forest); }
.partner figcaption { padding: 14px 8px; text-align: center; border-top: 1px solid #e9ece9; color: #525b55; font-size: .875rem; line-height: 1.5; }
/* Present the original image files with their empty margins outside the visible window. */
.logo-window { display: block; position: relative; overflow: hidden; flex: 0 1 auto; width: 100%; aspect-ratio: var(--mark-ratio); }
.logo-window img { display: block; position: absolute; max-width: none; width: var(--image-width); height: auto; left: var(--image-left); top: var(--image-top); }
.logo-magris { max-width: 160px; --mark-ratio: 162 / 64; --image-width: 179.01235%; --image-left: -39.50617%; --image-top: -121.875%; }
.logo-corvus { max-width: 190px; --mark-ratio: 730 / 225; --image-width: 109.58905%; --image-left: -5.20548%; --image-top: -4.44444%; }
.logo-sellasil { max-width: 174px; --mark-ratio: 1600 / 630; --image-width: 128%; --image-left: -14.375%; --image-top: -53.96825%; }
.logo-agroexacto { max-width: 194px; --mark-ratio: 1200 / 222; --image-width: 106.66667%; --image-left: -3.5%; --image-top: -4.95495%; }
.logo-chcnav { max-width: 180px; --mark-ratio: 1024 / 236; --image-width: 100%; --image-left: 0%; --image-top: -21.18644%; }
.sellasil-story { background: var(--sella-yellow); padding: 88px 0 40px; color: #192018; }
.sellasil-heading { display: flex; justify-content: space-between; align-items: center; gap: 36px; margin-bottom: 46px; }
.sellasil-heading h2 { font-size: clamp(2.25rem, 4.8vw, 4rem); line-height: 1.12; }
.sellasil-heading .section-kicker { font-size: .875rem; line-height: 1.6; color: #584400; letter-spacing: .1em; margin-bottom: 18px; }
.sellasil-brand { flex: 0 0 215px; }
.sellasil-brand .logo-window { max-width: none; }
.sellasil-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 66px); align-items: start; }
.sellasil-photo { margin: 0; background: #20271e; color: white; }
.sellasil-photo img { display: block; width: 100%; height: auto; }
.sellasil-photo figcaption { font-size: .875rem; padding: 18px 22px; line-height: 1.6; }
.sellasil-visuals { display: grid; gap: 22px; min-width: 0; }
.sellasil-seal { display: grid; grid-template-columns: minmax(120px, 170px) 1fr; align-items: center; gap: 24px; margin: 0; padding: 26px; background: #20271e; color: white; }
/* Frame the weld detail inside the supplied reference without changing the file. */
.seal-closeup { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.seal-closeup img { position: absolute; width: 137%; max-width: none; height: auto; left: -18%; top: -18%; }
.sellasil-seal figcaption > span { display: block; color: #f4bf13; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.sellasil-seal h3 { font-size: 1.45rem; line-height: 1.2; }
.sellasil-seal p { margin: 12px 0 0; color: #dce4d9; font-size: 1rem; line-height: 1.55; }
.sellasil-copy h3 { font-size: clamp(1.55rem, 2.7vw, 2rem); line-height: 1.2; max-width: 22ch; }
.sellasil-copy > p { margin: 18px 0; color: #3f381c; }
.sellasil-features { margin: 28px 0; }
.sellasil-features > div { padding: 14px 0; border-top: 1px solid #5d490044; }
.sellasil-features dt { font-weight: 700; }
.sellasil-features dd { margin: 5px 0 0; color: #4b4121; font-size: .9375rem; line-height: 1.5; }
.sellasil-copy .button { min-height: 54px; height: auto; padding-block: 16px; line-height: 1.3; }
.sellasil-presence { margin-top: 44px; padding-top: 24px; border-top: 1px solid #5d490044; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: .875rem; }
.sellasil-presence span { font-weight: 700; }
.sellasil-presence p { margin: 0; }
:focus-visible { outline: 3px solid #478cca; outline-offset: 5px; }
@media (max-width: 1060px) {
  .partner-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .partner { grid-column: span 2; }
  .partner:nth-child(4) { grid-column: 2 / span 2; }
  .sellasil-brand { flex-basis: 180px; }
}
@media (max-width: 860px) {
  .intro-grid, .company-profile, .sellasil-detail { grid-template-columns: 1fr; }
  .intro h2 { max-width: 19ch; }
  .company-profile { gap: 36px; margin-top: 40px; padding-top: 36px; }
  .experience-panel { display: grid; grid-template-columns: auto 1fr; column-gap: 28px; }
  .experience-location { grid-column: 1 / -1; }
  .experience-panel strong { grid-column: 1; grid-row: 2 / span 2; margin: 20px 0; }
  .experience-label { align-self: end; margin-top: 24px; }
  .experience-panel p { border: none; padding: 0; margin: 8px 0 24px; }
  .company-services { gap: 24px; }
  .brands-heading { grid-template-columns: 1fr; gap: 20px; }
  .brands-heading p { max-width: 54ch; }
  .sellasil-heading { align-items: flex-start; }
  .sellasil-brand { flex-basis: 150px; }
  .sellasil-photo { max-width: 570px; width: 100%; margin-inline: auto; }
  .sellasil-visuals { width: 100%; max-width: 570px; margin-inline: auto; }
  .sellasil-copy h3 { max-width: none; }
}
@media (max-width: 580px) {
  .intro, .brands { padding-block: 64px; }
  .company-services { grid-template-columns: 1fr; margin-top: 30px; padding-top: 28px; }
  .company-services > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; }
  .company-services span { grid-row: 1 / span 2; margin: 3px 0 0; }
  .company-services p { grid-column: 2; margin-top: 7px; }
  .experience-panel { column-gap: 18px; padding: 26px 20px; }
  .experience-panel strong { font-size: 5.5rem; }
  .experience-label { font-size: 1rem; }
  .experience-panel p { font-size: .875rem; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner, .partner:nth-child(4) { grid-column: auto; }
  .partner:last-child { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .partner-art { min-height: 110px; padding: 16px 12px; }
  .partner figcaption { padding: 12px 8px; }
  .sellasil-story { padding: 60px 0 30px; }
  .sellasil-heading { flex-direction: column; gap: 24px; margin-bottom: 30px; }
  .sellasil-brand { flex: none; width: 166px; }
  .sellasil-presence { display: block; }
  .sellasil-presence p { margin-top: 8px; }
  .sellasil-seal { grid-template-columns: minmax(100px, 120px) 1fr; gap: 18px; padding: 20px 16px; }
  .sellasil-seal h3 { font-size: 1.25rem; }
}
@media (max-width: 360px) {
  .sellasil-seal { grid-template-columns: 1fr; }
  .seal-closeup { max-width: 160px; margin-inline: auto; }
}
