/* FUDO Water Heating v1.3.0 — брендовый каталог в логике Quartz-style, без копирования дизайна */
:root {
  --blue: #022336;
  --blue-2: #06334d;
  --blue-3: #0c496c;
  --red: #e52522;
  --grey: #434242;
  --text: #1d2930;
  --muted: #667985;
  --paper: #f3f6f8;
  --white: #ffffff;
  --line: rgba(2, 35, 54, .12);
  --line-dark: rgba(255,255,255,.16);
  --shadow: 0 20px 55px rgba(2,35,54,.14);
  --shadow-soft: 0 12px 32px rgba(2,35,54,.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 5000;
  background: var(--red);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(2,35,54,.98);
  color: var(--white);
  box-shadow: 0 12px 36px rgba(2,35,54,.14);
}
.top-line {
  min-height: 38px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(0,0,0,.12);
}
.top-line-inner,
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.top-line-inner { min-height: 38px; }
.top-contacts,
.footer-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 650;
}
.top-contacts a,
.footer-contacts a { transition: color .2s ease; }
.top-contacts a:hover,
.footer-contacts a:hover { color: var(--white); }
.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.top-links a:hover { color: var(--white); }
.header-main { min-height: 76px; }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.brand img {
  width: 150px;
  height: auto;
}
.brand span {
  padding-left: 14px;
  border-left: 1px solid var(--line-dark);
  color: rgba(255,255,255,.86);
  font-size: 13px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 750;
  color: rgba(255,255,255,.86);
}
.main-nav > a,
.nav-link { padding: 28px 0; }
.main-nav a:hover { color: var(--white); }
.nav-item { position: relative; }
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: -26px;
  width: 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 16px;
  background: var(--white);
  color: var(--text);
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.mega-menu a {
  display: block;
  padding: 18px;
  border-radius: 14px;
  background: #f5f8fa;
  border: 1px solid rgba(2,35,54,.08);
}
.mega-menu a:hover { background: var(--blue); color: var(--white); }
.mega-menu strong { display: block; font-size: 15px; line-height: 1.2; }
.mega-menu span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.mega-menu a:hover span { color: rgba(255,255,255,.72); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px !important;
  background: var(--red);
  border-radius: 999px;
  color: var(--white) !important;
  box-shadow: 0 14px 30px rgba(229,37,34,.28);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 680px;
  background:
    linear-gradient(120deg, rgba(2,35,54,.96), rgba(2,35,54,.80)),
    url('../img/fudo-hero-logo.jpg') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to top, var(--paper), transparent);
  pointer-events: none;
}
.hero-art {
  position: absolute;
  right: -160px;
  top: 60px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,37,34,.22), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
  padding: 92px 0 115px;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.eyebrow.dark { color: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.08; color: inherit; }
h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 900;
  letter-spacing: -.058em;
}
h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--blue);
}
h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.hero-text {
  max-width: 670px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.45vw, 20px);
}
.hero-actions,
.service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 14px 30px rgba(229,37,34,.26); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-dark { background: var(--blue); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.36);
}
.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(2,35,54,.18);
}
.hero-product { align-self: stretch; display: grid; align-content: center; gap: 18px; }
.hero-logo-card {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 46px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.hero-logo-card img { width: min(320px, 82%); }
.hero-note {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-note strong { display: block; font-size: 16px; }
.hero-note span { display: block; margin-top: 4px; color: rgba(255,255,255,.74); font-size: 13px; }

.quick-cats {
  position: relative;
  z-index: 3;
  margin-top: -56px;
  padding-bottom: 54px;
}
.quick-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.quick-cat {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid rgba(2,35,54,.08);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.quick-cat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(229,37,34,.30);
}
.quick-cat img { height: 92px; object-fit: contain; object-position: left center; }
.quick-cat span { font-size: 17px; line-height: 1.24; font-weight: 900; color: var(--blue); }

.section { padding: 82px 0; }
.section-white { background: var(--white); }
.products-section { background: var(--paper); }
.section-head {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 34px;
}
.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.split-info {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}
.section-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.split-info-main p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.info-stats {
  display: grid;
  gap: 12px;
}
.info-stats article {
  padding: 22px;
  border-radius: 22px;
  background: #f6f9fb;
  border: 1px solid rgba(2,35,54,.08);
}
.info-stats strong { display: block; color: var(--red); font-size: 34px; line-height: 1; }
.info-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.filter-btn {
  border: 1px solid rgba(2,35,54,.12);
  background: var(--white);
  color: var(--blue);
  padding: 12px 17px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  font-size: 13px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.series-list {
  display: grid;
  gap: 22px;
}
.product-card,
.product-series-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0;
  min-height: 320px;
  background: var(--white);
  border: 1px solid rgba(2,35,54,.08);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-series-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-series-card.hidden { display: none; }
.series-media {
  position: relative;
  min-height: 100%;
  background: linear-gradient(180deg, #ffffff, #edf3f6);
  display: grid;
  place-items: center;
  padding: 28px;
  border-right: 1px solid rgba(2,35,54,.08);
}
.series-media img { max-height: 230px; object-fit: contain; }
.series-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.series-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  padding: 30px;
}
.series-title-block p { margin: 14px 0 0; color: var(--muted); }
.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.model-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #f2f6f8;
  color: var(--blue);
  border: 1px solid rgba(2,35,54,.08);
  font-size: 12px;
  font-weight: 850;
}
.spec-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec-list li {
  display: grid;
  gap: 2px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(2,35,54,.08);
}
.spec-list strong { color: var(--blue); font-size: 12px; }
.spec-list span { color: var(--muted); font-size: 13px; }
.series-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.series-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.series-meta strong { color: var(--red); font-size: 18px; }
.series-actions {
  display: grid;
  gap: 10px;
}
.series-actions .btn { width: 100%; }

.choose-section { background: var(--white); }
.choose-wrap {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}
.choose-copy p:not(.eyebrow) { color: var(--muted); margin: 20px 0 0; font-size: 17px; }
.choose-copy .btn { margin-top: 28px; }
.capacity-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.capacity-cards article {
  min-height: 150px;
  padding: 24px;
  border-radius: 24px;
  background: #f6f9fb;
  border: 1px solid rgba(2,35,54,.08);
}
.capacity-cards strong { display: block; color: var(--red); font-size: 34px; line-height: 1; }
.capacity-cards span { display: block; margin-top: 14px; color: var(--muted); font-weight: 650; }

.partners-section { background: var(--paper); }
.order-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 26px;
  border-radius: 26px;
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.order-strip span { color: rgba(255,255,255,.66); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.order-strip strong { display: block; margin-top: 4px; font-size: 24px; line-height: 1.1; }
.order-strip p { margin: 8px 0 0; color: rgba(255,255,255,.72); }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(2,35,54,.08);
  box-shadow: var(--shadow-soft);
}
.partner-card:hover { border-color: rgba(229,37,34,.28); }
.partner-copy strong { display: block; color: var(--blue); font-size: 18px; }
.partner-copy small { display: block; margin-top: 4px; color: var(--muted); font-weight: 650; }
.partner-arrow { color: var(--red); font-size: 22px; font-weight: 900; }

.service-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(229,37,34,.16), transparent 34%),
    linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
}
.service-section h2 { color: var(--white); }
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
}
.service-main p:not(.eyebrow) { color: rgba(255,255,255,.76); margin: 20px 0 0; font-size: 17px; }
.support-list {
  display: grid;
  gap: 14px;
}
.support-list article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.support-list span { color: var(--red); font-weight: 900; }
.support-list strong { display: block; margin-top: 6px; font-size: 19px; }
.support-list p { margin: 8px 0 0; color: rgba(255,255,255,.70); }

