/* =========================================================
   HYDRAULIC INDIA — shared stylesheet
   Brands: BULAND / TVX
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --black:      #151515;
  --white:      #ffffff;
  --off-white:  #f4f5f5;
  --line:       #e2e4e4;
  --red:        #d71a1a;
  --red-dark:   #a91414;
  --steel:      #2b3742;
  --steel-soft: #465262;
  --grey:       #6b7280;
  --grey-light: #9aa1a8;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', Arial, sans-serif;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--black);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:600;
  line-height:1.1;
  margin:0;
  letter-spacing:.2px;
}
p{ margin:0 0 1em; color:var(--steel-soft); max-width:62ch; }
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}
:focus-visible{ outline:3px solid var(--red); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 26px;
  font-family:var(--font-head);
  font-size:15px;
  font-weight:500;
  letter-spacing:.3px;
  border-radius:2px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--red); color:var(--white); }
.btn-primary:hover{ background:var(--red-dark); }
.btn-outline{ background:transparent; color:var(--black); border-color:var(--black); }
.btn-outline:hover{ background:var(--black); color:var(--white); }
.btn-outline-light{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.6); }
.btn-outline-light:hover{ background:var(--white); color:var(--black); }

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 28px;
  max-width:var(--container);
  margin:0 auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-mark{
  font-family:var(--font-head);
  font-size:22px;
  font-weight:700;
  color:var(--black);
  letter-spacing:.3px;
}
.brand-mark span{ color:var(--red); }
.brand-sub{
  font-size:10.5px;
  letter-spacing:1.5px;
  color:var(--grey);
  border-left:2px solid var(--red);
  padding-left:10px;
  line-height:1.3;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav-links a{
  font-family:var(--font-head);
  font-size:14.5px;
  font-weight:500;
  color:var(--steel);
  padding:6px 2px;
  border-bottom:2px solid transparent;
  transition:border-color .15s ease, color .15s ease;
}
.nav-links a:hover,
.nav-links a.active{
  color:var(--black);
  border-color:var(--red);
}
.nav-cta{ margin-left:8px; }
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  display:block;
  width:24px; height:2px;
  background:var(--black);
  margin:5px 0;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:860px){
  .nav-links{
    position:fixed; inset:64px 0 auto 0;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    background:var(--white);
    border-bottom:1px solid var(--line);
    padding:8px 28px 20px;
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
  }
  .nav-links.open{
    opacity:1; transform:translateY(0); pointer-events:auto;
  }
  .nav-links a{ width:100%; padding:12px 0; border-bottom:1px solid var(--line); }
  .nav-links a.active{ border-bottom:1px solid var(--line); }
  .nav-cta{ margin:14px 0 0; }
  .nav-toggle{ display:block; }
}

/* ---------- chevron motif (from the TVX wing) ---------- */
.chevrons{
  position:absolute; inset:0;
  overflow:hidden;
  pointer-events:none;
}
.chevrons span{
  position:absolute;
  top:-10%; height:120%; width:16%;
  background:rgba(255,255,255,.05);
  clip-path:polygon(40% 0, 100% 0, 60% 100%, 0% 100%);
}
.chevron-divider{
  height:26px;
  background:var(--black);
  clip-path:polygon(0 0, 6% 100%, 12% 0, 18% 100%, 24% 0, 30% 100%, 36% 0, 42% 100%, 48% 0, 54% 100%, 60% 0, 66% 100%, 72% 0, 78% 100%, 84% 0, 90% 100%, 96% 0, 100% 100%, 100% 0);
}
.chevron-divider.red{ background:var(--red); }

