/* ==========================================================================
   PetsMicrochip — High-Converting Redesign
   Design System: "Deep Indigo × Amber Action × Clean White"
   Professional, premium — Stripe/Linear aesthetic
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  /* ── Brand: Deep Indigo (replaces green entirely) ── */
  --c-green:         #4f46e5;   /* indigo-600  — accent, icons, focus */
  --c-green-dark:    #1e1b4b;   /* indigo-950  — hero bg, navbar */
  --c-green-mid:     #3730a3;   /* indigo-800  — mid accent */
  --c-green-light:   #e0e7ff;   /* indigo-100  — soft bg tints */
  --c-green-xlight:  #eef2ff;   /* indigo-50   — section alt bg */

  /* ── Conversion CTA: Warm Amber/Orange (unchanged — proven) ── */
  --c-amber:         #f97316;
  --c-amber-dark:    #ea580c;
  --c-amber-light:   #fff7ed;
  --c-amber-glow:    rgba(249,115,22,0.25);

  /* ── Background: Clean White + cool-gray surfaces ── */
  --c-cream:         #ffffff;
  --c-cream-dark:    #f8fafc;
  --c-cream-border:  #e2e8f0;

  /* ── Dark Sections ── */
  --c-charcoal:      #0f0e1a;
  --c-charcoal-mid:  #1a1830;

  /* ── Text ── */
  --c-text:          #0f172a;
  --c-text-muted:    #64748b;
  --c-text-light:    #94a3b8;

  /* ── Status ── */
  --c-success:       #059669;
  --c-danger:        #dc2626;
  --c-warning:       #d97706;
  --c-info:          #0284c7;

  /* ── White ── */
  --c-white:         #ffffff;

  /* ── Legacy pm- tokens remapped to indigo palette ── */
  --pm-navy:          #1e1b4b;
  --pm-navy-light:    #2d2a6e;
  --pm-navy-dark:     #13112e;
  --pm-emerald:       #f97316;
  --pm-emerald-hover: #ea580c;
  --pm-emerald-light: #fff7ed;
  --pm-amber:         #d97706;
  --pm-amber-light:   #fef3c7;
  --pm-sky:           #0284c7;
  --pm-red:           #dc2626;
  --pm-white:         #ffffff;
  --pm-gray-50:       #f8fafc;
  --pm-gray-100:      #f1f5f9;
  --pm-gray-200:      #e2e8f0;
  --pm-gray-300:      #cbd5e1;
  --pm-gray-400:      #94a3b8;
  --pm-gray-500:      #64748b;
  --pm-gray-600:      #475569;
  --pm-gray-700:      #334155;
  --pm-gray-800:      #1e293b;
  --pm-gray-900:      #0f172a;
  --pm-coral:         #f97316;
  --pm-coral-hover:   #ea580c;
  --pm-coral-light:   #fff7ed;
  --pm-teal:          #0891b2;
  --pm-teal-hover:    #0e7490;
  --pm-teal-light:    #cffafe;

  /* ── Typography ── */
  --pm-font:         'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --pm-font-display: 'Plus Jakarta Sans', sans-serif;

  /* ── Navbar height (used for body offset + section resets) ── */
  --navbar-h: 70px;

  /* ── Spacing ── */
  --pm-section-py:   80px;
  --pm-card-radius:  16px;
  --pm-btn-radius:   10px;
  --pm-input-radius: 10px;

  /* ── Shadows (cool, crisp) ── */
  --pm-shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
  --pm-shadow:    0 4px 8px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
  --pm-shadow-md: 0 10px 28px rgba(15,23,42,0.10), 0 4px 8px rgba(15,23,42,0.06);
  --pm-shadow-lg: 0 20px 50px rgba(15,23,42,0.12);
  --pm-shadow-xl: 0 28px 64px rgba(15,23,42,0.16);

  /* ── Transitions ── */
  --pm-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--pm-font);
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
  /* Push ALL page content below the fixed navbar */
  padding-top: var(--navbar-h);
}

/*
 * Full-bleed sections that appear at the very top of the page
 * must cancel the body offset so their background reaches the navbar.
 * Their own internal padding-top already handles visual clearance.
 */
.pm-hero,
.pm-login-split,
.pm-start-hero,
.pm-page-banner {
  margin-top: calc(-1 * var(--navbar-h));
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pm-font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--pm-navy);
}

/* Scope DM Serif Display to h1 only — all subheadings use Inter */
h2, h3, h4, h5, h6 {
  font-family: var(--pm-font);
}

a {
  color: var(--pm-emerald);
  text-decoration: none;
  transition: color var(--pm-transition);
}

a:hover {
  color: var(--pm-emerald-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Utility Classes --- */
.pm-section { padding: var(--pm-section-py) 0; }
.pm-section-gray { background: var(--pm-gray-50); }
.pm-section-navy { background: var(--pm-navy); color: var(--pm-white); }
.pm-section-navy h2,
.pm-section-navy h3,
.pm-section-navy h4 { color: var(--pm-white); }
.pm-text-muted { color: var(--pm-gray-500); }
.pm-text-emerald { color: var(--pm-emerald); }
.pm-text-navy { color: var(--pm-navy); }
.pm-text-amber { color: var(--pm-amber); }

/* --- Navigation --- */
.pm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 16px 0;
  transition: all var(--pm-transition);
  background: rgba(30, 27, 75, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pm-navbar.scrolled {
  padding: 10px 0;
  background: rgba(19, 17, 46, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.pm-navbar .container-fluid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.pm-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--pm-white) !important;
  letter-spacing: -0.02em;
}

.pm-navbar .navbar-brand img {
  height: 34px;
  width: auto;
  filter: brightness(1.1);
}

.pm-navbar .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
  font-size: 0.938rem;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all var(--pm-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pm-navbar .nav-link:hover {
  color: var(--pm-white) !important;
  background: rgba(255,255,255,0.08);
}

.pm-navbar .nav-link.pm-cta-nav {
  background: var(--pm-emerald);
  color: var(--pm-white) !important;
  font-weight: 600;
  padding: 10px 20px !important;
  border-radius: var(--pm-btn-radius);
  margin-left: 8px;
}

.pm-navbar .nav-link.pm-cta-nav:hover {
  background: var(--pm-emerald-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.pm-navbar .nav-link img {
  width: 20px;
  height: 20px;
  opacity: 0.85;
}

.pm-navbar .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 10px;
}

.pm-navbar .navbar-toggler-icon {
  filter: brightness(2);
}

/* ==========================================================================
   CONVERSION SPLIT HERO — Mobile-First
   ========================================================================== */

/* MOBILE DEFAULT: stacked, photo on top */
.pm-hero {
  background: var(--c-green-dark);
  display: flex;
  flex-direction: column;
  min-height: auto;
  overflow: hidden;
  padding-top: 72px; /* clear fixed navbar */
}

.pm-hero-right {
  order: -1; /* photo first on mobile */
  position: relative;
  width: 100%;
  height: 55vw;
  min-height: 240px;
  max-height: 380px;
  overflow: hidden;
  flex-shrink: 0;
}
.pm-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
/* Gradient: dark fades in from top (connects to navbar) */
.pm-hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--c-green-dark) 0%, transparent 25%, transparent 60%, var(--c-green-dark) 100%);
  z-index: 1;
}

.pm-hero-left {
  position: relative;
  z-index: 2;
  padding: 32px 24px 52px;
  flex: 1;
}

/* Badge */
.pm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.14);
  border: 1px solid rgba(249,115,22,0.32);
  color: var(--c-amber);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pm-hero-badge svg { width: 14px; height: 14px; }

/* Headline */
.pm-hero h1 {
  font-family: var(--pm-font-display);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.pm-hero h1 .pm-highlight {
  color: var(--c-amber);
  -webkit-text-fill-color: var(--c-amber);
  background: none;
}

/* Subtitle */
.pm-hero-subtitle {
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

/* CTA pair — full width on mobile */
.pm-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.pm-hero-ctas .pm-btn {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 16px 28px;
}

/* Trust bullets */
.pm-hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pm-hero-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.pm-hero-bullet svg {
  width: 16px;
  height: 16px;
  color: var(--c-amber);
  flex-shrink: 0;
}

/* Stats pill — hidden on mobile */
.pm-hero-stats-pill { display: none; }

/* DESKTOP: side-by-side split */
@media (min-width: 992px) {
  .pm-hero {
    display: grid;
    grid-template-columns: 55fr 45fr;
    align-items: stretch;
    min-height: 100vh;
  }
  .pm-hero-right {
    order: 0;
    height: 100vh;
    max-height: none;
    min-height: 0;
    position: relative;
  }
  /* Left-to-right gradient blend on desktop */
  .pm-hero-right::before {
    background: linear-gradient(to right, var(--c-green-dark) 0%, transparent 35%, transparent 70%, rgba(19,17,46,0.4) 100%);
  }
  /* Bottom gradient on desktop */
  .pm-hero-right::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(to top, var(--c-green-dark), transparent);
    z-index: 1;
  }
  .pm-hero-left {
    padding: 60px 48px 60px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .pm-hero h1 { font-size: clamp(2.5rem, 3.5vw, 4rem); }
  .pm-hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pm-hero-ctas .pm-btn {
    width: auto;
    font-size: 1rem;
    padding: 15px 28px;
  }
  /* Floating stats pill on photo */
  .pm-hero-stats-pill {
    display: flex;
    position: absolute;
    bottom: 36px;
    right: 24px;
    z-index: 3;
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 16px 22px;
    gap: 20px;
  }
  .pm-hero-stat { text-align: center; }
  .pm-hero-stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--c-amber);
    line-height: 1.1;
    font-family: var(--pm-font-display);
  }
  .pm-hero-stat span {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}

/* ── Search Section ── */
.pm-search-section {
  background: var(--c-cream);
  border-top: 1px solid var(--c-cream-border);
  border-bottom: 1px solid var(--c-cream-border);
  padding: 72px 0;
}

/* Two-column layout: info left, card right */
.pm-search-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* LEFT: info */
.pm-search-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-green);
  background: var(--c-green-light);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.pm-search-eyebrow svg { width: 14px; height: 14px; flex-shrink: 0; }

.pm-search-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.pm-search-info p {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.pm-search-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pm-search-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text);
}
.pm-search-trust li svg {
  width: 16px;
  height: 16px;
  color: var(--c-green);
  flex-shrink: 0;
}

