/* Homepage only. Original editorial content, ITROFER brand colour. */
:root{--home-green:#009740;--home-tint:#f0f8f3;--home-text:#404943;--color-itrofer-600:#009740;--color-itrofer-200:#f0f8f3}
html{scroll-behavior:smooth;scroll-padding-top:100px}.home-revision{background:#fff;color:var(--home-text);font-size:15px;line-height:1.85}.home-revision *{box-sizing:border-box}.home-revision .bg-itrofer-600{background-color:#009740}.home-revision .text-itrofer-600{color:#009740}.home-revision .border-itrofer-600{border-color:#009740}.home-revision .bg-itrofer-200{background:#f0f8f3}.home-revision .container{width:min(1280px,calc(100% - 112px));max-width:none;margin-inline:auto;padding:80px 0}.home-revision .primary-title{font-size:clamp(30px,3.3vw,46px);line-height:1.15;letter-spacing:-.045em;text-transform:none;font-weight:600}.home-revision h4{letter-spacing:-.035em;line-height:1.25}.home-revision p{line-height:1.9}.home-revision .animate-bounce{animation:none}.home-revision a:focus-visible,.home-revision button:focus-visible{outline:3px solid #009740;outline-offset:5px}.home-header{position:sticky;top:0;z-index:40;height:96px;background:#ffffffed;backdrop-filter:blur(12px);border-bottom:1px solid #edf3ee}.home-nav{width:min(1280px,calc(100% - 112px));margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between;gap:25px}.home-nav>a>img{width:220px;height:auto}.home-nav nav{display:flex;gap:27px;align-items:center;font-size:12px;font-weight:600}.home-nav nav a{padding:15px 0}.home-nav nav a:hover,.home-nav nav a:last-child{color:#009740}.home-nav nav a:last-child{border-bottom:1px solid #009740}.home-nav button{display:none}
/* The video remains an unframed part of the white hero, moved into the page. */
.home-hero{position:relative;isolation:isolate;overflow:hidden;min-height:650px}.home-hero-video{position:absolute!important;display:block!important;top:-25px;right:0;width:80%;height:660px;object-fit:cover;object-position:right top;z-index:-1;pointer-events:none;border:0;border-radius:0;box-shadow:none}.home-hero>.lg\:hidden{display:none}.home-hero #hero{padding:62px 0 55px;min-height:0;display:block}.home-hero #hero>div{padding:0;margin:0;display:block}.home-hero #hero>div>div:first-child{width:46%;max-width:570px;margin-bottom:55px}.home-hero #hero>div>div:first-child>div:first-child img{height:87px;width:auto;margin-bottom:28px}.home-hero #hero>div>div:first-child .space-y-10{margin-top:28px}.home-hero .space-y-title-text{--title-text-spacing:20px}.home-hero .grid{gap:16px}.home-hero .grid span{font-size:10px;line-height:1.6}.home-hero .grid img{height:48px;object-fit:contain}.home-hero #hero>div>div:last-child{width:100%;margin-top:95px}.home-hero #hero>div>div:last-child>div{width:100%}.home-hero #hero>div>div:last-child>div>div{padding:36px 60px;gap:30px;align-items:center;min-height:220px;justify-content:center;border-radius:8px}.home-hero #hero>div>div:last-child .primary-title{font-size:32px}.home-hero #hero>div>div:last-child p{max-width:640px}.home-hero #hero>div>div:last-child .relative{flex:0 0 190px;width:190px;height:150px}.home-hero #hero>div>div:last-child .absolute{left:0;top:-35px}.home-hero #hero>div>div:last-child .absolute img{max-width:180px;max-height:210px;object-fit:contain}.home-hero .grid-rows-2{grid-template-rows:1fr;grid-template-columns:repeat(4,1fr)}
/* Clear section headers and fluid layouts, without rewriting the text. */
#history,#services,#review{border:0}#history>.container>div,#services>.container>div{display:grid;grid-template-columns:1fr 1fr;gap:65px}#history .bg-itrofer-600,#services .bg-itrofer-600,#values .bg-itrofer-600,#news .bg-itrofer-600,#review>.container>div>div:first-child .bg-itrofer-600{background:transparent;color:#009740;padding:0;height:auto;align-items:flex-start}#history .basis-1\/2:first-child,#services .basis-1\/2:first-child{gap:30px}#history article{padding-top:75px}#history h4{font-size:34px;text-transform:none}#history img{width:100%;height:460px;min-height:0;object-fit:cover;border-radius:7px}#values>.container>div,#news>.container>div:first-child,#review>.container>div:first-child{display:flex;flex-direction:column;gap:38px;padding:0}#values h3 br{display:none}#values article{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding:0;overflow:visible}#values article>div{width:auto;height:auto;min-width:0;background:white;border:1px solid #dcecdf;border-radius:7px;padding:28px;display:flex;flex-direction:column;gap:22px}#values article>div>.absolute{position:static}#values article>div>.absolute>div{width:48px;height:48px}#values article>div>.relative,#values article>div>.relative>div,#values article>div>.relative>div>div{position:static;width:auto;height:auto;margin:0;padding:0;background:transparent}#values h5{font-size:22px;text-transform:none;color:#009740;margin-bottom:12px}#values p{font-size:14px}#services article{padding-top:75px}#services article h4{font-size:32px}#services article h5{font-size:22px;margin-bottom:16px}#services article h6{font-size:15px;margin-bottom:12px}#services article li{font-size:14px}#services article .grid{grid-template-columns:1fr;gap:25px}#gallery-services{overflow:visible}#gallery-services>.grid{gap:25px;margin-top:30px}#gallery-services>.grid img{max-height:70px;object-fit:contain;filter:none}.home-gallery-trigger{position:relative;display:block;width:100%;height:520px;padding:0;border:0;background:#009740;border-radius:7px;overflow:hidden;cursor:pointer}.home-gallery-trigger>img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.home-gallery-trigger:hover>img{transform:scale(1.045)}.home-gallery-caption{position:absolute;bottom:25px;left:25px;right:25px;background:#009740;color:#fff;padding:15px 20px;border-radius:4px;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600}.home-gallery-caption>span{font-size:23px}.home-gallery-trigger:hover .home-gallery-caption{background:#007e35}
#news article{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;overflow:visible}#news article>.snap-center{padding:0;min-width:0}#news article>.snap-center>div{width:100%;height:100%;display:flex;flex-direction:column}#news article>.snap-center>div>div:first-child{position:relative;inset:auto;margin:0;height:245px;border-radius:6px}#news article>.snap-center>div>div:first-child>.absolute{display:none}#news article>.snap-center>div>div:nth-child(2){position:static;margin:0;padding:24px 0;height:auto;flex:1;background:transparent;box-shadow:none;gap:14px}#news h3:not(.primary-title){font-size:21px;line-height:1.45;color:#009740;text-transform:none;display:block;-webkit-line-clamp:unset}#news p{display:block;-webkit-line-clamp:unset;font-size:13px}#news time{font-size:11px;font-weight:400}#news a{font-size:13px}#news>.container>div:last-child{margin-top:34px}#review .basis-5\/6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;overflow:visible}#review .review-card{width:auto;min-width:0;max-width:none;height:auto;padding:25px 0 0}#review .review-card.hidden{display:none}#review .review-card>.absolute{top:0;left:22px}#review .review-card>.absolute>div{width:46px;height:46px}#review .review-card>.absolute span{font-size:20px}#review .review-card>.rounded-lg{padding:40px 25px 25px;box-shadow:none;border-color:#dfebe3}#review .review-card p{font-size:14px;overflow:visible}#review .review-card strong{font-size:12px}#review .review-card .flex-row{font-size:11px}#review .review-card img{width:18px}.home-revision footer .container{padding-block:48px}.home-revision footer p{font-size:11px}.home-revision footer img{max-width:240px}.home-revision footer>div:last-child img{max-width:none;width:100%}.home-revision>a[aria-label="WhatsApp"]{bottom:20px;right:20px}.home-revision>a[aria-label="WhatsApp"] svg{height:48px;width:48px}
#home-gallery{position:fixed;inset:0;width:min(1300px,96vw);max-width:96vw;height:min(920px,94dvh);max-height:94dvh;margin:auto;padding:0;border:0;border-radius:8px;background:#fff;color:#404943;overflow:hidden}#home-gallery::backdrop{background:#001c0bd9}.gallery-toolbar{height:72px;background:#009740;color:white;display:flex;align-items:center;justify-content:space-between;padding:15px 25px}.gallery-toolbar h2{font-size:22px;font-weight:600}.gallery-toolbar button,.gallery-stage button{border:1px solid currentColor;border-radius:50%;background:transparent;width:44px;height:44px;font-size:22px;cursor:pointer;flex-shrink:0}.gallery-stage{height:calc(100% - 116px);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px}.gallery-stage img{width:calc(100% - 118px);height:100%;object-fit:contain;min-width:0}.gallery-stage button{color:#009740}#gallery-count{text-align:center;height:44px;margin:0;font-size:12px}.home-revision:has(#home-gallery[open]){overflow:hidden}
@media(max-width:1050px){.home-revision .container,.home-nav{width:calc(100% - 64px)}.home-nav nav{gap:17px;font-size:11px}.home-nav>a>img{width:185px}.home-hero-video{width:91%;right:-8%;height:590px}.home-hero #hero>div>div:first-child{width:49%}#history>.container>div,#services>.container>div{gap:35px}#history h4,#services article h4{font-size:28px}#news article{gap:22px}#news article>.snap-center>div>div:first-child{height:200px}#values article{gap:18px}#values article>div{padding:23px}#values p{font-size:13px}.home-gallery-trigger{height:460px}}
@media(max-width:800px){.home-header{height:78px}.home-nav{width:calc(100% - 40px)}.home-nav>a>img{width:180px}.home-nav button{display:flex;gap:12px;align-items:center;border:1px solid #cde2d4;color:#009740;background:white;padding:8px 13px;border-radius:4px;font-size:12px}.home-nav nav{display:none;position:absolute;top:78px;left:0;right:0;background:white;padding:15px 25px;box-shadow:0 15px 25px #002a0e15;flex-direction:column;align-items:stretch;gap:0}.home-nav nav.is-open{display:flex}.home-nav nav a{font-size:15px;padding:12px}.home-nav nav a:last-child{border:0}.home-revision .container{width:calc(100% - 40px);padding-block:55px}.home-hero #hero{padding-top:40px}.home-hero-video{right:-15%;width:100%;height:600px;opacity:.85}.home-hero #hero>div>div:first-child{width:52%;font-size:13px}.home-hero #hero>div>div:last-child{margin-top:55px}.home-hero #hero>div>div:last-child>div>div{padding:30px;gap:24px}.home-hero #hero>div>div:last-child .relative{flex-basis:145px;width:145px}.home-hero #hero>div>div:last-child .absolute img{max-width:150px}.home-hero #hero>div>div:last-child .primary-title{font-size:27px}#history>.container>div,#services>.container>div{gap:28px}#history img{height:400px}#history article,#services article{padding-top:60px;font-size:13px}#history h4,#services article h4{font-size:26px}#values article{grid-template-columns:1fr}#values article>div{display:grid;grid-template-columns:48px 1fr;gap:24px}#values p{font-size:14px}#news article{grid-template-columns:repeat(2,minmax(0,1fr))}#review .basis-5\/6{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.home-hero-video{position:relative!important;right:auto;top:0;width:100%;height:265px;object-fit:cover;object-position:right top;opacity:1;z-index:0}.home-hero{display:flex;flex-direction:column}.home-hero #hero{padding-top:28px;margin-top:0}.home-hero #hero>div>div:first-child{width:100%;max-width:none;font-size:14px;margin:0}.home-hero #hero>div>div:first-child>div:first-child img{height:65px;margin-bottom:20px}.home-hero #hero>div>div:last-child{margin-top:60px}.home-hero #hero>div>div:last-child>div>div{padding:30px 25px;display:flex;flex-direction:column;gap:20px;align-items:flex-start}.home-hero #hero>div>div:last-child .relative{flex-basis:auto;width:100%;height:160px}.home-hero #hero>div>div:last-child .absolute{left:50%;transform:translateX(-50%);top:-55px}.home-hero #hero>div>div:last-child .absolute img{max-height:225px;max-width:210px}.home-hero #hero>div>div:last-child .md\:hidden{display:block}.home-hero #hero>div>div:last-child .grid{display:flex;flex-wrap:wrap;gap:15px;margin-top:20px}.home-hero #hero>div>div:last-child .grid img{height:43px;width:auto}.home-hero #hero>div>div:last-child .primary-title{font-size:29px}.home-hero #hero>div>div:last-child p{font-size:14px}#history>.container>div,#services>.container>div{grid-template-columns:1fr;gap:28px}#history article,#services article{padding:0;font-size:14px}#history img{height:330px}#history h4,#services article h4{font-size:29px}.home-gallery-trigger{height:370px}.home-gallery-caption{left:20px;right:20px;bottom:20px;font-size:13px}#values article>div{display:flex}#news article,#review .basis-5\/6{grid-template-columns:1fr}#news article>.snap-center>div>div:first-child{height:250px}#news h3:not(.primary-title){font-size:23px}#services article .lg\:hidden.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}#services article .lg\:hidden img{max-height:65px;object-fit:contain}.home-revision .primary-title{font-size:34px}.home-revision footer .container{padding-block:35px}.home-revision footer>div:first-child .flex{gap:22px}.home-revision footer a{font-size:12px}#home-gallery{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.gallery-toolbar{padding-inline:16px}.gallery-toolbar h2{font-size:20px}.gallery-stage{position:relative;padding:12px 10px 55px}.gallery-stage img{width:100%}.gallery-stage button{position:absolute;bottom:0;left:calc(50% - 55px)}.gallery-stage button:last-child{left:calc(50% + 11px)}}
.home-revision p{font-size:15px}.home-hero #hero>div>div:first-child p{font-size:17px}.home-hero #hero>div>div:first-child .grid>a{min-width:0}.home-hero #hero>div>div:first-child .grid img{max-width:100%}
@media(min-width:801px){#services .basis-1\/2:first-child{position:sticky;top:120px;align-self:start}}
@media(max-width:580px){.home-hero #hero>div>div:first-child p{font-size:15px}.home-hero #hero>div>div:first-child .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.home-hero #hero>div>div:first-child .grid span{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.home-revision *{transition:none!important;animation:none!important}}