/* ---------- hero (home) ---------- */
.hero{
  position:relative;
  background:
    linear-gradient(100deg, rgba(10,10,10,.93) 0%, rgba(10,10,10,.82) 45%, rgba(10,10,10,.6) 100%),
    url("https://miro.medium.com/v2/resize:fit:1100/format:webp/1*8JRZf1Xgm2-5mI6H5ip-iA.jpeg") center center / cover no-repeat;
  color:var(--white);
  padding:110px 0 90px;
  overflow:hidden;
}
.hero-inner{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:48px;
  align-items:center;
}
.eyebrow-line{
  display:flex; align-items:center; gap:12px;
  font-family:var(--font-head);
  font-size:13.5px;
  color:var(--grey-light);
  margin-bottom:22px;
}
.eyebrow-line::before{
  content:"";
  width:34px; height:2px; background:var(--red);
}
.hero h1{
  font-size:clamp(34px, 4.6vw, 58px);
  color:var(--white);
  margin-bottom:22px;
}
.hero h1 em{
  font-style:normal;
  color:var(--red);
}
.hero p.lead{
  color:#c7ccd1;
  font-size:17px;
  max-width:52ch;
  margin-bottom:32px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.14);
}
.hero-stat{
  background:#1c2530;
  padding:26px 22px;
}
.hero-stat .stat-ico{
  width:26px; height:26px;
  color:var(--red);
  margin-bottom:14px;
}
.hero-stat b{
  display:block;
  font-family:var(--font-head);
  font-size:34px;
  color:var(--white);
  margin-bottom:4px;
}
.hero-stat span{
  font-size:13px;
  color:var(--grey-light);
}

@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; }
}

/* ---------- section shells ---------- */
section{ padding:88px 0; }
.section-alt{ background:var(--off-white); }
.section-head{
  max-width:640px;
  margin-bottom:48px;
}
.section-head .kicker{
  font-family:var(--font-head);
  color:var(--red);
  font-size:14px;
  letter-spacing:.4px;
  margin-bottom:10px;
  display:block;
}
.section-head h2{
  font-size:clamp(26px, 3vw, 38px);
  margin-bottom:14px;
}

/* ---------- featured products ---------- */
.featured-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.featured-card{
  background:var(--white);
  padding:28px 24px 30px;
  transition:box-shadow .18s ease;
}
.featured-art{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--off-white);
  border:1px solid var(--line);
  margin-bottom:18px;
  padding:14px;
}
.featured-art svg{ width:100%; height:100%; }
.featured-art img{ width:100%; height:100%; object-fit:contain; }
.featured-card h4{ font-size:17px; margin-bottom:8px; }
.featured-card p{ font-size:13.5px; margin:0 0 14px; }
.featured-card .cat-link{
  font-family:var(--font-head);
  font-size:13px;
  color:var(--red);
  border-bottom:1px solid var(--red);
  padding-bottom:2px;
}
.featured-card .cat-link:hover{ color:var(--red-dark); border-color:var(--red-dark); }
@media (max-width:920px){
  .featured-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .featured-grid{ grid-template-columns:1fr; }
}

/* ---------- engineering diagram ---------- */
.diagram-layout{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:48px;
  align-items:center;
}
.diagram-legend{ margin-top:22px; display:flex; flex-direction:column; gap:12px; }
.diagram-legend li{
  display:flex; align-items:center; gap:12px;
  font-size:14px; color:var(--steel-soft);
}
.diagram-legend .dot{
  width:9px; height:9px; border-radius:50%;
  background:var(--red); flex-shrink:0;
}
.diagram-visual{
  background:var(--white);
  border:1px solid var(--line);
  padding:10px;
}
.diagram-svg{ width:100%; height:auto; display:block; }
@media (max-width:900px){
  .diagram-layout{ grid-template-columns:1fr; }
}

