﻿/*
Theme Name: Psianaberia 2026
Theme URI: https://www.psianaberia.pl/
Author: JM Art
Author URI: https://jm-art.eu/
Description: Jednostronicowy motyw startowy dla Psianaberii z gotową stroną główną.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: psianaberia-2026
*/
:root {
  --green: #2f8a1f;
  --green-dark: #195a17;
  --green-soft: #e8f4df;
  --cream: #fff8ed;
  --paper: #fffdf8;
  --ink: #151411;
  --muted: #665f56;
  --line: #e7dfd2;
  --red: #c51416;
  --red-soft: #fde7e5;
  --red-warm: #e1453f;
  --shadow: 0 20px 50px rgba(36, 55, 25, .12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 138, 31, .055), transparent 28%),
    radial-gradient(circle at 88% 34%, rgba(197, 20, 22, .05), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #fffaf2 34%, #f4faef 58%, #fff6f3 78%, #fffdf8 100%);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: .58;
  background:
    radial-gradient(circle at 8% 18%, rgba(47, 138, 31, .09) 0 0, transparent 13%),
    radial-gradient(circle at 92% 24%, rgba(197, 20, 22, .07) 0 0, transparent 12%),
    radial-gradient(circle at 16% 62%, rgba(197, 20, 22, .055) 0 0, transparent 13%),
    radial-gradient(circle at 82% 78%, rgba(47, 138, 31, .08) 0 0, transparent 14%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .14;
  background:
    radial-gradient(circle at 5% 10%, var(--green) 0 6px, transparent 7px),
    radial-gradient(circle at 7% 13%, var(--green) 0 7px, transparent 8px),
    radial-gradient(circle at 3% 14%, var(--green) 0 6px, transparent 7px),
    radial-gradient(ellipse at 5.5% 17%, var(--green) 0 13px, transparent 14px),
    radial-gradient(circle at 92% 18%, var(--red) 0 5px, transparent 6px),
    radial-gradient(circle at 94% 21%, var(--red) 0 7px, transparent 8px),
    radial-gradient(circle at 90% 22%, var(--red) 0 5px, transparent 6px),
    radial-gradient(ellipse at 92.5% 25%, var(--red) 0 12px, transparent 13px),
    radial-gradient(circle at 11% 72%, var(--red) 0 5px, transparent 6px),
    radial-gradient(circle at 13% 75%, var(--red) 0 7px, transparent 8px),
    radial-gradient(circle at 9% 76%, var(--red) 0 5px, transparent 6px),
    radial-gradient(ellipse at 11.5% 79%, var(--red) 0 12px, transparent 13px),
    radial-gradient(circle at 88% 66%, var(--green) 0 6px, transparent 7px),
    radial-gradient(circle at 90% 69%, var(--green) 0 8px, transparent 9px),
    radial-gradient(circle at 86% 70%, var(--green) 0 6px, transparent 7px),
    radial-gradient(ellipse at 88.5% 73%, var(--green) 0 14px, transparent 15px);
  background-repeat: no-repeat;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 96px);
  min-height: 80px;
  padding: 8px clamp(18px, 5vw, 72px);
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid rgba(231, 223, 210, .78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 360px;
  text-decoration: none;
}

.brand img {
  width: 92px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand strong {
  display: block;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1;
}

.red-accent {
  color: var(--red);
}

.brand small {
  display: block;
  max-width: 220px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.25;
}

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

.main-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #242018;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--green-soft);
  color: var(--green-dark);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-dark);
  border-radius: 2px;
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 96px);
  padding-top: 32px;
}

.hero-copy {
  align-self: center;
  padding-block: clamp(22px, 4vw, 58px);
}

.brand-wordmark {
  margin: 0 0 16px;
  color: #151411;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 950;
  line-height: 1;
}

.brand-wordmark span {
  color: var(--red);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  word-break: normal;
  hyphens: manual;
}

h1,
h2 {
  margin: 0;
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 2.6vw, 2.75rem);
  line-height: 1.16;
}

h1 span,
h1 small {
  display: block;
}

h1 span {
  position: relative;
  max-width: 760px;
}

h1 span::after {
  display: inline-block;
  width: .18em;
  height: .18em;
  margin-left: .12em;
  content: "";
  border-radius: 999px;
  background: var(--red);
  vertical-align: .12em;
}

