/* ==========================================================================
   Perth Power Equipment — Honda Generators Perth
   Page-specific styles
   ========================================================================== */

/* ===== BREADCRUMB ===== */
.pp-crumbs { background: var(--pp-ink-2); color: var(--pp-on-dark-muted); font-size: 14px; }
.pp-crumbs ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 10px 0; }
.pp-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.pp-crumbs a { text-decoration: none; }
.pp-crumbs a:hover { color: #fff; }

/* ===== HERO ===== */
.pp-hero-sec {
  position: relative;
  background-color: var(--pp-ink);
  color: #fff;
}
/* Gradient overlay — works whether class lands on .elementor-section or inner wrapper */
.pp-hero-sec::before,
.elementor-section.pp-hero-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,12,.96) 0%, rgba(10,10,12,.85) 45%, rgba(10,10,12,.35) 100%);
  z-index: 0;
  pointer-events: none;
}
.pp-hero-sec > .elementor-container,
.elementor-section.pp-hero-sec > .elementor-container { position: relative; z-index: 1; }
.pp-hero-sec .elementor-widget-wrap { position: relative; z-index: 1; }

/* SVGs everywhere — must always have explicit size */
.pp-ticks svg,
.pp-benefits svg,
.pp-why-item svg { flex: none; width: 26px; height: 26px; }