/* RIGHT: search card */
.pm-search-card {
  background: var(--c-white);
  border-radius: 20px;
  border: 1px solid var(--c-cream-border);
  box-shadow: var(--pm-shadow-lg);
  overflow: hidden;
}
.pm-search-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  background: var(--pm-navy);
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pm-search-card-header svg { opacity: 0.8; flex-shrink: 0; }
.pm-search-card-body { padding: 28px; }

.pm-search-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pm-search-hint-text {
  font-size: 0.8rem;
  color: var(--c-text-light);
  margin-top: 10px;
  margin-bottom: 0;
}

/* Mobile: stack vertically */
@media (max-width: 900px) {
  .pm-search-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pm-search-info h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
}

/* Search box (shared) */
.pm-search-container { max-width: 620px; margin: 0 auto; width: 100%; }

.pm-search-box {
  display: flex;
  align-items: stretch;
  background: var(--c-cream-dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--c-cream-border);
  transition: border-color var(--pm-transition), box-shadow var(--pm-transition);
}
.pm-search-box:focus-within {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.pm-search-box input[type="text"] {
  flex: 1;
  border: none;
  padding: 15px 18px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  background: transparent;
  outline: none;
  min-width: 0;
  font-family: var(--pm-font);
}
.pm-search-box input[type="text"]::placeholder {
  color: var(--c-text-light);
  font-weight: 400;
  font-size: 0.93rem;
}
.pm-search-box .btn-search {
  background: var(--c-amber);
  color: var(--c-white);
  border: none;
  padding: 15px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background var(--pm-transition), box-shadow var(--pm-transition);
  white-space: nowrap;
  font-family: var(--pm-font);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.pm-search-box .btn-search:hover {
  background: var(--c-amber-dark);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15);
}
.pm-search-box .btn-search svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 560px) {
  .pm-search-box { flex-direction: column; }
  .pm-search-box input[type="text"] { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--c-cream-border); }
  .pm-search-box .btn-search { padding: 14px 24px; justify-content: center; width: 100%; }
}

.pm-search-hint {
  color: var(--c-text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
}

.pm-hero-error {
  color: #fca5a5;
  font-size: 0.95rem;
  margin-top: 12px;
  font-weight: 500;
}

.pm-hero-error a {
  color: var(--pm-emerald);
  font-weight: 700;
  text-decoration: underline;
}

/* Search section feedback — shown below the search box */
.pm-search-feedback {
  min-height: 0;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 14px;
  text-align: center;
  color: var(--c-danger);
  line-height: 1.5;
}
.pm-search-feedback:empty { display: none; }
.pm-search-feedback a {
  color: var(--c-amber);
  font-weight: 700;
  text-decoration: underline;
}

/* --- Trust Stats Bar --- */
.pm-stats-bar {
  background: var(--pm-white);
  border-bottom: 1px solid var(--pm-gray-200);
  position: relative;
  z-index: 4;
}

.pm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.pm-stat-item {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid var(--pm-gray-200);
  transition: background var(--pm-transition);
}

.pm-stat-item:last-child {
  border-right: none;
}

.pm-stat-item:hover {
  background: var(--pm-gray-50);
}

.pm-stat-icon {
  width: 48px;
  height: 48px;
  background: var(--pm-emerald-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.pm-stat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--pm-emerald);
}

.pm-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pm-navy);
  letter-spacing: -0.02em;
}

.pm-stat-label {
  font-size: 0.85rem;
  color: var(--pm-gray-500);
  font-weight: 500;
  margin-top: 4px;
}

/* --- Feature Cards Section --- */
.pm-features {
  padding: var(--pm-section-py) 0;
}

.pm-section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.pm-section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.pm-section-header p {
  font-size: 1.1rem;
  color: var(--pm-gray-500);
  line-height: 1.7;
}

.pm-feature-card {
  background: var(--pm-white);
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-card-radius);
  padding: 40px 32px;
  transition: all var(--pm-transition);
  height: 100%;
}

.pm-feature-card:hover {
  border-color: var(--pm-emerald);
  box-shadow: var(--pm-shadow-md);
  transform: translateY(-4px);
}

.pm-feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c-green-light), #c7d2fe);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.pm-feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--c-green);
}

.pm-feature-icon.amber {
  background: linear-gradient(135deg, var(--pm-amber-light), #fde68a);
}

.pm-feature-icon.amber svg {
  color: var(--pm-amber);
}

.pm-feature-icon.sky {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.pm-feature-icon.sky svg {
  color: var(--pm-sky);
}

.pm-feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pm-feature-card p {
  color: var(--pm-gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- CTA Section --- */
.pm-cta-section {
  background: linear-gradient(135deg, var(--pm-navy-dark), var(--pm-navy));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pm-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.pm-cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pm-cta-content h2 {
  color: var(--pm-white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.pm-cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- Buttons --- */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--pm-font);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--pm-btn-radius);
  border: none;
  cursor: pointer;
  transition: all var(--pm-transition);
  text-decoration: none;
  line-height: 1.4;
}

.pm-btn-primary {
  background: var(--pm-emerald);
  color: var(--pm-white);
  box-shadow: 0 4px 16px var(--c-amber-glow);
}

.pm-btn-primary:hover {
  background: var(--pm-emerald-hover);
  color: var(--pm-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.35);
}

.pm-btn-outline {
  background: transparent;
  color: var(--pm-navy);
  border: 2px solid var(--pm-gray-200);
}

.pm-btn-outline:hover {
  background: var(--pm-gray-50);
  color: var(--pm-emerald);
  border-color: var(--pm-emerald);
}

.pm-btn-outline-light {
  background: transparent;
  color: var(--pm-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.pm-btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: var(--pm-white);
  border-color: rgba(255,255,255,0.5);
}

.pm-btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.pm-btn-lg {
  padding: 16px 36px;
  font-size: 1.075rem;
}

.pm-btn-white {
  background: var(--pm-white);
  color: var(--pm-navy);
}

.pm-btn-white:hover {
  background: var(--pm-gray-100);
  color: var(--pm-navy);
  transform: translateY(-2px);
}

/* --- Info Cards Section (replaces old tabs) --- */
.pm-info-section {
  padding: var(--pm-section-py) 0;
  background: var(--pm-gray-50);
}

.pm-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pm-info-card {
  background: var(--pm-white);
  border-radius: var(--pm-card-radius);
  border: 1px solid var(--pm-gray-200);
  padding: 36px 32px;
  transition: transform var(--pm-transition), box-shadow var(--pm-transition);
  position: relative;
}

.pm-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pm-shadow-lg);
}

.pm-info-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--pm-emerald-light);
  color: var(--pm-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pm-info-card-icon--amber {
  background: var(--pm-amber-light);
  color: var(--pm-amber);
}

.pm-info-card-icon--sky {
  background: #e0f2fe;
  color: var(--pm-sky);
}

.pm-info-card-icon--navy {
  background: #e2e8f0;
  color: var(--pm-navy);
}

.pm-info-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pm-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.pm-info-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--pm-gray-600);
  margin-bottom: 10px;
}

.pm-info-card p:last-child {
  margin-bottom: 0;
}

.pm-info-card .brand-name {
  color: var(--pm-emerald);
  font-weight: 700;
}

/* --- Privacy Feature List --- */
.pm-privacy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.pm-privacy-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 0.9rem;
  color: var(--pm-gray-600);
  border-bottom: 1px solid var(--pm-gray-100);
}

.pm-privacy-list li:last-child {
  border-bottom: none;
}