.contacts-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
}
.contact-copy p:not(.eyebrow) { color: var(--muted); margin: 20px 0 0; font-size: 17px; }
.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.contact-method {
  display: grid;
  gap: 3px;
  padding: 18px;
  border-radius: 20px;
  background: #f6f9fb;
  border: 1px solid rgba(2,35,54,.08);
}
.contact-method span { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.contact-method strong { color: var(--blue); font-size: 17px; }
.contact-method-wide { grid-column: 1 / -1; }
.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 30px;
  background: #f8fbfc;
  border: 1px solid rgba(2,35,54,.08);
  box-shadow: var(--shadow-soft);
}
.form-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 6px;
}
.form-heading span { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.form-heading strong { color: var(--blue); font-size: 22px; line-height: 1.2; }
.form-grid { display: grid; gap: 14px; }
.form-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 8px; color: var(--blue); font-size: 13px; font-weight: 850; }
label > span[aria-hidden="true"] { color: var(--red); }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(2,35,54,.14);
  border-radius: 16px;
  background: var(--white);
  padding: 13px 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(229,37,34,.54);
  box-shadow: 0 0 0 4px rgba(229,37,34,.10);
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.consent-label input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.consent-label a { color: var(--red); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.submit-btn { width: 100%; }
.form-status {
  margin: 0;
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.form-status.success { color: #127a3e; }
.form-status.error { color: #b42318; }
.form-status.info { color: var(--blue-3); }

.site-footer {
  background: #011925;
  color: var(--white);
  padding: 44px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, .8fr);
  gap: 34px;
  align-items: start;
}
.footer-brand img { width: 150px; }
.footer-brand p { margin: 16px 0 0; color: rgba(255,255,255,.66); max-width: 360px; }
.footer-menu {
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-weight: 750;
}
.footer-menu a:hover { color: var(--white); }
.footer-contacts { display: grid; justify-items: start; gap: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.54);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .top-line { display: none; }
  .header-main { min-height: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: grid;
    gap: 0;
    padding: 16px;
    border-radius: 24px;
    background: var(--white);
    color: var(--blue);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .18s ease, transform .18s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav > a, .nav-link { padding: 13px 10px; }
  .nav-cta { width: 100%; margin-top: 8px; }
  .mega-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 8px 0;
  }
  .mega-menu a { padding: 13px 14px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-top: 76px; }
  .hero-product { max-width: 520px; }
  .quick-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-info { grid-template-columns: 1fr; }
  .info-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .series-content { grid-template-columns: 1fr; }
  .choose-wrap, .service-layout, .contact-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand img { width: 128px; }
  .brand span { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding: 58px 0 100px; }
  h1 { font-size: clamp(38px, 13vw, 58px); }
  h2 { font-size: clamp(30px, 10vw, 44px); }
  .hero-logo-card { min-height: 280px; padding: 30px; }
  .quick-cats { margin-top: -42px; }
  .quick-cats-grid,
  .capacity-cards,
  .partners-grid,
  .info-stats,
  .form-grid-two { grid-template-columns: 1fr; }
  .quick-cat { min-height: 180px; }
  .product-series-card { grid-template-columns: 1fr; }
  .series-media { min-height: 240px; border-right: 0; border-bottom: 1px solid rgba(2,35,54,.08); }
  .series-content { padding: 24px; }
  .order-strip { align-items: flex-start; flex-direction: column; }
  .order-strip .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .contact-form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