/* ---------- brand strip ---------- */
.brand-strip{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.brand-card{
  background:var(--white);
  padding:40px;
  display:flex;
  align-items:center;
  gap:26px;
}
.brand-card img{
  width:96px; height:96px;
  object-fit:contain;
  flex-shrink:0;
}
.brand-card h3{ font-size:22px; margin-bottom:8px; }
.brand-card p{ margin:0; font-size:14.5px; }
@media (max-width:760px){
  .brand-strip{ grid-template-columns:1fr; }
  .brand-card{ flex-direction:column; text-align:center; }
}

/* ---------- feature grid ---------- */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.feature{
  background:var(--white);
  padding:32px 26px;
}
.feature .num{
  font-family:var(--font-head);
  color:var(--red);
  font-size:13px;
  margin-bottom:14px;
  display:block;
}
.feature h4{ font-size:17px; margin-bottom:10px; }
.feature p{ font-size:14px; margin:0; }
@media (max-width:920px){
  .feature-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .feature-grid{ grid-template-columns:1fr; }
}

/* ---------- product catalog ---------- */
.catalog-toolbar{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:34px;
  padding-bottom:28px;
  border-bottom:1px solid var(--line);
}
.search-field{
  position:relative;
  flex:1 1 280px;
}
.search-field input{
  width:100%;
  padding:13px 16px 13px 42px;
  border:1.5px solid var(--line);
  border-radius:2px;
  font-family:var(--font-body);
  font-size:14.5px;
  background:var(--white);
}
.search-field input:focus{ border-color:var(--black); }
.search-field svg{
  position:absolute; left:14px; top:50%; transform:translateY(-50%);
  width:16px; height:16px; stroke:var(--grey);
}
.category-pills{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.pill{
  font-family:var(--font-head);
  font-size:12.5px;
  padding:9px 16px;
  border:1.5px solid var(--line);
  border-radius:2px;
  background:var(--white);
  color:var(--steel);
  cursor:pointer;
  transition:all .15s ease;
  white-space:nowrap;
}
.pill:hover{ border-color:var(--black); }
.pill.active{ background:var(--black); color:var(--white); border-color:var(--black); }
.result-count{
  font-size:13px;
  color:var(--grey);
  margin-bottom:18px;
}

.catalog-group{ margin-bottom:14px; }
.catalog-group-title{
  font-family:var(--font-head);
  font-size:19px;
  padding:14px 0;
  border-bottom:2px solid var(--black);
  margin-bottom:0;
  display:flex;
  align-items:center;
  gap:12px;
}
.catalog-group-title .cat-icon{
  display:inline-flex;
  width:34px; height:34px;
  flex-shrink:0;
  align-items:center;
  justify-content:center;
  color:var(--red);
  background:var(--off-white);
  border:1px solid var(--line);
  border-radius:2px;
}
.catalog-group-title .cat-icon svg{ width:20px; height:20px; }
.catalog-group-title .cat-title-text{ position:relative; top:1px; }
.catalog-group-title small{
  font-family:var(--font-body);
  font-size:12.5px;
  font-weight:500;
  color:var(--grey);
}
.product-table{
  width:100%;
  border-collapse:collapse;
}
.product-table tr{
  border-bottom:1px solid var(--line);
}
.product-table tr:hover{ background:var(--off-white); }
.product-table td{
  padding:16px 10px;
  vertical-align:top;
  font-size:14.5px;
}
.product-table td.pid{
  width:44px;
  font-family:var(--font-head);
  color:var(--red);
  font-size:13px;
  padding-top:17px;
}
.product-table td.pname{
  color:var(--black);
  font-weight:500;
  line-height:1.45;
}
.product-table td.pspec{
  width:260px;
  color:var(--grey);
  font-size:13px;
  text-align:right;
  white-space:nowrap;
}
@media (max-width:760px){
  .product-table td.pspec{ text-align:left; white-space:normal; }
  .product-table tr{ display:flex; flex-direction:column; padding:14px 0; }
  .product-table td{ padding:2px 0; width:auto !important; }
}
.no-results{
  padding:60px 0;
  text-align:center;
  color:var(--grey);
  font-size:15px;
  display:none;
}

/* ---------- founders / people ---------- */
.people-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.person-card{
  border:1px solid var(--line);
  padding:32px;
  background:var(--white);
}
.person-card .role{
  font-family:var(--font-head);
  font-size:12.5px;
  color:var(--red);
  letter-spacing:.3px;
  margin-bottom:6px;
  display:block;
}
.person-card h3{ font-size:21px; margin-bottom:16px; }
.person-card p{ font-size:14.5px; margin:0; }
@media (max-width:760px){ .people-grid{ grid-template-columns:1fr; } }

/* ---------- testing cards ---------- */
.testing-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.testing-card{
  background:var(--white);
  padding:30px;
}
.testing-card .testing-ico{
  width:34px; height:34px;
  color:var(--red);
  margin-bottom:16px;
}
.testing-card .metric{
  font-family:var(--font-head);
  font-size:30px;
  color:var(--black);
  margin-bottom:6px;
}
.testing-card .metric span{ color:var(--red); }
.testing-card h4{
  font-size:14.5px;
  text-transform:none;
  margin-bottom:10px;
  color:var(--steel);
  font-family:var(--font-body);
  font-weight:600;
}
.testing-card p{ font-size:13.5px; margin:0; }
@media (max-width:900px){ .testing-grid{ grid-template-columns:1fr; } }

/* ---------- story / about layout ---------- */
.story-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:56px;
  align-items:start;
}
.story-layout .story-figure{
  position:sticky; top:110px;
  border:1px solid var(--line);
  padding:34px;
  background:var(--off-white);
}
.story-figure .yr{
  font-family:var(--font-head);
  font-size:54px;
  color:var(--red);
  line-height:1;
}
.story-figure .yr-label{
  font-size:13px; color:var(--grey);
  margin-top:8px;
}
.story-figure hr{
  border:none; border-top:1px solid var(--line);
  margin:24px 0;
}
@media (max-width:900px){
  .story-layout{ grid-template-columns:1fr; }
  .story-layout .story-figure{ position:static; }
}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--red);
  color:var(--white);
  padding:64px 0;
  text-align:center;
}
.cta-band h2{ color:var(--white); margin-bottom:10px; font-size:clamp(24px,3vw,34px); }
.cta-band p{ color:rgba(255,255,255,.88); margin:0 auto 28px; }

