/* Nysa Electrical Trading — site styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  /* Surfaces */
  --bg: #eef3f9;
  --bg-soft: #f8fafd;
  --white: #ffffff;

  /* Text */
  --ink: #0e2740;
  --ink-soft: #44586f;
  --muted: #7a8ca1;

  /* Brand blues */
  --accent: #1363b8;
  --accent-deep: #0a3d72;
  --accent-tint: #e9f1fb;
  --navy: #0a2a4a;

  --border: #dbe5f0;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(10, 42, 74, 0.07);
  --shadow-md: 0 14px 44px rgba(10, 42, 74, 0.12);
  --max: 1180px;

  --font: 'Inter', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --display: 'DM Serif Display', 'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 100px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: 0.2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ======= HEADER — matches GHF exactly ======= */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 58px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 110px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .logo img { height: 70px; }
}

.nav {
  display: flex;
  gap: 42px;
  align-items: center;
}
.nav > a, .nav .dropdown-toggle {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: color 0.18s;
}
.nav > a:hover, .nav > a.active,
.nav .dropdown-toggle:hover, .nav-dropdown.open .dropdown-toggle,
.nav .dropdown-toggle.active { color: var(--accent); }

/* ===== Dropdown menus ===== */
.nav-dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dropdown-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0.55;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-dropdown:hover .dropdown-toggle::after,
.nav-dropdown.open .dropdown-toggle::after {
  opacity: 1;
  transform: rotate(225deg) translate(-2px, -2px);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.16);
  min-width: 268px;
  padding: 8px 0;
  z-index: 200;
  border: 1px solid var(--border);
  margin-top: 16px;
}
/* Invisible bridge so moving the cursor from the tab to the menu keeps hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
  animation: dropIn 0.16s ease-out;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-5px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.dropdown-menu a {
  display: block;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.dropdown-menu a:hover { background: var(--bg); color: var(--accent); }
.dropdown-menu .menu-head {
  display: block;
  padding: 8px 22px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.dropdown-menu .menu-sep {
  height: 1px;
  background: var(--border);
  margin: 7px 0;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}

/* ======= HERO — matches GHF proportions ======= */
.hero {
  padding: 56px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.2px;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  min-height: 46px;
}
.btn-primary {
  background: var(--navy);
  color: white;
}
.btn-primary:hover { background: #1e293b; transform: translateY(-1px); }
.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--ink); }
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stats strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-stats span {
  font-size: 0.825rem;
  color: var(--muted);
}

/* ======= SLIDESHOW CARD ======= */
.slide-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.slide-viewport {
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}
.slide-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}
.slide-viewport img.active { opacity: 1; }
.slide-meta {
  padding: 18px 8px 8px;
}
.slide-meta h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.slide-meta p {
  font-size: 0.9rem;
  color: var(--muted);
}
.slide-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* ======= SECTIONS ======= */
.section { padding: 80px 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2.05rem, 3.6vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.14;
  color: var(--accent-deep);
  margin-bottom: 16px;
}
.section-intro {
  color: var(--ink-soft);
  font-size: 1.0rem;
  max-width: 440px;
  line-height: 1.7;
}

.products-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

/* ======= BRAND CARDS ======= */
/* Wider container just for the 5-across brand row */
.container-wide {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 28px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.brand-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
/* Overlay link covers the whole card except the inline links */
.brand-card-link {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  z-index: 1;
}
/* Inline links sit above the overlay */
.brand-card .card-links {
  position: relative;
  z-index: 2;
}
.brand-card .country {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.brand-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.brand-card .brand-logo {
  height: 32px;
  margin-bottom: 14px;
  object-fit: contain;
  object-position: left;
}
/* Reserve the logo row so every card lines up, and cap width as well as
   height so wordmarks of different proportions read at a similar weight */
.brand-card .logo-slot {
  height: 38px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}
.brand-card .logo-slot img {
  max-height: 38px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.brand-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.brand-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
  background: #f7f8fa;
  padding: 7px;
  border: 1px solid #eef1f4;
}
/* 1 image — full width banner */
.brand-thumbs img:only-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/10;
}
/* 2, 3 and 4 images flow as even squares in the 2-column grid,
   matching the source layout (2 up / 1 below, or a clean 2x2). */
.brand-card .cat {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.brand-card ul {
  font-size: 0.88rem;
  color: var(--ink-soft);
  flex: 1;
}
.brand-card ul li {
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}
.brand-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--muted);
}
.brand-card .enquire {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}
.brand-card .enquire:hover { text-decoration: underline; }