h1 small {
  max-width: 650px;
  margin-top: 24px;
  color: var(--red);
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  font-weight: 900;
  line-height: 1.28;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.2rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.28vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 24px rgba(47, 138, 31, .25);
}

.button.secondary {
  color: var(--green-dark);
  background: #fff;
  border-color: rgba(47, 138, 31, .24);
  box-shadow: 0 10px 24px rgba(36, 55, 25, .09);
}

.button.light {
  color: var(--green-dark);
  background: #fff;
}

.qualification-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #3a332b;
  font-size: .9rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 999px;
}

.hero-visual::before {
  inset: -28px -20px 34px 28px;
  background: rgba(47, 138, 31, .14);
}

.hero-visual::after {
  right: -20px;
  bottom: -26px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, var(--red-soft) 0 42%, rgba(225, 69, 63, .18) 43% 100%);
}

.hero-dog-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: contain;
  border-radius: 32% 38% 28% 42% / 30% 28% 38% 42%;
  background:
    radial-gradient(circle at 50% 82%, rgba(47, 138, 31, .13) 0 24%, transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(232, 244, 223, .7));
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: -12px;
  bottom: 26px;
  width: min(260px, 76%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 50px rgba(197, 20, 22, .12);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  color: var(--muted);
  font-size: .9rem;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.intro-section .section-heading h2 {
  color: var(--green);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  text-transform: uppercase;
}

.intro-section .section-heading p {
  max-width: none;
  white-space: nowrap;
  color: var(--green-dark);
  font-size: clamp(1.3rem, 2vw, 1.95rem);
  font-weight: 900;
}

.intro-text a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration-color: rgba(47, 138, 31, .35);
  text-underline-offset: 3px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.audience-grid,
.offer-grid {
  display: grid;
  gap: 18px;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.soft-card,
.offer-card,
.steps article,
.qualification-card,
.event-list article {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 35px rgba(36, 55, 25, .08);
}

.soft-card {
  min-height: 205px;
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}

.soft-card p,
.offer-card p,
.steps p,
.event-list p,
.about-copy p,
.site-footer p {
  color: var(--muted);
}

.line-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border: 2px solid var(--green);
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 34%, var(--green) 0 4px, transparent 5px),
    radial-gradient(circle at 68% 34%, var(--green) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 64%, var(--green) 0 12px, transparent 13px);
  opacity: .88;
}

.line-icon.leash {
  border-radius: 999px;
}

.line-icon.heart {
  transform: rotate(45deg) scale(.78);
  border-radius: 12px 12px 4px 12px;
  background: var(--green-soft);
}

.line-icon.talk {
  border-radius: 20px 20px 20px 4px;
  background: linear-gradient(var(--green), var(--green)) center / 26px 3px no-repeat;
}

.offer-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 18% 22%, rgba(47, 138, 31, .08), transparent 24%),
    radial-gradient(circle at 82% 74%, rgba(197, 20, 22, .07), transparent 22%),
    linear-gradient(180deg, rgba(255, 253, 248, 0) 0, #f4faef 14%, #fff8f6 92%, rgba(255, 253, 248, 0) 100%);
  overflow: hidden;
}

.offer-section .section-heading h2 {
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.2rem);
  text-transform: uppercase;
}

.offer-section .section-heading p {
  max-width: 680px;
  color: var(--green-dark);
  font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 11px 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(47, 138, 31, .22);
}

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

.offer-card {
  position: relative;
  min-height: 0;
  padding: 0 0 18px;
  overflow: hidden;
  border-radius: var(--radius);
}

.offer-card::before {
  display: none;
}

.offer-image {
  padding: 12px 12px 0;
  height: auto;
  overflow: hidden;
  border-bottom: 0;
}

.offer-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
}

.visual-offer-card h3,
.visual-offer-card p,
.visual-offer-card a {
  margin-right: 20px;
  margin-left: 20px;
}

.visual-offer-card h3 {
  margin-top: 18px;
  font-size: clamp(1.2rem, 1.6vw, 1.48rem);
  line-height: 1.13;
}

.visual-offer-card p {
  font-size: .98rem;
  line-height: 1.55;
}

