/* ==========================================================================
   HiGuppy Professional Pages — Patte Style
   Matches homepage + about page design language:
   Orange/cream/yellow palette, Baloo 2 headings, Nunito Sans body
   ========================================================================== */

:root {
  --pp-orange: #FF6B35;
  --pp-orange-dark: #E55A2B;
  --pp-yellow: #FFD23F;
  --pp-yellow-light: #FFE580;
  --pp-cream: #FFF7ED;
  --pp-cream-dark: #FFF0D6;
  --pp-navy: #22303E;
  --pp-heading: #22303E;
  --pp-text: #5C6B7A;
  --pp-text-light: #8B97A3;
  --pp-bg-alt: #F7F4EF;
  --pp-border: #EDE6D8;
  --pp-white: #FFFFFF;
  --pp-green: #2EAD6B;
  --pp-red: #EF4444;
  --pp-shadow: 0 12px 30px rgba(34, 48, 62, .07);
  --pp-shadow-lg: 0 20px 44px rgba(34, 48, 62, .12);
  --pp-radius-sm: 12px;
  --pp-radius-md: 20px;
  --pp-radius-lg: 30px;
  --pp-radius-pill: 50px;
  --pp-container: 1160px;
  --pp-narrow: 820px;
}

/* Base */
.hg-pp {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--pp-text);
  overflow-x: hidden;
  line-height: 1.7;
}
.hg-pp * { box-sizing: border-box; }
.hg-pp a { color: inherit; text-decoration: none; transition: color .2s; }
.hg-pp img { max-width: 100%; display: block; }
.hg-pp h1, .hg-pp h2, .hg-pp h3, .hg-pp h4 {
  font-family: 'Baloo 2', cursive;
  color: var(--pp-heading);
  line-height: 1.15;
  margin: 0;
}

/* Container */
.hg-pp .container { width: min(var(--pp-container), calc(100% - 40px)); margin: 0 auto; }
.hg-pp .narrow { width: min(var(--pp-narrow), calc(100% - 40px)); margin: 0 auto; }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hg-pp .page-hero {
  position: relative;
  overflow: hidden;
  background: var(--pp-cream);
  padding: 76px 0 82px;
}
.hg-pp .hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hg-pp .hero-blob-left {
  width: 340px;
  height: 340px;
  background: var(--pp-yellow);
  top: -100px;
  right: -80px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: .7;
}
.hg-pp .hero-blob-right {
  width: 200px;
  height: 200px;
  background: var(--pp-yellow-light);
  bottom: -60px;
  left: -40px;
  opacity: .5;
}
/* Legacy bubble names (existing HTML uses these) */
.hg-pp .hero-bubble { position: absolute; border-radius: 50%; pointer-events: none; }
.hg-pp .hero-bubble-left {
  width: 340px;
  height: 340px;
  background: var(--pp-yellow);
  top: -100px;
  right: -80px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: .7;
}
.hg-pp .hero-bubble-right {
  width: 200px;
  height: 200px;
  background: var(--pp-yellow-light);
  bottom: -60px;
  left: -40px;
  opacity: .5;
}
.hg-pp .page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 48px;
}
.hg-pp .eyebrow {
  color: var(--pp-orange);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 10px;
}
.hg-pp .page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
}
.hg-pp .hero-summary {
  max-width: 640px;
  color: var(--pp-text);
  font-size: 16px;
  margin: 16px 0;
  line-height: 1.6;
}
.hg-pp .breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pp-text);
  font-weight: 600;
  font-size: 14px;
}
.hg-pp .breadcrumbs a { color: var(--pp-orange); }
.hg-pp .hero-card {
  background: var(--pp-white);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-lg);
  padding: 28px;
  box-shadow: var(--pp-shadow);
}
.hg-pp .hero-fish {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--pp-cream);
  font-size: 38px;
  margin-bottom: 16px;
}