.pm-privacy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  background: var(--pm-emerald-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Brands Bar --- */
.pm-brands-bar {
  background: var(--pm-gray-50);
  border-top: 1px solid var(--pm-gray-200);
  padding: 32px 0;
}

.pm-brands-bar p {
  color: var(--pm-gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pm-brands-bar .brand-name {
  color: var(--pm-emerald);
  font-weight: 600;
}

/* --- Footer --- */
.pm-footer {
  background: var(--pm-navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 0;
}

.pm-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pm-footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.pm-footer-brand .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pm-white);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.pm-footer-brand .navbar-brand img {
  height: 30px;
}

.pm-footer h5 {
  color: var(--pm-white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.pm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pm-footer-links li {
  margin-bottom: 12px;
}

.pm-footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--pm-transition);
}

.pm-footer-links a:hover {
  color: var(--pm-emerald);
}

.pm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
}

.pm-footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pm-footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.pm-footer-badge svg {
  width: 16px;
  height: 16px;
  color: var(--pm-emerald);
}

/* --- Petchip Body Override --- */
.petchipbody {
  min-height: auto !important;
}

/* ── Modern Page Loader ── */
.pm-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(19, 17, 46, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Top progress bar */
.pm-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #f97316, #fbbf24, #f97316);
  background-size: 200% 100%;
  border-radius: 0 2px 2px 0;
  animation: pm-loader-bar-grow 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards,
             pm-loader-bar-shimmer 1.2s linear infinite;
}
@keyframes pm-loader-bar-grow {
  0%   { width: 0%; opacity: 1; }
  70%  { width: 85%; opacity: 1; }
  95%  { width: 95%; opacity: 1; }
  100% { width: 95%; opacity: 1; }
}
@keyframes pm-loader-bar-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Center spinner + logo */
.pm-loader-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
}

/* Dual rotating rings */
.pm-loader-rings {
  position: absolute;
  inset: 0;
}
.pm-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
}
.pm-loader-ring--outer {
  border-top-color: #f97316;
  border-right-color: rgba(249, 115, 22, 0.25);
  animation: pm-spin 1.1s linear infinite;
}
.pm-loader-ring--inner {
  inset: 12px;
  border-bottom-color: #c7d2fe;
  border-left-color: rgba(199,210,254,0.3);
  animation: pm-spin 0.75s linear infinite reverse;
}
@keyframes pm-spin {
  to { transform: rotate(360deg); }
}

/* Logo in center */
.pm-loader-logo {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  object-fit: contain;
  animation: pm-loader-pulse 1.6s ease-in-out infinite;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
@keyframes pm-loader-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.9; }
  50%       { transform: scale(1.08); opacity: 1; }
}

/* --- Existing Form Overrides --- */
.pm-form .form-control {
  border: 2px solid var(--pm-gray-200);
  border-radius: var(--pm-input-radius);
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color var(--pm-transition), box-shadow var(--pm-transition);
}

.pm-form .form-control:focus {
  border-color: var(--pm-emerald);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

/* --- Card Override --- */
.card {
  border: 1px solid var(--pm-gray-200) !important;
  border-radius: var(--pm-card-radius) !important;
  box-shadow: var(--pm-shadow) !important;
  overflow: hidden;
}

.card-header {
  background: var(--pm-gray-50) !important;
  border-bottom: 1px solid var(--pm-gray-200) !important;
  padding: 20px 24px !important;
}

/* --- Info Box Override --- */
.info-box {
  background-color: var(--pm-gray-50) !important;
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-card-radius) !important;
  padding: 32px !important;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--pm-gray-600);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .pm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pm-stat-item:nth-child(2) {
    border-right: none;
  }
  
  .pm-stat-item:nth-child(1),
  .pm-stat-item:nth-child(2) {
    border-bottom: 1px solid var(--pm-gray-200);
  }

  .pm-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  :root {
    --pm-section-py: 56px;
    --navbar-h: 68px;
  }

  .pm-hero {
    min-height: 75vh;
  }

  .pm-hero-content {
    padding: 40px 20px;
  }

  .pm-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pm-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pm-info-card {
    padding: 28px 24px;
  }

  .pm-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pm-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .pm-cta-content {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .pm-hero h1 {
    font-size: 1.85rem;
  }

  .pm-stat-item {
    padding: 24px 16px;
  }

  .pm-stat-number {
    font-size: 1.4rem;
  }
  
  .pm-feature-card {
    padding: 28px 24px;
  }
}

/* --- Cookie Banner Override --- */
#cookie-consent {
  background: var(--pm-navy-dark) !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2) !important;
}

#cookie-consent .btn-primary {
  background: var(--pm-emerald) !important;
  border-color: var(--pm-emerald) !important;
  border-radius: 8px !important;
}

#cookie-consent .btn-light {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.15) !important;
  border-radius: 8px !important;
}

/* --- Error message styling --- */
.error {
  color: var(--pm-red);
  font-weight: 500;
}

/* --- Notify/Alert overrides --- */
.notify {
  background-color: var(--pm-emerald-light) !important;
  border-color: var(--pm-emerald) !important;
  color: var(--pm-gray-800) !important;
  border-radius: var(--pm-input-radius) !important;
}

/* --- Register page button overrides --- */
.btn-success {
  background-color: var(--pm-emerald) !important;
  border-color: var(--pm-emerald) !important;
  border-radius: var(--pm-btn-radius) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  transition: all var(--pm-transition) !important;
}

.btn-success:hover {
  background-color: var(--pm-emerald-hover) !important;
  border-color: var(--pm-emerald-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.25) !important;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--pm-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--pm-gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pm-gray-500);
}

/* ==========================================================================
   Page-Level Layouts: Login, Forms, My Account
   ========================================================================== */

/* --- Page Header Banner (for inner pages) --- */
.pm-page-banner {
  background: linear-gradient(135deg, var(--pm-navy-dark), var(--pm-navy));
  padding: 120px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pm-page-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.pm-page-banner h1 {
  color: var(--pm-white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
  position: relative;
}

.pm-page-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  position: relative;
}

/* --- Login Card --- */
.pm-login-card {
  background: var(--pm-white);
  border-radius: var(--pm-card-radius);
  box-shadow: var(--pm-shadow-lg);
  border: 1px solid var(--pm-gray-200);
  overflow: hidden;
  max-width: 460px;
  margin: -40px auto 60px;
  position: relative;
  z-index: 5;
}

.pm-login-card .pm-card-header {
  background: var(--pm-gray-50);
  border-bottom: 1px solid var(--pm-gray-200);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-login-card .pm-card-header h4 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--pm-navy);
}

.pm-login-card .pm-card-header a {
  font-size: 0.875rem;
  font-weight: 500;
}

.pm-login-card .pm-card-body {
  padding: 32px;
}

.pm-login-card .pm-card-body .alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: var(--pm-input-radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* --- Form Elements (shared across all form pages) --- */
.pm-form-group {
  margin-bottom: 20px;
}

.pm-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pm-gray-700);
  margin-bottom: 6px;
}

.pm-input {
  width: 100%;
  border: 2px solid var(--pm-gray-200);
  border-radius: var(--pm-input-radius);
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--pm-font);
  color: var(--pm-navy);
  transition: border-color var(--pm-transition), box-shadow var(--pm-transition);
  background: var(--pm-white);
  outline: none;
}

.pm-input:focus {
  border-color: var(--pm-emerald);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.pm-input::placeholder {
  color: var(--pm-gray-400);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.pm-select {
  width: 100%;
  border: 2px solid var(--pm-gray-200);
  border-radius: var(--pm-input-radius);
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--pm-font);
  color: var(--pm-navy);
  background: var(--pm-white);
  transition: border-color var(--pm-transition), box-shadow var(--pm-transition);
  outline: none;
  cursor: pointer;
  appearance: auto;
}

.pm-select:focus {
  border-color: var(--pm-emerald);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

/* --- Registration / Transfer Form Container --- */
.pm-form-container {
  max-width: 860px;
  margin: -40px auto 60px;
  position: relative;
  z-index: 5;
  padding: 0 16px;
}

.pm-form-card {
  background: var(--pm-white);
  border-radius: var(--pm-card-radius);
  box-shadow: var(--pm-shadow-lg);
  border: 1px solid var(--pm-gray-200);
  overflow: hidden;
}

.pm-form-card .pm-form-section-header {
  background: var(--pm-gray-50);
  border-bottom: 1px solid var(--pm-gray-200);
  border-top: 1px solid var(--pm-gray-200);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-form-card .pm-form-section-header:first-child {
  border-top: none;
}

.pm-form-card .pm-form-section-header h5 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pm-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pm-form-card .pm-form-section-header svg {
  width: 20px;
  height: 20px;
  color: var(--pm-emerald);
  flex-shrink: 0;
}

.pm-form-card .pm-form-section-body {
  padding: 28px 32px;
}

.pm-form-card .pm-form-footer {
  padding: 20px 32px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--pm-gray-100);
}

/* --- Registration / Payment Page --- */
.pm-country-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pm-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--pm-gray-50);
  border: 1px solid var(--pm-gray-200);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pm-navy);
}

.pm-plan-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--pm-gray-200);
  border-radius: var(--pm-input-radius);
  cursor: pointer;
  transition: border-color var(--pm-transition), background var(--pm-transition), box-shadow var(--pm-transition);
  margin-bottom: 10px;
  position: relative;
}

.pm-plan-option:last-of-type {
  margin-bottom: 0;
}

.pm-plan-option:hover {
  border-color: var(--pm-emerald);
  background: rgba(249,115,22,0.03);
}

.pm-plan-option:has(input:checked) {
  border-color: var(--pm-emerald);
  background: var(--pm-emerald-light);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.pm-plan-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pm-emerald);
  flex-shrink: 0;
  cursor: pointer;
}

.pm-plan-content {
  flex: 1;
  min-width: 0;
}

.pm-plan-title {
  display: block;
  font-weight: 700;
  color: var(--pm-navy);
  font-size: 0.95rem;
}

