/* ============================================================
   SR HYDRAULIC — design tokens
   Palette pulled from the brand mark: signal blue + graphite navy.
   Display type: Barlow Condensed (technical, stencil-adjacent)
   Body type: Inter
   ============================================================ */
:root {
  --navy-950: #0e131a;
  --navy-800: #1c2530;
  --navy-700: #2a3542;
  --blue-600: #0e52ad;
  --blue-700: #0a3e86;
  --blue-500: #2e7ce0;
  --blue-100: #e6eefb;
  --blue-050: #f2f6fd;
  --steel-500: #5c6773;
  --steel-300: #97a1ab;
  --line: #dde3ea;
  --bg: #f6f8fa;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(14, 22, 33, 0.09);
  --shadow-sm: 0 6px 16px rgba(14, 22, 33, 0.07);
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy-800);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(92%, var(--container)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; }

.display {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--navy-950);
}
h1 { font-size: clamp(38px, 4.6vw, 58px); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: 22px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--navy-950); }
p { color: var(--steel-500); }
.lede { font-size: 18px; max-width: 40ch; color: var(--steel-500); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
}
.tag::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--blue-600);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-secondary { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy-800); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: var(--blue-050); }
.btn-full { width: 100%; border: 0; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrapper { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { height: 34px; width: auto; display: block; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy-950);
}
.brand-text small { color: var(--steel-500); font-size: 10.5px; letter-spacing: 0.06em; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 14.5px; }
.main-nav a:not(.nav-cta) { position: relative; padding: 4px 0; color: var(--navy-800); }
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--blue-600); transition: right .2s ease;
}
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 10px 18px; border-radius: 7px; background: var(--navy-950); color: #fff; }
.nav-cta:hover { background: var(--blue-600); }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-950); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

/* ---------- Shared section rhythm ---------- */
section { scroll-margin-top: 84px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(14,19,26,0.45) 0%, rgba(14,19,26,0.60) 45%, rgba(14,19,26,0.60) 65%, var(--navy-950) 100%),
    url('https://images.pexels.com/photos/36532643/pexels-photo-36532643.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  background-color: var(--navy-950);
  overflow: hidden;
  padding: 84px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 20px; position: relative; z-index: 2; }