.products-note {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* ======= SERVICES ======= */
.services-header {
  margin-bottom: 40px;
  max-width: 560px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ======= ABOUT / STRATEGY ======= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.about-split p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ======= CTA BAND ======= */
.cta-band {
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(29, 110, 190, 0.38), transparent 70%),
    linear-gradient(135deg, #0c3158 0%, var(--navy) 100%);
  color: white;
  border-radius: 22px;
  padding: 52px 52px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.cta-band .section-label { margin-bottom: 10px; color: rgba(255,255,255,0.65); }
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  line-height: 1.18;
  color: white;
}
.cta-band p { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.65; }
.cta-email {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.cta-email:hover { color: #8dc2f5; }
.cta-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6) !important;
  margin-bottom: 22px;
  line-height: 1.6;
}
.cta-band .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.cta-band .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.55);
}

/* ======= TEAM ======= */
.team-section { padding-top: 64px; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.team-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.team-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.team-card .role {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.team-card .detail {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.team-card .detail strong { color: var(--ink); }
.team-card a { color: var(--accent); font-weight: 500; }
.team-card a:hover { text-decoration: underline; }
.wa-link {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.85rem;
  padding: 2px 10px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 6px;
  font-weight: 600;
}

/* ======= PAGE HERO (inner pages) ======= */
.page-hero {
  background: white;
  padding: 48px 0 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--accent-deep);
  letter-spacing: -0.015em;
  padding-bottom: 40px;
}
.page-hero-dark {
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(29, 110, 190, 0.45), transparent 70%),
    linear-gradient(180deg, #0c3158 0%, var(--navy) 100%);
  color: white;
  padding: 80px 0 100px;
  text-align: center;
  margin-top: -1px;
}
.page-hero-dark h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.page-hero-dark p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ======= CONTACT FORM ======= */
.contact-wrap {
  max-width: 960px;
  margin: -60px auto 80px;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}
.contact-box {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 350px 1fr;
}
.contact-side {
  background: linear-gradient(165deg, #0c3158 0%, var(--navy) 100%);
  color: white;
  padding: 40px 34px;
}
.contact-side h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.contact-side p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.contact-side .info-line {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.contact-side a { color: #7dd3fc; }
/* WhatsApp pill on the dark contact panel */
.contact-side .wa-link {
  background: rgba(5, 150, 105, 0.22);
  color: #6ee7b7;
  margin-left: 8px;
}
.contact-side .wa-link:hover { background: rgba(5, 150, 105, 0.34); }
.contact-form-area { padding: 40px 36px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #f8fafc;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ======= FOOTER ======= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  text-align: center;
}
.site-footer .logo {
  justify-content: center;
}
.site-footer .logo img { height: 40px; margin: 0 auto 16px; }
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ======= CONTENT PAGES ======= */
.content-section {
  background: white;
  padding: 64px 0;
}
.content-section .container { max-width: 800px; }
.content-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.content-section p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.content-section ul {
  margin: 16px 0 24px;
}
.content-section ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--ink-soft);
}
.content-section ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* ======= SECTION ALT ======= */
.section-alt { background: var(--bg-soft); }

/* ======= SECTOR ARTICLE PAGES ======= */
.sector-article {
  max-width: 830px;
  margin: 0 auto;
  padding: 0 28px;
}
.sector-heading {
  font-family: var(--display);
  font-size: clamp(1.95rem, 3.4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.16;
  color: var(--accent-deep);
  margin-bottom: 30px;
}
.sector-lead {
  font-size: 1.22rem;
  line-height: 1.72;
  color: var(--ink);
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  margin-bottom: 30px;
}
.sector-article p {
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.sector-article p:last-of-type { margin-bottom: 0; }

/* Subheads within an article */
.sector-subhead {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

/* Spec / standard cards */
.spec-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 34px 0;
}
/* Four items sit on one line rather than wrapping 3 + 1 */
.spec-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec-row.four .spec { padding: 16px 16px; }
@media (max-width: 760px) {
  .spec-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .spec-row.four { grid-template-columns: 1fr; }
}
.spec {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.spec strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.spec span {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Supply / application list */
.supply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}
.supply-grid li {
  background: white;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
}
.supply-grid li small {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 3px;
}

/* Tag chips (project types served) */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}
.tag-row span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ======= SECTOR HERO SLIDESHOW =======
   Full-bleed, 4 slides, 4s each, 16s loop, pure CSS crossfade + slow zoom.
   Each slide has a blurred backdrop so portrait / low-res sources sit on a
   filled frame instead of being upscaled across the whole width. */
.shero {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vw, 560px);
  overflow: hidden;
  background: var(--navy);
  margin-top: -1px;
}
.shero-track { position: absolute; inset: 0; }

.shero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: sheroFade 16s infinite;
}
.shero-slide:nth-child(1) { animation-delay: 0s; }
.shero-slide:nth-child(2) { animation-delay: 4s; }
.shero-slide:nth-child(3) { animation-delay: 8s; }
.shero-slide:nth-child(4) { animation-delay: 12s; }

/* Blurred fill behind the sharp image */
.shero-slide .shero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(34px) saturate(1.25) brightness(0.5);
  transform: scale(1.18);
}
/* The sharp image */
.shero-slide .shero-fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: sheroZoom 16s infinite;
  animation-delay: inherit;
}
.shero-slide .shero-fg.fit-cover   { object-fit: cover; }
.shero-slide .shero-fg.fit-contain { object-fit: contain; }
.shero-slide:nth-child(1) .shero-fg { animation-delay: 0s; }
.shero-slide:nth-child(2) .shero-fg { animation-delay: 4s; }
.shero-slide:nth-child(3) .shero-fg { animation-delay: 8s; }
.shero-slide:nth-child(4) .shero-fg { animation-delay: 12s; }

@keyframes sheroFade {
  0%    { opacity: 0; }
  1.5%  { opacity: 1; }
  23%   { opacity: 1; }
  26%   { opacity: 0; }
  100%  { opacity: 0; }
}
@keyframes sheroZoom {
  0%   { transform: scale(1.015); }
  26%  { transform: scale(1.085); }
  100% { transform: scale(1.085); }
}

/* Scrim that guarantees the title stays legible over any frame */
.shero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 44% at 50% 50%, rgba(5,20,38,0.52) 0%, rgba(5,20,38,0.18) 65%, transparent 100%),
    linear-gradient(180deg, rgba(5,20,38,0.58) 0%, rgba(5,20,38,0.26) 40%, rgba(5,20,38,0.74) 100%),
    radial-gradient(130% 95% at 50% 50%, transparent 38%, rgba(5,20,38,0.5) 100%);
}

