/* Sporti — swim gear catalog. Палитра из баннера: бассейновый синий, аква,
   солнечно-жёлтый, коралловая CTA; лого — чёрный wordmark на белом. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(../fonts/archivo.woff2) format('woff2'); }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/mulish.woff2) format('woff2'); }

:root {
  --pool: #0d4f7a;          /* глубокая вода бассейна */
  --pool-deep: #093a5a;
  --aqua: #1f9cc9;          /* дорожка под солнцем */
  --ink: #10222e;           /* почти чёрный wordmark */
  --coral: #e8564d;         /* коралловый акцент баннера (CTA) */
  --coral-dark: #c93f37;
  --sun: #f6b52a;           /* солнце (звёзды, eyebrow) */
  --foam: #eef7fa;          /* пена/блик — фон */
  --card: #ffffff;
  --line: #d5e4ec;
  --muted: #5c7382;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(13, 60, 90, .08);
  --shadow-hover: 0 10px 26px rgba(13, 60, 90, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Mulish', 'Segoe UI', Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--foam);
}

h1, h2, h3, h4, .logo-word { font-family: 'Archivo', 'Segoe UI', Arial, sans-serif; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: var(--pool); text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: .02em;
  padding: 13px 30px;
  border-radius: 8px;
  border: 0;
  transition: background .18s, transform .18s;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 2px solid rgba(255, 255, 255, .75); padding: 11px 28px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--aqua);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.logo img { height: 30px; width: auto; }
