/*
Theme Name: HydroTek Kadence Child
Template: kadence
Version: 3.0.1
Text Domain: hydrotek
*/
:root{--htek-navy:#0A2342;--htek-blue:#115CAB;--htek-bright:#1DADE4;--htek-bg:#F4F8FC;--htek-line:#dce8f4}
body{color:#24364b}.htek-wrap{width:min(1180px,calc(100% - 40px));margin:auto}.htek-eyebrow{color:var(--htek-blue);font-weight:800;letter-spacing:.16em;text-transform:uppercase;font-size:.83rem}.htek-eyebrow--light{color:#a8e2fa}
.htek-hero{min-height:720px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(244,248,252,.99),rgba(244,248,252,.91) 42%,rgba(244,248,252,.08)),url('assets/images/hydrotek-hero.jpg') center/cover no-repeat}.htek-hero__content{max-width:735px;padding:80px 0}.htek-hero h1{font-size:clamp(3rem,6vw,5.7rem);line-height:.98;color:var(--htek-navy);margin:0 0 24px}.htek-hero p{font-size:1.22rem;line-height:1.72}.htek-actions{display:flex;gap:16px;flex-wrap:wrap}.htek-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 28px;border-radius:8px;text-decoration:none!important;font-weight:800;border:2px solid var(--htek-blue);transition:.2s ease}.htek-btn:hover{transform:translateY(-2px)}.htek-btn--primary{background:var(--htek-blue);color:#fff}.htek-btn--secondary{background:#fff;color:var(--htek-navy)}
.htek-proof-strip{background:var(--htek-navy);color:#fff}.htek-proof-strip__inner{display:flex;justify-content:space-between;gap:18px;padding:18px 0;font-size:.88rem;font-weight:750;letter-spacing:.04em}.htek-proof-strip span{position:relative}.htek-proof-strip span:not(:last-child):after{content:"";position:absolute;right:-30px;top:50%;width:4px;height:4px;border-radius:50%;background:var(--htek-bright)}
.htek-section{padding:88px 0}.htek-section--tint{background:var(--htek-bg)}.htek-section__heading{text-align:center;max-width:820px;margin:0 auto 46px}.htek-section__heading h2,.htek-story h2{font-size:clamp(2rem,4vw,3.2rem);color:var(--htek-navy);line-height:1.08}.htek-section__heading p{font-size:1.08rem;line-height:1.7}
.htek-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.htek-photo-card,.htek-capability-grid article{background:#fff;border:1px solid var(--htek-line);border-radius:18px;overflow:hidden;box-shadow:0 14px 38px rgba(10,35,66,.08)}.htek-photo-card img{width:100%;height:245px;object-fit:cover}.htek-photo-card>div{padding:26px}.htek-photo-card h3,.htek-capability-grid h3{color:var(--htek-navy);margin:0 0 10px;font-size:1.35rem}
.htek-image-band{position:relative;min-height:570px;display:flex;align-items:center;background-image:linear-gradient(90deg,rgba(5,25,49,.94),rgba(5,25,49,.72) 48%,rgba(5,25,49,.12)),var(--htek-band-image);background-position:center;background-size:cover;color:#fff}.htek-image-band__content{max-width:670px;padding:80px 0}.htek-image-band h2{color:#fff;font-size:clamp(2.5rem,4vw,4.3rem);line-height:1.02}.htek-image-band p{font-size:1.17rem;line-height:1.7}
.htek-capability-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.htek-capability-grid img{width:100%;height:190px;object-fit:cover}.htek-capability-grid article h3,.htek-capability-grid article p{margin-left:22px;margin-right:22px}.htek-capability-grid article p{margin-bottom:26px}
.htek-story{display:grid;grid-template-columns:1fr 1fr;gap:62px;align-items:center}.htek-story__image img{width:100%;height:520px;object-fit:cover;border-radius:22px;box-shadow:0 18px 48px rgba(10,35,66,.14)}.htek-list{columns:2}.htek-list--single{columns:1;padding-left:22px}.htek-list li{margin-bottom:10px}.htek-two-col{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}.htek-band{background:linear-gradient(135deg,var(--htek-navy),var(--htek-blue));color:#fff}.htek-band h2{color:#fff}.htek-band .htek-actions{justify-content:flex-end}
.htek-services-hero{position:relative;overflow:hidden;padding:112px 0 92px;background:linear-gradient(135deg,#071d37 0%,#0a315d 52%,#115cab 100%);color:#fff}.htek-services-hero:after{content:"";position:absolute;width:460px;height:460px;border:90px solid rgba(29,173,228,.12);border-radius:50%;right:-110px;top:-160px}.htek-services-hero .htek-wrap{position:relative;z-index:1}.htek-services-hero h1{color:#fff;font-size:clamp(2.7rem,5vw,4.8rem);margin:0 0 20px;line-height:1.02}.htek-services-hero p{max-width:900px;font-size:1.22rem;line-height:1.65}
.htek-service-jump{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--htek-line);box-shadow:0 8px 24px rgba(10,35,66,.06);backdrop-filter:blur(10px)}.admin-bar .htek-service-jump{top:32px}.htek-service-jump__inner{display:flex;gap:20px;overflow-x:auto;padding:15px 0}.htek-service-jump a{white-space:nowrap;color:var(--htek-navy);text-decoration:none;font-weight:750;font-size:.91rem}
.htek-service-feature{padding:82px 0;border-bottom:1px solid #e2edf6;scroll-margin-top:90px}.htek-service-feature:nth-child(even){background:var(--htek-bg)}.htek-service-feature__grid{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);gap:66px;align-items:center}.htek-service-feature--reverse .htek-service-feature__visual{order:2}.htek-service-feature--reverse .htek-service-feature__content{order:1}.htek-service-feature__visual{position:relative;min-height:330px;border-radius:24px;overflow:hidden;background:#dceefa}.htek-service-feature__photo img{width:100%;height:100%;min-height:330px;object-fit:cover}.htek-service-feature__number{position:absolute;right:16px;bottom:8px;color:rgba(255,255,255,.82);text-shadow:0 2px 18px rgba(0,0,0,.45);font-size:5rem;font-weight:900;line-height:1}.htek-service-feature__content h2{margin:0 0 16px;color:var(--htek-navy);font-size:clamp(2rem,3vw,3.1rem);line-height:1.1}.htek-service-feature__lead{font-size:1.1rem;line-height:1.75;margin-bottom:24px}.htek-check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0;padding:0;list-style:none}.htek-check-list li{position:relative;padding-left:30px;line-height:1.5}.htek-check-list li:before{content:"✓";position:absolute;left:0;top:-1px;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#daf2fb;color:var(--htek-blue);font-size:.8rem;font-weight:900}
.htek-county-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.htek-county{padding:18px;text-align:center;font-weight:800;color:var(--htek-navy);background:#fff;border:1px solid var(--htek-line);border-radius:10px}

.htek-btn--text{border-color:transparent;background:transparent;color:var(--htek-navy);padding-left:10px;padding-right:10px}.htek-btn--text:hover{color:var(--htek-blue);transform:translateY(-2px)}
.htek-portal-section{padding:92px 0;background:linear-gradient(135deg,#071d37 0%,#0a315d 58%,#115cab 100%);color:#fff;overflow:hidden;position:relative}.htek-portal-section:before{content:"";position:absolute;right:-160px;top:-220px;width:560px;height:560px;border:110px solid rgba(29,173,228,.11);border-radius:50%}.htek-portal-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center}.htek-portal-content h2{color:#fff;font-size:clamp(2.35rem,4vw,4rem);line-height:1.04;margin:0 0 20px}.htek-portal-content>p{font-size:1.12rem;line-height:1.75;max-width:670px}.htek-portal-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:28px 0 32px}.htek-portal-features span{position:relative;padding-left:27px;font-weight:750}.htek-portal-features span:before{content:"✓";position:absolute;left:0;color:#8fd1f2;font-weight:900}.htek-portal-visual{display:flex;justify-content:center}.htek-portal-window{width:min(100%,500px);border-radius:20px;background:#fff;box-shadow:0 28px 70px rgba(0,0,0,.28);overflow:hidden;transform:rotate(1.5deg)}.htek-portal-window__bar{height:42px;background:#e9f1f8;display:flex;align-items:center;gap:8px;padding:0 16px}.htek-portal-window__bar i{width:10px;height:10px;border-radius:50%;background:#8ba5bd}.htek-portal-window__body{padding:38px;background:linear-gradient(180deg,#fff,#f4f8fc)}.htek-portal-icon{width:68px;height:68px;border-radius:18px;display:grid;place-items:center;background:#d9f1fb;color:var(--htek-blue);font-size:2.6rem;font-weight:900}.htek-portal-lines{margin:25px 0}.htek-portal-lines b,.htek-portal-lines span{display:block;border-radius:999px;background:#dce8f4;margin-bottom:11px;height:11px}.htek-portal-lines b{width:68%;height:17px;background:#0a315d}.htek-portal-lines span:nth-child(2){width:92%}.htek-portal-lines span:nth-child(3){width:78%}.htek-portal-lines span:nth-child(4){width:61%}.htek-portal-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.htek-portal-cards i{height:78px;border-radius:12px;background:linear-gradient(145deg,#d7edf8,#edf6fb);border:1px solid #cfe0ed}
@media(max-width:1000px){.htek-capability-grid{grid-template-columns:repeat(2,1fr)}.htek-proof-strip__inner{flex-wrap:wrap;justify-content:center}.htek-proof-strip span:after{display:none}}
@media(max-width:900px){.htek-photo-grid,.htek-story,.htek-two-col,.htek-county-grid,.htek-service-feature__grid,.htek-portal-grid{grid-template-columns:1fr}.htek-list{columns:1}.htek-service-feature--reverse .htek-service-feature__visual,.htek-service-feature--reverse .htek-service-feature__content{order:initial}.htek-band .htek-actions{justify-content:flex-start}.htek-portal-visual{justify-content:flex-start}.admin-bar .htek-service-jump{top:46px}}
@media(max-width:650px){.htek-portal-features{grid-template-columns:1fr}.htek-portal-window__body{padding:26px}.htek-wrap{width:min(100% - 28px,1180px)}.htek-hero{min-height:650px;background-position:63% center}.htek-hero__content{padding:60px 0}.htek-section{padding:62px 0}.htek-capability-grid{grid-template-columns:1fr}.htek-image-band{min-height:520px}.htek-service-jump{position:relative}.admin-bar .htek-service-jump{top:auto}.htek-service-feature{padding:58px 0}.htek-service-feature__visual,.htek-service-feature__photo img{min-height:250px}.htek-story__image img{height:390px}}


/* HydroTek Website 2.0 public-page components */
.htek-page-hero{padding:105px 0 82px;background:linear-gradient(135deg,#071d37,#0a315d 55%,#115cab);color:#fff;position:relative;overflow:hidden}
.htek-page-hero:after{content:"";position:absolute;right:-130px;top:-170px;width:500px;height:500px;border:95px solid rgba(29,173,228,.11);border-radius:50%}
.htek-page-hero .htek-wrap{position:relative;z-index:1}
.htek-page-hero h1{color:#fff;font-size:clamp(2.8rem,5vw,4.9rem);line-height:1.02;margin:0 0 18px}
.htek-page-hero p{max-width:850px;font-size:1.2rem;line-height:1.72;margin:0}
.htek-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:58px;align-items:center}
.htek-content-grid--reverse .htek-content-grid__media{order:2}
.htek-content-grid__media img{width:100%;height:460px;object-fit:cover;border-radius:22px;box-shadow:0 18px 46px rgba(10,35,66,.14)}
.htek-content-grid h2{color:var(--htek-navy);font-size:clamp(2rem,3.5vw,3.2rem);line-height:1.08;margin-top:0}
.htek-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.htek-value-card{padding:30px;background:#fff;border:1px solid var(--htek-line);border-radius:16px;box-shadow:0 12px 34px rgba(10,35,66,.06)}
.htek-value-card h3{margin:0 0 10px;color:var(--htek-navy)}
.htek-resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.htek-resource-card{padding:28px;background:#fff;border:1px solid var(--htek-line);border-radius:16px}
.htek-resource-card h3{color:var(--htek-navy);margin-top:0}
.htek-resource-card a{font-weight:800}
.htek-contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:42px}
.htek-contact-panel{padding:30px;background:var(--htek-bg);border:1px solid var(--htek-line);border-radius:18px}
.htek-contact-panel h2,.htek-contact-panel h3{color:var(--htek-navy)}
.htek-contact-item{padding:14px 0;border-bottom:1px solid var(--htek-line)}
.htek-contact-item:last-child{border-bottom:0}
.htek-contact-item strong{display:block;color:var(--htek-navy)}
.htek-form-shell{padding:30px;background:#fff;border:1px solid var(--htek-line);border-radius:18px;box-shadow:0 14px 38px rgba(10,35,66,.07)}
.htek-portal-feature{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
.htek-portal-preview{background:#fff;border:1px solid var(--htek-line);border-radius:20px;padding:24px;box-shadow:0 18px 50px rgba(10,35,66,.12)}
.htek-portal-preview__top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--htek-line);padding-bottom:16px;margin-bottom:16px}
.htek-portal-preview__cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.htek-portal-preview__cards div{padding:17px;background:var(--htek-bg);border-radius:11px}
.htek-portal-preview__cards span{display:block;color:#64748b;font-size:.76rem;text-transform:uppercase;font-weight:800;letter-spacing:.06em}
.htek-portal-preview__cards strong{display:block;color:var(--htek-navy);margin-top:5px}
.htek-quiet-note{font-size:.94rem;color:#66778a}
@media(max-width:900px){
 .htek-content-grid,.htek-contact-grid,.htek-portal-feature{grid-template-columns:1fr}
 .htek-content-grid--reverse .htek-content-grid__media{order:initial}
 .htek-value-grid,.htek-resource-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
 .htek-value-grid,.htek-resource-grid,.htek-portal-preview__cards{grid-template-columns:1fr}
 .htek-content-grid__media img{height:340px}
}


/* HydroTek v2.1 launch-candidate refinements */
.htek-hero{min-height:640px}
.htek-hero__content{max-width:790px}
.htek-hero .htek-actions{margin-top:30px}
.htek-trust-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1px;background:var(--htek-line);border-top:1px solid var(--htek-line);border-bottom:1px solid var(--htek-line)}
.htek-trust-item{background:#fff;padding:20px 14px;text-align:center;color:var(--htek-navy);font-size:.88rem;font-weight:800;line-height:1.35}
.htek-audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.htek-audience-card{background:#fff;border:1px solid var(--htek-line);border-radius:16px;padding:27px;box-shadow:0 12px 32px rgba(10,35,66,.06)}
.htek-audience-card h3{margin:0 0 8px;color:var(--htek-navy)}
.htek-feature-split{display:grid;grid-template-columns:1.02fr .98fr;gap:58px;align-items:center}
.htek-feature-split--reverse .htek-feature-split__media{order:2}
.htek-feature-split__media img{width:100%;height:520px;object-fit:cover;border-radius:22px;box-shadow:0 18px 48px rgba(10,35,66,.14)}
.htek-feature-split h2{font-size:clamp(2.2rem,4vw,3.5rem);line-height:1.08;color:var(--htek-navy);margin:0 0 20px}
.htek-project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.htek-project-card{position:relative;min-height:340px;border-radius:18px;overflow:hidden;background:#071d37}
.htek-project-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.htek-project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(4,22,43,.94),rgba(4,22,43,.06) 68%)}
.htek-project-card__content{position:absolute;left:0;right:0;bottom:0;padding:25px;z-index:1;color:#fff}
.htek-project-card__content h3{color:#fff;margin:0 0 7px}
.htek-operator-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:52px;align-items:center;background:#fff;border:1px solid var(--htek-line);border-radius:22px;padding:32px;box-shadow:0 18px 50px rgba(10,35,66,.09)}
.htek-operator-card img{width:100%;height:430px;object-fit:cover;border-radius:16px}
.htek-footer-enhanced{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:38px}
.htek-footer-enhanced h3,.htek-footer-enhanced h4{color:#fff}
.htek-footer-enhanced a{color:#d7e9fb}
.htek-footer-enhanced p{color:#c6d5e5}
.htek-project-hero{padding:100px 0 75px;background:linear-gradient(135deg,#061a32,#0c4078);color:#fff}
.htek-project-hero h1{color:#fff;font-size:clamp(2.8rem,5vw,4.8rem);line-height:1.03;margin:0 0 18px}
.htek-project-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.htek-project-detail{background:#fff;border:1px solid var(--htek-line);border-radius:18px;overflow:hidden}
.htek-project-detail img{width:100%;height:340px;object-fit:cover}
.htek-project-detail div{padding:25px}
.htek-project-detail h2{font-size:1.55rem;color:var(--htek-navy);margin:0 0 10px}
@media(max-width:980px){
 .htek-trust-grid{grid-template-columns:repeat(3,1fr)}
 .htek-audience-grid,.htek-project-grid{grid-template-columns:repeat(2,1fr)}
 .htek-feature-split,.htek-operator-card{grid-template-columns:1fr}
 .htek-feature-split--reverse .htek-feature-split__media{order:initial}
 .htek-footer-enhanced{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
 .htek-hero{min-height:560px}
 .htek-trust-grid,.htek-audience-grid,.htek-project-grid,.htek-project-detail-grid,.htek-footer-enhanced{grid-template-columns:1fr}
 .htek-feature-split__media img{height:390px}
 .htek-operator-card img{height:360px}
}


/* HydroTek v3.0 production refinements */
:root{
  --htek-navy:#08233f;
  --htek-blue:#0e5da8;
  --htek-bright:#20aee6;
  --htek-bg:#f5f8fb;
  --htek-line:#dce6ef;
  --htek-text:#26384b;
  --htek-muted:#627386;
}
body{color:var(--htek-text)}
.htek-wrap{width:min(1180px,calc(100% - 44px))}
.htek-section{padding:96px 0}
.htek-section__heading{margin-bottom:50px}
.htek-section__heading p{max-width:740px;margin-left:auto;margin-right:auto}
.htek-hero{min-height:600px}
.htek-hero h1{font-size:clamp(3rem,6vw,5.4rem);max-width:760px}
.htek-hero p{max-width:730px}
.htek-v3-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.htek-v3-gallery figure{margin:0;position:relative;overflow:hidden;border-radius:18px;min-height:300px;background:#0a2342}
.htek-v3-gallery img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.htek-v3-gallery figure:hover img{transform:scale(1.025)}
.htek-v3-gallery figure:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(5,25,49,.9),rgba(5,25,49,.04) 68%)}
.htek-v3-gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:22px;color:#fff;font-weight:800;font-size:1.04rem;z-index:1}
.htek-v3-values{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.htek-v3-value{padding:28px;background:#fff;border-radius:16px;border:1px solid var(--htek-line)}
.htek-v3-value h3{margin:0 0 8px;color:var(--htek-navy)}
.htek-v3-value p{margin:0;color:var(--htek-muted)}
.htek-v3-services{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.htek-v3-service{overflow:hidden;background:#fff;border:1px solid var(--htek-line);border-radius:18px;box-shadow:0 12px 35px rgba(8,35,63,.07)}
.htek-v3-service img{width:100%;height:220px;object-fit:cover}
.htek-v3-service div{padding:25px}
.htek-v3-service h3{color:var(--htek-navy);margin:0 0 8px}
.htek-v3-service p{margin:0;color:var(--htek-muted)}
.htek-v3-photo-copy{display:grid;grid-template-columns:1fr 1fr;gap:62px;align-items:center}
.htek-v3-photo-copy img{width:100%;height:520px;object-fit:cover;border-radius:22px;box-shadow:0 18px 48px rgba(8,35,63,.14)}
.htek-v3-photo-copy h2{color:var(--htek-navy);font-size:clamp(2.2rem,4vw,3.55rem);line-height:1.08}
.htek-v3-footer-band{padding:36px 0;background:#061b31;color:#d8e6f4}
.htek-v3-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:42px}
.htek-v3-footer-grid h3,.htek-v3-footer-grid h4{color:#fff}
.htek-v3-footer-grid a{color:#d8e6f4}
.htek-v3-footer-grid p{margin:.45rem 0}
.htek-v3-tagline{font-weight:800;color:#fff}
.htek-v3-note{font-size:.92rem;color:var(--htek-muted)}
@media(max-width:950px){
 .htek-v3-gallery,.htek-v3-values,.htek-v3-services{grid-template-columns:repeat(2,1fr)}
 .htek-v3-photo-copy,.htek-v3-footer-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
 .htek-wrap{width:min(100% - 28px,1180px)}
 .htek-section{padding:68px 0}
 .htek-v3-gallery,.htek-v3-values,.htek-v3-services{grid-template-columns:1fr}
 .htek-v3-gallery figure{min-height:270px}
 .htek-v3-photo-copy img{height:390px}
}


/* HydroTek v3.0.1 photo focal-point corrections
   Keeps Dennis's face and head visible in every homepage crop. */
.htek-img-sampling-card {
  object-position: 50% 18%;
}
.htek-img-sampling-feature {
  object-position: 50% 16%;
}
.htek-img-sampling-gallery {
  object-position: 50% 17%;
}
.htek-img-operator {
  object-position: 82% 20%;
}

/* Preserve focal points on narrower screens. */
@media (max-width: 900px) {
  .htek-img-sampling-card { object-position: 50% 15%; }
  .htek-img-sampling-feature { object-position: 50% 13%; }
  .htek-img-sampling-gallery { object-position: 50% 14%; }
  .htek-img-operator { object-position: 82% 18%; }
}
@media (max-width: 650px) {
  .htek-img-sampling-card { object-position: 50% 12%; }
  .htek-img-sampling-feature { object-position: 50% 10%; }
  .htek-img-sampling-gallery { object-position: 50% 12%; }
  .htek-img-operator { object-position: 84% 16%; }
}