/* ---------- contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:56px;
}
.contact-cards{ display:flex; flex-direction:column; gap:1px; background:var(--line); border:1px solid var(--line); }
.contact-card{ background:var(--white); padding:26px 28px; display:flex; gap:18px; }
.contact-card .ico{
  width:40px; height:40px; flex-shrink:0;
  border:1.5px solid var(--black);
  display:flex; align-items:center; justify-content:center;
}
.contact-card .ico svg{ width:18px; height:18px; stroke:var(--black); }
.contact-card h4{ font-size:15px; margin-bottom:4px; font-family:var(--font-body); font-weight:600; }
.contact-card p{ margin:0; font-size:14.5px; }
.contact-card a{ color:var(--black); border-bottom:1px solid var(--red); }

.form-panel{ border:1px solid var(--line); padding:36px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field.full{ grid-column:1 / -1; }
.form-field label{ font-size:13px; color:var(--steel); font-weight:600; }
.form-field input,
.form-field select,
.form-field textarea{
  border:1.5px solid var(--line);
  padding:12px 14px;
  font-family:var(--font-body);
  font-size:14.5px;
  border-radius:2px;
  background:var(--white);
  resize:vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{ border-color:var(--black); }
.form-note{ font-size:12.5px; color:var(--grey); margin-top:14px; }
.form-status{
  font-size:13.5px;
  margin-top:16px;
  padding:12px 14px;
  border-radius:2px;
  display:none;
}
.form-status.show{ display:block; }
.form-status.pending{ background:var(--off-white); color:var(--steel-soft); }
.form-status.success{ background:#eef7ee; color:#256029; border:1px solid #bfe3bf; }
.form-status.error{ background:#fdeeee; color:var(--red-dark); border:1px solid #f3c3c3; }
button[disabled]{ opacity:.6; cursor:not-allowed; }
@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}

.map-wrap{
  margin-top:60px;
  border:1px solid var(--line);
}
.map-wrap iframe{ width:100%; height:380px; border:0; display:block; filter:grayscale(.15); }

/* ---------- page hero (about/contact) ---------- */
.page-hero{
  background:
    linear-gradient(100deg, rgba(10,10,10,.93) 0%, rgba(10,10,10,.82) 45%, rgba(10,10,10,.6) 100%),
    url("https://miro.medium.com/v2/resize:fit:1100/format:webp/1*8JRZf1Xgm2-5mI6H5ip-iA.jpeg") center center / cover no-repeat;
  color:var(--white);
  padding:70px 0 56px;
  position:relative;
  overflow:hidden;
}
.page-hero h1{ color:var(--white); font-size:clamp(30px,4vw,44px); }
.page-hero p{ color:#c7ccd1; margin-top:12px; max-width:56ch; }

/* ---------- footer ---------- */
footer{ background:var(--black); color:#c7ccd1; padding:56px 0 26px; }
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
  padding-bottom:36px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand .brand-mark{ color:var(--white); }
.footer-brand p{ color:var(--grey-light); font-size:14px; margin-top:14px; }
.footer-col h5{
  font-family:var(--font-head);
  font-size:13.5px;
  letter-spacing:.3px;
  color:var(--white);
  margin-bottom:16px;
}
.footer-col a, .footer-col span{
  display:block;
  font-size:14px;
  color:var(--grey-light);
  margin-bottom:10px;
}
.footer-col a:hover{ color:var(--white); }
.footer-logos{ display:flex; gap:14px; margin-top:6px; }
.footer-logos img{ width:52px; height:52px; object-fit:contain; background:var(--white); padding:6px; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:22px; font-size:12.5px; color:var(--grey-light); flex-wrap:wrap; gap:10px;
}
