/* ==========================================================================
   Pendova site polish layer. Loaded after the design's stylesheets.
   Brand: Raspberry #ED0E47 · Blush #FFE8EE · Ink #1A1A1A · Muted #6B7280
   ========================================================================== */

:root {
  --pd-primary: #ED0E47;
  --pd-primary-deep: #D40A3E;
  --pd-primary-light: #FF5C8A;
  --pd-blush: #FFE8EE;
  --pd-ink: #1A1A1A;
  --pd-muted: #6B7280;
  --pd-line: #F1E4E9;
  --pd-gradient: linear-gradient(90deg, #FF5C8A 0%, #ED0E47 55%, #D40A3E 100%);
  --pd-shadow-card: 0 14px 34px rgba(122, 10, 42, .10);
  --pd-shadow-cta: 0 12px 26px rgba(237, 14, 71, .28);
  --pd-radius: 18px;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
main { display: block; }
img { max-width: 100%; height: auto; }
::selection { background: var(--pd-primary); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--pd-ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid rgba(237, 14, 71, .45); outline-offset: 3px; border-radius: 8px; }

/* Headings: h1/h2 now carry the design's .title look */
h1.title, h2.title { font-weight: 700; }
.title { text-wrap: balance; }
.sub-text { text-wrap: pretty; }

/* ---------- Header: sticky, picks up the hero colour, turns to glass on scroll ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background-color: var(--header-bg, transparent);
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--pd-line), 0 10px 30px rgba(122, 10, 42, .06);
}
.site-header .container { transition: padding .25s ease; }
.site-header.is-scrolled .container { padding-top: .55rem !important; padding-bottom: .55rem !important; }

.header-nav .nav-link { position: relative; font-size: 16px; }
.header-nav .nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--pd-gradient); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.header-nav .nav-link:hover::after, .header-nav .nav-link.active::after { transform: scaleX(1); }
.header-nav .nav-link.active { color: var(--pd-primary) !important; }

.download-btn {
  background: var(--pd-gradient); border-radius: 999px; font-size: 16px; color: #fff !important;
  box-shadow: var(--pd-shadow-cta); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.download-btn:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 16px 30px rgba(237, 14, 71, .34); }
.mobile-nav a.active { color: var(--pd-primary); }

/* ---------- Buttons ---------- */
.pendova-btn, .send-btn, .contact-email-btn, .stories-btn, .work-download-btn {
  border: 0; border-radius: 999px; color: #fff; font-weight: 600; text-decoration: none;
  background-image: var(--pd-gradient);
  box-shadow: var(--pd-shadow-cta);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.pendova-btn:hover, .send-btn:hover, .contact-email-btn:hover, .stories-btn:hover, .work-download-btn:hover {
  color: #fff; transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 18px 34px rgba(237, 14, 71, .34);
}
a > span.pendova-btn, a > span.contact-email-btn, a > span.stories-btn, a > span.work-download-btn, a > span.download-btn {
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.pendova-btn { min-height: 52px; padding-inline: 28px; }
.pendova-btn-ghost {
  background: #fff; color: var(--pd-ink); box-shadow: none; border: 1.5px solid var(--pd-line);
}
.pendova-btn-ghost:hover { color: var(--pd-primary); border-color: var(--pd-primary); box-shadow: none; filter: none; }
.send-btn:disabled { opacity: .7; cursor: progress; transform: none; }

.app-button { transition: transform .2s ease, box-shadow .2s ease; border-radius: 14px; }
a:hover > .app-button { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(26, 26, 26, .22); }

/* ---------- Hero ---------- */
.section-one { position: relative; overflow: hidden; }
.section-one::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 92, 138, .20), rgba(255, 92, 138, 0));
  pointer-events: none;
}
.sec-one-img-container img { filter: drop-shadow(0 26px 40px rgba(122, 10, 42, .18)); }
@media (prefers-reduced-motion: no-preference) {
  .sec-one-mobile { animation: pd-float 6s ease-in-out infinite; }
  .mobile-left    { animation: pd-float 7s ease-in-out -2s infinite; }
  .mobile-right   { animation: pd-float 7s ease-in-out -4s infinite; }
}
@keyframes pd-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.app-info { border-block: 1px solid rgba(237, 14, 71, .10); }
.app-info-item h4 { font-size: clamp(.95rem, .8rem + .5vw, 1.25rem) !important; }

/* ---------- Cards ---------- */
.card, .explore-card, .explore-card-2, .safety-card, .contact-form-body, .contact-info {
  border-radius: var(--pd-radius);
}
.card, .explore-card, .explore-card-2, .safety-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .explore-card:hover, .explore-card-2:hover, .safety-card:hover {
  transform: translateY(-4px); box-shadow: var(--pd-shadow-card);
}
.icon-container, .section-one-icon-container, .about-icon-container, .contact-icon-container { transition: transform .25s ease; }
.how-pendova-works [class*="col"]:hover .icon-container,
.safety-card:hover .icon-container, .card:hover .about-icon-container { transform: scale(1.08) rotate(-4deg); }

/* ---------- Scroll reveal (armed by site.js only) ---------- */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Footer ---------- */
.footer { background-color: #15111f; position: relative; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #43C2FE, #AD87B5, #F55C83); }
.footer-column { min-height: 0; }
.footer-list-title { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 16px; }
.footer-list-item { margin-bottom: 10px; }
.footer-list-item a { color: #fff; opacity: .88; font-size: 15px; transition: color .2s ease, opacity .2s ease, padding-left .2s ease; }
.footer-list-item a:hover, .footer-list-item a.active { color: #FF7DA3; opacity: 1; }
.footer-list:not(.social-list) .footer-list-item a:hover { padding-left: 4px; }
.social-list { display: flex; gap: 12px; flex-wrap: wrap; }
.social-list .footer-list-item { margin: 0; }
.social-list a {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255, 255, 255, .08); transition: background .2s ease, transform .2s ease;
}
.social-list a:hover { background: var(--pd-primary); transform: translateY(-2px); }
.social-icon { width: 18px; height: 18px; object-fit: contain; }
.footer-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-store {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; color: #fff; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s ease, border-color .2s ease;
}
.footer-store:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .24); }
.footer-store img { width: 18px; height: 18px; object-fit: contain; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .10);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
.footer .footer-copyright { color: rgba(255, 255, 255, .6); }

/* The design centres the footer below 992px: the store buttons and bottom bar follow */
@media (max-width: 991.98px) {
  .footer-stores { justify-content: center; }
  .footer-brand { text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- FAQ ---------- */
.faq-hero-sub { max-width: 640px; }
.faq-search {
  margin-top: 8px; width: min(560px, 100%); display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 54px;
  background: #fff; border: 1.5px solid var(--pd-line); border-radius: 999px; color: var(--pd-muted);
  box-shadow: 0 10px 28px rgba(122, 10, 42, .08); transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-search:focus-within { border-color: var(--pd-primary); box-shadow: 0 0 0 4px rgba(237, 14, 71, .12); }
.faq-search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; color: var(--pd-ink); min-width: 0; }
.faq-container { max-width: 920px; }
.faq-filters { justify-content: center; }
.faq-filter {
  border: 1.5px solid var(--pd-line); background: #fff; color: var(--pd-ink); font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; transition: all .2s ease;
}
.faq-filter:hover { border-color: var(--pd-primary); color: var(--pd-primary); }
.faq-filter.active { background: var(--pd-gradient); border-color: transparent; color: #fff; box-shadow: var(--pd-shadow-cta); }
.faq { background: #fff; border: 1.5px solid var(--pd-line); border-radius: 16px; padding: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.faq + .faq { margin-top: 12px; }
.faq:hover { border-color: rgba(237, 14, 71, .35); }
.faq.open { border-color: var(--pd-primary); box-shadow: var(--pd-shadow-card); }
.faq-question-row {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  background: transparent; border: 0; padding: 18px 20px; cursor: pointer; border-radius: 16px;
}
.faq-question { font-size: 16px; font-weight: 600; color: var(--pd-ink); }
.faq.open .faq-question { color: var(--pd-primary); }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--pd-blush); }
.faq-answer { display: block; padding: 0 20px 18px; line-height: 1.7; font-size: 15px; }
.faq-answer[hidden] { display: none; }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { padding-left: 1.2rem; }
.faq-answer li { list-style: disc !important; margin-bottom: 4px; }
.faq-answer ol li { list-style: decimal !important; }
.faq-answer a { color: var(--pd-primary); text-decoration: underline; }

/* ---------- Contact form ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-form-body .form-control, .contact-form-body .form-select, .contact-form-body .input-group-text {
  border-color: var(--pd-line); min-height: 48px;
}
.contact-form-body .form-control:focus, .contact-form-body .form-select:focus {
  border-color: var(--pd-primary); box-shadow: 0 0 0 4px rgba(237, 14, 71, .12);
}
.contact-form-body .is-invalid { border-color: #E5484D !important; background-image: none; }
.contact-form-body label.error { display: block; color: #E5484D; font-size: 13px; margin: -10px 0 12px; }
.contact-form-message { display: none; border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.contact-form-message.success { background: #E8F8EE; color: #166534; border: 1px solid #BBE7CB; }
.contact-form-message.error { background: #FDECEC; color: #B42318; border: 1px solid #F7C6C6; }
.company-line { font-size: 14px; }

/* ---------- Legal pages ---------- */
.pp-navigation-list a { transition: color .2s ease, background .2s ease; border-radius: 10px; }
.pp-navigation-list a.pp-active { color: var(--pd-primary); }

@media (max-width: 767.98px) {
  .pp-content-row { margin-inline: 0; }
  .pp-main-col { width: 100%; padding-inline: 0; }
}

/* ---------- 404 ---------- */
.not-found { padding: clamp(80px, 14vh, 160px) 0; }

/* ---------- Small screens ---------- */
@media (max-width: 767.98px) {
  html { scroll-padding-top: 80px; }
  .footer-bottom { flex-direction: column; }
  .pendova-btn { width: 100%; }
  .faq-question-row { padding: 16px; }
  .faq-answer { padding: 0 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
}
