:root {
  --blue: #09234a;
  --blue-2: #123b72;
  --green: #3f7f22;
  --green-2: #2d6818;
  --orange: #d98b13;
  --orange-2: #b96f08;
  --cream: #fffaf1;
  --paper: #ffffff;
  --soft: #f4f7ef;
  --text: #10213d;
  --muted: #5d6675;
  --line: rgba(9, 35, 74, 0.12);
  --shadow: 0 14px 34px rgba(9, 35, 74, 0.12);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f4f7ef;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f4f7ef;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 78px;
  background: #fff;
  border-bottom: 1px solid rgba(9, 35, 74, 0.10);
  box-shadow: 0 4px 18px rgba(9, 35, 74, 0.08);
  display: grid;
  grid-template-columns: 335px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 0 32px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.site-brand span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 29px;
  border: 2px solid rgba(217, 139, 19, 0.28);
  border-radius: 18px 18px 18px 8px;
  background: #fffaf1;
}

.site-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.site-brand small {
  display: block;
  margin-top: 4px;
  color: #416187;
  font-size: 12px;
  font-weight: 650;
}

.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
}

.main-nav a {
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  border-bottom: 4px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.languages {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
}

.languages a {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: var(--blue);
  background: #f4f7ef;
  border: 1px solid rgba(9, 35, 74, 0.10);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.languages a:hover,
.languages a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.join-button-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  padding: 14px 19px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(217, 139, 19, 0.28);
  white-space: nowrap;
}

.join-button-top::before {
  content: "🐾";
}

.hero-home {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.64) 34%, rgba(255,255,255,0.86) 48%, rgba(255,255,255,0.48) 80%, rgba(255,255,255,0.08) 100%),
    radial-gradient(circle at 36% 46%, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.52) 22%, transparent 44%),
    linear-gradient(180deg, #b9dbf2 0%, #e7f4ff 38%, #e8f1d2 39%, #80a85e 100%);
}

.hero-home::before {
  content: "";
  position: absolute;
  left: 8%;
  bottom: -20px;
  width: 330px;
  height: 400px;
  background:
    radial-gradient(circle at 50% 20%, #ffe5a8 0%, #e3bd72 18%, transparent 19%),
    radial-gradient(ellipse at 50% 42%, #f7d89a 0%, #dbad5b 40%, #9b743a 72%, transparent 73%);
  clip-path: polygon(20% 100%, 20% 36%, 34% 12%, 61% 7%, 78% 28%, 83% 100%);
  filter: drop-shadow(0 18px 18px rgba(69, 45, 20, 0.18));
  opacity: 0.98;
}

.hero-home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: linear-gradient(0deg, #f4f7ef 0%, rgba(244,247,239,0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1380px, calc(100% - 48px));
  min-height: 450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(560px, 1fr) 300px;
  gap: 38px;
  align-items: center;
  padding-left: 34%;
}

.hero-copy {
  padding: 42px 0 62px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-copy .lead {
  max-width: 660px;
  margin: 17px 0 0;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.45;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 24px;
  color: var(--blue);
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-right: 1px solid rgba(9, 35, 74, 0.20);
  font-size: 13px;
  font-weight: 750;
}

.hero-points span:first-child {
  padding-left: 0;
}

.hero-points span:last-child {
  border-right: 0;
}

.hero-points i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--green);
  font-style: normal;
  font-size: 20px;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  max-width: 650px;
}

.public-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 11px 25px rgba(63, 127, 34, 0.25);
}

.public-button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
  box-shadow: none;
}

.qr-card {
  width: 300px;
  justify-self: end;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(9, 35, 74, 0.09);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(9, 35, 74, 0.16);
  padding: 24px 22px;
}

.qr-card strong {
  display: block;
  color: var(--green);
  font-size: 20px;
  margin-bottom: 16px;
}

.qr-content {
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 16px;
  align-items: center;
}

.qr-content p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.qr-fake {
  width: 104px;
  height: 104px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 20px 20px,
    #fff;
  border: 8px solid #fff;
  outline: 3px solid #111;
  box-shadow: inset 0 0 0 7px #fff;
}

.qr-sign {
  margin-top: 17px;
  color: #333;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 20px;
}

.page-wrap {
  position: relative;
  z-index: 8;
  width: min(1320px, calc(100% - 48px));
  margin: -42px auto 28px;
  display: grid;
  gap: 14px;
}

.top-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.22fr 0.95fr;
  gap: 14px;
}

.card-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 19px;
}

.card-panel h2 {
  margin: 0 0 17px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

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

.event-row {
  display: grid;
  grid-template-columns: 58px 1fr 72px;
  gap: 12px;
  align-items: center;
}

.date-box {
  border: 1px solid rgba(63,127,34,0.18);
  border-radius: 9px;
  background: #f7fbf2;
  text-align: center;
  padding: 7px 6px;
  color: var(--green);
}

.date-box strong {
  display: block;
  font-size: 23px;
  line-height: 1;
}

.date-box span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 950;
}

.event-row h3 {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
}

.event-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.thumb {
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8fb46b, #dbeabf);
}

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

