:root {
  --pf-primary: #e3c43d;
  --pf-dark: #333333;
  --pf-light: #eeeeee;
  --pf-white: #ffffff;
  --pf-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--pf-font);
  color: var(--pf-dark);
  background: var(--pf-white);
}

.pf-header {
  position: relative;
  z-index: 200;
  background: var(--pf-white);
  color: var(--pf-dark);
  padding: 0.65rem 0;
  border-bottom: 3px solid var(--pf-primary);
  overflow: visible;
}

.pf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  overflow: visible;
}

.pf-header nav {
  position: relative;
  z-index: 1;
}

.pf-header nav a {
  color: var(--pf-dark);
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: 600;
}

.pf-header nav a:hover {
  color: var(--pf-primary);
}

.pf-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.pf-logo--overflow {
  position: relative;
  z-index: 210;
  margin-top: -1.75rem;
  margin-bottom: -1.75rem;
}

.pf-logo-frame {
  display: block;
  margin-bottom: -4rem;

}

.pf-logo img {
  display: block;
  height: 128px;
  width: auto;
  max-width: min(400px, 72vw);
}

.pf-hero {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--pf-dark) 0%, #444 100%);
  color: var(--pf-white);
  margin-top: -1.25rem;
  padding: calc(4rem + 1.25rem) 0 4rem;
  text-align: center;
}

@media (max-width: 640px) {
  .pf-logo--overflow {
    margin-top: 2rem;
    margin-bottom: -1rem;
  }

  .pf-logo img {
    height: 76px;
    max-width: min(260px, 68vw);
  }

  .pf-hero {
    margin-top: -0.75rem;
    padding-top: calc(3rem + 0.75rem);
  }
}

.pf-hero h1,
.pf-hero-headline {
  font-size: clamp(1.35rem, 4vw, 2.25rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.pf-hero .tagline {
  color: var(--pf-primary);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

.pf-btn {
  display: inline-block;
  background: var(--pf-primary);
  color: var(--pf-dark);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}

.pf-btn:hover {
  filter: brightness(1.05);
  color: var(--pf-dark);
}

.pf-section {
  padding: 3rem 0;
}

.pf-section.alt {
  background: var(--pf-light);
}

.pf-form-page .pf-form-container {
  max-width: 720px;
}

.pf-form-intro {
  margin-bottom: 1.5rem;
  color: #555;
}

.pf-measures-ref {
  margin: 0 0 2rem;
  padding: 1rem;
  background: var(--pf-light);
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}

.pf-measures-ref img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.pf-measures-ref figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
}

.pf-form-section {
  border: none;
  margin: 0 0 2rem;
  padding: 0;
}

.pf-form-section legend {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pf-dark);
  padding: 0 0 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 3px solid var(--pf-primary);
  width: 100%;
}

.pf-form-grid {
  display: grid;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}

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

.pf-form-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.pf-form-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.pf-field {
  min-width: 0;
}

.pf-field--full {
  grid-column: 1 / -1;
}

.pf-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.pf-form input,
.pf-form select,
.pf-form textarea {
  width: 100%;
  max-width: none;
  padding: 0.5rem 0.65rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  box-sizing: border-box;
}

.pf-form input:focus,
.pf-form select:focus,
.pf-form textarea:focus {
  outline: 2px solid var(--pf-primary);
  outline-offset: 1px;
  border-color: var(--pf-primary);
}

.pf-form textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.pf-form-message {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 4px;
}

.pf-form-actions {
  margin-top: 1.5rem;
}

.pf-form .g-recaptcha {
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .pf-form-grid--2,
  .pf-form-grid--3,
  .pf-form-grid--4 {
    grid-template-columns: 1fr;
  }
}

.pf-footer {
  background: var(--pf-dark);
  color: var(--pf-light);
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pf-card {
  background: var(--pf-white);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
}

.pf-card h3 {
  color: var(--pf-dark);
  border-bottom: 3px solid var(--pf-primary);
  padding-bottom: 0.5rem;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 4px;
}

.pf-section-title {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--pf-dark);
}

.pf-section-lead {
  margin: 0 0 2rem;
  color: #555;
  max-width: 42rem;
}

.pf-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pf-catalog-card {
  background: var(--pf-white);
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pf-catalog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.pf-catalog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pf-catalog-card-image {
  aspect-ratio: 4 / 3;
  background: var(--pf-light);
  overflow: hidden;
}

.pf-catalog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-catalog-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.pf-catalog-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--pf-dark);
}

.pf-catalog-card-body p {
  margin: 0 0 1rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pf-catalog-card-cta {
  font-weight: 600;
  color: var(--pf-dark);
  border-bottom: 2px solid var(--pf-primary);
}

.pf-catalog-badge {
  display: inline-block;
  background: var(--pf-light);
  border-left: 4px solid var(--pf-primary);
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
}