/* ─── Content Sections ─────────────────────────────────────────────── */
.hg-pp .content-section { padding: 72px 0; }
.hg-pp .content-section.alt { background: var(--pp-bg-alt); }
.hg-pp .content-section h2 {
  color: var(--pp-heading);
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 0 0 20px;
  font-weight: 800;
}
.hg-pp .lead {
  color: var(--pp-text);
  font-size: 17px;
  max-width: 720px;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ─── Card Grid ────────────────────────────────────────────────────── */
.hg-pp .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.hg-pp .page-card {
  position: relative;
  background: var(--pp-white);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 28px;
  box-shadow: var(--pp-shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  min-height: 220px;
}
.hg-pp .page-card:hover {
  transform: translateY(-6px);
  border-color: var(--pp-orange);
  box-shadow: var(--pp-shadow-lg);
}
.hg-pp .card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--pp-cream);
  color: var(--pp-orange);
  border-radius: var(--pp-radius-pill);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 800;
}
.hg-pp .card-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pp-cream);
  font-size: 30px;
  margin-bottom: 16px;
}
.hg-pp .page-card h3 {
  margin: 0 0 10px;
  color: var(--pp-heading);
  font-size: 20px;
  font-weight: 700;
}
.hg-pp .page-card p { margin: 0 0 14px; color: var(--pp-text); font-size: 14px; }
.hg-pp .card-link { color: var(--pp-orange); font-weight: 800; font-size: 14px; }

/* ─── Info Grid ────────────────────────────────────────────────────── */
.hg-pp .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.hg-pp .info-grid.two { grid-template-columns: repeat(2, 1fr); }
.hg-pp .info-box {
  background: var(--pp-white);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 26px;
  box-shadow: var(--pp-shadow);
}
.hg-pp .info-icon {
  width: 58px;
  height: 58px;
  background: var(--pp-yellow);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.hg-pp .info-box h3 { color: var(--pp-heading); margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.hg-pp .info-box p { color: var(--pp-text); margin: 0; font-size: 14px; }

/* ─── Check List ───────────────────────────────────────────────────── */
.hg-pp .check-list { display: grid; gap: 12px; padding: 0; list-style: none; margin: 24px 0; }
.hg-pp .check-list li {
  position: relative;
  padding: 16px 18px 16px 50px;
  background: var(--pp-white);
  border: 1px solid var(--pp-border);
  border-radius: 16px;
  color: var(--pp-heading);
  font-weight: 600;
  font-size: 14px;
}
.hg-pp .check-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pp-orange);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}

/* ─── Warning & Note Boxes ─────────────────────────────────────────── */
.hg-pp .warning-box, .hg-pp .note-box { padding: 22px; border-radius: var(--pp-radius-md); margin: 24px 0; font-size: 14px; }
.hg-pp .warning-box { background: #FFF1F0; border: 1px solid #FFD7D2; color: #8A1F14; }
.hg-pp .note-box { background: var(--pp-cream); border: 1px solid rgba(255, 210, 63, .4); color: #6D4A00; }

/* ─── Steps ────────────────────────────────────────────────────────── */
.hg-pp .steps { display: grid; gap: 18px; margin: 28px 0; }
.hg-pp .step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--pp-white);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  padding: 22px;
  box-shadow: var(--pp-shadow);
}
.hg-pp .step span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--pp-orange);
  color: white;
  border-radius: 50%;
  font-weight: 900;
  font-size: 20px;
  font-family: 'Baloo 2', cursive;
}
.hg-pp .step h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.hg-pp .step p { margin: 0; color: var(--pp-text); font-size: 14px; }

/* ─── FAQ Accordion ────────────────────────────────────────────────── */
.hg-pp .faq-list { display: grid; gap: 14px; margin-top: 26px; }
.hg-pp details {
  background: var(--pp-white);
  border: 1px solid var(--pp-border);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s;
}
.hg-pp details[open] { border-color: var(--pp-orange); }
.hg-pp summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--pp-heading);
  font-family: 'Baloo 2', cursive;
  font-size: 17px;
}
.hg-pp details p { padding: 0 22px 20px; margin: 0; color: var(--pp-text); font-size: 14px; }

