:root {
  --teal: #4fc4cd;
  --teal-deep: #33aab5;
  --silver: #c7ccd2;
  --silver-deep: #8d949c;
  --ink: #31363c;
  --soft-ink: #70767d;
  --line: rgba(167, 175, 181, 0.28);
  --card: rgba(255, 255, 255, 0.92);
  --bg: #f4f5f6;
  --shadow: 0 16px 38px rgba(61, 79, 84, 0.10);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f5f5f6 0%, #fbfbfc 100%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
iframe { border: 0; display: block; width: 100%; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: linear-gradient(90deg, var(--teal), #60d2da);
  color: #08363d;
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar .container {
  min-height: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
  text-align: center;
}

.site-header {
  background: rgba(249,249,250,.96);
  border-bottom: 1px solid rgba(191, 198, 204, .55);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 126px;
}
.nav-links, .nav-icons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 15px;
  color: #17181a;
}
.nav-links a.active { color: var(--teal-deep); }
.brand { justify-self: center; }
.brand img { width: min(340px, 38vw); max-height: 120px; object-fit: contain; }
.nav-icons { justify-self: end; font-size: 28px; color: #202327; gap: 18px; }

.page-shell { padding-bottom: 42px; }
.hero-section {
  background: #f3f4f5;
  border-top: 1px solid rgba(200, 205, 210, .45);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  min-height: 560px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 52px 34px;
  text-align: center;
}
.hero-copy .logo-large {
  width: min(420px, 78%);
  margin-bottom: 18px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(400px, 100%);
  margin: 4px auto 18px;
}
.divider::before, .divider::after {
  content: '';
  height: 1px;
  background: linear-gradient(90deg, transparent, #a6adb4, transparent);
  flex: 1;
}
.divider span { color: var(--teal); font-size: 20px; }
.hero-copy p {
  font-size: 19px;
  line-height: 1.55;
  max-width: 480px;
  color: #4d5359;
  margin: 0 0 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--teal-deep), var(--teal)); color: white; min-width: 320px; }
.btn-secondary { background: white; color: var(--ink); border: 1px solid rgba(171,177,182,.5); }
.hero-visual {
  min-height: 560px;
  background: url('hero-visual.jpg') center center / cover no-repeat;
}

.section { padding: 48px 0; }
.page-title {
  text-align: center;
  margin-bottom: 26px;
}
.page-title h1, .page-title h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: .07em;
}
.page-title p {
  margin: 12px auto 0;
  max-width: 700px;
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}
.section-heading h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-heading .mini-divider { margin: 8px 0 0; width: 160px; }
.mini-divider {
  height: 18px;
  position: relative;
}
.mini-divider::before {
  content: '◈';
  color: var(--teal);
  position: absolute;
  inset: 0;
  text-align: center;
  font-size: 18px;
}
.mini-divider::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #94cdd3, transparent);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.category-card, .video-card, .calc-card, .contact-card, .faq-item, .product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.category-card {
  min-height: 182px;
  padding: 28px 22px;
  text-align: center;
}
.category-icon {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 2px solid rgba(79,196,205,.78);
  display: grid;
  place-items: center;
  color: var(--teal-deep);
  font-size: 34px;
  margin: 0 auto 18px;
}
.category-card h4 { margin: 0; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; }
.category-card p { margin: 12px 0 0; color: var(--soft-ink); line-height: 1.65; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card { overflow: hidden; }
.video-card .video-embed { aspect-ratio: 16 / 9; background: #e9eeef; }
.video-card .video-content { padding: 20px; }
.video-card h4 { margin: 0 0 10px; font-size: 20px; }
.video-card p { margin: 0; color: var(--soft-ink); line-height: 1.6; }
.inline-link { color: var(--teal-deep); font-weight: 600; }

.products-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 240px;
  gap: 14px;
  margin-bottom: 24px;
}
.search-shell, .select-shell {
  position: relative;
}
.search-input, .select-input, .calc-input, textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(181, 188, 194, .65);
  background: white;
  padding: 15px 18px;
  font: inherit;
  color: var(--ink);
}
.search-shell::before {
  content: '⌕';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #889096;
  font-size: 20px;
}
.search-shell .search-input { padding-left: 42px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card { overflow: hidden; }
.product-image {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  background: #eef1f2;
  border-bottom: 1px solid rgba(184,190,196,.42);
}
.product-body { padding: 22px; }
.product-category {
  margin: 0 0 8px;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-card h3 { margin: 0; font-size: 24px; }
.product-strength { margin: 10px 0 0; color: var(--soft-ink); }
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.product-actions .btn { flex: 1; min-width: 180px; text-transform: none; letter-spacing: 0; border-radius: 999px; padding: 14px 18px; }
.product-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding-top .25s ease;
}
.product-details.open { max-height: 220px; padding-top: 18px; }
.product-details p { margin: 0 0 12px; line-height: 1.65; color: #4f555b; }
.small-note, .small-copy { color: var(--soft-ink); font-size: 14px; }
.product-empty { padding: 20px 0; color: var(--soft-ink); }

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.calc-card { padding: 26px; }
.calc-card h3 { margin-top: 0; font-size: 28px; }
.calc-form {
  display: grid;
  gap: 16px;
}
.calc-form label { display: grid; gap: 8px; color: var(--ink); font-weight: 600; }
.calc-result-main {
  font-size: 56px;
  color: var(--teal-deep);
  line-height: 1;
  margin: 8px 0 12px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.result-box {
  background: linear-gradient(180deg, rgba(79,196,205,.12), rgba(255,255,255,.98));
  border: 1px solid rgba(79,196,205,.18);
  border-radius: 18px;
  padding: 18px;
}
.result-box h4 { margin: 0 0 8px; font-size: 16px; }
.result-box p { margin: 0; color: var(--soft-ink); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}
.contact-card { padding: 28px; }
.contact-card h3 { margin-top: 0; font-size: 30px; }
.contact-form { display: grid; gap: 14px; }
textarea { min-height: 160px; resize: vertical; }

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 22px 24px;
  font: inherit;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--soft-ink);
  line-height: 1.7;
  transition: max-height .25s ease, padding-bottom .25s ease;
}
.faq-item.open .faq-answer { max-height: 240px; padding-bottom: 22px; }

.footer {
  border-top: 1px solid rgba(188,194,199,.46);
  padding: 22px 0 32px;
  color: var(--soft-ink);
  font-size: 14px;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .nav-wrap { grid-template-columns: 1fr; padding: 16px 0 20px; }
  .brand, .nav-icons, .nav-links { justify-self: center; justify-content: center; }
  .hero-grid, .calc-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .products-grid, .video-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .topbar .container { grid-template-columns: 1fr 1fr; padding: 8px 0; }
  .products-toolbar, .products-grid, .video-grid, .category-grid, .result-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px 22px; }
  .hero-copy p { font-size: 17px; }
  .btn-primary { min-width: 0; width: 100%; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
}