.pm-plan-desc {
  display: block;
  color: var(--pm-gray-400);
  font-size: 0.82rem;
  margin-top: 2px;
}

.pm-plan-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pm-navy);
  white-space: nowrap;
}

.pm-plan-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--pm-emerald);
  color: var(--pm-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 10px;
}

.pm-stripe-card {
  border: 2px solid var(--pm-gray-200);
  border-radius: var(--pm-input-radius);
  padding: 14px 16px;
  background: var(--pm-white);
  transition: border-color var(--pm-transition), box-shadow var(--pm-transition);
}

.pm-stripe-card.StripeElement--focus {
  border-color: var(--pm-emerald);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.pm-stripe-card.StripeElement--invalid {
  border-color: var(--pm-red);
}

.pm-card-error {
  color: var(--pm-red);
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 20px;
}

.pm-divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pm-gray-400);
  font-size: 0.85rem;
  margin-top: 4px;
}

.pm-divider-text::before,
.pm-divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--pm-gray-200);
}

.pm-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--pm-gray-400);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

.pm-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--pm-gray-300);
}

/* --- Output / Success Page --- */
.pm-success-hero {
  text-align: center;
  padding: 48px 32px 32px;
  background: linear-gradient(135deg, var(--pm-emerald-light) 0%, rgba(249,115,22,0.05) 100%);
}

.pm-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--pm-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(249,115,22,0.2);
  color: var(--pm-emerald);
}

.pm-success-hero h3 {
  font-size: 1.5rem;
  color: var(--pm-navy);
  margin-bottom: 8px;
}

.pm-success-hero p {
  color: var(--pm-gray-500);
  font-size: 1rem;
  margin: 0;
}

.pm-chip-detail-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--pm-gray-50);
  border: 1px solid var(--pm-gray-200);
  border-radius: var(--pm-input-radius);
  padding: 18px 22px;
}

.pm-chip-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--pm-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pm-emerald);
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .pm-plan-option {
    flex-wrap: wrap;
    gap: 8px;
  }
  .pm-plan-price {
    font-size: 1.1rem;
  }
  .pm-plan-badge {
    top: -9px;
    right: 10px;
  }
  .pm-country-badges {
    gap: 6px;
  }
  .pm-country-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
  }
}

/* --- Contact Info Cards --- */
.pm-contact-info-card {
  background: var(--pm-white);
  border-radius: var(--pm-card-radius);
  box-shadow: var(--pm-shadow);
  border: 1px solid var(--pm-gray-200);
  padding: 28px;
  text-align: center;
  height: 100%;
  transition: transform var(--pm-transition), box-shadow var(--pm-transition);
}

.pm-contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pm-shadow-lg);
}

.pm-contact-icon {
  width: 52px;
  height: 52px;
  background: var(--pm-emerald-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pm-emerald);
  margin-bottom: 14px;
}

.pm-contact-info-card h6 {
  font-size: 1.05rem;
  color: var(--pm-navy);
  margin-bottom: 6px;
}

.pm-contact-info-card p {
  color: var(--pm-emerald);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  word-break: break-word;
}

.pm-contact-info-card small {
  color: var(--pm-gray-400);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* --- My Account Page --- */
.pm-account-container {
  max-width: 680px;
  margin: -40px auto 60px;
  position: relative;
  z-index: 5;
  padding: 0 16px;
}

.pm-account-welcome {
  background: var(--pm-white);
  border-radius: var(--pm-card-radius);
  box-shadow: var(--pm-shadow);
  border: 1px solid var(--pm-gray-200);
  padding: 32px;
  margin-bottom: 24px;
}

.pm-account-welcome-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pm-account-avatar {
  width: 56px;
  height: 56px;
  background: var(--pm-emerald-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pm-emerald);
}

.pm-account-welcome-top h4 {
  font-size: 1.3rem;
  color: var(--pm-navy);
}

.pm-account-welcome-top small {
  color: var(--pm-gray-400);
  font-size: 0.875rem;
}

.pm-account-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pm-pets-list {
  background: var(--pm-white);
  border-radius: var(--pm-card-radius);
  box-shadow: var(--pm-shadow);
  border: 1px solid var(--pm-gray-200);
  overflow: hidden;
}

.pm-pets-list-header {
  background: var(--pm-gray-50);
  border-bottom: 1px solid var(--pm-gray-200);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-pets-list-header h5 {
  margin: 0;
  font-size: 1.1rem;
  flex: 1;
}

.pm-pets-list-header svg {
  width: 22px;
  height: 22px;
  color: var(--pm-emerald);
}

.pm-pets-count {
  background: var(--pm-emerald);
  color: var(--pm-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  min-width: 24px;
  text-align: center;
}

.pm-pet-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--pm-gray-100);
  transition: background var(--pm-transition);
}

.pm-pet-row:last-child {
  border-bottom: none;
}

.pm-pet-row:hover {
  background: var(--pm-gray-50);
}

.pm-pet-avatar {
  width: 52px;
  height: 52px;
  background: var(--pm-emerald-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pm-pet-avatar img {
  width: 32px;
  height: 32px;
}

.pm-pet-info {
  flex: 1;
  min-width: 0;
}

.pm-pet-info .pm-pet-chip {
  font-weight: 600;
  color: var(--pm-gray-500);
  font-size: 0.875rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pm-pet-info .pm-pet-chip svg {
  color: var(--pm-gray-400);
  flex-shrink: 0;
}

.pm-pet-info .pm-pet-chip a {
  color: var(--pm-navy);
  text-decoration: none;
}

.pm-pet-info .pm-pet-chip a:hover {
  color: var(--pm-emerald);
}

.pm-pet-info .pm-pet-name {
  font-weight: 700;
  color: var(--pm-navy);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.pm-pet-info .pm-pet-date {
  color: var(--pm-gray-400);
  font-size: 0.8rem;
  margin-top: 2px;
}

.pm-pet-actions {
  flex-shrink: 0;
}

.pm-pet-empty {
  padding: 48px 28px;
  text-align: center;
  color: var(--pm-gray-400);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pm-pet-empty p {
  margin: 0;
}

/* --- Date picker for DOB --- */
.pm-date-input {
  cursor: pointer;
}

.pm-date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--pm-transition);
}

.pm-date-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* --- Form validation error styling --- */
.fail-alert {
  color: var(--pm-red) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
}

label.fail-alert {
  display: block !important;
}

input.fail-alert,
select.fail-alert {
  border-color: var(--pm-red) !important;
}

/* --- Responsive form adjustments --- */
@media (max-width: 767px) {
  .pm-login-card {
    margin: -30px 16px 40px;
  }

  .pm-login-card .pm-card-body {
    padding: 24px;
  }

  .pm-form-card .pm-form-section-body {
    padding: 20px;
  }

  .pm-form-card .pm-form-section-header {
    padding: 12px 20px;
  }

  .pm-form-card .pm-form-footer {
    padding: 16px 20px 24px;
  }

  .pm-account-welcome {
    padding: 24px;
  }

  .pm-account-actions {
    flex-direction: column;
    width: 100%;
  }

  .pm-account-actions .pm-btn {
    width: 100%;
    justify-content: center;
  }

  .pm-pet-row {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .pm-pet-actions {
    width: 100%;
    margin-top: 8px;
  }

  .pm-pet-actions .pm-btn {
    width: 100%;
  }
}

/* --- Pet Details / Microchip Lookup Page --- */
.pm-chip-hero {
  text-align: center;
  padding: 40px 32px 32px;
  background: linear-gradient(135deg, var(--pm-gray-50) 0%, rgba(249,115,22,0.04) 100%);
}

.pm-chip-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pm-emerald-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--pm-emerald);
  box-shadow: 0 4px 20px rgba(249,115,22,0.15);
}

.pm-chip-hero-number {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--pm-navy);
  letter-spacing: 2px;
  font-family: 'SF Mono', 'Roboto Mono', 'Courier New', monospace;
  margin-bottom: 4px;
  word-break: break-all;
}

.pm-chip-hero-label {
  font-size: 0.85rem;
  color: var(--pm-gray-400);
  font-weight: 500;
}

/* Temporary listing alert */
.pm-temp-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: var(--pm-amber-light);
  border-top: 1px solid rgba(245,158,11,0.2);
  border-bottom: 1px solid rgba(245,158,11,0.2);
}

.pm-temp-alert-content {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--pm-gray-700);
}

.pm-temp-alert-content svg {
  color: var(--pm-amber);
  flex-shrink: 0;
}

.pm-temp-cta {
  background: var(--pm-amber) !important;
  color: var(--pm-navy) !important;
  font-weight: 700 !important;
  white-space: nowrap;
  border: none;
}

.pm-temp-cta:hover {
  background: #e09000 !important;
}

/* Detail grid for key-value pairs */
.pm-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.pm-detail-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--pm-gray-100);
}

.pm-detail-item:nth-child(odd) {
  padding-right: 20px;
}

.pm-detail-item:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--pm-gray-100);
}

.pm-detail-item.pm-detail-full {
  grid-column: 1 / -1;
  padding-left: 0 !important;
  border-left: none !important;
}

.pm-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pm-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.pm-detail-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pm-navy);
  line-height: 1.5;
}

