/* Hastec homepage redesign — responsive, accessible, and designed to complement the existing site. */
:root{--h-green:#07543d;--h-green-dark:#063b2c;--h-green-soft:#eaf4ee;--h-gold:#e8b638;--h-ink:#172923;--h-muted:#65736d;--h-line:#e2e9e4;--h-paper:#fbfcfa;--h-radius:18px;--h-shadow:0 14px 38px rgba(9,55,39,.08)}
.home-hero{position:relative;overflow:hidden;padding:clamp(48px,7vw,88px) 0;background:linear-gradient(110deg,#f7faf6 0%,#f3f8f2 54%,#e7f0e6 100%)}.home-hero:after{content:"";position:absolute;width:360px;height:360px;right:-190px;top:-150px;border:1px solid rgba(7,84,61,.12);border-radius:50%;box-shadow:0 0 0 35px rgba(7,84,61,.025),0 0 0 75px rgba(7,84,61,.02);pointer-events:none}.home-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:center;gap:clamp(30px,5vw,68px)}.home-hero-copy{max-width:610px}.home-hero .eyebrow,.home-about-copy .eyebrow,.home-final-cta .eyebrow{color:var(--h-green);letter-spacing:.15em}.home-hero h1{max-width:650px;font-size:clamp(2.55rem,5vw,4.45rem);line-height:1.03;letter-spacing:-.055em;color:var(--h-ink);margin:.25rem 0 1.2rem}.home-hero h1 span{color:var(--h-green)}.home-hero-lead{max-width:540px;font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.75;color:#53635b}.home-hero .hero-actions{margin-top:26px}.home-hero .button{min-height:48px}.home-hero .button-outline{border-color:#b9c9bf;color:var(--h-green);background:rgba(255,255,255,.55)}.home-hero .button-outline:hover{background:#fff;border-color:var(--h-green)}.home-hero .button:not(.button-outline){background:var(--h-green);border-color:var(--h-green)}.home-hero .button:not(.button-outline):hover{background:var(--h-green-dark)}.home-proof{display:flex;gap:15px 22px;flex-wrap:wrap;margin-top:30px}.home-proof span{display:flex;align-items:center;gap:8px;color:#40564a;font-size:.83rem;font-weight:650}.home-proof i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dcebe0;color:var(--h-green);font-style:normal;font-size:.78rem}.home-hero-visual{position:relative;min-width:0;min-height:350px;height:clamp(350px,38vw,485px);overflow:hidden;border-radius:24px;background:linear-gradient(140deg,#d5e7d9,#edf3e8 52%,#b9d1be);box-shadow:var(--h-shadow)}.home-hero-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(4,42,29,.24));z-index:1;pointer-events:none}.home-hero-visual>img{width:100%;height:100%;object-fit:cover}.home-hero-visual.no-hero-image{background:radial-gradient(ellipse at 70% 45%,#fff7d7 0 8%,transparent 9%),linear-gradient(145deg,#d8e9dc,#8db59a)}.home-hero-visual.no-hero-image:after{content:"HASTEC\A Incubation solutions";white-space:pre;position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:var(--h-green);font-size:1.45rem;font-weight:850;line-height:1.8;letter-spacing:.04em}.home-visual-note{position:absolute;z-index:2;left:18px;right:18px;bottom:18px;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid rgba(255,255,255,.7);border-radius:14px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px)}.home-note-mark{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:var(--h-green-soft);color:var(--h-green);font-size:1.3rem}.home-visual-note strong,.home-visual-note small{display:block}.home-visual-note strong{font-size:.93rem;color:var(--h-ink)}.home-visual-note small{font-size:.79rem;color:var(--h-muted);margin-top:2px}.home-benefits{position:relative;z-index:3;margin-top:-1px;background:#fff;border-bottom:1px solid var(--h-line)}.home-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:24px 0}.home-benefit-grid article{display:flex;align-items:center;gap:14px;padding:8px clamp(10px,2.3vw,28px);border-right:1px solid var(--h-line)}.home-benefit-grid article:first-child{padding-left:0}.home-benefit-grid article:last-child{border-right:0;padding-right:0}.benefit-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:15px;background:var(--h-green-soft);color:var(--h-green);font-size:1.5rem;font-weight:800}.home-benefit-grid h3{font-size:.94rem;letter-spacing:-.02em;margin:0 0 3px;color:var(--h-ink)}.home-benefit-grid p{font-size:.81rem;line-height:1.45;margin:0;color:var(--h-muted)}.home-products-section{padding-top:clamp(55px,7vw,82px);padding-bottom:clamp(55px,7vw,82px)}.home-section-heading{align-items:end;margin-bottom:28px}.home-section-heading h2{max-width:650px;font-size:clamp(1.75rem,3vw,2.55rem);margin-bottom:8px}.home-section-heading p{margin:0;max-width:620px}.home-section-heading>.text-link{white-space:nowrap;margin-bottom:5px;color:var(--h-green)}.home-product-grid{gap:20px}.home-product-card,.home-article-card{border-color:var(--h-line);border-radius:16px;box-shadow:none}.home-product-card:hover,.home-article-card:hover{box-shadow:var(--h-shadow);transform:translateY(-3px)}.home-product-image{height:clamp(190px,22vw,255px);background:#f0f5ef;position:relative}.home-product-image img{object-fit:contain;padding:12px}.home-image-placeholder,.home-blog-placeholder{display:grid;place-items:center;width:100%;height:100%;min-height:180px;background:linear-gradient(135deg,#edf5ee,#dbe9de);color:var(--h-green);font-size:.9rem;font-weight:750;letter-spacing:.04em}.home-product-card .card-body{padding:20px}.home-card-kicker{font-size:.67rem;letter-spacing:.12em;font-weight:800;color:#74877a}.home-product-card h3{font-size:1.12rem;margin:8px 0}.home-product-card .card-body p{font-size:.9rem;min-height:44px}.home-product-card .card-bottom{border-color:var(--h-line);padding-top:15px;margin-top:16px}.home-product-card .card-bottom strong{color:var(--h-green);font-size:1rem}.home-product-card .card-bottom a{color:var(--h-green);white-space:nowrap}.home-empty-state{grid-column:1/-1;padding:28px;border:1px dashed #c9d9ce;border-radius:16px;background:var(--h-paper)}.home-empty-state strong{color:var(--h-ink)}.home-about-band{padding:clamp(45px,6vw,72px) 0;background:#f5f8f4}.home-about-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(30px,6vw,78px);align-items:center}.home-about-art{position:relative;min-height:350px;height:clamp(350px,40vw,470px);overflow:hidden;border-radius:20px;background:linear-gradient(135deg,#e7c18a,#f6e8c8 48%,#d5e6d4)}.home-about-art>img{width:100%;height:100%;object-fit:cover}.home-about-art.no-about-image:after{content:"Hatchery care\A starts here";white-space:pre;position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:var(--h-green);font-size:1.5rem;font-weight:800;line-height:1.6}.home-about-stamp{position:absolute;left:16px;bottom:16px;padding:11px 15px;border-radius:10px;background:rgba(255,255,255,.93);color:var(--h-green);font-size:.9rem;font-weight:900;letter-spacing:.1em}.home-about-stamp small{font-size:.54rem;letter-spacing:.08em}.home-about-copy h2{font-size:clamp(1.9rem,3.2vw,2.8rem);max-width:520px}.home-about-copy>p{max-width:580px}.home-check-list{display:grid;gap:16px;padding:0;margin:25px 0 28px;list-style:none}.home-check-list li{display:flex;align-items:flex-start;gap:12px}.home-check-list li>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#dcebe0;color:var(--h-green);font-weight:850}.home-check-list strong,.home-check-list small{display:block}.home-check-list strong{color:var(--h-ink);font-size:.94rem}.home-check-list small{margin-top:3px;color:var(--h-muted);font-size:.85rem}.home-about-copy .button{background:var(--h-green);border-color:var(--h-green)}.home-blog-section{padding:clamp(55px,7vw,82px) 0}.home-blog-grid{gap:20px}.home-article-image{height:clamp(175px,19vw,225px);position:relative;background:#eaf2e9}.home-article-image img{object-fit:cover}.home-blog-banner{position:absolute;left:12px;bottom:12px;padding:6px 9px;border-radius:5px;background:var(--h-green);color:#fff;font-size:.62rem;letter-spacing:.1em;font-weight:800}.home-blog-placeholder{padding:20px}.home-article-card .card-body{padding:19px}.home-post-date{font-size:.76rem;color:#78877e}.home-article-card h3{font-size:1.1rem;margin:9px 0}.home-article-card .card-body p{font-size:.88rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.home-read-more{display:inline-flex;gap:7px;align-items:center;margin-top:4px;color:var(--h-green);font-weight:750;font-size:.86rem}.home-final-cta{padding:clamp(38px,5vw,60px) 0;background:linear-gradient(110deg,#eaf3e9,#f8faf5)}.home-final-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.home-final-cta h2{max-width:700px;font-size:clamp(1.8rem,3.2vw,2.7rem);margin-bottom:8px}.home-final-cta p{margin:0;max-width:640px}.home-final-cta .hero-actions{margin:0;flex-shrink:0}.home-final-cta .button:not(.button-outline){background:var(--h-green);border-color:var(--h-green)}.home-final-cta .button-outline{color:var(--h-green);border-color:#b7c9bc}.home-whatsapp{position:fixed;z-index:80;right:22px;bottom:22px;display:flex;align-items:center;gap:10px;padding:10px 15px 10px 10px;border:1px solid rgba(255,255,255,.65);border-radius:999px;background:#0b8f55;color:#fff;box-shadow:0 8px 26px rgba(0,0,0,.18);font-size:.86rem;font-weight:800;transition:transform .2s,box-shadow .2s}.home-whatsapp:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.22);color:#fff}.home-whatsapp-icon{display:grid;place-items:center;width:34px;height:34px;border:2px solid rgba(255,255,255,.85);border-radius:50%;font-size:1.1rem}.home-whatsapp-label{white-space:nowrap}
@media(max-width:900px){.home-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:28px}.home-hero-visual{min-height:315px;height:360px}.home-proof{gap:10px 14px}.home-benefit-grid article{padding-inline:14px}.home-about-grid{gap:30px}.home-final-cta-inner{align-items:flex-start;flex-direction:column}.home-final-cta .hero-actions{margin-top:4px}}
@media(max-width:680px){.home-hero{padding:42px 0 32px}.home-hero-grid{grid-template-columns:1fr;gap:25px}.home-hero h1{font-size:clamp(2.45rem,10vw,3.35rem);max-width:560px}.home-hero-lead{font-size:1rem}.home-hero-visual{height:clamp(245px,68vw,360px);min-height:245px;border-radius:17px}.home-visual-note{left:10px;right:10px;bottom:10px;padding:10px 12px}.home-proof{gap:10px 15px;margin-top:22px}.home-proof span{font-size:.78rem}.home-benefit-grid{grid-template-columns:1fr;padding:9px 0}.home-benefit-grid article,.home-benefit-grid article:first-child,.home-benefit-grid article:last-child{padding:14px 0;border-right:0;border-bottom:1px solid var(--h-line)}.home-benefit-grid article:last-child{border-bottom:0}.benefit-icon{width:42px;height:42px;flex-basis:42px}.home-section-heading{align-items:flex-start;flex-direction:column;gap:15px}.home-section-heading>.text-link{margin:0}.home-products-section,.home-blog-section{padding:48px 0}.home-product-grid,.home-blog-grid{grid-template-columns:1fr;gap:16px}.home-product-image{height:clamp(210px,65vw,300px)}.home-product-card .card-body p{min-height:0}.home-about-band{padding:42px 0}.home-about-grid{grid-template-columns:1fr;gap:25px}.home-about-art{min-height:250px;height:clamp(250px,68vw,350px)}.home-about-copy h2{font-size:2rem}.home-check-list{gap:13px;margin:20px 0 24px}.home-article-image{height:clamp(200px,62vw,280px)}.home-article-card .card-body{padding:18px}.home-final-cta-inner{gap:20px}.home-final-cta .hero-actions{display:grid;width:100%;grid-template-columns:1fr}.home-final-cta .button{width:100%}.home-whatsapp{right:14px;bottom:14px;padding:7px}.home-whatsapp-label{display:none}.home-whatsapp-icon{width:42px;height:42px}.home-hero .hero-actions{gap:10px}.home-hero .hero-actions .button{flex:1;min-width:0;padding:12px 13px;font-size:.88rem}}
@media(prefers-reduced-motion:reduce){.home-product-card,.home-article-card,.home-whatsapp{transition:none}.home-product-card:hover,.home-article-card:hover,.home-whatsapp:hover{transform:none}}


/* Hastec homepage clean-up and image-fit fix */
.home-hero-visual {
    height: auto;
    min-height: 0;
    aspect-ratio: 5 / 4;
    overflow: hidden;
}

.home-hero-visual > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/* Remove decorative items requested for the cleaner homepage. */
.home-proof,
.home-visual-note,
.home-about-stamp {
    display: none !important;
}

/* Keep the About image fully visible instead of cropping it. */
.home-about-art {
    height: auto;
    min-height: 0;
    aspect-ratio: 5 / 4;
}

.home-about-art > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/* Avoid placeholder text competing with the real imagery. */
.home-hero-visual.no-hero-image::after,
.home-about-art.no-about-image::after {
    content: none;
}

/* Keep images and sections fitting smaller screens without clipping. */
@media (max-width: 680px) {
    .home-hero-visual {
        aspect-ratio: 4 / 3;
        min-height: 0;
        height: auto;
    }

    .home-about-art {
        aspect-ratio: 4 / 3;
        min-height: 0;
        height: auto;
    }

    .home-hero-visual > img,
    .home-about-art > img {
        height: 100%;
    }
}
