/*
Theme Name: Спецкомплект
Theme URI: https://speckomplekt.spb.ru
Author: ООО Спецкомплект
Author URI: https://speckomplekt.spb.ru
Description: Одностраничная тема для оптовых поставок моющих и дезинфицирующих средств, рыбьего жира и дистиллированной воды.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: speccomplekt
*/

:root {
  --background: #f7f7f5;
  --foreground: #191817;
  --muted: #6b625d;
  --line: #ded7d1;
  --surface: #ffffff;
  --surface-2: #f0ece8;
  --graphite: #24211f;
  --graphite-2: #34302d;
  --wine: #8f263b;
  --wine-deep: #67172a;
  --brass: #b88945;
  --clay: #c65f45;
  --shadow: 0 20px 48px rgba(34, 30, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

[id] {
  scroll-margin-top: 86px;
}

main {
  min-height: 100vh;
  overflow-wrap: anywhere;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(222, 215, 209, 0.92);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px 34px;
  position: sticky;
  right: 0;
  top: 0;
  backdrop-filter: blur(16px);
  z-index: 20;
}

.admin-bar .site-header {
  top: 32px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 210px;
}

.brand-logo {
  border-radius: 8px;
  display: block;
  flex: 0 0 auto;
  height: 48px;
  object-fit: contain;
  width: 48px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 6px;
}

.nav-links a,
.header-action,
.button,
.card-tag,
.example-list span,
.industry-list span,
.supplier-link {
  border-radius: 8px;
}

.nav-links a {
  color: var(--graphite);
  font-size: 14px;
  padding: 9px 12px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  background: var(--surface-2);
  color: var(--wine-deep);
}

.header-action {
  border: 1px solid var(--line);
  color: var(--wine-deep);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  white-space: nowrap;
}

.header-action:hover {
  border-color: var(--wine);
}

.hero {
  background: #2b2926 url("assets/speccomplekt-hero.png") center / cover no-repeat;
  min-height: 78vh;
  overflow: hidden;
  position: relative;
}

.hero-image {
  display: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(25, 24, 23, 0.94) 0%, rgba(25, 24, 23, 0.82) 38%, rgba(25, 24, 23, 0.22) 68%),
    linear-gradient(180deg, rgba(25, 24, 23, 0.1), rgba(25, 24, 23, 0.55));
  inset: 0;
  position: absolute;
}

.hero-content {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  margin: 0 auto;
  max-width: 860px;
  min-height: 78vh;
  padding: 86px 36px 72px;
  position: relative;
  width: min(100%, 1260px);
}

.eyebrow,
.section-label,
.card-tag {
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.hero-lead {
  color: #f2ebe4;
  font-size: 22px;
  line-height: 1.48;
  margin: 0;
  max-width: 660px;
}

.hero-copy {
  color: #ded3c8;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 650px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button.primary {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 12px 26px rgba(143, 38, 59, 0.28);
}

.button.primary:hover {
  background: var(--wine-deep);
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

.section {
  padding: 76px 36px;
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.section-head {
  margin-bottom: 28px;
  max-width: 760px;
}

.section-head h2,
.intro-grid h2,
.industries-grid h2,
.process-layout h2,
.request-grid h2,
.requisites-grid h2 {
  color: #171514;
  font-size: 38px;
  line-height: 1.14;
  margin: 8px 0 0;
}

.section-head p,
.product-card p,
.request-grid p,
.legal-card p,
.footer p {
  color: var(--muted);
  line-height: 1.6;
}

.intro-band {
  background: var(--graphite);
  color: #fff;
  padding-bottom: 52px;
  padding-top: 52px;
}

.intro-grid {
  align-items: start;
  display: grid;
  gap: 38px;
  grid-template-columns: 0.95fr 1.05fr;
}

.intro-grid h2 {
  color: #fff;
  max-width: 560px;
}

.intro-grid p:last-child {
  color: #eee2d8;
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.request-form,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(34, 30, 28, 0.06);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
}

.card-tag {
  align-self: flex-start;
  background: #f6ede8;
  color: var(--wine);
  margin-bottom: 28px;
  padding: 8px 10px;
}

.product-card:nth-child(2) .card-tag {
  background: #efebe7;
  color: var(--graphite-2);
}

.product-card:nth-child(3) .card-tag {
  background: #f5ecdd;
  color: #8d5c16;
}

.product-card:nth-child(4) .card-tag {
  background: #f2e7e9;
  color: var(--clay);
}

.product-card h3,
.legal-card h3 {
  color: #171514;
  font-size: 21px;
  line-height: 1.22;
  margin: 0;
}

.product-card p {
  margin: 14px 0 20px;
}

.product-card ul {
  color: #302b28;
  display: grid;
  gap: 11px;
  line-height: 1.45;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.product-card li {
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.advantage-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.advantage-item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #292421;
  display: flex;
  font-weight: 800;
  min-height: 82px;
  padding: 18px;
}

.supply-stack {
  display: grid;
  gap: 18px;
}

.supply-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(34, 30, 28, 0.06);
  display: grid;
  gap: 34px;
  grid-template-columns: 0.82fr 1.18fr;
  padding: 26px;
}

.supply-copy h3 {
  color: #171514;
  font-size: 28px;
  line-height: 1.16;
  margin: 18px 0 0;
}

.supply-copy p,
.seo-section p {
  color: var(--muted);
  line-height: 1.6;
  margin: 16px 0 0;
}

.supply-card h4 {
  color: #171514;
  font-size: 18px;
  margin: 0 0 14px;
}

.check-list {
  color: #302b28;
  display: grid;
  gap: 10px;
  line-height: 1.45;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.pack-list,
.seo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pack-list span,
.seo-list span,
.seo-list a {
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #2b2623;
  font-weight: 800;
  padding: 12px 14px;
}

.seo-list a:hover {
  border-color: var(--wine);
  color: var(--wine-deep);
}

.examples-section {
  background: #fbfaf8;
}

.examples-layout {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.82fr 1.18fr;
}

.example-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.example-list span {
  background: #fff;
  border: 1px solid var(--line);
  color: #292421;
  font-weight: 700;
  min-height: 54px;
  padding: 14px;
}

.muted {
  background: var(--surface-2);
}

.industries-grid {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 0.72fr 1.28fr;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-list span {
  background: #fff;
  border: 1px solid var(--line);
  color: #2b2623;
  padding: 12px 14px;
}

.two-column {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: 0.72fr 1.28fr;
}

.process-band {
  background: #fff8f0;
}

.process-layout {
  display: grid;
  gap: 44px;
  grid-template-columns: 0.78fr 1.22fr;
}

.process-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: start;
  background: #fff;
  border: 1px solid #ead8c5;
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 54px 1fr;
  min-height: 76px;
  padding: 16px 18px;
}

.process-list span {
  color: var(--wine);
  font-weight: 900;
}

.process-list p {
  line-height: 1.5;
  margin: 0;
}

.process-list h3 {
  color: #171514;
  font-size: 18px;
  margin: 0 0 6px;
}

.request-section {
  background: #f0ede9;
}

.request-grid {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: 0.82fr 1.18fr;
}

.request-grid p {
  font-size: 18px;
  margin: 18px 0 0;
  max-width: 520px;
}

.contact-box {
  border-left: 4px solid var(--wine);
  display: grid;
  gap: 8px;
  margin-top: 32px;
  padding: 6px 0 6px 18px;
}

.contact-box span {
  color: var(--muted);
  font-size: 13px;
}

.contact-box a {
  color: var(--wine-deep);
  font-weight: 900;
}

.contact-box strong {
  color: #211d1a;
  font-weight: 900;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.form-notice {
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.45;
  padding: 13px 14px;
}

.form-notice.success {
  background: #f1f7ee;
  border: 1px solid #c8dfbd;
  color: #24461f;
}

.form-notice.error {
  background: #fff1ee;
  border: 1px solid #e6c0b8;
  color: #7a2430;
}

.request-form label {
  color: #292421;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
}

.request-form input,
.request-form select,
.request-form textarea {
  background: #fcfbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--foreground);
  min-height: 46px;
  outline: none;
  padding: 12px 13px;
  width: 100%;
}

.request-form textarea {
  min-height: 132px;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(143, 38, 59, 0.12);
}

.checkbox-label {
  align-items: start;
  display: grid;
  font-weight: 500;
  gap: 10px;
  grid-template-columns: 20px 1fr;
}

.checkbox-label input {
  min-height: auto;
  margin-top: 3px;
  width: 18px;
}

.checkbox-label a {
  color: var(--wine-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-button {
  border: 0;
  width: 100%;
}

.requisites-section {
  background: #fff;
}

.requisites-grid {
  align-items: start;
  display: grid;
  gap: 46px;
  grid-template-columns: 0.6fr 1.4fr;
}

.requisites-list {
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.requisites-list div {
  display: grid;
  gap: 20px;
  grid-template-columns: 190px 1fr;
  padding: 16px 18px;
}

.requisites-list div + div {
  border-top: 1px solid var(--line);
}

.requisites-list dt {
  color: var(--muted);
  font-size: 14px;
}

.requisites-list dd {
  color: #211d1a;
  font-weight: 800;
  margin: 0;
}

.legal-section {
  background: var(--graphite);
  color: #fff;
}

.seo-section {
  background: #fff;
}

.seo-landing-hero {
  background: #2b2926 url("assets/speccomplekt-hero.png") center / cover no-repeat;
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.seo-landing-content {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  margin: 0 auto;
  min-height: 620px;
  max-width: 1180px;
  padding: 84px 36px 68px;
  position: relative;
  width: 100%;
}

.seo-landing-content h1 {
  color: #fff;
  font-size: clamp(42px, 4.8vw, 62px);
  line-height: 1.04;
  margin: 0;
  max-width: 820px;
}

.seo-detail-section {
  background: #fbfaf8;
}

.seo-detail-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.28fr 0.72fr;
}

.seo-detail-main,
.seo-request-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(34, 30, 28, 0.06);
  padding: 26px;
}

.seo-detail-main h2,
.seo-request-box h2,
.seo-two-columns h2 {
  color: #171514;
  font-size: 30px;
  line-height: 1.16;
  margin: 8px 0 18px;
}

.seo-check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-request-box {
  display: grid;
  gap: 14px;
}

.seo-request-box p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.light-button {
  background: #fff;
  border-color: var(--line);
  color: var(--wine-deep);
}

.light-button:hover {
  border-color: var(--wine);
  color: var(--wine-deep);
}

.seo-two-columns {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 1fr;
}

.legal-section .section-head h2,
.legal-section .section-head p {
  color: #fff;
}

.legal-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-card {
  background: #fff;
  color: var(--foreground);
  padding: 22px;
}

.legal-card p {
  font-size: 14px;
  margin: 14px 0 0;
}

.footer {
  background: #151311;
  color: #fff;
  padding: 30px 36px;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer p {
  color: #d7cec5;
  margin: 6px 0 0;
}

.footer-right {
  align-items: flex-end;
  display: grid;
  gap: 14px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-contact-button {
  align-items: center;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  color: var(--wine-deep);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 11px 14px;
  white-space: nowrap;
}

.footer-contact-button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.footer-contact-button:hover {
  background: #f4e8dc;
  border-color: #f4e8dc;
  color: var(--wine-deep);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: #eadfd4;
}

.footer-links a:hover {
  color: #fff;
}

.cookie-banner {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  left: 18px;
  max-width: 650px;
  padding: 16px;
  position: fixed;
  right: 18px;
  z-index: 30;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner p {
  color: #302b28;
  line-height: 1.45;
  margin: 0;
}

.cookie-banner a {
  color: var(--wine-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-button {
  background: var(--graphite);
  color: #fff;
  min-height: 42px;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .product-grid,
  .advantage-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 20px;
  }

  .header-action {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-content,
  .section,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .intro-grid,
  .examples-layout,
  .industries-grid,
  .two-column,
  .process-layout,
  .request-grid,
  .requisites-grid,
  .supply-card,
  .seo-detail-grid,
  .seo-two-columns {
    grid-template-columns: 1fr;
  }

  .requisites-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .admin-bar .site-header {
    top: 0;
  }

  .brand {
    width: 100%;
  }

  .nav-links {
    justify-content: space-between;
    order: 3;
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    padding-left: 7px;
    padding-right: 7px;
    text-align: center;
  }

  .header-action {
    margin-left: 0;
    width: 100%;
  }

  .hero,
  .hero-content,
  .seo-landing-hero,
  .seo-landing-content {
    min-height: 660px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(25, 24, 23, 0.96) 0%, rgba(25, 24, 23, 0.86) 64%, rgba(25, 24, 23, 0.58) 100%);
  }

  .hero-content {
    justify-content: flex-start;
    padding-bottom: 54px;
    padding-top: 58px;
  }

  .hero h1,
  .seo-landing-content h1 {
    font-size: 40px;
    white-space: normal;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-bottom: 56px;
    padding-top: 56px;
  }

  .section-head h2,
  .intro-grid h2,
  .industries-grid h2,
  .process-layout h2,
  .request-grid h2,
  .requisites-grid h2 {
    font-size: 30px;
  }

  .product-grid,
  .advantage-grid,
  .example-list,
  .legal-grid,
  .seo-check-list {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-right,
  .footer-actions,
  .footer-contact-button {
    width: 100%;
  }

  .footer-right {
    align-items: stretch;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    bottom: 12px;
  }
}