.main-nav { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 13.8px;
  color: var(--ink);
  padding: 8px 9px;
  border-radius: 7px;
}
.main-nav a:hover { background: var(--foam); color: var(--pool); }
.main-nav a.active { color: var(--coral); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--pool); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(rgba(7, 42, 66, .52), rgba(7, 42, 66, .6)), url(../images/banner.png) center/cover no-repeat;
  color: #fff;
}
.hero-inner { padding: 104px 22px 114px; max-width: 1180px; margin: 0 auto; }
.hero-inner h1, .hero-inner .eyebrow { max-width: 760px; }
.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sun);
}
.hero h1 { font-size: 52px; font-weight: 800; margin: 10px 0 16px; }
.hero-sub { font-size: 19px; color: #dcedf5; max-width: 560px; margin-bottom: 30px; }

/* ---------- stat band ---------- */
.stat-band { background: #fff; border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 22px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 30px; color: var(--pool); line-height: 1.15; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- category grid ---------- */
.categories { padding: 56px 22px 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.cat-img { aspect-ratio: 4 / 3; background: #fff; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.cat-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(9, 47, 72, .93));
  color: #fff;
  padding: 44px 18px 14px;
}
.cat-overlay h3 { font-size: 18px; }
.cat-overlay p { font-size: 13.5px; color: #bcd8e6; }

/* ---------- catalog / cards ---------- */
.catalog { padding: 52px 22px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 32px; color: var(--pool); }
.section-head p { color: var(--muted); margin-top: 6px; }
.section-head .eyebrow { color: var(--aqua); font-size: 12.5px; margin-bottom: 2px; }
.section-head.side {
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 3px solid var(--line);
  padding-bottom: 14px;
}
.section-head.side h2 { position: relative; }
.section-head.side p { max-width: 380px; text-align: right; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-link { display: flex; flex-direction: column; flex: 1; }
.card-img { aspect-ratio: 1; min-height: 0; flex: none; overflow: hidden; background: #fff; padding: 16px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aqua);
}
.card-title { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.card-blurb {
  font-size: 13.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.price { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; color: var(--pool); }
.stars .star { color: #c9d8e0; font-size: 14px; }
.stars .star.on { color: var(--sun); }
.rcount { color: var(--muted); font-size: 13px; margin-left: 4px; }
.card .btn-buy { margin: 12px 16px 16px; text-align: center; padding: 11px 16px; font-size: 14.5px; }

/* ---------- promo split ---------- */
.promo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 6px 22px 52px; }
.promo-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  padding: 30px 8px 30px 30px;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, transform .18s;
}
.promo-tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.promo-aqua { background: linear-gradient(125deg, var(--pool-deep), var(--aqua) 130%); }
.promo-coral { background: linear-gradient(125deg, #a32e27, var(--coral) 130%); }
.promo-copy { flex: 1 1 55%; }
.promo-tile .eyebrow { color: var(--sun); font-size: 12px; }
.promo-tile h3 { font-size: 23px; margin: 6px 0 10px; }
.promo-text { font-size: 14.5px; color: rgba(255, 255, 255, .85); margin-bottom: 14px; }
.promo-link { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px; border-bottom: 2px solid rgba(255, 255, 255, .5); padding-bottom: 2px; }
.promo-tile:hover .promo-link { border-bottom-color: #fff; }
.promo-img { flex: 0 0 38%; }
.promo-img img { width: 100%; max-height: 210px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); }

/* ---------- value / mission bands ---------- */
.value-band { background: var(--pool); color: #fff; padding: 58px 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.value-item { text-align: center; }
.value-icon { font-size: 30px; margin-bottom: 10px; color: var(--sun); }
.value-item h3 { font-size: 19px; margin-bottom: 8px; }
.value-item p { color: #c3dcea; font-size: 15px; }

.mission-band { padding: 62px 0; text-align: center; }
.mission-band h2 { font-size: 28px; color: var(--pool); max-width: 780px; margin: 0 auto 14px; }
.mission-band p { color: var(--muted); max-width: 720px; margin: 0 auto; }

/* ---------- home faq ---------- */
.home-faq { background: #fff; border-top: 1px solid var(--line); padding: 56px 0; }
.home-faq .wrap { max-width: 820px; }
.home-faq details {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 0 20px;
}
.home-faq summary {
  cursor: pointer;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--pool);
  padding: 15px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--coral);
  font-weight: 600;
}
.home-faq details[open] summary::after { content: '\2013'; }
.home-faq details p { padding: 0 0 16px; color: #2e4350; font-size: 15.5px; }
.home-faq details a { color: var(--coral); }
.home-faq .section-head a { color: var(--coral); }

/* ---------- seo content ---------- */
.seo-content { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 58px 0; }
.seo-content h2 { font-size: 27px; color: var(--pool); margin-bottom: 16px; }
.seo-content h3 { font-size: 20px; color: var(--pool); margin: 26px 0 10px; }
.seo-content p { margin-bottom: 12px; color: #2e4350; }
.seo-content ul { margin: 10px 0 14px 22px; color: #2e4350; }
.seo-content li { margin-bottom: 6px; }
.seo-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.seo-content th, .seo-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.seo-content th { background: var(--foam); font-family: 'Archivo', sans-serif; color: var(--pool); }

/* ---------- testimonials (rating commentary) ---------- */
.testimonials { padding: 58px 0 70px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; }
.testi-stars { color: var(--sun); font-size: 16px; letter-spacing: 2px; margin-bottom: 10px; }
.testi-figure { font-family: 'Archivo', sans-serif; font-weight: 700; color: var(--pool); font-size: 15px; margin-bottom: 8px; }
.testi-card p { font-size: 15.5px; color: #2e4350; }
.testi-name a { color: var(--pool); text-decoration: none; border-bottom: 1px solid rgba(13, 79, 122, .3); }
.testi-name a:hover { color: var(--coral); border-bottom-color: var(--coral); }
.testi-name { margin-top: 12px; font-weight: 700; color: var(--pool); }

/* ---------- page hero (category / info) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--pool-deep), var(--pool) 55%, var(--aqua) 130%);
  color: #fff;
  padding: 54px 0 50px;
}
.page-hero h1 { font-size: 38px; margin: 8px 0 10px; }
.page-hero-sub { color: #cfe4ef; max-width: 640px; }

/* ---------- product page ---------- */
.breadcrumb { padding: 16px 22px 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--coral); }
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; padding: 30px 22px 50px; }
.product-media {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  align-self: start;
  position: sticky;
  top: 92px;
}
.product-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-info h1 { font-size: 27px; margin: 8px 0 12px; color: var(--ink); }
.product-meta { margin-bottom: 12px; }
.product-price { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 32px; color: var(--pool); margin-bottom: 18px; }
.product-info .btn-buy { padding: 14px 46px; font-size: 16.5px; }
.product-intro { margin-top: 22px; color: #2e4350; font-size: 17px; }

/* ---------- ticker ---------- */
.ticker { background: var(--sun); overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 9px 0;
  animation: ticker-roll 28s linear infinite;
  will-change: transform;
}
.tick {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pool-deep);
}
.tick-dot { font-size: 8px; color: var(--pool-deep); opacity: .55; }
@keyframes ticker-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- deals shelf ---------- */
.deals .section-head.side h2 { color: var(--coral); }
.deals .price { color: var(--coral); }

/* ---------- season banner ---------- */
.season-banner {
  background: linear-gradient(115deg, var(--pool-deep), var(--pool) 55%, var(--aqua) 130%);
  color: #fff;
  margin: 26px 0;
}
.season-inner { padding: 58px 22px; text-align: center; }
.season-inner .eyebrow { color: var(--sun); }
.season-inner h2 { font-size: 32px; margin-bottom: 12px; }
.season-inner p { color: #d3e9f3; max-width: 640px; margin: 0 auto 24px; font-size: 16.5px; }

/* ---------- info pages ---------- */
.info-page { padding: 46px 0 64px; }
.info-page .wrap { max-width: 820px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px 42px; }
.info-page h2 { color: var(--pool); font-size: 22px; margin: 24px 0 10px; }
.info-page h2:first-child { margin-top: 0; }
.info-page h3 { color: var(--pool); font-size: 17.5px; margin: 18px 0 8px; }
.info-page p { margin-bottom: 12px; color: #2e4350; }
.info-page ul, .info-page ol { margin: 10px 0 14px 22px; color: #2e4350; }
.info-page li { margin-bottom: 6px; }
.info-page table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.info-page th, .info-page td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.info-page th { background: var(--foam); font-family: 'Archivo', sans-serif; color: var(--pool); }
.info-page a { color: var(--coral); }

/* ---------- footer ---------- */
.site-footer { background: var(--pool-deep); color: #b9d2e0; font-size: 14.5px; }
.foot-cta { background: linear-gradient(120deg, var(--pool), var(--aqua) 160%); color: #fff; }
.foot-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 22px; }
.foot-cta h2 { font-size: 23px; margin-bottom: 6px; }
.foot-cta p { color: #d3e9f3; font-size: 15px; max-width: 560px; }
.foot-cta .btn { flex: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.4fr; gap: 34px; padding: 50px 22px 34px; }
.logo-word { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .08em; }
.logo-word .dot { color: var(--sun); }
.tagline { color: var(--sun); font-family: 'Archivo', sans-serif; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 12px; }
.foot-text { margin-bottom: 14px; font-size: 14px; }
.foot-col h3 { color: #fff; font-size: 15.5px; margin-bottom: 12px; letter-spacing: .04em; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: #b9d2e0; }
.foot-col a:hover { color: var(--sun); }
.foot-address { font-style: normal; }
.foot-address p { margin-bottom: 10px; padding-left: 26px; position: relative; }
.foot-address .foot-ico { position: absolute; left: 0; top: 1px; }
.foot-address a { color: #b9d2e0; }
.foot-address a:hover { color: var(--sun); }
.foot-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 22px 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-pay-label { color: #8aa8bb; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-right: 8px; font-family: 'Archivo', sans-serif; font-weight: 700; }
.pay-chip {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: #d7e7f0;
  background: rgba(255, 255, 255, .05);
}
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .18); }
.foot-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 16px 22px; color: #8aa8bb; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .testi-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-inner { padding: 78px 22px 88px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .promo-split { grid-template-columns: 1fr; }
  .section-head.side { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-head.side p { text-align: left; max-width: none; }
  .foot-cta-inner { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 10px 16px 16px;
    box-shadow: var(--shadow-hover);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 11px 10px; font-size: 16px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .hero-sub { font-size: 17px; }
  .section-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 29px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .stat strong { font-size: 24px; }
  .promo-tile { flex-direction: column; padding: 26px 22px; text-align: left; }
  .promo-img { width: 60%; }
  .foot-bottom-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .info-page .wrap { padding: 28px 20px; }
  .info-page table { display: block; overflow-x: auto; white-space: nowrap; }
  .info-page td { white-space: normal; min-width: 150px; }
  .product-price { font-size: 27px; }
  .logo img { height: 26px; }
  .season-inner { padding: 44px 20px; }
  .season-inner h2 { font-size: 25px; }
}