/* Status dot indicators */
.pm-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.pm-status-normal { background: var(--pm-emerald); }
.pm-status-lost { background: var(--pm-red); }
.pm-status-stolen { background: var(--pm-red); }
.pm-status-deceased { background: var(--pm-gray-400); }

/* Registration badges */
.pm-badge-registered {
  display: inline-block;
  background: var(--pm-emerald-light);
  color: var(--pm-emerald-hover);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

.pm-badge-temp {
  display: inline-block;
  background: var(--pm-amber-light);
  color: #b45309;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

/* Contact note callout */
.pm-contact-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--pm-gray-500);
  margin-bottom: 24px;
  padding: 14px 18px;
  background: var(--pm-gray-50);
  border-radius: var(--pm-input-radius);
  border: 1px solid var(--pm-gray-200);
  line-height: 1.5;
}

.pm-contact-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--pm-sky);
}

/* Alert messages */
.pm-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--pm-input-radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.pm-alert-success {
  background: var(--pm-emerald-light);
  color: var(--pm-emerald-hover);
  border: 1px solid rgba(249,115,22,0.2);
}

.pm-alert-success svg {
  color: var(--pm-emerald);
  flex-shrink: 0;
}

.pm-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Pet details responsive */
@media (max-width: 575px) {
  .pm-detail-grid {
    grid-template-columns: 1fr;
  }
  .pm-detail-item:nth-child(odd) {
    padding-right: 0;
  }
  .pm-detail-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
  .pm-chip-hero {
    padding: 32px 20px 24px;
  }
  .pm-temp-alert {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
  }
  .pm-temp-cta {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   START PAGE — Split Hero + Action Cards + Trust Strip
   ============================================================ */

.pm-start-hero {
  background: linear-gradient(135deg, #0a1f33 0%, var(--pm-navy) 50%, #163a5e 100%);
  padding: 100px 0 60px;
  overflow: hidden;
}

.pm-start-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.pm-start-hero-content {
  flex: 1 1 55%;
  min-width: 0;
}

.pm-start-hero-content h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 18px;
}

.pm-start-hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.pm-start-hero-ctas {
  display: none;
  gap: 12px;
  margin-bottom: 24px;
}

.pm-start-hero-ctas .pm-btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

.pm-start-hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.pm-start-stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pm-emerald);
}

.pm-start-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.pm-start-hero-image {
  flex: 0 0 40%;
  position: relative;
}

.pm-start-hero-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
}

/* Action Cards */
.pm-start-cards {
  padding: 56px 24px 48px;
  background: var(--pm-gray-50);
}

.pm-action-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--pm-gray-100);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pm-action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  text-decoration: none;
}

.pm-action-card-img {
  height: 240px;
  overflow: hidden;
}

.pm-action-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}

.pm-action-card:hover .pm-action-card-img img {
  transform: scale(1.05);
}

.pm-action-card-body {
  padding: 24px 28px 28px;
}

.pm-action-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pm-emerald-light);
  color: var(--pm-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pm-action-card-icon--amber {
  background: var(--pm-amber-light);
  color: var(--pm-amber);
}

.pm-action-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pm-navy);
  margin-bottom: 8px;
}

.pm-action-card-body p {
  font-size: 0.92rem;
  color: var(--pm-gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pm-action-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pm-emerald);
  transition: gap 0.2s ease;
}

.pm-action-card:hover .pm-action-card-cta {
  gap: 10px;
}

.pm-action-card-cta--amber {
  color: var(--pm-amber);
}

/* Trust Strip */
.pm-trust-strip {
  padding: 40px 24px;
  background: #fff;
}

.pm-trust-strip-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 32px;
  background: var(--pm-emerald-light);
  border-radius: 14px;
  border: 1px solid rgba(249,115,22,0.15);
}

.pm-trust-strip-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(249,115,22,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pm-emerald);
}

.pm-trust-strip-inner p {
  font-size: 0.92rem;
  color: var(--pm-gray-600);
  line-height: 1.65;
  margin-bottom: 0;
}

.pm-trust-strip-inner strong {
  color: var(--pm-navy);
}

/* Start page responsive */
@media (max-width: 767px) {
  .pm-start-hero {
    padding: 80px 0 32px;
  }
  .pm-start-hero-inner {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }
  .pm-start-hero-content h1 {
    font-size: 1.5rem;
    margin: 10px 0 10px;
  }
  .pm-start-hero-sub {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .pm-start-hero-ctas {
    display: flex;
  }
  .pm-start-hero-image {
    display: none;
  }
  .pm-start-hero-stats {
    display: none;
  }
  .pm-start-cards {
    padding: 28px 16px 28px;
  }
  .pm-action-card-img {
    height: 160px;
  }
  .pm-action-card-body {
    padding: 16px 20px 20px;
  }
  .pm-action-card-body p {
    display: none;
  }
  .pm-action-card-cta {
    display: none;
  }
  .pm-action-card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
  }
  .pm-action-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .pm-trust-strip {
    padding: 24px 16px;
  }
  .pm-trust-strip-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .pm-start-hero {
    padding: 74px 0 28px;
  }
  .pm-start-hero-content h1 {
    font-size: 1.35rem;
  }
  .pm-start-hero-ctas {
    flex-direction: column;
  }
}

/* ============================================================
   PAGE BANNERS WITH PHOTO BACKGROUNDS
   ============================================================ */

.pm-banner-photo {
  position: relative;
  overflow: hidden;
  padding: 110px 0 50px;
}

.pm-banner-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: saturate(0.5);
}

.pm-banner-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,27,75,0.3) 0%, rgba(30,27,75,0.1) 100%);
  pointer-events: none;
}

.pm-banner-photo h1,
.pm-banner-photo p {
  position: relative;
  z-index: 1;
}

.pm-banner-register::before {
  background-image: url('../images/banner-woman-brown-dog.jpg');
}

.pm-banner-transfer::before {
  background-image: url('../images/banner-cat.jpg');
}

/* ==========================================================================
   NEW COMPONENTS — Premium UX Redesign Extension
   ========================================================================== */

/* --- Scroll-Reveal Utilities --- */
.sr-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.sr-hidden.sr-visible {
  opacity: 1;
  transform: translateY(0);
}
.sr-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.sr-left.sr-visible {
  opacity: 1;
  transform: translateX(0);
}
.sr-delay-1 { transition-delay: 0.1s; }
.sr-delay-2 { transition-delay: 0.2s; }
.sr-delay-3 { transition-delay: 0.3s; }
.sr-delay-4 { transition-delay: 0.4s; }


/* --- Hero Floating Pet Image --- */
.pm-hero-pet-img {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: clamp(200px, 25vw, 380px);
  z-index: 3;
  animation: pm-float 6s ease-in-out infinite;
  pointer-events: none;
}
.pm-hero-pet-img img {
  width: 100%;
  border-radius: 24px 24px 0 0;
  object-fit: cover;
  object-position: top;
  opacity: 0.92;
  max-height: 420px;
}
@keyframes pm-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@media (max-width: 991px) { .pm-hero-pet-img { display: none; } }

/* --- Hero h1 — DM Serif Display --- */
.pm-hero h1 {
  font-family: var(--pm-font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* --- Wave Divider --- */
.pm-wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.pm-wave-divider svg { display: block; }

/* --- Footer Wave --- */
.pm-footer-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--pm-gray-50);
}
.pm-footer-wave svg { display: block; }

/* --- "Found a Pet?" nav link --- */
.pm-navbar .nav-link.pm-found-nav {
  color: var(--pm-coral) !important;
  font-weight: 600;
}
.pm-navbar .nav-link.pm-found-nav:hover {
  background: rgba(255,107,107,0.1);
  color: var(--pm-coral) !important;
}

/* --- Cookie Banner (replaces inline styles) --- */
.pm-cookie-banner {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(12,24,40,0.97);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--pm-gray-200);
  padding: 18px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.pm-cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pm-cookie-banner-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.pm-cookie-banner-text strong { color: var(--pm-white); }
.pm-cookie-banner-text a { color: var(--pm-emerald); text-decoration: underline; }
.pm-cookie-banner-actions { display: flex; gap: 10px; }

/* --- How It Works Section --- */
.pm-how-it-works {
  padding: var(--pm-section-py) 0;
  background: var(--pm-white);
}
.pm-hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.pm-hiw-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(to right, var(--pm-emerald), var(--pm-teal));
  z-index: 0;
}
.pm-hiw-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.pm-hiw-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--pm-navy);
  color: var(--pm-white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(30,27,75,0.25);
  transition: transform var(--pm-transition), box-shadow var(--pm-transition);
  position: relative;
}
.pm-hiw-step:hover .pm-hiw-number {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(30,27,75,0.3);
}
.pm-hiw-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(249,115,22,0.35);
  animation: pm-hiw-spin 12s linear infinite;
}
@keyframes pm-hiw-spin { to { transform: rotate(360deg); } }
.pm-hiw-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pm-navy);
  margin-bottom: 10px;
}
.pm-hiw-step p {
  font-size: 0.9rem;
  color: var(--pm-gray-500);
  line-height: 1.7;
}
@media (max-width: 767px) {
  .pm-hiw-grid { grid-template-columns: 1fr; gap: 28px; max-width: 340px; }
  .pm-hiw-grid::before { display: none; }
}