.hero-content { padding-bottom: 88px; }
.hero-content .tag { color: var(--blue-500); }
.hero-content .tag::before { background: var(--blue-500); }
.hero h1 { color: #fff; margin-top: 16px; }
.hero h1 .accent-line { display: block; color: var(--blue-500); }
.hero-content > p.lede { color: #b6c0cb; margin-top: 22px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}
.hero-diagonal {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(14,82,173,0.8) 0%, rgba(10,62,134,0.8) 46%, rgba(28,37,48,0.8) 46.2%, rgba(28,37,48,0.8) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.85;
}
.hero-schematic { position: relative; width: 100%; padding: 56px 34px 0; z-index: 1; }
.hero-schematic svg { width: 100%; height: auto; }
.hero-badge {
  position: relative;
  z-index: 2;
  margin: 0 34px 40px;
  max-width: 270px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(14, 19, 26, 0.55);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
}
.hero-badge strong { display: block; font-size: 14px; color: #fff; }
.hero-badge span { display: block; font-size: 12.5px; margin-top: 4px; color: #b6c0cb; }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 20px;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,.09);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat span { display: block; margin-top: 6px; font-size: 13px; color: #97a1ab; }

/* ---------- Section heading ---------- */
.section-heading { max-width: 640px; margin-bottom: 46px; }
.section-heading h2 { margin-top: 14px; }
.section-heading p { margin-top: 14px; font-size: 16px; }
.section-heading-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 46px;
}
.section-heading-row .section-heading { margin-bottom: 0; }

/* ---------- Products ---------- */
.products-section { padding: 110px 0 100px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.product-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-050);
  color: var(--blue-600);
  margin-bottom: 20px;
}
.product-icon svg { width: 30px; height: 30px; }
.product-category { color: var(--blue-600); font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; }
.product-card h3 { margin-top: 8px; }
.product-card > p { margin-top: 9px; font-size: 14.5px; }
.product-link {
  display: inline-block; margin-top: 18px; font-weight: 600; font-size: 13.5px; color: var(--navy-950);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.product-card:hover .product-link { color: var(--blue-600); border-color: var(--blue-600); }

/* ---------- Capabilities ---------- */
.capabilities-section { padding: 0 0 110px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.capability {
  background: var(--white);
  padding: 32px 26px;
}
.capability-icon { width: 38px; height: 38px; color: var(--blue-600); margin-bottom: 18px; }
.capability-icon svg { width: 100%; height: 100%; }
.capability h3 { font-size: 18px; }
.capability p { margin-top: 8px; font-size: 13.5px; }

/* ---------- About ---------- */
.about-section { padding: 100px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.about-panel {
  position: relative;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--radius-lg);
  background: var(--navy-950);
  overflow: hidden;
}
.about-panel svg { width: 100%; height: 100%; }
.about-content .tag { margin-bottom: 6px; }
.about-content h2 { max-width: 560px; }
.about-content > p.lede { margin-top: 18px; max-width: 54ch; font-size: 16.5px; }
.feature-list { display: grid; gap: 20px; margin-top: 30px; }
.feature-item { display: flex; gap: 15px; align-items: flex-start; }
.feature-icon {
  flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px; background: var(--blue-050); color: var(--blue-600);
}
.feature-icon svg { width: 16px; height: 16px; }
.feature-item strong { font-size: 15px; color: var(--navy-950); }
.feature-item p { font-size: 13.5px; margin-top: 3px; }

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(100deg, var(--blue-700) 0%, var(--blue-600) 35.8%, var(--navy-950) 65.5%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-section .tag { color: #cfe0f7; }
.cta-section .tag::before { background: #cfe0f7; }
.cta-section h2 { color: #fff; margin-top: 10px; }
.cta-section p { color: #c7d3de; margin-top: 8px; max-width: 46ch; }

/* ---------- Contact ---------- */
.contact-section { padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: start; }
.contact-copy h2 { max-width: 480px; }
.contact-copy > p.lede { margin-top: 16px; max-width: 50ch; }
.contact-details { display: grid; gap: 14px; margin-top: 32px; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-050); color: var(--blue-600); flex: 0 0 auto; }
.contact-icon svg { width: 19px; height: 19px; }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { color: var(--steel-500); font-size: 11.5px; }
.contact-item strong { font-size: 14.5px; margin-top: 2px; font-weight: 600; }
.social-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.social-links a { border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: 12.5px; font-weight: 600; }
.social-links a:hover { border-color: var(--blue-600); color: var(--blue-600); }

.contact-form { background: #fff; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: grid; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 12.5px; font-weight: 600; color: var(--navy-800); }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 12px 13px;
  outline: none; background: var(--bg); color: var(--navy-950);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(14, 82, 173, .1); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 11.5px; margin-top: 12px; color: var(--steel-300); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #fff; padding: 60px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 40px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #8b96a2; }
.footer-inner p { color: #97a1ab; max-width: 320px; font-size: 13.5px; margin-top: 4px; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-links { display: grid; gap: 11px; font-size: 13.5px; }
.footer-links a { color: #97a1ab; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; color: #6d7883; font-size: 12px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display : none; min-height: 340px; margin-top: 10px; }
  .hero-content { padding-bottom: 50px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-panel { max-width: 560px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid rgba(255,255,255,.09); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-wrapper { min-height: 68px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; width: 100%; padding: 14px 4% 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(17,35,45,.08);
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.nav-cta) { padding: 13px 0; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 6px; }

  .hero { padding-top: 56px; }
  .hero-content { padding-bottom: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-diagonal { display:none; clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }

  .section-heading-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .products-section, .capabilities-section + .about-section, .about-section, .contact-section { padding: 70px 0; }
  .products-section { padding-top: 76px; }
  .capabilities-section { padding-bottom: 76px; }
  .product-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  .brand-text small { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
}

/* ============================================================
   Nav active state + animated menu icon
   ============================================================ */
.main-nav a[aria-current="page"]:not(.nav-cta) { color: var(--blue-600); }
.main-nav a[aria-current="page"]:not(.nav-cta)::after { right: 0; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Inner-page hero banner (Products / About / Contact)
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--navy-950);
  overflow: hidden;
  padding: 66px 0 54px;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-600) 34%, transparent 55.5%);
  opacity: 0.9;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .tag { color: var(--blue-500); }
.page-hero .tag::before { background: var(--blue-500); }
.page-hero h1 { color: #fff; margin-top: 14px; font-size: clamp(34px, 4.4vw, 50px); }
.page-hero p.lede { color: #b6c0cb; margin-top: 14px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #8b96a2; margin-top: 18px; }
.breadcrumb a { color: #cddaea; }
.breadcrumb a:hover { color: #fff; }

/* ============================================================
   Product image frame (used in product cards + carousel)
   ============================================================ */
 .product-image {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
 
 
   /**  
.product-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-950);
  margin-bottom: 18px;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }**/

.product-card.has-image .product-icon { display: none; }
.product-card .card-actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.btn-enquire {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--blue-600); color: var(--blue-600);
  background: transparent; border-radius: 8px; padding: 10px 16px;
  font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn-enquire:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }

/* Products page grid gets a touch more breathing room per card */
.products-page .product-grid { gap: 26px; }
.products-page .product-card { padding: 20px 20px 24px; }

/* ============================================================
   Featured products carousel (Home)
   ============================================================ */
.carousel-section { padding: 100px 0 110px; }
.carousel-wrap { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 22px;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
}
.carousel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .22s ease, transform .22s ease;
}
.carousel-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.carousel-card .product-image { margin-bottom: 0; border-radius: 0; aspect-ratio: 4/3; }
.carousel-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.carousel-card-body p { font-size: 14px; margin-top: 8px; flex: 1; }
.carousel-card .card-actions { margin-top: 16px; }

.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  margin-top: 34px;
}
.carousel-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer;
  color: var(--navy-950);
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow:hover:not(:disabled) { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-1px); }
.carousel-arrow:disabled { opacity: 0.35; cursor: default; }
.carousel-dots { display: flex; align-items: center; gap: 9px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--line); cursor: pointer; transition: background .18s ease, transform .18s ease;
}
.carousel-dot.is-active { background: var(--blue-600); transform: scale(1.3); }

@media (max-width: 1080px) {
  .carousel-slide { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 720px) {
  .carousel-slide { flex-basis: 100%; }
  .carousel-section { padding: 70px 0 76px; }
}

/* ============================================================
   Enquiry modal
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(14, 19, 26, 0.6);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.modal-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.modal-dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  padding: 30px;
  box-shadow: 0 30px 70px rgba(10,14,20,.35);
  transform: translateY(18px) scale(.97);
  opacity: 0;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .25s ease;
}
.modal-overlay.is-open .modal-dialog { transform: translateY(0) scale(1); opacity: 1; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 6px; }
.modal-head h3 { font-size: 24px; }
.modal-close {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--steel-500);
  transition: border-color .18s ease, color .18s ease;
}
.modal-close:hover { border-color: var(--blue-600); color: var(--blue-600); }
.modal-close svg { width: 15px; height: 15px; }
.modal-sub { font-size: 13.5px; color: var(--steel-500); margin-bottom: 20px; }
body.modal-open { overflow: hidden; }

/* ============================================================
   Contact map
   ============================================================ */
.map-section { padding: 0 0 110px; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 6;
  background: var(--blue-050);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-note { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 12.5px; color: var(--steel-300); }

@media (max-width: 720px) {
  .map-frame { aspect-ratio: 4 / 5; }
}

/* ============================================================
   Product showcase slider (Home) — full-width fading gallery
   ============================================================ */
.showcase-section { background: var(--navy-950); }
.showcase-slider {
  position: relative;
  overflow: hidden;
  height: 560px;
}
.showcase-track { position: relative; width: 100%; height: 100%; }
.showcase-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-950);
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease;
  display: flex;
  align-items: center;
}
.showcase-slide.is-active { opacity: 1; visibility: visible; }
.showcase-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,20,0.92) 0%, rgba(10,14,20,0.72) 38%, rgba(10,14,20,0.25) 68%, rgba(10,14,20,0.05) 100%);
}
.showcase-content { position: relative; max-width: 620px; z-index: 1; }
.showcase-content .tag-light { color: #7fb0f0; }
.showcase-content .tag-light::before { background: #7fb0f0; }
.showcase-content h2 { color: #fff; margin: 14px 0 16px; font-size: clamp(28px, 3.4vw, 42px); }
.showcase-content p { color: #cddaea; max-width: 46ch; margin-bottom: 26px; }

.showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(14,19,26,0.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.showcase-arrow:hover { border-color: #fff; background: rgba(14,19,26,0.75); }
.showcase-arrow svg { width: 20px; height: 20px; }
.showcase-arrow.prev { left: 24px; }
.showcase-arrow.next { right: 24px; }

.showcase-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
}
.showcase-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .18s ease, transform .18s ease, width .18s ease;
}
.showcase-dot.is-active { background: var(--blue-500); border-color: var(--blue-500); width: 26px; border-radius: 5px; }

@media (max-width: 860px) {
  .showcase-slider { height: 620px; }
  .showcase-content { max-width: 90%; }
  .showcase-scrim { background: linear-gradient(180deg, rgba(10,14,20,0.35) 0%, rgba(10,14,20,0.88) 62%, rgba(10,14,20,0.96) 100%); }
  .showcase-content { padding-top: 40vh; }
  .showcase-arrow { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
