/* Гидровелл-центр — одностраничник-визитка */

:root {
  --brand-navy: #002e67;
  --brand-red: #c80f3f;
  --brand-sky: #e8f4fa;
  --ink: #0f1b2d;
  --muted: #5a6a7d;
  --line: rgba(15, 43, 82, 0.12);
  --surface: #ffffff;
  --surface-soft: #f3f8fb;
  --shadow: 0 18px 50px rgba(0, 46, 103, 0.12);
  --radius: 1.25rem;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(232, 244, 250, 0.9), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(200, 15, 63, 0.05), transparent 50%),
    var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p {
  margin: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 46, 103, 0.06);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 1.85rem;
  max-width: min(100%, 17rem);
}

.nav {
  display: none;
  gap: 1.5rem;
  margin-left: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--brand-navy);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.header-cta .btn-icon {
  display: none;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--brand-navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a:not(.btn) {
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  justify-content: center;
  color: #fff;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  font-size: 1rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand-navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 46, 103, 0.22);
}

.btn-primary:hover {
  background: #013a7d;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-navy);
  border-color: rgba(0, 46, 103, 0.16);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: #fff;
}

/* Hero — full-bleed composition */

.hero {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--brand-navy);
  background: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}

.hero-media-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 28%, rgba(232, 244, 250, 0.18) 58%, transparent 78%),
    linear-gradient(to top, rgba(255, 255, 255, 0.5), transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: 42rem;
  margin-left: max(1.25rem, calc((100% - min(1120px, calc(100% - 2.5rem))) / 2));
  margin-right: auto;
  padding: 3.25rem 0;
  text-align: left;
}

.hero-brand {
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 22ch;
  color: var(--ink);
}

.hero-lead {
  margin-top: 1.15rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-ghost {
  color: var(--brand-navy);
  border-color: rgba(0, 46, 103, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.hero .btn-ghost:hover {
  background: #fff;
}

@media (max-width: 767px) {
  .hero-media img {
    object-position: 100% 45%;
    opacity: 0.45;
  }

  .hero-media-veil {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.82) 100%);
  }

  .hero-content {
    width: min(100% - 2.5rem, var(--container));
    max-width: none;
    margin-inline: auto;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: calc(var(--radius) + 0.15rem);
    box-shadow: 0 16px 40px rgba(0, 46, 103, 0.1);
  }

  .hero-lead {
    color: var(--ink);
  }

  .hero .btn-ghost {
    background: #fff;
  }
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brand-navy);
}

.section-lead {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Products */

.products {
  background:
    linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
}

.product-grid {
  display: grid;
  gap: 1.1rem;
}

.product-card {
  padding: 0.35rem 0.15rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s var(--ease);
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.1rem;
}

.product-icon img {
  width: 100%;
  height: 100%;
}

.product-card h3 {
  color: var(--brand-navy);
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.product-card p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Advantages */

.advantages {
  background: #fff;
}

.advantages-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.advantage-list {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.advantage-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.advantage-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.advantage-mark {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
}

.advantage-list h3 {
  color: var(--brand-navy);
  font-size: 1.1rem;
  font-weight: 750;
}

.advantage-list p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.advantages-panel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 2rem;
  background: linear-gradient(160deg, var(--brand-navy) 0%, #01407f 55%, #0a4f8a 100%);
  color: #fff;
  box-shadow: var(--shadow);
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
}

.advantages-panel-glow {
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: -5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 15, 63, 0.45), transparent 68%);
  pointer-events: none;
}

.advantages-panel-kicker {
  position: relative;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.advantages-panel-title {
  position: relative;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 14ch;
}

.advantages-panel-text {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28ch;
}

.advantages-panel .btn {
  position: relative;
  align-self: flex-start;
  margin-top: 0.5rem;
  background: #fff;
  color: var(--brand-navy);
  box-shadow: none;
}

.advantages-panel .btn:hover {
  background: var(--brand-sky);
}

/* Brands */

.brands {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
  padding-block: 3.5rem;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 2.5rem;
}

.brand-row li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-row img {
  height: 3.25rem;
  width: auto;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(1);
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease), transform 0.25s var(--ease);
}

.brand-row img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

/* Contacts */

.contacts {
  padding-bottom: 5.5rem;
}

.contacts-card {
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    linear-gradient(180deg, rgba(232, 244, 250, 0.75), #fff 45%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  gap: 2rem;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.35;
}

a.contact-value:hover {
  color: var(--brand-red);
}

.contacts-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */

.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand img {
  height: 1.45rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  max-width: 28rem;
  font-size: 0.95rem;
}

.footer-meta {
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
}

/* Reveal motion */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-media img,
  .product-card,
  .brand-row img,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Breakpoints */

@media (max-width: 899px) {
  .header-phone {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  .header-cta .btn-icon {
    display: block;
  }

  .header-cta-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }

  .header-cta {
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 0.55rem 1rem;
  }

  .header-cta .btn-icon {
    display: none;
  }

  .header-cta-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .header-phone {
    display: inline;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }

  .product-card {
    border-bottom: 0;
    padding: 0.25rem 0.5rem 0;
  }

  .advantages-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .contacts-card {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .contacts-cta {
    grid-column: 1 / -1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }

  .hero {
    min-height: 32rem;
  }

  .hero-content {
    padding-block: 3.5rem;
  }

  .brand-row img {
    height: 3.75rem;
  }
}

@media (min-width: 1100px) {
  .hero-content {
    max-width: 44rem;
  }
}