/* --- Testimonials Section --- */
.pm-testimonials {
  padding: var(--pm-section-py) 0;
  background: var(--pm-navy);
  position: relative;
  overflow: hidden;
}
.pm-testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 50%, rgba(249,115,22,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(13,148,136,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.pm-testimonials .pm-section-header h2 { color: var(--pm-white); }
.pm-testimonials .pm-section-header p { color: rgba(255,255,255,0.6); }
.pm-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.pm-testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--pm-card-radius);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--pm-transition), transform var(--pm-transition);
}
.pm-testimonial-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-3px);
}
.pm-testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--pm-amber);
}
.pm-testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }
.pm-testimonial-text {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.pm-testimonial-author { display: flex; align-items: center; gap: 12px; }
.pm-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(249,115,22,0.4);
}
.pm-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pm-testimonial-name { font-weight: 700; color: var(--pm-white); font-size: 0.9rem; }
.pm-testimonial-pet { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
@media (max-width: 767px) { .pm-testimonials-grid { grid-template-columns: 1fr; } }

/* --- "Found a Lost Pet?" Section --- */
.pm-found-pet-section {
  padding: var(--pm-section-py) 0;
  background: linear-gradient(135deg, #1a0f0f 0%, #2d1515 60%, #1a0a0a 100%);
  position: relative;
  overflow: hidden;
}
.pm-found-pet-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,107,107,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.pm-found-pet-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.pm-found-pet-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 28px;
  border: 3px solid rgba(255,107,107,0.4);
  animation: pm-found-pulse 2.5s ease-in-out infinite;
}
.pm-found-pet-img img { width: 100%; height: 100%; object-fit: cover; }
@keyframes pm-found-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255,107,107,0.08); }
  50%       { box-shadow: 0 0 0 18px rgba(255,107,107,0.15); }
}
.pm-found-pet-inner h2 {
  color: var(--pm-white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.pm-found-pet-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Coral button variant */
.pm-btn-coral {
  background: var(--pm-coral);
  color: var(--pm-white);
  box-shadow: 0 4px 16px rgba(255,107,107,0.3);
}
.pm-btn-coral:hover {
  background: var(--pm-coral-hover);
  color: var(--pm-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,107,0.4);
}

/* --- Step Wizard (Registration Progress) --- */
.pm-step-wizard-wrap {
  background: var(--pm-gray-50);
  border-bottom: 1px solid var(--pm-gray-200);
  padding: 22px 0;
  margin-top: 0;
}
.pm-step-wizard {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
  padding: 0 16px;
}
.pm-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}
.pm-step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 55%;
  right: -55%;
  height: 2px;
  background: var(--pm-gray-200);
  z-index: 0;
  transition: background 0.3s;
}
.pm-step-item.active:not(:last-child)::after,
.pm-step-item.done:not(:last-child)::after {
  background: var(--pm-emerald);
}
.pm-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pm-gray-200);
  color: var(--pm-gray-500);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all var(--pm-transition);
  font-family: var(--pm-font);
}
.pm-step-item.active .pm-step-circle {
  background: var(--pm-navy);
  color: var(--pm-white);
  box-shadow: 0 4px 14px rgba(30,27,75,0.25);
}
.pm-step-item.done .pm-step-circle {
  background: var(--pm-emerald);
  color: var(--pm-white);
}
.pm-step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pm-gray-400);
  text-align: center;
  font-family: var(--pm-font);
}
.pm-step-item.active .pm-step-label { color: var(--pm-navy); }
.pm-step-item.done .pm-step-label { color: var(--pm-emerald); }

/* --- Lost Pet Alert Banner --- */
.pm-lost-alert {
  background: linear-gradient(135deg, #ff6b6b 0%, #e84444 100%);
  color: var(--pm-white);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  animation: pm-lost-pulse 2s ease-in-out infinite;
}
@keyframes pm-lost-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(255,107,107,0.3); }
  50%       { box-shadow: 0 8px 36px rgba(255,107,107,0.55); }
}
.pm-lost-alert-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pm-lost-alert-icon svg { width: 26px; height: 26px; }
.pm-lost-alert-body strong {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 4px;
}
.pm-lost-alert-body span { font-size: 0.9rem; opacity: 0.9; }
@media (max-width: 580px) {
  .pm-lost-alert { flex-direction: column; text-align: center; }
}

/* --- Form Trust Sidebar (details.php) --- */
.pm-form-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.pm-form-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}
.pm-trust-sidebar {
  background: var(--pm-navy);
  border-radius: 20px;
  padding: 32px 28px;
  color: var(--pm-white);
}
.pm-trust-sidebar h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pm-white);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.pm-trust-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.pm-trust-point svg {
  width: 20px;
  height: 20px;
  color: var(--pm-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}
.pm-trust-point span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.pm-trust-pet-img {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 24px;
}
.pm-trust-pet-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
@media (max-width: 991px) {
  .pm-form-layout { grid-template-columns: 1fr; }
  .pm-form-sidebar { display: none; }
}

/* --- Login Split Screen --- */
/* ── Login Split Layout ── */
.pm-login-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100vh;
  padding-top: 72px;
}

/* LEFT: brand panel */
.pm-login-left {
  background: var(--pm-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}
.pm-login-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(249,115,22,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(79,70,229,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.pm-login-left-content {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

/* Brand logo in left panel */
.pm-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 52px;
}
.pm-login-brand img { height: 34px; width: auto; filter: brightness(1.15); }
.pm-login-brand span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.01em;
}

.pm-login-hero-text { margin-bottom: 44px; }
.pm-login-hero-text h2 {
  color: var(--c-white);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.pm-login-hero-text p {
  color: rgba(255,255,255,0.62);
  font-size: 1rem;
  line-height: 1.75;
}

/* Feature list */
.pm-login-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 44px;
}
.pm-login-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pm-login-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(249,115,22,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pm-login-feature-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--c-amber);
}
.pm-login-feature strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 2px;
}
.pm-login-feature span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* Stats row */
.pm-login-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pm-login-stat { text-align: center; flex: 1; }
.pm-login-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-amber);
  line-height: 1.1;
}
.pm-login-stat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  display: block;
}
.pm-login-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* RIGHT: form panel */
.pm-login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: var(--c-cream);
}

.pm-login-form-wrap {
  width: 100%;
  max-width: 400px;
}

.pm-login-form-header {
  margin-bottom: 32px;
}
.pm-login-form-header h1 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.pm-login-form-header p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
}
.pm-login-form-header p a {
  color: var(--c-green);
  font-weight: 600;
  text-decoration: none;
}
.pm-login-form-header p a:hover { text-decoration: underline; }

/* Error message */
.pm-login-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.5;
}
.pm-login-error svg { flex-shrink: 0; margin-top: 1px; }

/* Form fields */
.pm-lf-group { margin-bottom: 20px; }

.pm-lf-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.pm-lf-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.pm-lf-forgot {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-green);
  text-decoration: none;
}
.pm-lf-forgot:hover { text-decoration: underline; }

.pm-lf-input-wrap {
  position: relative;
}
.pm-lf-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  stroke: var(--c-text-light);
  pointer-events: none;
}
.pm-lf-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  font-size: 0.97rem;
  font-family: var(--pm-font);
  color: var(--c-text);
  background: var(--c-white);
  border: 1.5px solid var(--c-cream-border);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--pm-transition), box-shadow var(--pm-transition);
}
.pm-lf-input:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.pm-lf-input::placeholder {
  color: var(--c-text-light);
  font-weight: 400;
}

/* Submit button */
.pm-lf-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--c-amber);
  color: var(--c-white);
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--pm-font);
  cursor: pointer;
  margin-top: 28px;
  transition: background var(--pm-transition), transform var(--pm-transition), box-shadow var(--pm-transition);
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
  letter-spacing: 0.01em;
}
.pm-lf-submit:hover {
  background: var(--c-amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}
.pm-lf-submit:active { transform: translateY(0); }

/* Footer note */
.pm-lf-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--c-text-light);
}
.pm-lf-footer svg { opacity: 0.6; flex-shrink: 0; }

/* Mobile */
@media (max-width: 800px) {
  .pm-login-split { grid-template-columns: 1fr; }
  .pm-login-left { display: none; }
  .pm-login-right { padding: 100px 24px 48px; background: var(--c-white); }
  .pm-login-form-wrap { max-width: 100%; }
}

/* --- Share Button (pet-details) --- */
.pm-share-btn {
  margin-top: 12px;
  font-size: 0.85rem;
}
.pm-chip-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   CONVERSION REDESIGN — Global Component Overrides
   Forest Green × Amber × Warm Ivory
   ========================================================================== */

/* ── Navbar: Forest Green (replaces navy) ── */
.pm-navbar {
  background: rgba(30,27,75,0.94) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}
.pm-navbar.scrolled {
  background: rgba(19,17,46,0.98) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important;
}
.pm-navbar .nav-link.pm-found-nav {
  color: var(--c-amber) !important;
  font-weight: 700;
}
.pm-navbar .nav-link.pm-found-nav:hover {
  background: rgba(249,115,22,0.12) !important;
  color: var(--c-amber) !important;
}
.pm-navbar .nav-link.pm-cta-nav {
  background: var(--c-amber) !important;
}
.pm-navbar .nav-link.pm-cta-nav:hover {
  background: var(--c-amber-dark) !important;
  box-shadow: 0 4px 14px var(--c-amber-glow) !important;
}

