/* /htdocs/assets/css/base.css */

:root {
  --pcg-color-text: #172016;
  --pcg-color-muted: #5d675a;
  --pcg-color-surface: #ffffff;
  --pcg-color-surface-soft: #f5f8f2;
  --pcg-color-border: rgba(23, 32, 22, 0.14);
  --pcg-color-brand: #b5d993;
  --pcg-color-brand-dark: #315f2f;
  --pcg-color-white: #ffffff;
  --pcg-color-danger: #9e2a2b;
  --pcg-font-body: "Lato", Arial, sans-serif;
  --pcg-font-heading: "Oswald", Arial, sans-serif;
  --pcg-container-max: 1200px;
  --pcg-page-gutter: clamp(18px, 3vw, 32px);
  --pcg-radius-sm: 8px;
  --pcg-radius-md: 14px;
  --pcg-radius-lg: 20px;
  --pcg-shadow-sm: 0 8px 24px rgba(20, 35, 19, 0.08);
  --pcg-shadow-md: 0 16px 40px rgba(20, 35, 19, 0.12);
  --pcg-transition: 180ms ease;
}

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

html {
  min-width: 320px;

  scroll-behavior: smooth;

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;

  margin: 0;

  color: var(--pcg-color-text);
  background: var(--pcg-color-surface);

  font-family: var(--pcg-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg,
video,
canvas {
  display: block;

  max-width: 100%;
}

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
}

button {
  border: 0;
}
.pcg-heading {
  margin-top: 0;

  color: inherit;

  font-family: var(--pcg-font-heading);
  font-weight: 500;
  line-height: 1.15;
}

.pcg-heading--1 {
  font-size: clamp(2.25rem, 5vw, 4.75rem);
}

.pcg-heading--2 {
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
}

.pcg-heading--3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.pcg-text {
  margin-top: 0;

  color: var(--pcg-color-muted);

  font-family: var(--pcg-font-body);
  line-height: 1.7;
}

:focus-visible {
  outline: 2px solid var(--pcg-color-brand-dark);
  outline-offset: 3px;
}

::selection {
  background: var(--pcg-color-brand);
  color: var(--pcg-color-text);
}

.pcg-container {
  width: min(
    calc(100% - (var(--pcg-page-gutter) * 2)),
    var(--pcg-container-max)
  );

  max-width: var(--pcg-container-max);

  margin-right: auto;
  margin-left: auto;
}

.pcg-section {
  position: relative;

  width: 100%;

  padding:
    clamp(64px, 8vw, 112px)
    0;
}

.pcg-grid {
  display: grid;

  grid-template-columns: minmax(0, 1fr);

  gap: clamp(20px, 2.5vw, 32px);
}

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

@media (min-width: 768px) {
  .pcg-grid--2 {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .pcg-grid--3 {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}

.pcg-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding:
    11px
    20px;

  border: 1px solid transparent;
  border-radius: var(--pcg-radius-sm);

  color: var(--pcg-color-text);
  background: var(--pcg-color-brand);

  font-family: var(--pcg-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;

  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    transform var(--pcg-transition),
    background-color var(--pcg-transition),
    border-color var(--pcg-transition),
    color var(--pcg-transition),
    box-shadow var(--pcg-transition);
}

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

.pcg-button:active {
  transform: translateY(0);
}

.pcg-button--outline {
  border-color: currentColor;

  color: var(--pcg-color-text);
  background: transparent;
}

.pcg-button--outline:hover {
  background: rgba(181, 217, 147, 0.18);
}

.pcg-button--green {
  color: var(--pcg-color-brand-dark);
}

.pcg-button--green:hover {
  background: var(--pcg-color-brand);
  color: var(--pcg-color-text);
}

.pcg-form {
  width: 100%;

  margin: 0;
}

.pcg-field {
  width: 100%;
  min-height: 46px;

  margin: 0;

  padding:
    11px
    14px;

  border: 1px solid var(--pcg-color-border);
  border-radius: var(--pcg-radius-sm);

  color: var(--pcg-color-text);
  background: var(--pcg-color-surface);

  font-family: var(--pcg-font-body);

  outline: none;

  transition:
    border-color var(--pcg-transition),
    box-shadow var(--pcg-transition);
}

textarea.pcg-field {
  min-height: 130px;

  resize: vertical;
}

.pcg-field:focus {
  border-color: var(--pcg-color-brand-dark);

  box-shadow:
    0 0 0 3px
    rgba(181, 217, 147, 0.3);
}

.pcg-field::placeholder {
  color: #7c8579;

  opacity: 1;
}

.pcg-form-message {
  margin-top: 16px;

  padding: 14px 16px;

  border-radius: var(--pcg-radius-sm);
}

.pcg-form-message--success {
  background: rgba(181, 217, 147, 0.3);
}

.pcg-form-message--error {
  color: var(--pcg-color-danger);
  background: rgba(158, 42, 43, 0.08);
}
.pcg-text-center {
  text-align: center;
}

.pcg-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 767px) {
  :root {
    --pcg-page-gutter: 18px;
  }

  .pcg-section {
    padding:
      clamp(52px, 12vw, 76px)
      0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}