/* ─── CTA Band ─────────────────────────────────────────────────────── */
.hg-pp .cta-band {
  background: var(--pp-orange);
  color: white;
  border-radius: var(--pp-radius-lg);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 35px;
  box-shadow: 0 12px 24px rgba(255, 107, 53, .28);
}
.hg-pp .cta-band h2 { color: white; margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.hg-pp .cta-band p { color: rgba(255,255,255,.9); margin: 0; }

/* ─── Buttons ──────────────────────────────────────────────────────── */
.hg-pp .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--pp-radius-pill);
  padding: 14px 28px;
  font-weight: 700;
  font-family: 'Baloo 2', cursive;
  font-size: 15px;
  cursor: pointer;
  background: var(--pp-navy);
  color: white;
  box-shadow: 0 10px 20px rgba(34, 48, 62, .2);
  transition: background .2s, transform .2s;
}
.hg-pp .button:hover { background: #0f1922; transform: translateY(-2px); }
.hg-pp .button.secondary { background: var(--pp-yellow); color: var(--pp-navy); box-shadow: 0 10px 20px rgba(255, 210, 63, .3); }
.hg-pp .button.secondary:hover { background: #e6b800; }

/* ─── Tables ───────────────────────────────────────────────────────── */
.hg-pp .table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
}
.hg-pp table { width: 100%; border-collapse: collapse; background: var(--pp-white); }
.hg-pp th, .hg-pp td { padding: 16px 18px; border-bottom: 1px solid var(--pp-border); text-align: left; font-size: 14px; }
.hg-pp th { background: var(--pp-orange); color: white; font-weight: 700; }
.hg-pp td { color: var(--pp-text); }
.hg-pp tr:last-child td { border-bottom: none; }

/* ─── Badges ───────────────────────────────────────────────────────── */
.hg-pp .badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.hg-pp .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pp-cream);
  color: var(--pp-orange);
  border-radius: var(--pp-radius-pill);
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid var(--pp-border);
}

/* ─── Gallery Grid ─────────────────────────────────────────────────── */
.hg-pp .gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.hg-pp .gallery-item {
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: var(--pp-radius-md);
  background: linear-gradient(135deg, var(--pp-cream), var(--pp-bg-alt));
  border: 1px solid var(--pp-border);
  font-size: 46px;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
}
.hg-pp .gallery-item:hover { transform: scale(1.03); }
.hg-pp .gallery-item span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255,255,255,.9);
  border-radius: 14px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
  color: var(--pp-heading);
}

/* ─── Blog Grid ────────────────────────────────────────────────────── */
.hg-pp .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.hg-pp .blog-card {
  background: var(--pp-white);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius-md);
  overflow: hidden;
  box-shadow: var(--pp-shadow);
  transition: transform .25s;
}
.hg-pp .blog-card:hover { transform: translateY(-4px); }
.hg-pp .blog-thumb {
  min-height: 150px;
  background: linear-gradient(135deg, var(--pp-cream), var(--pp-bg-alt));
  display: grid;
  place-items: center;
  font-size: 42px;
}
.hg-pp .blog-card div:last-child { padding: 20px; }
.hg-pp .blog-card h3 { margin: 0 0 10px; color: var(--pp-heading); font-size: 18px; }
.hg-pp .blog-card p { color: var(--pp-text); margin: 0; font-size: 14px; }

/* ─── Back to Top ──────────────────────────────────────────────────── */
.hg-pp .back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--pp-orange);
  color: white;
  box-shadow: 0 10px 25px rgba(255, 107, 53, .3);
  cursor: pointer;
  display: none;
  z-index: 999;
  font-size: 18px;
}
.hg-pp .back-to-top.visible { display: grid; place-items: center; }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hg-pp .page-hero-inner { grid-template-columns: 1fr; }
  .hg-pp .hero-card { max-width: 480px; }
  .hg-pp .card-grid, .hg-pp .info-grid, .hg-pp .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hg-pp .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hg-pp .container, .hg-pp .narrow { width: min(100% - 28px, var(--pp-container)); }
  .hg-pp .page-hero { padding: 52px 0 56px; }
  .hg-pp .content-section { padding: 52px 0; }
  .hg-pp .card-grid, .hg-pp .info-grid, .hg-pp .blog-grid, .hg-pp .gallery-grid { grid-template-columns: 1fr; }
  .hg-pp .cta-band { flex-direction: column; align-items: flex-start; }
  .hg-pp .step { grid-template-columns: 1fr; }
  .hg-pp .step span { width: 42px; height: 42px; font-size: 16px; }
  .hg-pp .hero-blob, .hg-pp .hero-bubble, .hg-pp .hero-bubble-left, .hg-pp .hero-bubble-right, .hg-pp .hero-blob-left, .hg-pp .hero-blob-right { display: none; }
}