/* ── Primary Buttons: Amber/Orange (highest-converting CTA colour) ── */
.pm-btn-primary {
  background: var(--c-amber) !important;
  color: var(--c-white) !important;
  box-shadow: 0 4px 16px var(--c-amber-glow) !important;
}
.pm-btn-primary:hover {
  background: var(--c-amber-dark) !important;
  color: var(--c-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.38) !important;
}

/* ── Stats Bar: Warm ivory bg, green numbers ── */
.pm-stats-bar {
  background: var(--c-cream) !important;
  border-bottom: 1px solid var(--c-cream-border) !important;
}
.pm-stat-number { color: var(--c-green) !important; }
.pm-stat-icon {
  background: var(--c-green-light) !important;
}
.pm-stat-icon svg { color: var(--c-green) !important; }

/* ── Section backgrounds ── */
.pm-info-section { background: var(--c-cream-dark) !important; }
.pm-features { background: var(--c-cream) !important; }

/* ── Feature cards: amber hover ── */
.pm-feature-card {
  background: var(--c-white) !important;
  border-color: var(--c-cream-border) !important;
}
.pm-feature-card:hover {
  border-color: var(--c-amber) !important;
  box-shadow: 0 12px 32px rgba(249,115,22,0.1) !important;
}
.pm-feature-icon {
  background: var(--c-green-light) !important;
}
.pm-feature-icon svg { color: var(--c-green) !important; }
.pm-feature-icon.amber { background: var(--c-amber-light) !important; }
.pm-feature-icon.amber svg { color: var(--c-amber) !important; }
.pm-feature-icon.sky { background: #e0f2fe !important; }
.pm-feature-icon.sky svg { color: var(--c-info) !important; }

/* ── Info Cards ── */
.pm-info-card {
  background: var(--c-white) !important;
  border-color: var(--c-cream-border) !important;
}
.pm-info-card-icon {
  background: var(--c-green-light) !important;
  color: var(--c-green) !important;
}
.pm-info-card-icon--amber { background: var(--c-amber-light) !important; color: var(--c-amber) !important; }
.pm-info-card-icon--sky   { background: #e0f2fe !important; color: var(--c-info) !important; }
.pm-info-card-icon--navy  { background: var(--c-green-light) !important; color: var(--c-green) !important; }

/* ── CTA Section: Forest green (not navy) ── */
.pm-cta-section {
  background: linear-gradient(135deg, var(--c-green-dark) 0%, var(--c-green) 100%) !important;
}

/* ── How It Works: amber gradient line, green numbers ── */
.pm-hiw-grid::before {
  background: linear-gradient(to right, var(--c-amber), var(--c-green)) !important;
}
.pm-hiw-number {
  background: var(--c-green) !important;
}
.pm-hiw-number::after {
  border-color: rgba(249,115,22,0.35) !important;
}

/* ── Testimonials: charcoal bg (richer than navy) ── */
.pm-testimonials {
  background: var(--c-charcoal) !important;
}

/* ── Found a Pet section: uses pm-coral which is now danger red ── */
.pm-btn-coral {
  background: var(--c-danger) !important;
  color: var(--c-white) !important;
  box-shadow: 0 4px 16px rgba(220,38,38,0.3) !important;
}
.pm-btn-coral:hover {
  background: #b91c1c !important;
  box-shadow: 0 8px 24px rgba(220,38,38,0.4) !important;
}
.pm-found-pet-section {
  background: linear-gradient(135deg, #13112e 0%, #1e1b4b 50%, #2d2a6e 100%) !important;
}

/* ── Form Cards: warm white, warm borders ── */
.pm-form-card {
  background: var(--c-white) !important;
  border: 1px solid var(--c-cream-border) !important;
}
.pm-form-section-header {
  border-left: 4px solid var(--c-amber);
  background: var(--c-cream) !important;
}
.pm-form-label { color: var(--c-text) !important; }

/* ── Inputs: warm borders ── */
.pm-input, .pm-select {
  border-color: var(--c-cream-border) !important;
  color: var(--c-text) !important;
  background: var(--c-white) !important;
}
.pm-input:focus, .pm-select:focus {
  border-color: var(--c-amber) !important;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12) !important;
}

/* ── Step Wizard: amber = active, green = done ── */
.pm-step-item.active .pm-step-circle {
  background: var(--c-amber) !important;
  color: var(--c-white) !important;
  box-shadow: 0 4px 14px var(--c-amber-glow) !important;
}
.pm-step-item.done .pm-step-circle {
  background: var(--c-success) !important;
  color: var(--c-white) !important;
}
.pm-step-item.active:not(:last-child)::after { background: var(--c-amber) !important; }
.pm-step-item.done:not(:last-child)::after   { background: var(--c-success) !important; }
.pm-step-item.active .pm-step-label { color: var(--c-amber) !important; }
.pm-step-item.done .pm-step-label   { color: var(--c-success) !important; }
.pm-step-wizard-wrap { background: var(--c-cream) !important; border-color: var(--c-cream-border) !important; }

/* ── Page Banner (inner pages) ── */
.pm-page-banner {
  background: linear-gradient(135deg, var(--c-green-dark) 0%, var(--c-green) 100%) !important;
}
.pm-page-banner h1 { color: var(--c-white) !important; }
.pm-page-banner p  { color: rgba(255,255,255,0.75) !important; }

/* ── Trust Sidebar ── */
.pm-trust-sidebar {
  background: var(--c-green-dark) !important;
  border: 1px solid rgba(79,70,229,0.3);
}
.pm-trust-sidebar h4 { color: var(--c-white) !important; }
.pm-trust-point svg  { color: var(--c-amber) !important; }

/* ── Login Split overrides (handled by new classes — no !important needed) ── */

/* ── Lost alert: updated to danger red ── */
.pm-lost-alert {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

/* ── Cookie Banner ── */
.pm-cookie-banner {
  background: rgba(17,18,19,0.97) !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* ── Footer Wave: points to charcoal ── */
.pm-footer-wave { background: var(--c-cream) !important; }
.pm-footer-wave svg path { fill: var(--c-charcoal) !important; }
.pm-footer { background: var(--c-charcoal) !important; }

/* ── Brands bar ── */
.pm-brands-bar { background: var(--c-cream-dark) !important; border-color: var(--c-cream-border) !important; }

/* ── Privacy list bullets ── */
.pm-privacy-list li::before { color: var(--c-amber) !important; }

/* ── Start page action cards ── */
.pm-action-card-icon { background: var(--c-amber-light) !important; color: var(--c-amber) !important; }
.pm-action-card-icon--amber { background: var(--c-green-light) !important; color: var(--c-green) !important; }
.pm-action-card-cta { color: var(--c-amber) !important; }
.pm-action-card-cta--amber { color: var(--c-green) !important; }
.pm-action-card:hover { border-color: var(--c-amber) !important; box-shadow: 0 12px 32px rgba(249,115,22,0.1) !important; }

/* ── Start page hero ── */
.pm-start-hero { background: linear-gradient(135deg, var(--c-green-dark) 0%, var(--c-green) 100%) !important; }
.pm-start-hero-image img { border-color: rgba(249,115,22,0.3) !important; }

/* ── Register plan option cards ── */
.pm-plan-option:checked + label,
.pm-plan-option-label.selected {
  border-color: var(--c-amber) !important;
  box-shadow: 0 0 0 3px var(--c-amber-glow) !important;
}

/* ── Alert states ── */
.pm-alert-success { border-color: var(--c-success) !important; }
.pm-badge-registered { background: var(--c-success) !important; }

/* ── Status dots ── */
.pm-status-dot.pm-status-normal { background: var(--c-success) !important; }
.pm-status-dot.pm-status-lost   { background: var(--c-danger) !important; }

/* ── Section headers (h2) text in light sections ── */
.pm-section-header h2 { color: var(--c-green-dark) !important; }
.pm-section-header p  { color: var(--c-text-muted) !important; }
/* Override for dark sections (testimonials) */
.pm-testimonials .pm-section-header h2 { color: var(--c-white) !important; }
.pm-testimonials .pm-section-header p  { color: rgba(255,255,255,0.6) !important; }

/* ── HIW steps text ── */
.pm-hiw-step h3 { color: var(--c-green-dark) !important; }
.pm-hiw-step p  { color: var(--c-text-muted) !important; }

/* ── Feature card text ── */
.pm-feature-card h3 { color: var(--c-green-dark) !important; }
.pm-feature-card p  { color: var(--c-text-muted) !important; }

/* ── Info card text ── */
.pm-info-card-title { color: var(--c-green-dark) !important; }

/* ── Chip hero (lookup results) ── */
.pm-chip-hero { background: var(--c-green-light) !important; }
.pm-chip-hero-number { color: var(--c-green-dark) !important; }
.pm-chip-hero-label  { color: var(--c-text-muted) !important; }

/* ── Temp alert ── */
.pm-temp-alert { background: var(--c-amber-light) !important; border-color: var(--c-amber) !important; }
.pm-temp-cta   { background: var(--c-amber) !important; color: var(--c-white) !important; }

/* ── Contact note ── */
.pm-contact-note { background: var(--c-green-xlight) !important; border-color: rgba(79,70,229,0.2) !important; }
.pm-contact-note svg { color: var(--c-green) !important; }

/* ── Search box pulse: amber glow ── */
@keyframes pm-search-pulse {
  0%, 100% { box-shadow: var(--pm-shadow-lg), 0 0 0 0 rgba(79,70,229,0); }
  50%       { box-shadow: var(--pm-shadow-lg), 0 0 0 8px rgba(79,70,229,0.1); }
}

/* ── Outline button on dark (hero secondary CTA) ── */
.pm-btn-outline-light {
  background: transparent !important;
  color: var(--c-white) !important;
  border: 2px solid rgba(255,255,255,0.35) !important;
}
.pm-btn-outline-light:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.6) !important;
  color: var(--c-white) !important;
}

/* ── Link color ── */
a { color: var(--c-green); }
a:hover { color: var(--c-green-mid); }

/* ════════════════════════════════════════════
   LOST PET RECOVERY MODULE
   ════════════════════════════════════════════ */

/* ── Page banner (indigo — matches site identity) ── */
.pm-lost-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #2d2a6e 100%);
  color: var(--c-white);
  padding: calc(var(--navbar-h) + 48px) 0 48px;
  text-align: center;
  margin-top: calc(-1 * var(--navbar-h));
}
.pm-lost-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--c-white);
}
.pm-lost-banner p {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 0;
  color: var(--c-white);
}
.pm-lost-banner-count {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 7px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ── Lost pets grid ── */
.pm-lost-section {
  padding: 56px 0 72px;
  background: var(--c-green-xlight);
}
.pm-lost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) { .pm-lost-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .pm-lost-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ── Lost pet card ── */
.pm-lost-card {
  display: block;
  text-decoration: none;
  background: var(--c-white);
  border-radius: var(--pm-card-radius);
  overflow: hidden;
  border: 1px solid var(--c-cream-border);
  box-shadow: var(--pm-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: var(--c-text);
}
.pm-lost-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pm-shadow-md), 0 0 0 2px var(--c-amber);
  border-color: var(--c-amber);
  text-decoration: none;
  color: var(--c-text);
}
.pm-lost-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-cream-dark);
}
.pm-lost-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.35s ease;
  display: block;
}
.pm-lost-card:hover .pm-lost-card-img img { transform: scale(1.04); }
.pm-lost-card-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-green-xlight);
}
.pm-lost-card-no-photo svg { color: var(--c-green-light); }