.offer-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 9px 15px;
  border: 1px solid rgba(47, 138, 31, .22);
  border-radius: 999px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.paw {
  position: absolute;
  z-index: -1;
  width: var(--paw-size, 78px);
  height: var(--paw-size, 78px);
  opacity: .16;
  transform: rotate(var(--paw-rotate, -14deg));
  pointer-events: none;
}

.paw::before,
.paw::after {
  position: absolute;
  content: "";
}

.paw::before {
  inset: 38% 22% 8%;
  border-radius: 50% 50% 48% 48%;
  background: var(--paw-color, var(--green));
}

.paw::after {
  inset: 0;
  background:
    radial-gradient(circle at 22% 26%, var(--paw-color, var(--green)) 0 9%, transparent 10%),
    radial-gradient(circle at 42% 12%, var(--paw-color, var(--green)) 0 10%, transparent 11%),
    radial-gradient(circle at 62% 12%, var(--paw-color, var(--green)) 0 10%, transparent 11%),
    radial-gradient(circle at 80% 28%, var(--paw-color, var(--green)) 0 9%, transparent 10%);
}

.paw-1 {
  --paw-size: 86px;
  --paw-color: var(--green);
  top: 5%;
  left: -4%;
}

.paw-2 {
  --paw-size: 58px;
  --paw-color: var(--red);
  --paw-rotate: 18deg;
  right: 42%;
  bottom: 0;
}

.paw-3 {
  --paw-size: 112px;
  --paw-color: var(--green);
  left: max(18px, calc((100vw - 1180px) / 2));
  top: 18%;
}

.paw-4 {
  --paw-size: 72px;
  --paw-color: var(--red);
  --paw-rotate: 23deg;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 16%;
}

.method-section {
  padding-bottom: 44px;
}

.method-section .section-heading h2 {
  color: var(--ink);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  text-transform: uppercase;
}

.method-section .section-heading p {
  max-width: none;
  white-space: nowrap;
  color: var(--green-dark);
  font-size: clamp(1.3rem, 2vw, 1.95rem);
  font-weight: 900;
}

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

.steps article {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.steps article::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  content: "";
  opacity: .13;
  transform: rotate(-12deg);
  background:
    radial-gradient(circle at 22% 26%, var(--step-paw, var(--green)) 0 9%, transparent 10%),
    radial-gradient(circle at 42% 12%, var(--step-paw, var(--green)) 0 10%, transparent 11%),
    radial-gradient(circle at 62% 12%, var(--step-paw, var(--green)) 0 10%, transparent 11%),
    radial-gradient(circle at 80% 28%, var(--step-paw, var(--green)) 0 9%, transparent 10%),
    radial-gradient(ellipse at 51% 67%, var(--step-paw, var(--green)) 0 22%, transparent 23%);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.steps article:nth-child(2),
.steps article:nth-child(4) {
  --step-paw: var(--red);
}

.steps article:nth-child(2) span,
.steps article:nth-child(4) span {
  background: var(--red);
}

.method-note {
  max-width: 880px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.7;
  text-align: center;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 72px);
  align-items: center;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.about-copy p {
  font-size: 1.05rem;
}

.about-copy .about-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.about-copy h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 3.65rem);
}

.qualification-section {
  padding-top: 48px;
}

.qualification-section .section-heading h2,
.news-section .section-heading h2 {
  color: var(--ink);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  text-transform: uppercase;
}

.qualification-section .section-heading p,
.news-section .section-heading p {
  max-width: none;
  color: var(--green-dark);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 900;
}

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

.qualification-card {
  position: relative;
  min-height: 275px;
  padding: 32px;
  overflow: hidden;
  border-radius: var(--radius);
}

.visual-qualification-card {
  min-height: 0;
  padding: 10px;
  background: #fff;
}

.visual-qualification-card::after {
  display: none;
}

.visual-qualification-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.qualification-card:nth-child(2) {
  background: linear-gradient(180deg, #fff 0%, #fffaf8 100%);
}

.qualification-card::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 82px;
  height: 82px;
  content: "";
  opacity: .11;
  transform: rotate(-10deg);
  background:
    radial-gradient(circle at 22% 26%, var(--card-paw, var(--green)) 0 9%, transparent 10%),
    radial-gradient(circle at 42% 12%, var(--card-paw, var(--green)) 0 10%, transparent 11%),
    radial-gradient(circle at 62% 12%, var(--card-paw, var(--green)) 0 10%, transparent 11%),
    radial-gradient(circle at 80% 28%, var(--card-paw, var(--green)) 0 9%, transparent 10%),
    radial-gradient(ellipse at 51% 67%, var(--card-paw, var(--green)) 0 22%, transparent 23%);
}