/* Title block over the slideshow */
.shero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 28px;
}
.shero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.568rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shero-accent, #8dc2f5);
  margin-bottom: 22px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.75);
}
.shero-eyebrow::before,
.shero-eyebrow::after {
  content: '';
  width: 52px;
  height: 4px;
  border-radius: 1px;
  background: var(--shero-accent, #8dc2f5);
  opacity: 0.8;
}
.shero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 28px rgba(0,0,0,0.65), 0 1px 3px rgba(0,0,0,0.5);
}
.shero p {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 12px rgba(0,0,0,0.75);
}

/* Progress ticks */
.shero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.shero-dots i {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
  position: relative;
}
.shero-dots i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--shero-accent, #8dc2f5);
  transform: scaleX(0);
  transform-origin: left;
  animation: sheroTick 16s infinite;
}
.shero-dots i:nth-child(1)::after { animation-delay: 0s; }
.shero-dots i:nth-child(2)::after { animation-delay: 4s; }
.shero-dots i:nth-child(3)::after { animation-delay: 8s; }
.shero-dots i:nth-child(4)::after { animation-delay: 12s; }
@keyframes sheroTick {
  0%   { transform: scaleX(0); }
  25%  { transform: scaleX(1); }
  100% { transform: scaleX(1); }
}