/* ── LOST ribbon badge ── */
.pm-lost-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--c-amber);
  color: var(--c-white);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(249,115,22,0.45);
}

/* ── Card body ── */
.pm-lost-card-body {
  padding: 18px 20px 20px;
}
.pm-lost-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.pm-lost-card-type {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-amber-dark);
  margin-bottom: 6px;
}
.pm-lost-card-chip {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  font-family: 'Courier New', monospace;
  margin-bottom: 4px;
}
.pm-lost-card-meta {
  font-size: 0.78rem;
  color: var(--c-text-light);
  margin-bottom: 12px;
}
.pm-lost-card-btn {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--c-green);
  border: 2px solid var(--c-green-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--pm-btn-radius);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pm-lost-card-btn:hover { background: var(--c-amber); border-color: var(--c-amber); color: var(--c-white); text-decoration: none; }

/* ── Empty state ── */
.pm-lost-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--c-text-muted);
}
.pm-lost-empty svg { color: var(--c-cream-border); margin-bottom: 20px; }
.pm-lost-empty h4 { font-weight: 700; color: var(--c-text-muted); margin-bottom: 8px; }

/* ── Pagination ── */
.pm-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.pm-pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
  color: var(--c-text-muted);
  background: var(--c-white);
  border-color: var(--c-cream-border);
  box-shadow: var(--pm-shadow-sm);
}
.pm-pg-btn:hover { border-color: var(--c-amber); color: var(--c-amber-dark); background: var(--c-amber-light); text-decoration: none; }
.pm-pg-btn.active { background: var(--c-green); color: var(--c-white); border-color: var(--c-green); box-shadow: 0 4px 12px rgba(79,70,229,0.25); }
.pm-pg-btn.active:hover { color: var(--c-white); }
.pm-pg-btn.disabled { background: var(--c-cream-dark); color: var(--c-text-light); cursor: default; pointer-events: none; border-color: transparent; box-shadow: none; }
.pm-pg-info { text-align: center; margin-top: 12px; font-size: 0.82rem; color: var(--c-text-light); }

/* ── Single lost pet detail page ── */
.pm-lost-detail-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px 72px;
}
.pm-lost-alert-banner {
  background: var(--c-green-dark);
  border-left: 5px solid var(--c-amber);
  color: var(--c-white);
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pm-lost-alert-banner svg { flex-shrink: 0; }
.pm-lost-alert-banner h4 { margin: 0; font-weight: 800; font-size: 1.1rem; color: var(--c-white); }
.pm-lost-alert-banner p  { margin: 4px 0 0; opacity: 0.9; font-size: 0.9rem; color: var(--c-white); }

.pm-lost-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 767px) {
  .pm-lost-detail { grid-template-columns: 1fr; }
}

.pm-lost-photo-main {
  width: 100%;
  border-radius: 14px;
  object-fit: contain;
  background: var(--c-cream-dark);
  box-shadow: var(--pm-shadow-md);
  display: block;
}
.pm-lost-no-photo-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--c-green-xlight);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-lost-no-photo-main svg { color: var(--c-green-light); }

/* Social share */
.pm-lost-share {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.pm-lost-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--c-white);
  transition: opacity 0.2s, transform 0.2s;
}
.pm-lost-share-btn:hover { opacity: 0.88; transform: translateY(-1px); color: var(--c-white); text-decoration: none; }
.pm-lost-share-fb  { background: #1877f2; }
.pm-lost-share-wa  { background: #25d366; }
.pm-lost-share-tw  { background: #1da1f2; }

/* Detail fields */
.pm-lost-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.pm-lost-field-full { grid-column: 1 / -1; }
.pm-lost-field {
  padding: 12px 16px;
  background: var(--c-cream-dark);
  border-radius: 10px;
  border-left: 4px solid var(--c-amber);
}
.pm-lost-field-chip {
  border-left-color: var(--c-green);
  background: var(--c-green-xlight);
  grid-column: 1 / -1;
}
.pm-lost-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-amber-dark);
  margin-bottom: 4px;
}
.pm-lost-field-chip .pm-lost-field-label { color: var(--c-green); }
.pm-lost-field-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
}
.pm-lost-field-chip .pm-lost-field-value {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
@media (max-width: 575px) { .pm-lost-fields { grid-template-columns: 1fr; } .pm-lost-field-full { grid-column: 1; } }

/* CTA button on detail page */
.pm-lost-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-amber);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--pm-btn-radius);
  text-decoration: none;
  box-shadow: 0 4px 16px var(--c-amber-glow);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pm-lost-cta-btn:hover {
  background: var(--c-amber-dark);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.35);
  text-decoration: none;
}
.pm-lost-cta-note {
  font-size: 0.78rem;
  color: var(--c-text-light);
  margin-top: 10px;
}

/* Breadcrumb */
.pm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pm-breadcrumb a { color: var(--c-amber-dark); text-decoration: none; }
.pm-breadcrumb a:hover { color: var(--c-amber); text-decoration: underline; }
.pm-breadcrumb-sep { color: var(--c-text-light); }
.pm-breadcrumb-current { color: var(--c-text-muted); font-weight: 500; }

/* ── Report form (report-lost.php) ── */
.pm-report-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.pm-report-icon {
  width: 72px;
  height: 72px;
  background: var(--c-danger);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(220,38,38,0.35);
}
.pm-upload-area {
  border: 2px dashed var(--c-amber);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  background: var(--c-amber-light);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pm-upload-area:hover {
  border-color: var(--c-amber-dark);
  background: #fef3c7;
}
.pm-upload-area svg { color: var(--c-amber); margin-bottom: 10px; }
.pm-upload-area strong { color: var(--c-amber-dark); display: block; margin-bottom: 4px; }
.pm-upload-area small { color: var(--c-text-muted); font-size: 0.8rem; }
.pm-char-counter {
  font-size: 0.78rem;
  color: var(--c-text-light);
  transition: color 0.2s;
}
.pm-char-counter.warn { color: var(--c-danger); }
.pm-crop-hint {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  text-align: center;
  margin-bottom: 10px;
  display: none;
}

/* ── myaccount: lost badge + buttons ── */
.pm-badge-lost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--c-amber);
  color: var(--c-white);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
}

/* ── Flash messages ── */
.pm-flash {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}
.pm-flash svg { flex-shrink: 0; margin-top: 1px; }
.pm-flash-success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.pm-flash-success svg { color: #059669; }
.pm-flash-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.pm-flash-error svg { color: var(--c-danger); }

/* ── Already-reported state on report-lost.php ── */
.pm-already-lost {
  background: var(--c-amber-light);
  border: 2px solid var(--c-amber);
  border-radius: 14px;
  padding: 28px 32px;
  text-align: center;
  margin-bottom: 24px;
}
.pm-already-lost h4 { color: var(--c-amber-dark); font-weight: 800; margin-bottom: 8px; }
.pm-already-lost p  { color: var(--c-text-muted); margin-bottom: 20px; }