.pp-hero { padding: 84px 0 92px; color: #fff; }
.pp-hero-h1 { font-size: clamp(46px, 8vw, 96px); margin-bottom: 0; }
.pp-hero-h1 span { display: block; color: var(--pp-red); }
.pp-hero .pp-lead { color: #dcdde2; margin: 22px 0 26px; max-width: 600px; }

.pp-price-chip { display: inline-block; background: #fff; color: var(--pp-ink); font-weight: 700; padding: 6px 12px; border-radius: 4px; margin-bottom: 18px; font-size: 15px; }
.pp-price-chip b { color: var(--pp-red); }

.pp-ticks { display: flex; flex-wrap: wrap; gap: 14px 28px; list-style: none; padding: 0; margin: 0 0 32px; }
.pp-ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-family: "Barlow", sans-serif; }
.pp-ticks svg { flex: none; width: 26px; height: 26px; color: var(--pp-red); }
.pp-ticks small { display: block; font-weight: 400; color: var(--pp-on-dark-muted); font-size: 13px; }

/* ===== USE CASES ===== */
/* Uses grid is full-viewport-width in the original — override Elementor container max-width */
.elementor-section.pp-uses-sec > .elementor-container {
  max-width: 100% !important;
  padding: 0;
}
.pp-uses-sec { background: var(--pp-ink); }
.pp-uses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }

.pp-use {
  position: relative;
  display: block;
  min-height: 210px;
  text-decoration: none;
  color: #fff;
  background-color: var(--pp-ink-3);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.pp-use::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.88) 100%);
  transition: background 0.2s;
}
.pp-use:hover::before { background: linear-gradient(180deg, rgba(225,11,23,.15) 0%, rgba(0,0,0,.9) 100%); }
.pp-use-body { position: absolute; left: 20px; right: 64px; bottom: 18px; }
.pp-use h2 { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; margin: 0; }
.pp-use p  { margin: 4px 0 0; font-size: 14px; color: #d8d9de; }
.pp-use-go { position: absolute; right: 16px; bottom: 18px; width: 38px; height: 38px; background: var(--pp-red); display: grid; place-items: center; border-radius: 4px; font-size: 20px; }

/* BG images for each use tile */
.pp-use-camping { background-image: url('https://perthpower.com.au/wp-content/uploads/2019/12/EU10i_Camping.jpg'); }
.pp-use-work    { background-image: url('https://perthpower.com.au/wp-content/uploads/2019/12/Honda_2018_PE_EU22i_IntroTab_Tools.jpg'); }
.pp-use-home    { background-image: url('https://perthpower.com.au/wp-content/uploads/2019/12/Honda_2018_PE_EU22i_IntroTab_House.jpg'); }
.pp-use-events  { background-image: url('https://perthpower.com.au/wp-content/uploads/2019/12/Gennie_EU65is_PFS_0274.jpg'); }

@media (max-width: 860px) { .pp-uses-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pp-uses-grid { grid-template-columns: 1fr; } .pp-use { min-height: 170px; } }

/* ===== BENEFITS ===== */
.pp-benefits { padding: 36px 0; border-bottom: 1px solid var(--pp-line); }
.pp-benefits ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.pp-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.pp-benefits svg { width: 34px; height: 34px; flex: none; color: var(--pp-ink); }
.pp-benefits b { display: block; text-transform: uppercase; font-size: 15px; letter-spacing: 0.02em; font-family: "Barlow", sans-serif; }
.pp-benefits span { font-size: 14px; color: var(--pp-muted); font-family: "Barlow", sans-serif; }

@media (max-width: 860px) { .pp-benefits ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pp-benefits ul { grid-template-columns: 1fr; } }

/* ===== OFFER BANNER ===== */
.pp-offer-sec { background: var(--pp-red); color: #fff; overflow: hidden; }
.pp-offer { padding: 26px 0; }
.pp-offer-grid { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 32px; }
.pp-offer-tag { background: var(--pp-ink); padding: 14px 22px; transform: skewX(-10deg); }
.pp-offer-tag span { display: block; transform: skewX(10deg); font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 800; font-size: 30px; line-height: 0.95; text-transform: uppercase; }
.pp-offer-tag em { color: var(--pp-red); font-style: inherit; }
.pp-offer-price { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 800; font-size: clamp(56px, 9vw, 104px); line-height: 0.9; }
.pp-offer-price sup { font-size: 0.45em; vertical-align: top; position: relative; top: 0.15em; }
.pp-offer-copy h2 { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1; }
.pp-offer-copy p { margin: 6px 0 14px; font-size: 17px; }
.pp-offer-copy s { opacity: 0.8; }

@media (max-width: 860px) { .pp-offer-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ===== RANGE ===== */
.pp-range-sec { padding: 72px 0; }
.pp-range-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.pp-range-head h2 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }

.pp-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pp-card { border: 1px solid var(--pp-line); border-radius: var(--pp-radius); padding: 18px; display: flex; flex-direction: column; background: #fff; transition: box-shadow 0.2s, border-color 0.2s; position: relative; }
.pp-card:hover { border-color: #cfd0d4; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.pp-card .pp-badge { position: absolute; top: 12px; left: 12px; background: var(--pp-red); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; font-family: "Barlow", sans-serif; }
.pp-card figure { margin: 0 0 14px; aspect-ratio: 1/1; display: grid; place-items: center; background: var(--pp-mist); border-radius: 4px; overflow: hidden; }
.pp-card figure img { width: 100%; height: 100%; object-fit: contain; }
.pp-card h3 { font-size: 21px; text-align: center; font-family: "Barlow", sans-serif; font-weight: 700; line-height: 1.25; }
.pp-card-type { text-align: center; color: var(--pp-muted); font-size: 14px; margin: 2px 0 10px; }
.pp-card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 14px; margin: 0 0 14px; }
.pp-card dt { color: var(--pp-muted); }
.pp-card dd { margin: 0; font-weight: 600; text-align: right; }
.pp-card .pp-best { font-size: 14px; background: var(--pp-mist); border-radius: 4px; padding: 8px 10px; margin-bottom: 14px; font-family: "Barlow", sans-serif; }
.pp-card .pp-price { text-align: center; margin-top: auto; }
.pp-card .pp-price b { font-size: 28px; font-weight: 700; display: block; line-height: 1.1; font-family: "Barlow", sans-serif; }
.pp-card .pp-price s { font-size: 14px; color: var(--pp-muted); }
.pp-card .pp-card-actions { display: grid; gap: 8px; margin-top: 12px; }
.pp-card .pp-card-actions .pp-btn { justify-content: center; padding: 11px 12px; font-size: 14px; }
.pp-fine { font-size: 13px; color: var(--pp-muted); margin-top: 16px; }

@media (max-width: 1100px) { .pp-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .pp-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .pp-cards { grid-template-columns: 1fr; } }

/* ===== COMPARE TABLE ===== */
.pp-compare-sec { padding: 72px 0; background: var(--pp-mist); }
.pp-compare-sec h2 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.pp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); background: #fff; }
.pp-table-scroll table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 15px; font-family: "Barlow", sans-serif; }
.pp-table-scroll caption { text-align: left; padding: 14px 16px; font-weight: 600; color: var(--pp-muted); caption-side: bottom; font-size: 13px; }
.pp-table-scroll th,
.pp-table-scroll td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--pp-line); vertical-align: top; }
.pp-table-scroll thead th { background: var(--pp-ink); color: #fff; font-weight: 700; font-size: 15px; }
.pp-table-scroll tbody th { font-weight: 600; color: var(--pp-muted); white-space: nowrap; }
.pp-table-scroll tbody tr:hover td { background: #fafafa; }

/* ===== FINDER ===== */
.pp-finder-sec { padding: 72px 0; background: var(--pp-ink); color: #fff; }
.pp-finder-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.pp-finder-sec .pp-lead { color: var(--pp-on-dark-muted); }

.pp-q { margin: 0 0 22px; border: 0; padding: 0; }
.pp-q legend { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 18px; margin-bottom: 12px; font-family: "Barlow", sans-serif; }
.pp-q legend span { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--pp-ink); display: grid; place-items: center; font-weight: 800; flex: none; }
.pp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-opts label { position: relative; }
.pp-opts input { position: absolute; opacity: 0; }
.pp-opts span { display: inline-block; padding: 10px 14px; border: 1px solid #3a3d46; border-radius: 4px; cursor: pointer; font-size: 15px; color: var(--pp-on-dark); font-family: "Barlow", sans-serif; }
.pp-opts input:checked + span { background: var(--pp-red); border-color: var(--pp-red); color: #fff; }
.pp-opts input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.pp-result { margin-top: 10px; padding: 20px; border-radius: var(--pp-radius); background: var(--pp-ink-3); border-left: 4px solid var(--pp-red); display: none; }
.pp-result.show { display: block; }
.pp-result h3 { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 800; font-size: 30px; text-transform: uppercase; }
.pp-result p { color: #d4d5db; margin: 8px 0 14px; font-family: "Barlow", sans-serif; }

.pp-form-card { background: #fff; color: var(--pp-text); border-radius: var(--pp-radius); padding: 26px; }
.pp-form-card h2 { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 32px; line-height: 1; margin-bottom: 6px; }
.pp-form-card p { color: var(--pp-muted); font-size: 15px; }
.pp-form-card iframe { width: 100%; min-height: 520px; border: 0; display: block; }
.pp-or-call { display: block; text-align: center; margin-top: 12px; font-weight: 700; text-decoration: none; color: var(--pp-red); font-family: "Barlow", sans-serif; }

@media (max-width: 900px) { .pp-finder-grid { grid-template-columns: 1fr; } }

/* ===== BUYING GUIDE ===== */
.pp-guide-sec { padding: 72px 0; }
.pp-guide-sec h2.pp-display { font-size: clamp(34px, 5vw, 54px); margin-bottom: 14px; }
.pp-guide-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; margin-top: 32px; }
.pp-toc { position: sticky; top: 96px; border-left: 3px solid var(--pp-red); padding-left: 16px; }
.pp-toc b { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em; margin-bottom: 8px; font-family: "Barlow", sans-serif; }
.pp-toc ol { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.9; font-family: "Barlow", sans-serif; }
.pp-toc a { text-decoration: none; color: var(--pp-muted); }
.pp-toc a:hover { color: var(--pp-red); }

.pp-guide-article h2 { font-size: 28px; font-weight: 700; line-height: 1.2; margin: 44px 0 12px; scroll-margin-top: 96px; font-family: "Barlow", sans-serif; }
.pp-guide-article h2:first-child { margin-top: 0; }
.pp-guide-article h3 { font-size: 20px; font-weight: 700; line-height: 1.25; margin: 22px 0 8px; font-family: "Barlow", sans-serif; }
.pp-guide-article ul { padding-left: 20px; margin: 0 0 14px; }
.pp-guide-article li { margin-bottom: 6px; font-family: "Barlow", sans-serif; }
.pp-guide-article p { font-family: "Barlow", sans-serif; }
.pp-guide-article a { color: var(--pp-red); font-weight: 600; }

.pp-note { background: #fff5f5; border: 1px solid #f4c7ca; border-radius: var(--pp-radius); padding: 14px 16px; font-size: 15px; margin: 16px 0; font-family: "Barlow", sans-serif; }
.pp-note b { color: var(--pp-red-dark); }
.pp-guide-article .pp-table-scroll { margin: 16px 0; }
.pp-guide-article .pp-table-scroll table { min-width: 560px; }

@media (max-width: 900px) { .pp-guide-grid { grid-template-columns: 1fr; } .pp-toc { position: static; } }

/* ===== WHY US ===== */
.pp-why-sec { padding: 72px 0; background: var(--pp-mist); }
.pp-why-sec h2 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 0; }
.pp-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.pp-why-item { background: #fff; border-radius: var(--pp-radius); padding: 26px; border: 1px solid var(--pp-line); }
.pp-why-item svg { width: 40px; height: 40px; color: var(--pp-red); margin-bottom: 12px; }
.pp-why-item h3 { text-transform: uppercase; font-size: 19px; margin-bottom: 8px; font-family: "Barlow", sans-serif; font-weight: 700; }
.pp-why-item p { font-size: 15px; color: var(--pp-muted); font-family: "Barlow", sans-serif; }
.pp-why-item a { font-weight: 700; color: var(--pp-red); text-decoration: none; text-transform: uppercase; font-size: 14px; font-family: "Barlow", sans-serif; }
.pp-why-item a:hover { text-decoration: underline; }

@media (max-width: 860px) { .pp-why-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.pp-faq-sec { padding: 72px 0; }
.pp-faq-sec h2 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 0; }
.pp-faq-list { max-width: 860px; margin-top: 24px; }
.pp-faq-list details { border-bottom: 1px solid var(--pp-line); }
.pp-faq-list summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; position: relative; font-family: "Barlow", sans-serif; }
.pp-faq-list summary::-webkit-details-marker { display: none; }
.pp-faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 28px; color: var(--pp-red); font-weight: 400; }
.pp-faq-list details[open] summary::after { content: "\2212"; }
.pp-faq-list details div { padding: 0 0 20px; color: var(--pp-muted); font-family: "Barlow", sans-serif; }

/* ===== FINAL CTA ===== */
.pp-final-sec {
  position: relative;
  background-color: var(--pp-ink);
  color: #fff;
}
.pp-final-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,12,.82);
  z-index: 0;
  pointer-events: none;
}
.pp-final-sec > .elementor-container { position: relative; z-index: 1; }
.pp-final-sec .elementor-widget-wrap { position: relative; z-index: 1; }

.pp-final { padding: 72px 0; }
.pp-final-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.pp-final-inner h2 { font-size: clamp(34px, 5vw, 56px); }
.pp-final-inner p { color: #d4d5db; margin-top: 10px; max-width: 560px; font-family: "Barlow", sans-serif; }

/* ===== MOBILE STICKY BAR ===== */
.pp-mbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--pp-ink);
  padding: 10px;
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(0,0,0,.25);
}
.pp-mbar .pp-btn { flex: 1; justify-content: center; padding: 13px 10px; font-size: 14px; }
@media (max-width: 760px) { .pp-mbar { display: flex; } }