.qualification-card:nth-child(2)::after {
  --card-paw: var(--red);
}

.qualification-card h3 {
  margin: 20px 0 10px;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}

.qualification-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.qualification-icon {
  position: relative;
  display: block;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(47, 138, 31, .24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 26%, rgba(197, 20, 22, .1), transparent 28%),
    linear-gradient(135deg, #f3faee, #fff);
}

.qualification-icon::before,
.qualification-icon::after {
  position: absolute;
  content: "";
}

.qualification-icon.certificate::before {
  inset: 22px 28px 30px;
  border: 4px solid var(--green);
  border-radius: 8px;
}

.qualification-icon.certificate::after {
  left: 39px;
  bottom: 19px;
  width: 24px;
  height: 34px;
  background:
    linear-gradient(135deg, transparent 0 48%, var(--red) 49% 62%, transparent 63%),
    linear-gradient(225deg, transparent 0 48%, var(--red) 49% 62%, transparent 63%);
}

.qualification-icon.judge::before {
  left: 25px;
  top: 20px;
  width: 52px;
  height: 52px;
  border: 4px solid var(--green);
  border-radius: 999px;
}

.qualification-icon.judge::after {
  left: 32px;
  top: 38px;
  width: 38px;
  height: 34px;
  border-bottom: 5px solid var(--red);
  border-left: 5px solid var(--red);
  transform: rotate(-22deg);
}

.qualification-icon.communication::before {
  left: 22px;
  top: 24px;
  width: 58px;
  height: 42px;
  border: 4px solid var(--green);
  border-radius: 18px;
}

.qualification-icon.communication::after {
  left: 40px;
  top: 42px;
  width: 34px;
  height: 24px;
  background:
    radial-gradient(circle at 18% 50%, var(--red) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 50%, var(--red) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 50%, var(--red) 0 4px, transparent 5px);
}

.qualification-link {
  display: flex;
  width: max-content;
  margin: 28px auto 0;
}

.news-section {
  padding-top: 64px;
}

.schedule-card {
  width: min(980px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.schedule-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-list article {
  padding: 20px;
  border-radius: 20px;
}

.event-list time {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-weight: 950;
}

.event-list h3 {
  font-size: 1.02rem;
}

.event-list p {
  margin: 0;
  font-size: .95rem;
}

.cta-section {
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin-bottom: 28px;
  min-height: 186px;
  padding: clamp(28px, 5vw, 48px);
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 82, 17, .94) 0%, rgba(30, 104, 21, .88) 42%, rgba(30, 104, 21, .34) 72%, rgba(30, 104, 21, .15) 100%),
    url("assets/oldsite-13.jpg") right 42% / cover no-repeat;
  box-shadow: 0 24px 60px rgba(47, 138, 31, .2);
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 470px;
}

.cta-section h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.cta-section p {
  margin: 8px 0 20px;
  color: rgba(255, 255, 255, .9);
  font-weight: 800;
}

.cta-section .button {
  width: max-content;
  color: var(--green-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(240px, 1fr) minmax(190px, .8fr);
  gap: clamp(24px, 5vw, 58px);
  padding: 28px clamp(18px, 5vw, 72px) 18px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 16%, rgba(197, 20, 22, .08), transparent 28%),
    radial-gradient(circle at 12% 84%, rgba(47, 138, 31, .055), transparent 24%),
    linear-gradient(135deg, #fffdf8 0%, #fff7f3 58%, #fff0ef 100%);
}

.site-footer img {
  width: 155px;
  mix-blend-mode: multiply;
}

.site-footer h2 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.footer-brand p {
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.footer-contact,
.footer-social {
  padding-top: 4px;
}

.footer-contact a,
.footer-contact p,
.footer-bottom p,
.footer-bottom a {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(47, 138, 31, .18);
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links svg * {
  fill: none;
  stroke: currentColor;
}

.social-links a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.social-links a:first-child svg * {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.footer-bottom.reveal,
.footer-bottom.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  font-size: .9rem;
}

.footer-credit {
  text-align: center;
}

.footer-bottom > a {
  justify-self: end;
}

.footer-credit a {
  color: var(--green-dark);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal[data-reveal="left"] {
  transform: translate3d(-36px, 18px, 0);
}

.reveal[data-reveal="right"] {
  transform: translate3d(36px, 18px, 0);
}

.reveal[data-reveal="scale"] {
  transform: translate3d(0, 28px, 0) scale(.97);
}

.reveal.is-visible[data-reveal="left"],
.reveal.is-visible[data-reveal="right"],
.reveal.is-visible[data-reveal="scale"] {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 980px) {
  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 76px 18px auto;
    display: grid;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
  }

  body.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero,
  .about-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-dog-video {
    aspect-ratio: 1.16 / 1;
  }

  .hero {
    min-height: auto;
  }

  .audience-grid,
  .steps,
  .qualification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-section {
    align-items: start;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 74px;
    padding-inline: 16px;
  }

  .brand img {
    width: 62px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    inset-top: 70px;
    right: 14px;
    left: 14px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 48px 0;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  h1 small {
    font-size: clamp(1.08rem, 5vw, 1.35rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  .hero-note {
    position: static;
    width: auto;
    margin-top: -18px;
  }

  .audience-grid,
  .offer-grid,
  .steps,
  .qualification-grid {
    grid-template-columns: 1fr;
  }

  .qualification-section .section-heading h2,
  .news-section .section-heading h2 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .news-section .section-heading h2 {
    font-size: clamp(2.25rem, 10.5vw, 3.15rem);
  }

  .intro-section .section-heading p,
  .method-section .section-heading p,
  .offer-section .section-heading p,
  .qualification-section .section-heading p,
  .news-section .section-heading p {
    max-width: 100%;
    white-space: normal;
  }

  .qualification-card {
    min-height: 0;
    padding: 26px;
  }

  .visual-qualification-card {
    padding: 8px;
  }

  .qualification-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
  }

  .offer-section .section-heading h2 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .offer-section .section-heading p {
    font-size: 1.1rem;
  }

  .offer-image {
    height: 220px;
  }

  .soft-card,
  .offer-card,
  .qualification-card,
  .steps article,
  .event-list article {
    min-height: 0;
  }

  .contact-actions,
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .cta-section {
    min-height: 260px;
    padding: 24px;
    background:
      linear-gradient(180deg, rgba(20, 82, 17, .95) 0%, rgba(30, 104, 21, .88) 52%, rgba(30, 104, 21, .36) 100%),
      url("assets/oldsite-13.jpg") center / cover no-repeat;
  }

  .cta-section .button {
    width: max-content;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 22px;
    padding-bottom: 14px;
  }

  .site-footer img {
    width: 112px;
  }

  .site-footer h2 {
    margin: 0 0 6px;
  }

  .footer-contact,
  .footer-social {
    padding-top: 0;
  }

  .footer-contact a,
  .footer-contact p {
    margin-bottom: 6px;
    font-size: .95rem;
  }

  .social-links a {
    width: 38px;
    height: 38px;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 4px;
    padding-top: 10px;
    text-align: center;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: .78rem;
  }

  .footer-bottom > a {
    justify-self: center;
  }

  .reveal[data-reveal="left"],
  .reveal[data-reveal="right"] {
    transform: translate3d(0, 28px, 0);
  }
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes dog-rise {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  24% {
    transform: translateY(-1px) rotate(-.7deg);
  }
  38% {
    transform: translateY(-4px) rotate(-1.4deg);
  }
  54% {
    transform: translateY(-1px) rotate(.4deg);
  }
}

@keyframes tail-wag {
  0%, 14%, 62%, 100% {
    transform: rotate(0deg);
  }
  22% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(11deg);
  }
  38% {
    transform: rotate(-6deg);
  }
  46% {
    transform: rotate(7deg);
  }
}

@keyframes dog-blink {
  0%, 8%, 10%, 48%, 50%, 100% {
    opacity: 0;
    transform: scaleY(.2);
  }
  9%, 49% {
    opacity: 1;
    transform: scaleY(1);
  }
}



