/* Website packages landing page (templates/campaigns/website_packages.html). Mobile first; brand tokens
   from the rest of the site. Contrast: white and #57bb6d on #0b2016, #0b2016 and #358346 on white all pass
   WCAG AA for their sizes. Touch targets are at least 44px. */

.pk {
    --pk-ink: #0b2016;
    --pk-green: #358346;
    --pk-green-light: #57bb6d;
    --pk-soft: #f1f5f2;
    --pk-line: #dfe7e1;
    --pk-muted: #4f5f55;
    --pk-radius: 20px;
    color: var(--pk-ink);
}

.pk-wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.pk-wrap--narrow { width: min(760px, 100% - 32px); }

/* Buttons */
.pk-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
    font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pk-btn:hover { transform: translateY(-2px); }
.pk-btn:focus-visible { outline: 3px solid var(--pk-green-light); outline-offset: 3px; }
.pk-btn--primary { background: var(--pk-green); color: #fff; }
.pk-btn--primary:hover { background: #2b6c39; color: #fff; }
.pk-btn--dark { background: var(--pk-ink); color: #fff; }
.pk-btn--dark:hover { background: var(--pk-green); color: #fff; }
.pk-btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.pk-btn--ghost:hover { border-color: #fff; color: #fff; }

/* Hero */
.pk-hero { background: var(--pk-ink); color: #fff; padding: 56px 0 48px; }
.pk-eyebrow { margin: 0 0 12px; color: var(--pk-green-light); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.pk-hero__title { margin: 0; color: #fff; font-size: clamp(32px, 7vw, 64px); line-height: 1.08; letter-spacing: -0.02em; max-width: 14ch; }
.pk-hero__title span { color: var(--pk-green-light); }
.pk-hero__lead { margin: 20px 0 0; max-width: 46ch; color: rgba(255, 255, 255, 0.85); font-size: 18px; line-height: 1.55; }
.pk-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.pk-chips li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; color: rgba(255, 255, 255, 0.9); font-size: 14px; }

/* Sections */
.pk-section { padding: 56px 0; }
.pk-section--soft { background: var(--pk-soft); }
.pk-section__title { margin: 0 0 24px; color: var(--pk-ink); font-size: clamp(26px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.01em; }
.pk-section__lead { margin: -12px 0 24px; color: var(--pk-muted); font-size: 17px; line-height: 1.55; }
.pk-note { margin: 20px 0 0; color: var(--pk-muted); font-size: 15px; }

/* Package cards: stacked on phones, three columns from 992px */
.pk-cards { display: grid; gap: 16px; }
.pk-card {
    position: relative; display: flex; flex-direction: column;
    padding: 28px 24px; border: 1px solid var(--pk-line); border-radius: var(--pk-radius); background: #fff;
}
.pk-card--featured { border: 2px solid var(--pk-green); box-shadow: 0 24px 50px -28px rgba(11, 32, 22, 0.45); }
.pk-card__badge {
    position: absolute; top: -14px; left: 24px; margin: 0; padding: 4px 12px; border-radius: 999px;
    background: var(--pk-green); color: #fff; font-size: 13px; font-weight: 700;
}
.pk-card__name { margin: 0; color: var(--pk-ink); font-size: 24px; }
.pk-card__summary { margin: 8px 0 0; color: var(--pk-muted); font-size: 15px; line-height: 1.5; }
.pk-card__price { margin: 20px 0 0; color: var(--pk-ink); }
.pk-card__price strong { font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.pk-card__price span { color: var(--pk-muted); font-size: 15px; }
.pk-card__price--quote strong { font-size: 28px; }
.pk-card__care { margin: 8px 0 0; color: var(--pk-muted); font-size: 14px; line-height: 1.45; }
.pk-card__days { align-self: flex-start; margin: 14px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--pk-soft); color: var(--pk-ink); font-size: 14px; font-weight: 600; }
.pk-card__features { margin: 20px 0 24px; padding: 0; list-style: none; flex: 1; }
.pk-card__features li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid var(--pk-line); font-size: 15px; line-height: 1.45; }
.pk-card__features li::before {
    content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px;
    border-left: 2px solid var(--pk-green); border-bottom: 2px solid var(--pk-green); transform: rotate(-45deg);
}
.pk-card__cta { width: 100%; }

/* Monthly care plan: shown in full, not hidden in small print */
.pk-care { margin-top: 24px; padding: 24px; border-radius: var(--pk-radius); background: var(--pk-ink); color: rgba(255, 255, 255, 0.88); }
.pk-care h3 { margin: 0; color: #fff; font-size: 20px; }
.pk-care p { margin: 8px 0 0; line-height: 1.55; }
.pk-care ul { display: grid; gap: 6px 24px; margin: 14px 0 0; padding-left: 20px; }
.pk-care li::marker { color: var(--pk-green-light); }

/* Steps */
.pk-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.pk-steps li { counter-increment: step; display: grid; gap: 6px; padding: 20px 20px 20px 72px; position: relative; border-radius: 16px; background: #fff; }
.pk-steps li::before {
    content: counter(step); position: absolute; left: 20px; top: 18px; display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 50%; background: var(--pk-ink); color: #fff; font-weight: 700;
}
.pk-steps strong { font-size: 18px; }
.pk-steps span { color: var(--pk-muted); line-height: 1.5; }

/* Sample work */
.pk-work { display: grid; gap: 16px; }
.pk-work__item { display: grid; gap: 10px; color: var(--pk-ink); font-weight: 600; text-decoration: none; }
.pk-work__item img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; border: 1px solid var(--pk-line); transition: transform 0.25s ease; }
.pk-work__item:hover img { transform: translateY(-4px); }
.pk-work__item:hover { color: var(--pk-green); }

/* FAQ */
.pk-faq { display: grid; gap: 10px; }
.pk-faq details { border-radius: 14px; background: #fff; }
.pk-faq summary { padding: 18px 48px 18px 20px; position: relative; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; min-height: 44px; }
.pk-faq summary::-webkit-details-marker { display: none; }
.pk-faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--pk-green); font-size: 24px; line-height: 1; }
.pk-faq details[open] summary::after { content: "−"; }
.pk-faq summary:focus-visible { outline: 3px solid var(--pk-green-light); outline-offset: 2px; border-radius: 14px; }
.pk-faq details p { margin: 0; padding: 0 20px 18px; color: var(--pk-muted); line-height: 1.6; }

/* Form */
.pk-form { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--pk-line); border-radius: var(--pk-radius); background: #fff; }
.pk-form__packages { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.pk-form__packages legend { margin-bottom: 8px; font-weight: 600; }
.pk-radio { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; border: 1px solid var(--pk-line); border-radius: 12px; cursor: pointer; }
.pk-radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--pk-green); }
.pk-radio:has(input:checked) { border-color: var(--pk-green); background: var(--pk-soft); }
.pk-field { display: grid; gap: 6px; }
.pk-field label { font-weight: 600; }
.pk-field label span { color: #b3261e; }
.pk-field input, .pk-field textarea {
    width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #b9c6bd; border-radius: 12px;
    background: #fff; color: var(--pk-ink); font-size: 16px;
}
.pk-field input:focus, .pk-field textarea:focus { outline: 3px solid rgba(53, 131, 70, 0.35); border-color: var(--pk-green); }
.pk-field--error input, .pk-field--error textarea { border-color: #b3261e; }
.pk-form .errorlist { margin: 0; padding: 0; list-style: none; color: #b3261e; font-size: 14px; }
.pk-form__submit { width: 100%; }
.pk-form__legal { margin: 0; color: var(--pk-muted); font-size: 13px; line-height: 1.5; }
.pk-form__legal a, .pk-contact a { color: var(--pk-green); }
.pk-contact { margin: 16px 0 0; color: var(--pk-muted); }
.pk-alert { margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.pk-alert--success { background: #e3f3e7; color: #1d5a2c; }
.pk-alert--warning, .pk-alert--error { background: #fbe9e7; color: #8c1d18; }

@media (min-width: 768px) {
    .pk-hero { padding: 88px 0 72px; }
    .pk-section { padding: 80px 0; }
    .pk-steps { grid-template-columns: repeat(2, 1fr); }
    .pk-work { grid-template-columns: repeat(3, 1fr); }
    .pk-care ul { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .pk-cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
    .pk-card--featured { transform: translateY(-8px); }
    .pk-steps { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .pk-btn, .pk-work__item img { transition: none; }
    .pk-btn:hover, .pk-work__item:hover img, .pk-card--featured { transform: none; }
}