/* Per-sector accent */
.shero.sector-landscaping { --shero-accent: #f0b85c; }
.shero.sector-oil         { --shero-accent: #ff9e5a; }
.shero.sector-dc          { --shero-accent: #5ecbf5; }

@media (prefers-reduced-motion: reduce) {
  .shero-slide,
  .shero-slide .shero-fg,
  .shero-dots i::after { animation: none; }
  .shero-slide:nth-child(1) { opacity: 1; }
  .shero-dots i:nth-child(1)::after { transform: scaleX(1); }
}
@media (max-width: 620px) {
  .shero-dots i { width: 22px; }
}

/* Full-bleed banner image below a page's dark band */
.sector-banner {
  width: 100%;
  height: clamp(260px, 30vw, 420px);
  overflow: hidden;
  position: relative;
  background: #0f172a;
}
.sector-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* Paired photos inside an article */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 38px 0 10px;
}
.photo-pair figure {
  margin: 0;
}
.photo-pair img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: var(--shadow);
}
.photo-pair figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.photo-pair figcaption small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
@media (max-width: 620px) {
  .photo-pair { grid-template-columns: 1fr; gap: 22px; }
}

/* Highlighted external resource link */
.link-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin: 38px 0 10px;
  padding: 26px 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-tint) 0%, #f4f8fd 100%);
  border: 1px solid #cfe0f3;
  border-left: 5px solid var(--accent);
}
.link-callout .lc-label {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent-deep);
  margin-bottom: 4px;
}
.link-callout p {
  margin: 0 !important;
  font-size: 0.98rem !important;
  color: var(--ink-soft);
}
.link-callout .btn { flex-shrink: 0; }
@media (max-width: 620px) {
  .link-callout { padding: 22px 20px; }
  .link-callout .btn { width: 100%; justify-content: center; }
}

/* Closing pull quote */
.pull-quote {
  margin: 44px 0 0;
  padding: 30px 34px;
  background: linear-gradient(135deg, #0c3158 0%, var(--navy) 100%);
  color: white;
  border-radius: 16px;
  font-size: 1.16rem;
  line-height: 1.6;
  font-weight: 500;
}
.pull-quote p { color: rgba(255,255,255,0.92); margin: 0; font-size: 1.16rem; }

/* ======= INDUSTRY EXPERTISE GRID ======= */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 18px;
  margin-top: 36px;
  list-style: none;
  padding: 0;
}
.industry-item {
  display: flex;
  flex-direction: column;
}
.industry-item img {
  width: 100%;
  aspect-ratio: 282 / 166;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #eef2f7;
  box-shadow: 0 3px 14px rgba(10, 42, 74, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.industry-item:hover img {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(10, 42, 74, 0.16);
}
.industry-item span {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
@media (max-width: 1100px) {
  .industry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .industry-item span { font-size: 0.82rem; }
}

/* Wider article variant so the 5-across grid has room */
.sector-article.wide { max-width: 1240px; }

/* Placeholder panel for pages awaiting content */
.coming-soon {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 72px 40px;
  box-shadow: var(--shadow);
}
.coming-soon .cs-mark {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 20px;
}
.coming-soon h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--accent-deep);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.coming-soon p {
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 auto 28px !important;
  font-size: 1.05rem !important;
}

/* Sector CTA block */
.sector-cta {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 36px;
  margin-top: 44px;
}
.sector-cta h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.sector-cta p {
  font-size: 1rem !important;
  margin-bottom: 20px !important;
}

@media (max-width: 620px) {
  .supply-grid { grid-template-columns: 1fr; }
  .sector-lead { font-size: 1.1rem; padding-left: 18px; }
  .sector-cta { padding: 26px 22px; }
  .pull-quote { padding: 24px 22px; font-size: 1.05rem; }
  .pull-quote p { font-size: 1.05rem; }
}

/* ======= HOME PAGE SECTIONS ======= */
/* Display section headings — the anchor of the home page */
.home-section-label {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--accent-deep);
  text-transform: none;
  display: block;
  margin-bottom: 38px;
  padding-bottom: 0;
  border-bottom: none;
}
.home-section-label::after {
  content: '';
  display: block;
  width: 68px;
  height: 4px;
  margin-top: 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, #5ea2e8 100%);
}
.home-section-label.centered { text-align: center; }
.home-section-label.centered::after { margin-left: auto; margin-right: auto; }

/* About Nysa — portrait + text, matched heights */
.home-about-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 640px);
  justify-content: center;
  gap: 64px;
  align-items: stretch;
}
.about-portrait-col {
  display: flex;
  flex-direction: column;
}
.nitin-portrait {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 18%;
  aspect-ratio: 4/5;
  display: block;
  box-shadow: var(--shadow-md);
}