.region-card {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-align: center;
}

.region-img {
  height: 84px;
  background: linear-gradient(135deg, #bcd7f0, #557da5);
}

.region-card:nth-child(2) .region-img {
  background: linear-gradient(135deg, #d5e2bf, #789c54);
}

.region-card:nth-child(3) .region-img {
  background: linear-gradient(135deg, #d5c2a2, #7d5c37);
}

.region-card:nth-child(4) .region-img {
  background: linear-gradient(135deg, #d8edf7, #5180ad);
}

.region-card strong {
  display: block;
  margin-top: 13px;
  color: var(--blue);
}

.region-card span {
  display: block;
  margin: 7px 12px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.feed-list {
  display: grid;
  gap: 13px;
}

.feed-row {
  display: grid;
  grid-template-columns: 44px 1fr 76px;
  gap: 10px;
  align-items: center;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9b481, #6c8e45);
}

.feed-row strong {
  display: block;
  color: var(--blue);
  font-size: 13px;
}

.feed-row p {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--blue-2);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.card-link::after {
  content: "→";
}

.mid-grid {
  display: grid;
  grid-template-columns: 0.92fr 0.92fr 1.08fr;
  gap: 14px;
}

.action-card,
.labrador-card,
.breeder-card,
.partner-card {
  display: grid;
  gap: 16px;
  align-items: center;
}

.action-card {
  grid-template-columns: 1fr 150px;
  min-height: 166px;
}

.labrador-card {
  grid-template-columns: 180px 1fr;
  border-color: rgba(217,139,19,0.36);
  background: #fffaf1;
}

.breeder-card,
.partner-card {
  grid-template-columns: 1fr 180px;
}

.breeder-card {
  background: #f3f8ff;
  border-color: rgba(30,90,155,0.18);
}

.action-card h3,
.labrador-card h3,
.breeder-card h3,
.partner-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 23px;
  line-height: 1.05;
}

.labrador-card h3 {
  color: var(--orange);
}

.breeder-card h3,
.partner-card.services h3 {
  color: #1e5a9b;
}

.action-card p,
.labrador-card p,
.breeder-card p,
.partner-card p {
  margin: 12px 0 0;
  color: var(--text);
  line-height: 1.45;
  font-size: 14px;
}

.action-img,
.labrador-img,
.breeder-img,
.partner-img {
  min-height: 122px;
  border-radius: 10px;
  background: linear-gradient(135deg, #a0bb78, #5c7c39);
}

.labrador-img {
  min-height: 160px;
  background: radial-gradient(circle at 44% 32%, #3f3f3f, #121212 62%, #050505);
}

.breeder-img {
  background: radial-gradient(circle at 48% 38%, #f7dfad, #d2a85b 55%, #7e5b2d);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.partner-card.market h3 {
  color: var(--green);
}

.partner-img {
  background: linear-gradient(135deg, #d1e5a6, #416f2d);
}

.partner-card.services .partner-img {
  background: linear-gradient(135deg, #cde9ff, #5a8fc0);
}

.site-footer {
  width: min(1320px, calc(100% - 48px));
  margin: 20px auto 28px;
  min-height: 64px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 18px;
  align-items: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(9,35,74,0.08);
}

.footer-value {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 850;
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 8px;
  align-items: center;
}

.socials span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.inner-page {
  width: min(1180px, calc(100% - 48px));
  margin: 28px auto;
  display: grid;
  gap: 18px;
}

.inner-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 58px);
}

.inner-hero h1 {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.inner-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 13px;
  font-weight: 950;
}

.info-band {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.info-band strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.info-band span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

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

.dev-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  line-height: 1.45;
  font-weight: 800;
  box-shadow: 0 14px 44px rgba(9,35,74,0.08);
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.feature-card small {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 950;
}

.feature-card strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
}

.feature-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1220px) {
  .site-header {
    height: auto;
    grid-template-columns: 1fr;
    position: relative;
    padding: 16px 22px;
  }

  .main-nav {
    height: auto;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .main-nav a {
    height: auto;
    padding: 8px 0;
  }

  .languages {
    display: flex;
    justify-content: flex-start;
  }

  .hero-inner {
    padding-left: 0;
    grid-template-columns: 1fr;
  }

  .hero-home::before {
    opacity: 0.18;
  }

  .qr-card {
    justify-self: start;
    margin-bottom: 30px;
  }

  .page-wrap {
    margin-top: 16px;
  }

  .top-grid,
  .mid-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .region-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 680px) {
  .site-brand strong {
    font-size: 23px;
  }

  .site-brand span {
    width: 46px;
    height: 46px;
  }

  .hero-copy h1,
  .inner-hero h1 {
    font-size: 41px;
  }

  .hero-copy .lead {
    font-size: 18px;
  }

  .hero-points span {
    width: 100%;
    padding: 8px 0;
    border-right: 0;
  }

  .qr-card {
    width: 100%;
  }

  .qr-content,
  .event-row,
  .feed-row,
  .action-card,
  .labrador-card,
  .breeder-card,
  .partner-card,
  .region-grid,
  .feature-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
}