/* Managing Director pull quote — wide, centred, below the about grid.
   Width spans the portrait across to ~3/4 of the body text column. */
.md-quote {
  /* Spans the full width of the about block so the line never wraps on desktop */
  max-width: 1120px;
  margin: 30px auto 0;
  padding: 0 20px;
  text-align: center;
}
.md-quote blockquote {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.55vw, 2.45rem);
  line-height: 1.25;
  text-wrap: balance;
  letter-spacing: -0.015em;
  color: var(--accent-deep);
  margin: 0;
  position: relative;
}
/* Name + designation under the portrait */
.portrait-attrib {
  margin-top: 18px;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}
.portrait-attrib strong {
  display: block;
  color: var(--ink);
  font-size: 1.16rem;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.md-quote figcaption {
  margin-top: 26px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}
.md-quote figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1.16rem;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
@media (max-width: 980px) {
  .md-quote { max-width: 680px; }
}
@media (max-width: 620px) {
  .md-quote { margin-top: 40px; }
}

/* Body column */
.about-eyebrow {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0;
}
.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding-top: 2px;
}
/* Eyebrow hugs the opening sentence instead of sitting a full gap away */
.about-text-col .about-eyebrow { margin-bottom: -4px; }
.about-text-col p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
@media (max-width: 980px) {
  .home-about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-portrait-col { max-width: 340px; margin: 0 auto; }
  .about-text-col { gap: 20px; }
  .about-text-col p { font-size: 1.04rem; }
}

/* Management trio — centre lead, flanking cards dropped 30% */
.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(3, 360px);
  justify-content: center;
  gap: 20px;
  align-items: start;
}
/* Side cards start at the lead portrait's eye line.
   Photo is 4:5 of the card width, eyes sit ~35.5% down it,
   so 0.355 x 1.25 = 44.4% of card width holds at any screen size. */
.mgmt-grid > .mgmt-side { margin-top: 44.4%; }
@media (max-width: 1180px) {
  .mgmt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mgmt-grid { grid-template-columns: 1fr; justify-content: start; gap: 22px; }
  .mgmt-grid > .mgmt-side { margin-top: 0; }
  .mgmt-grid > .mgmt-lead { order: -1; }
}

/* ======= TEAM GRID FULL ======= */
.team-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-member {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
/* Team photos are portrait headshots — uniform 4:5 frame, face-weighted crop */
.team-photo {
  height: auto;
  aspect-ratio: 4 / 5;
  background: #eef2f7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.team-photo.portrait { aspect-ratio: 4 / 5; }
/* Placeholder tile for a member without a photo yet */
.team-photo.no-photo {
  background: linear-gradient(145deg, #eef2f7, #dde5ef);
  color: #9fb0c4;
  font-size: 3.2rem;
  font-weight: 300;
}
.team-photo.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.team-photo.dual img {
  height: 260px;
}
.team-info {
  padding: 22px 20px 26px;
}
.team-info h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.team-info .role {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.team-info .detail {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.team-info a { color: var(--accent); }
.team-info a:hover { text-decoration: underline; }

.contact-box.on-page {
  margin: 0;
  max-width: none;
}

/* ======= PRODUCT DETAIL PAGES ======= */
.product-page-hero {
  background: linear-gradient(180deg, var(--accent-tint) 0%, var(--bg-soft) 100%);
  padding: 64px 0 48px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.product-page-hero .crumb {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.product-page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--accent-deep);
  margin-bottom: 16px;
}
.product-page-hero p {
  color: var(--ink-soft);
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.product-page-hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.cat-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.cat-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #f1f5f9;
}
.cat-card .body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.cat-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
  flex: 1;
}
.cat-card .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}
.cat-card .links a { color: var(--accent); }
.cat-card .links a:hover { text-decoration: underline; }

.family-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.family-item {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.family-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.family-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.ht-group {
  background: white;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.ht-group h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.ht-group .subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.ht-group .subs a {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
  padding: 4px 0;
}
.ht-group .subs a:hover { text-decoration: underline; }

/* Primary affordance — visual only; the card overlay carries the click */
.brand-card .card-cta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
}
.brand-card:hover .card-cta { text-decoration: underline; }

.brand-card .card-links {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.brand-card .card-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.brand-card .card-links a:hover { text-decoration: underline; }
.brand-card .card-links .row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.brand-card .card-links .row a {
  color: var(--muted);
  font-weight: 500;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  .header-inner { justify-content: space-between; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    display: block;
    background: transparent;
    min-width: unset;
  }
  .dropdown-toggle::after { display: none; }
  .hero-grid,
  .products-header,
  .about-split,
  .cta-band,
  .services-grid,
  .team-grid,
  .contact-box { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid-full { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}
/* Brand row stays 5-across as long as it reasonably can */
@media (max-width: 1080px) {
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { flex-direction: column; gap: 16px; }
  .team-grid-full { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .brand-grid { grid-template-columns: 1fr; }
}

/* ======= HT SEARCH (HellermannTyton directory) ======= */
.ht-search-panel{background:#f4f6f8;border:1px solid #e0e5ea;border-radius:12px;padding:22px;margin:0 0 32px}.ht-search-panel label{display:block;font-weight:700;margin-bottom:10px;color:#182b3b}.ht-search-row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #cbd4dc;border-radius:8px;padding:0 12px;min-height:52px}.ht-search-row>span{font-size:26px;color:#667787;line-height:1}.ht-search-row input{flex:1;width:100%;min-width:0;border:0;outline:0;background:transparent;color:#182b3b;font:inherit;padding:14px 0}.ht-search-row button{border:0;background:#edf1f5;color:#20384a;border-radius:6px;padding:9px 13px;cursor:pointer;font:inherit}.ht-search-meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:12px;font-size:13px;color:#657585}.ht-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
/* HellermannTyton catalogue cards */
.ht-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ht-category-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:0;overflow:hidden;min-height:0;gap:0;border-radius:10px}
.ht-category-photo{display:block;width:100%;height:150px;object-fit:contain;background:#f7f8fa;padding:14px;box-sizing:border-box;border-bottom:1px solid #edf0f2}
.ht-category-body{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;min-height:58px;box-sizing:border-box;font-weight:600;line-height:1.35}
.ht-category-card:hover .ht-category-photo{background:#f0f3f5}
@media(max-width:1000px){.ht-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ht-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ht-category-photo{height:130px}}
@media(max-width:430px){.ht-category-grid{grid-template-columns:1fr}.ht-category-photo{height:160px}}
.ht-category{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:13px 15px;border:1px solid #e0e5e9;border-radius:8px;background:#fff;color:#20384a;text-decoration:none;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.ht-category:hover{border-color:#8fa7ba;transform:translateY(-1px);box-shadow:0 5px 18px rgba(15,35,50,.07)}.ht-category[hidden],.ht-group[hidden]{display:none!important}.ht-arrow{flex:0 0 auto;color:#657e90}.ht-no-results{border:1px dashed #cbd4dc;border-radius:10px;text-align:center;padding:34px 20px;margin:20px 0}.ht-no-results h2{margin-top:0}.ht-quote-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:36px 0 20px;padding:25px;background:#f4f6f8;border-radius:12px}.ht-quote-strip h2{margin:0 0 8px}.ht-quote-strip p{margin:0;max-width:650px}.ht-group{margin:0 0 34px}@media(max-width:900px){.ht-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.ht-category-grid{grid-template-columns:1fr}.ht-search-panel{padding:16px}.ht-quote-strip{align-items:flex-start;flex-direction:column;padding:20px}.ht-search-meta{flex-direction:column;gap:5px}}
