/* =========================================================
   Pak Insurance Hub — main stylesheet
   Modern, responsive, accessibility-friendly.
   Palette:
     Deep navy #0a2540
     Trust blue #0ea5e9
     Growth green #22c55e
     Accent gold #f59e0b
   ========================================================= */

:root {
    --pih-navy:      #0a2540;
    --pih-navy-2:    #0f2f52;
    --pih-blue:      #0ea5e9;
    --pih-blue-2:    #38bdf8;
    --pih-green:     #22c55e;
    --pih-green-2:   #16a34a;
    --pih-gold:      #f59e0b;
    --pih-red:       #ef4444;
    --pih-bg:        #f8fafc;
    --pih-bg-soft:   #eef2f7;
    --pih-line:      #e2e8f0;
    --pih-text:      #0f172a;
    --pih-muted:     #64748b;
    --pih-white:     #ffffff;
    --pih-radius:    16px;
    --pih-radius-lg: 24px;
    --pih-shadow-1:  0 6px 20px -8px rgba(15,23,42,.15);
    --pih-shadow-2:  0 20px 40px -14px rgba(15,23,42,.28);
    --pih-shadow-3:  0 30px 70px -18px rgba(10,37,64,.35);
    --pih-grad:      linear-gradient(135deg,#0ea5e9 0%, #22c55e 100%);
    --pih-grad-dark: linear-gradient(135deg,#0a2540 0%,#1e3a8a 60%,#0ea5e9 130%);
    --pih-container: 1240px;
    --pih-font:      "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --pih-display:   "Poppins", var(--pih-font);
    --pih-ease:      cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--pih-font);
    color: var(--pih-text);
    background: var(--pih-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pih-blue); text-decoration: none; transition: color .2s var(--pih-ease); }
a:hover { color: var(--pih-green); }
h1, h2, h3, h4, h5 { font-family: var(--pih-display); line-height: 1.15; color: var(--pih-navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 700; }
p  { margin: 0 0 1em; }

button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pih-blue); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text { position:absolute!important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }
.skip-link:focus { position:fixed; top:16px; left:16px; background:#fff; padding:.6rem 1rem; z-index:1000; border-radius:8px; }

.pih-container { width: min(100% - 2.4rem, var(--pih-container)); margin-inline: auto; }
.pih-section { padding: clamp(3rem, 7vw, 6rem) 0; }
.pih-section-tight { padding-top: 0; }
.pih-bg-soft { background: var(--pih-bg-soft); }
.pih-bg-dark { background: var(--pih-grad-dark); color: #fff; }
.pih-bg-dark h2, .pih-bg-dark h3, .pih-bg-dark h4 { color: #fff; }

.pih-eyebrow { display:inline-block; text-transform:uppercase; letter-spacing:.14em; font-weight:700; font-size:.75rem; color:var(--pih-blue); background:rgba(14,165,233,.08); padding:.35rem .8rem; border-radius:999px; margin-bottom:.6rem; }
.pih-eyebrow.light { color:#7dd3fc; background:rgba(255,255,255,.09); }
.pih-eyebrow.center { display:block; text-align:center; }
.pih-hl { background: var(--pih-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.pih-muted { color: var(--pih-muted); }
.pih-muted-l { color: #cbd5e1; }
.center { text-align:center; }
.pih-center-mt { text-align:center; margin-top:2.2rem; }
.small { font-size: .82rem; }

/* ---------- Buttons ---------- */
.pih-btn {
    display:inline-flex; align-items:center; gap:.5rem;
    padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700; letter-spacing:.01em;
    border: 2px solid transparent; transition: transform .2s var(--pih-ease), box-shadow .2s var(--pih-ease), background .2s var(--pih-ease), color .2s var(--pih-ease);
    text-decoration: none; cursor: pointer;
}
.pih-btn:hover { transform: translateY(-2px); }
.pih-btn-primary { background: var(--pih-grad); color:#fff; box-shadow: 0 12px 26px -12px rgba(14,165,233,.6); }
.pih-btn-primary:hover { color:#fff; box-shadow: 0 20px 32px -14px rgba(34,197,94,.6); }
.pih-btn-white   { background:#fff; color: var(--pih-navy); }
.pih-btn-white:hover { color: var(--pih-blue); }
.pih-btn-outline { border-color: var(--pih-navy); color: var(--pih-navy); background:transparent; }
.pih-btn-outline:hover { background: var(--pih-navy); color:#fff; }
.pih-btn-ghost   { background: rgba(15,23,42,.04); color: var(--pih-navy); }
.pih-btn-ghost:hover { background: rgba(15,23,42,.09); }
.pih-btn-ghost-l { background: rgba(255,255,255,.14); color:#fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.pih-btn-ghost-l:hover { background: rgba(255,255,255,.24); color:#fff; }
.pih-btn-sm      { padding: .6rem 1.1rem; font-size: .9rem; }
.pih-link { color: var(--pih-blue); font-weight: 700; }
.pih-link:hover { color: var(--pih-green); }

.pih-badge { display:inline-flex; align-items:center; gap:.4rem; background:rgba(34,197,94,.14); color:#065f46; padding:.3rem .7rem; border-radius:999px; font-size:.78rem; font-weight:600; }
.pih-badge-l { display:inline-flex; align-items:center; background: linear-gradient(135deg,#065f46,#0f766e); color:#fff; padding:.5rem 1rem; border-radius:999px; font-weight:600; margin:.8rem 0; font-size:.9rem; }

/* ---------- Top bar ---------- */
.pih-topbar { background: var(--pih-navy); color: #fff; font-size: .84rem; }
.pih-topbar-inner { display:flex; justify-content: space-between; align-items:center; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.pih-topbar a { color: #dbeafe; margin-right: 1rem; display:inline-flex; align-items:center; gap:.4rem; }
.pih-topbar a:hover { color: #fff; }
.pih-topbar-right { display:flex; align-items:center; gap:.6rem; }
.pih-topbar-wa { background: var(--pih-green); color:#fff!important; padding:.35rem .85rem; border-radius:999px; font-weight:600; }
.pih-topbar-wa:hover { background: var(--pih-green-2); }

/* ---------- Header ---------- */
.pih-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.9); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--pih-line); transition: box-shadow .3s ease; }
.pih-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(15,23,42,.28); }
.pih-header-inner { display:flex; align-items:center; justify-content: space-between; gap: 1.2rem; padding: 1rem 0; }
.pih-brand a { display:flex; align-items:center; gap:.7rem; color: var(--pih-navy); }
.pih-logo { display:flex; align-items:center; gap:.7rem; text-decoration:none; }
.pih-logo-mark { display:inline-flex; }
.pih-logo-text { font-family: var(--pih-display); font-weight: 700; font-size: 1.25rem; color: var(--pih-navy); }
.pih-logo-text strong { font-weight: 800; }
.pih-logo-text span { background: var(--pih-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

.pih-nav { display:flex; align-items:center; gap: 1.6rem; }
.pih-menu { list-style:none; display:flex; align-items:center; gap: 1.3rem; margin:0; padding:0; }
.pih-menu > li > a { color: var(--pih-navy); font-weight: 600; position: relative; padding: .3rem 0; }
.pih-menu > li > a::after { content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background: var(--pih-grad); transform: scaleX(0); transform-origin:left; transition: transform .25s var(--pih-ease); border-radius:2px; }
.pih-menu > li > a:hover::after,
.pih-menu > .current-menu-item > a::after { transform: scaleX(1); }
.pih-menu li.menu-item-has-children > a::before { content:"▾"; margin-right:.3rem; opacity:.5; font-size:.8em; }
.pih-menu .sub-menu { display:none; position:absolute; margin-top:.6rem; background:#fff; box-shadow: var(--pih-shadow-2); border-radius:12px; padding:.5rem; min-width: 220px; }
.pih-menu li.menu-item-has-children { position:relative; }
.pih-menu li.menu-item-has-children:hover > .sub-menu { display:block; }
.pih-menu .sub-menu li { list-style:none; }
.pih-menu .sub-menu a { display:block; padding:.55rem .7rem; color: var(--pih-text); border-radius:8px; }
.pih-menu .sub-menu a:hover { background: var(--pih-bg-soft); color: var(--pih-blue); }

.pih-cta { display:inline-flex; align-items:center; background: var(--pih-grad); color:#fff!important; padding: .7rem 1.2rem; border-radius: 999px; font-weight:700; box-shadow: 0 12px 26px -14px rgba(14,165,233,.6); }
.pih-cta:hover { transform: translateY(-2px); }

.pih-menu-toggle { display:none; width:44px; height:44px; background:transparent; border:0; padding:0; position:relative; }
.pih-menu-toggle span { position:absolute; left:10px; right:10px; height:2px; background: var(--pih-navy); border-radius:2px; transition: transform .25s var(--pih-ease), opacity .2s ease; }
.pih-menu-toggle span:nth-child(1) { top: 14px; }
.pih-menu-toggle span:nth-child(2) { top: 21px; }
.pih-menu-toggle span:nth-child(3) { top: 28px; }
.pih-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pih-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pih-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.pih-hero { position:relative; overflow:hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 8rem); background: var(--pih-grad-dark); color: #fff; }
.pih-hero-bg { position:absolute; inset:0; overflow:hidden; }
.pih-hero-shape { position:absolute; border-radius: 50%; filter: blur(60px); opacity:.5; animation: floaty 12s var(--pih-ease) infinite alternate; }
.pih-hero-shape.s1 { width: 520px; height: 520px; background: #22c55e; top: -160px; right: -100px; }
.pih-hero-shape.s2 { width: 480px; height: 480px; background: #0ea5e9; bottom: -200px; left: -160px; animation-delay: -3s; }
.pih-hero-shape.s3 { width: 340px; height: 340px; background: #f59e0b; top: 40%; left: 60%; opacity:.3; animation-delay: -6s; }
.pih-hero-grid { position:absolute; inset:0; background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.06) 0, transparent 40%), radial-gradient(circle at 80% 70%, rgba(255,255,255,.06) 0, transparent 40%); }
@keyframes floaty { from { transform: translate(0,0) scale(1); } to { transform: translate(20px,-30px) scale(1.08); } }

.pih-hero-inner { position:relative; z-index:1; }
.pih-hero-slides { position:relative; min-height: 460px; }
.pih-hero-slide { position:absolute; inset:0; display:grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items:center; opacity:0; visibility:hidden; transform: translateY(20px); transition: opacity .55s var(--pih-ease), transform .55s var(--pih-ease), visibility 0s .55s; pointer-events:none; }
.pih-hero-slide.is-active { opacity:1; visibility:visible; transform: translateY(0); pointer-events:auto; transition: opacity .55s var(--pih-ease), transform .55s var(--pih-ease); }
.pih-hero-copy h1 { color:#fff; }
.pih-hero-copy p { font-size: 1.15rem; color: #dbeafe; max-width: 44ch; }
.pih-hero-actions { display:flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0; }
.pih-hero-trust { display:flex; gap: 1.4rem; flex-wrap:wrap; align-items:center; margin-top: 1.2rem; font-size: .9rem; color: #cbd5e1; }
.pih-trust-stars { color: #fbbf24; font-weight:700; } .pih-trust-stars span { color: #cbd5e1; margin-left:.4rem; font-weight:400; }
.pih-trust-guard { background: rgba(255,255,255,.07); padding: .35rem .8rem; border-radius: 999px; }

.pih-hero-visual { position:relative; min-height: 420px; }
.pih-hero-mock { position:relative; height: 460px; }
.pih-hero-mock-card { position:absolute; background: rgba(255,255,255,.98); color: var(--pih-text); border-radius: var(--pih-radius); padding: 1.2rem 1.3rem; box-shadow: var(--pih-shadow-3); animation: floatCard 5s var(--pih-ease) infinite alternate; }
.pih-hero-mock-card.mc1 { top: 0; right: 0; width: 300px; z-index:3; }
.pih-hero-mock-card.mc2 { bottom: 30px; left: 0; width: 280px; z-index:2; animation-delay: -1.5s; }
.pih-hero-mock-card.mc3 { bottom: 0; right: 30px; width: 220px; z-index:1; animation-delay: -3s; }
@keyframes floatCard { from { transform: translateY(0); } to { transform: translateY(-10px); } }

.pih-mock-badge { display:inline-block; background: var(--pih-grad); color:#fff; padding:.25rem .7rem; border-radius:999px; font-size:.72rem; font-weight:700; margin-bottom:.4rem; }
.pih-mock-title { font-weight:800; font-family: var(--pih-display); margin-bottom:.6rem; }
.pih-mock-row { display:flex; justify-content:space-between; padding:.4rem 0; border-bottom: 1px dashed var(--pih-line); font-size:.9rem; }
.pih-mock-row.highlight { color: var(--pih-green-2); font-weight:700; }
.pih-mock-guarantee { margin-top:.7rem; background: #ecfdf5; color:#065f46; padding:.45rem .6rem; border-radius:10px; font-size:.82rem; font-weight:600; }
.pih-mock-mini { font-size:.75rem; color:var(--pih-muted); text-transform:uppercase; letter-spacing:.1em; font-weight:700; margin-bottom:.6rem; }
.pih-mock-bar { position:relative; margin:.35rem 0; background: var(--pih-bg-soft); border-radius:8px; height:26px; overflow:hidden; font-size:.75rem; }
.pih-mock-bar span { display:block; height:100%; background: var(--pih-grad); border-radius:8px; }
.pih-mock-bar em { position:absolute; inset: 0 8px; display:flex; align-items:center; color:#0a2540; font-style:normal; font-weight:700; }
.pih-mock-icon { font-size: 2rem; margin-bottom:.4rem; }
.pih-mock-strong { font-weight:800; font-family: var(--pih-display); color: var(--pih-navy); }

.pih-hero-controls { display:flex; justify-content: center; align-items:center; gap:.9rem; margin-top: 2rem; pointer-events:auto; z-index: 9; position: inherit; }
.pih-hero-arrow { width:44px; height:44px; border-radius: 50%; background: rgba(255,255,255,.14); color:#fff; border:0; font-size: 1.4rem; transition: background .2s; }
.pih-hero-arrow:hover { background: rgba(255,255,255,.28); }
.pih-hero-dots { display:flex; gap:.5rem; }
.pih-hero-dot { width: 10px; height: 10px; border-radius:50%; background: rgba(255,255,255,.35); border:0; transition: transform .2s, background .2s; }
.pih-hero-dot.is-active { background:#fff; transform: scale(1.4); }

/* Slide-in animation */
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--pih-ease), transform .7s var(--pih-ease); }
.is-active .animate-in { opacity: 1; transform: translateY(0); }
.is-active .animate-in.delay-1 { transition-delay: .12s; }
.is-active .animate-in.delay-2 { transition-delay: .24s; }
.is-active .animate-in.delay-3 { transition-delay: .36s; }
.is-active .animate-in.delay-4 { transition-delay: .48s; }

/* ---------- Section head ---------- */
.pih-section-head { text-align:center; max-width: 720px; margin: 0 auto 3rem; }
.pih-section-head p { font-size: 1.05rem; }

/* ---------- Companies strip ---------- */
.pih-companies { padding: 2rem 0; background: #fff; border-top: 1px solid var(--pih-line); border-bottom: 1px solid var(--pih-line); }
.pih-marquee { overflow:hidden; margin-top: 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pih-marquee-track { display:flex; gap: 1.6rem; animation: marq 45s linear infinite; width: max-content; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pih-brand-chip { display:inline-flex; align-items:center; gap:.5rem; padding: .55rem 1rem; border-radius: 999px; background: var(--pih-bg-soft); color: var(--pih-navy); font-weight: 600; font-size:.9rem; white-space:nowrap; }
.pih-brand-dot { width:8px; height:8px; border-radius:50%; background: var(--pih-grad); }

/* ---------- Calculator ---------- */
.pih-calc-wrap { display:grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items:start; margin-top: -6rem; position:relative; z-index: 5; }
.pih-calc-copy .pih-eyebrow { color: var(--pih-navy); background: rgba(10,37,64,.06); }
.pih-check-list { list-style:none; padding:0; margin: 1.2rem 0; }
.pih-check-list li { padding:.35rem 0; color: var(--pih-navy); font-weight: 500; }
.pih-calc-card { background: #fff; border-radius: var(--pih-radius-lg); padding: 1.4rem; box-shadow: var(--pih-shadow-3); border: 1px solid var(--pih-line); }

.pih-calc-head { display:flex; align-items:center; justify-content: space-between; margin-bottom: 1rem; }
.pih-calc-head h3 { margin: 0; }
.pih-calc-badge { background: var(--pih-green); color:#fff; padding:.3rem .7rem; font-size:.75rem; font-weight: 700; border-radius: 999px; }
.pih-calc-tabs { display:flex; overflow-x:auto; gap:.4rem; padding-bottom:.4rem; margin-bottom: 1rem; scrollbar-width: thin; }
.pih-calc-tab { padding:.55rem 1rem; border-radius: 999px; background: var(--pih-bg-soft); color: var(--pih-navy); border:0; font-weight: 600; font-size:.85rem; white-space: nowrap; transition: background .2s, color .2s; }
.pih-calc-tab.is-active { background: var(--pih-grad); color:#fff; }

.pih-calc-form { display:flex; flex-direction: column; gap: 1rem; }
.pih-calc-row { display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pih-calc-row-inline { grid-template-columns: auto 1fr 1fr; align-items:center; }
.pih-calc-form label { display:flex; flex-direction: column; gap:.4rem; font-weight: 600; font-size:.9rem; color: var(--pih-navy); }
.pih-calc-form label span { display:flex; justify-content: space-between; align-items: baseline; color: var(--pih-navy); }
.pih-calc-form label em { color: var(--pih-blue); font-style:normal; font-weight:700; }
.pih-calc-sa em { font-size: 1.05rem; }

input[type=range] { -webkit-appearance:none; appearance:none; width:100%; height:6px; background: linear-gradient(90deg, var(--pih-blue) var(--pih-p,50%), var(--pih-bg-soft) var(--pih-p,50%)); border-radius: 999px; outline:none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:20px; height:20px; border-radius:50%; background:#fff; border: 3px solid var(--pih-blue); cursor:pointer; box-shadow: 0 4px 10px rgba(14,165,233,.4); transition: transform .15s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type=range]::-moz-range-thumb { width:20px; height:20px; border-radius:50%; background:#fff; border: 3px solid var(--pih-blue); cursor:pointer; }

.pih-seg { display:inline-flex; background: var(--pih-bg-soft); border-radius: 999px; padding: 3px; }
.pih-seg input { position:absolute; opacity:0; }
.pih-seg label { padding:.4rem 1rem; border-radius: 999px; cursor:pointer; font-weight:600; font-size:.85rem; color: var(--pih-navy); }
.pih-seg input:checked + label { background: var(--pih-grad); color:#fff; }
.pih-check { display:flex; align-items:center; gap:.5rem; font-weight:600; font-size:.9rem; color: var(--pih-navy); }
.pih-check input { width: 18px; height:18px; accent-color: var(--pih-blue); }

.pih-calc-result { display:grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; margin: 1.2rem 0; padding: 1.1rem; background: linear-gradient(135deg,#f0fdf4, #ecfeff); border-radius: 14px; border: 1px solid #d1fae5; }
.pih-mini { font-size:.75rem; text-transform:uppercase; letter-spacing:.12em; font-weight:700; color: var(--pih-muted); }
.pih-result-num { font-family: var(--pih-display); font-weight:800; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--pih-navy); display:flex; align-items:baseline; gap:.4rem; }
.pih-currency { font-size:.9rem; color: var(--pih-muted); font-weight: 600; }
.pih-calc-result-side { display:grid; gap:.6rem; }
.pih-result-tile { background:#fff; padding:.65rem .8rem; border-radius:10px; border: 1px solid var(--pih-line); }
.pih-result-tile span { font-size:.75rem; color: var(--pih-muted); text-transform:uppercase; letter-spacing:.1em; font-weight:700; display:block; }
.pih-result-tile strong { font-family: var(--pih-display); font-size: 1.1rem; color: var(--pih-navy); }
.pih-result-tile.highlight { background: var(--pih-grad); color:#fff; border-color: transparent; }
.pih-result-tile.highlight span, .pih-result-tile.highlight strong { color:#fff; }

.pih-calc-cta { display:flex; align-items:center; gap: 1rem; flex-wrap: wrap; }
.pih-disclaimer { font-size:.75rem; color: var(--pih-muted); margin:0; }

/* ---------- Stats ---------- */
.pih-stats { padding: 4rem 0 3rem; }
.pih-stats-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align:center; }
.pih-stat { padding: 1.4rem; background: #fff; border-radius: var(--pih-radius); box-shadow: var(--pih-shadow-1); border: 1px solid var(--pih-line); transition: transform .25s var(--pih-ease), box-shadow .25s; }
.pih-stat:hover { transform: translateY(-4px); box-shadow: var(--pih-shadow-2); }
.pih-stat strong { display:block; font-family: var(--pih-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--pih-navy); font-weight: 800; background: var(--pih-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.pih-stat span { color: var(--pih-muted); font-size:.9rem; font-weight: 500; }

/* ---------- Cards ---------- */
.pih-cards { display:grid; gap: 1.5rem; }
.pih-cards-3 { grid-template-columns: repeat(3, 1fr); }
.pih-card { position:relative; background:#fff; border-radius: var(--pih-radius-lg); overflow:hidden; box-shadow: var(--pih-shadow-1); border: 1px solid var(--pih-line); display:flex; flex-direction: column; transition: transform .28s var(--pih-ease), box-shadow .28s; }
.pih-card:hover { transform: translateY(-6px); box-shadow: var(--pih-shadow-2); }
.pih-card-thumb { display:block; aspect-ratio: 16/10; background: var(--pih-bg-soft); overflow:hidden; }
.pih-card-thumb img { width:100%; height:100%; object-fit: cover; transition: transform .5s var(--pih-ease); }
.pih-card:hover .pih-card-thumb img { transform: scale(1.06); }
.pih-thumb-fallback { display:flex; align-items:center; justify-content:center; height:100%; font-family: var(--pih-display); font-size: 3rem; font-weight: 800; color: #fff; background: var(--pih-grad); }
.pih-card-body { padding: 1.3rem 1.4rem 1.5rem; display:flex; flex-direction:column; gap:.55rem; flex: 1; }
.pih-card h3 { margin: 0; font-size: 1.15rem; }
.pih-card h3 a { color: var(--pih-navy); }
.pih-card h3 a:hover { color: var(--pih-blue); }
.pih-card-badge { position:absolute; top: 14px; right: 14px; background: var(--pih-gold); color:#fff; padding: .3rem .7rem; border-radius: 999px; font-size:.72rem; font-weight:700; letter-spacing:.03em; z-index: 2; box-shadow: 0 6px 16px -6px rgba(245,158,11,.7); }
.pih-card-badge.alt { top: 44px; background: var(--pih-green); box-shadow: 0 6px 16px -6px rgba(34,197,94,.7); }
.pih-card.is-featured { border: 2px solid var(--pih-green); box-shadow: 0 24px 40px -20px rgba(34,197,94,.35); }
.pih-card-provider { font-size:.78rem; text-transform:uppercase; letter-spacing:.12em; font-weight:700; color: var(--pih-blue); }
.pih-feature-list { list-style:none; padding:0; margin: .3rem 0; }
.pih-feature-list li { padding:.2rem 0; font-size:.9rem; color: var(--pih-navy); }
.pih-feature-list.wide { columns: 2; column-gap: 2rem; }
.pih-card-meta { display:flex; align-items:center; justify-content: space-between; margin-top: auto; padding-top:.6rem; border-top: 1px dashed var(--pih-line); font-size:.88rem; }
.pih-rating { color: var(--pih-gold); font-weight: 700; }
.pih-min strong { color: var(--pih-navy); }
.pih-card-actions { display:flex; gap:.5rem; margin-top:.6rem; }
.pih-card-cmp .pih-card-body { padding: 1.5rem; }

/* ---------- Tabs ---------- */
.pih-tabs-nav { display:flex; gap:.5rem; overflow-x:auto; padding-bottom:.6rem; margin-bottom: 1.6rem; scrollbar-width: thin; }
.pih-tabs-btn { border:0; background: var(--pih-white); border: 1px solid var(--pih-line); padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; color: var(--pih-navy); white-space:nowrap; transition: background .2s, color .2s, transform .2s; }
.pih-tabs-btn:hover { transform: translateY(-1px); }
.pih-tabs-btn.is-active { background: var(--pih-grad); color:#fff; border-color: transparent; }
.pih-tabs-panel { display:none; animation: fadeInUp .45s var(--pih-ease); }
.pih-tabs-panel.is-active { display:block; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity:1; transform: translateY(0); } }

/* ---------- Why State Life ---------- */
.pih-why-grid { display:grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items:start; }
.pih-why-features { display:grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.5rem 0; }
.pih-why-feature { display:flex; gap:.9rem; padding:1rem; background:#fff; border-radius: 14px; box-shadow: var(--pih-shadow-1); border: 1px solid var(--pih-line); transition: transform .2s; }
.pih-why-feature:hover { transform: translateY(-3px); }
.pih-why-icn { font-size: 1.5rem; }
.pih-why-feature strong { color: var(--pih-navy); }
.pih-why-feature p { margin: .2rem 0 0; color: var(--pih-muted); font-size:.9rem; }
.pih-why-actions { display:flex; gap:.7rem; flex-wrap: wrap; }
.pih-why-card { background: var(--pih-grad-dark); color:#fff; padding: 2rem; border-radius: var(--pih-radius-lg); box-shadow: var(--pih-shadow-3); position:relative; overflow:hidden; }
.pih-why-card::before { content:""; position:absolute; width: 260px; height: 260px; background: var(--pih-green); border-radius:50%; filter: blur(60px); opacity: .3; top: -80px; right: -80px; }
.pih-why-card-head { display:flex; justify-content:space-between; align-items:center; gap: 1rem; margin-bottom:.8rem; position:relative; }
.pih-why-card h4 { color:#fff; margin: 0; }
.pih-why-avatar { width: 54px; height: 54px; background: rgba(255,255,255,.14); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.6rem; }
.pih-why-checklist { list-style:none; padding:0; margin: 1rem 0; position:relative; }
.pih-why-checklist li { padding:.35rem 0; }

/* ---------- Testimonials ---------- */
.pih-testimonial-scroller { overflow: hidden; margin-inline: -1rem; padding-inline: 1rem; }
.pih-testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.6rem .3rem 2rem; scrollbar-width: none; }
.pih-testimonial-track::-webkit-scrollbar { display:none; }
.pih-testimonial { scroll-snap-align: start; background:#fff; border-radius: var(--pih-radius-lg); padding: 1.6rem; box-shadow: var(--pih-shadow-1); border: 1px solid var(--pih-line); display:flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.pih-t-quote { font-size: 1.05rem; color: var(--pih-navy); font-weight: 500; margin: 0; }
.pih-t-foot { display:flex; align-items:center; gap:.8rem; }
.pih-t-avatar { width: 46px; height: 46px; border-radius:50%; background: var(--pih-grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-family: var(--pih-display); }

/* ---------- CTA strip ---------- */
.pih-cta-strip { padding: 2.5rem 0; background: var(--pih-grad); color:#fff; }
.pih-cta-strip-inner { display:flex; justify-content:space-between; align-items:center; gap: 1.5rem; flex-wrap: wrap; }
.pih-cta-strip h3 { color:#fff; margin: 0; }
.pih-cta-strip p { margin:.3rem 0 0; color: rgba(255,255,255,.9); }

/* ---------- Subscribe ---------- */
.pih-subscribe-form { max-width: 460px; }
.pih-subscribe-input { display:flex; gap:.5rem; background:#fff; border:1px solid var(--pih-line); border-radius: 999px; padding: 4px 4px 4px 1rem; }
.pih-subscribe-input input { flex:1; border:0; background:transparent; padding: .6rem 0; outline:none; min-width: 0; }
.pih-form-msg { font-size:.85rem; margin: .6rem 0 0; min-height: 1em; }
.pih-form-msg.is-ok { color: var(--pih-green-2); }
.pih-form-msg.is-err { color: var(--pih-red); }

.pih-subscribe-block { display:grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items:center; }
.pih-subscribe-block h2 { color: #fff; }
.pih-subscribe-form-dark .pih-subscribe-input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.pih-subscribe-form-dark .pih-subscribe-input input { color: #fff; }
.pih-subscribe-form-dark .pih-subscribe-input input::placeholder { color: #cbd5e1; }

/* ---------- Footer ---------- */
.pih-footer { background: var(--pih-navy); color: #dbeafe; padding: 4rem 0 2rem; }
.pih-footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 3rem; }
.pih-footer-col h4 { color: #fff; text-transform: uppercase; font-size:.8rem; letter-spacing:.14em; margin-bottom: 1rem; }
.pih-footer-col ul { list-style:none; padding:0; margin:0; }
.pih-footer-col li a { color: #cbd5e1; display:inline-block; padding: .35rem 0; }
.pih-footer-col li a:hover { color: #fff; }
.pih-footer-brand .pih-logo-text { color: #fff; }
.pih-footer-brand .pih-muted { color: #94a3b8; }
.pih-socials { display:flex; gap:.5rem; margin-top: 1rem; }
.pih-socials a { display:inline-flex; align-items:center; justify-content:center; width: 38px; height: 38px; border-radius:50%; background: rgba(255,255,255,.08); color:#fff; }
.pih-socials a:hover { background: var(--pih-grad); }
.pih-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; display:flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pih-footer-bottom p { margin: 0; color: #94a3b8; font-size:.85rem; }
.pih-footer-bottom .pih-muted.small { max-width: 640px; }

/* ---------- Floating buttons ---------- */
.pih-fab-wa { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); z-index: 80; transition: transform .2s; }
.pih-fab-wa:hover { transform: scale(1.08); color:#fff; }
.pih-back-top { position: fixed; bottom: 20px; right: 90px; width: 46px; height: 46px; border-radius:50%; background: var(--pih-navy); color:#fff; border:0; box-shadow: var(--pih-shadow-2); opacity: 0; pointer-events:none; transition: opacity .3s, transform .3s; z-index: 80; }
.pih-back-top.is-visible { opacity:1; pointer-events:auto; transform: translateY(-6px); }

/* ---------- Page hero ---------- */
.pih-page-hero { background: var(--pih-grad-dark); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.pih-page-hero h1 { color: #fff; }
.pih-page-hero .pih-muted { color: #cbd5e1; }
.pih-single-hero { padding-bottom: 2rem; }

/* ---------- Blog ---------- */
.pih-blog-grid { display:grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items:start; }
.pih-sidebar .widget { background:#fff; padding: 1.4rem; border-radius: var(--pih-radius); box-shadow: var(--pih-shadow-1); border: 1px solid var(--pih-line); margin-bottom: 1.5rem; }
.pih-sidebar .widget-title { font-size: 1.05rem; margin-bottom:.8rem; color: var(--pih-navy); }
.pih-single-fig img { border-radius: var(--pih-radius); margin-bottom: 1.5rem; }
.pih-prose { font-size: 1.06rem; line-height: 1.8; }
.pih-prose p { margin: 0 0 1.2em; }
.pih-prose h2, .pih-prose h3 { margin-top: 1.6em; }
.pih-prose ul, .pih-prose ol { margin: 0 0 1.2em 1.4em; }
.pih-share { display:flex; gap: .5rem; align-items:center; margin: 2rem 0 0; font-weight:600; }
.pih-share a { padding:.4rem .8rem; border-radius: 999px; background: var(--pih-bg-soft); color: var(--pih-navy); font-size:.85rem; }
.pih-share a:hover { background: var(--pih-grad); color: #fff; }

/* ---------- Plan detail ---------- */
.pih-plan-hero-grid { display:grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items:center; }
.pih-plan-hero-meta { display:grid; grid-template-columns: repeat(4, auto); gap: 1.5rem; margin: 1.4rem 0; }
.pih-plan-hero-meta div span { display:block; font-size:.75rem; color:#cbd5e1; text-transform:uppercase; letter-spacing:.1em; font-weight:700; }
.pih-plan-hero-meta div strong { color:#fff; font-family: var(--pih-display); font-size: 1.05rem; }
.pih-plan-hero-cta { display:flex; gap: .6rem; flex-wrap:wrap; margin-top: 1.2rem; }
.pih-plan-hero-side { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--pih-radius-lg); padding: 1.4rem; }
.pih-plan-hero-side img { border-radius: var(--pih-radius); margin-bottom: 1rem; }
.pih-plan-side-card { display:flex; flex-direction: column; gap:.6rem; align-items:flex-start; }
.pih-plan-rating { color: var(--pih-gold); font-weight: 800; font-size: 1.2rem; } .pih-plan-rating span { color:#cbd5e1; font-weight:400; font-size:.9rem; }
.pih-plan-tagline { color:#fff; font-weight: 700; }
.pih-plan-body { display:grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items:start; }
.pih-plan-side-calc .pih-calc { margin-top: 0; }

/* ---------- Comparison table ---------- */
.pih-compare-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--pih-radius-lg); border: 1px solid var(--pih-line); box-shadow: var(--pih-shadow-1); }
.pih-compare-table { border-collapse: collapse; width: 100%; min-width: 720px; }
.pih-compare-table th, .pih-compare-table td { padding: 1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--pih-line); }
.pih-compare-table th { background: var(--pih-navy); color:#fff; font-family: var(--pih-display); font-weight: 700; font-size:.95rem; }
.pih-compare-table th.highlight { background: var(--pih-grad); position:relative; }
.pih-compare-table th.highlight small { display:block; font-size:.72rem; font-weight:400; opacity:.9; }
.pih-compare-table td:first-child { text-align:left; }
.pih-compare-table td.highlight { background: rgba(34,197,94,.08); color: var(--pih-navy); font-weight: 700; }
.pih-compare-table tr:last-child td { border-bottom: 0; }

/* ---------- Filters ---------- */
.pih-filters { display:flex; gap:.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.pih-filter { background:#fff; border: 1px solid var(--pih-line); padding:.55rem 1rem; border-radius:999px; font-weight: 600; color: var(--pih-navy); }
.pih-filter.is-active { background: var(--pih-grad); color:#fff; border-color: transparent; }
.pih-filter-item { display:flex; }
.pih-filter-item.is-hidden { display:none; }

/* ---------- Contact ---------- */
.pih-contact-grid { display:grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items:start; }
.pih-contact-form { background:#fff; padding: 2rem; border-radius: var(--pih-radius-lg); box-shadow: var(--pih-shadow-2); border: 1px solid var(--pih-line); }
.pih-form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.pih-contact-form label { display:flex; flex-direction: column; gap:.4rem; font-weight: 600; color: var(--pih-navy); margin-bottom: 1rem; }
.pih-contact-form input, .pih-contact-form select, .pih-contact-form textarea { padding: .8rem 1rem; border: 1px solid var(--pih-line); border-radius: 12px; background: var(--pih-bg); transition: border .2s, box-shadow .2s; }
.pih-contact-form input:focus, .pih-contact-form select:focus, .pih-contact-form textarea:focus { border-color: var(--pih-blue); box-shadow: 0 0 0 3px rgba(14,165,233,.15); outline: none; }
.pih-form-mini { font-size:.8rem; color: var(--pih-muted); margin: 1rem 0 0; }
.pih-contact-card { background: #fff; padding: 1.6rem; border-radius: var(--pih-radius-lg); box-shadow: var(--pih-shadow-1); border: 1px solid var(--pih-line); margin-bottom: 1rem; }
.pih-contact-card p { margin:.4rem 0; }
.pih-contact-card.promo { background: var(--pih-grad-dark); color:#fff; }
.pih-contact-card.promo h3 { color:#fff; }
.pih-contact-card.promo .pih-muted-l { color:#cbd5e1; }

/* ---------- About ---------- */
.pih-about-grid { display:grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items:start; }
.pih-about-side-card { background: var(--pih-grad-dark); color:#fff; padding: 1.6rem; border-radius: var(--pih-radius-lg); position: sticky; top: 100px; }
.pih-about-side-card h4 { color:#fff; }
.pih-about-side-card ul { list-style:none; padding:0; margin: 1rem 0 0; }
.pih-about-side-card ul li { padding:.35rem 0; }

/* ---------- Pagination ---------- */
.pih-pagination { display:flex; justify-content: center; margin-top: 2rem; }
.pih-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width: 40px; padding: .55rem .85rem; margin:.15rem; border-radius: 10px; background:#fff; border: 1px solid var(--pih-line); color: var(--pih-navy); font-weight: 600; }
.pih-pagination .page-numbers.current, .pih-pagination .page-numbers:hover { background: var(--pih-grad); color:#fff; border-color: transparent; }

/* ---------- 404 ---------- */
.pih-404-num { font-family: var(--pih-display); font-size: clamp(5rem, 15vw, 10rem); font-weight: 900; background: var(--pih-grad); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1; margin-bottom:.5rem; }
.pih-404-cta { display:flex; gap:.8rem; justify-content:center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--pih-ease), transform .8s var(--pih-ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .pih-hero-slide { grid-template-columns: 1fr; }
    .pih-hero-visual { display:none; }
    .pih-calc-wrap, .pih-why-grid, .pih-plan-hero-grid, .pih-plan-body, .pih-blog-grid, .pih-contact-grid, .pih-about-grid, .pih-subscribe-block { grid-template-columns: 1fr; }
    .pih-cards-3 { grid-template-columns: repeat(2, 1fr); }
    .pih-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pih-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pih-why-features { grid-template-columns: 1fr; }
    .pih-calc-wrap { margin-top: 0; }
}
@media (max-width: 720px) {
    .pih-menu-toggle { display:inline-block; }
    .pih-nav { position: fixed; inset: 0 0 0 auto; width: min(88vw, 340px); background:#fff; flex-direction: column; align-items:flex-start; padding: 5rem 1.4rem 2rem; box-shadow: -20px 0 40px -20px rgba(0,0,0,.3); transform: translateX(105%); transition: transform .35s var(--pih-ease); overflow-y:auto; }
    .pih-nav.is-open { transform: translateX(0); }
    .pih-menu { flex-direction: column; align-items:flex-start; gap:.4rem; width: 100%; }
    .pih-menu > li { width: 100%; }
    .pih-menu > li > a { display:block; padding:.7rem 0; border-bottom: 1px solid var(--pih-line); width: 100%; }
    .pih-menu > li > a::after { display:none; }
    .pih-menu .sub-menu { position:static; box-shadow:none; padding-left: 1rem; }
    .pih-cta { margin-top: 1rem; }
    .pih-topbar { display:none; }
    .pih-hero { min-height: auto; padding-bottom: 3rem; }
    .pih-hero-slides { min-height: 380px; }
    .pih-calc-row, .pih-calc-row-inline, .pih-form-row { grid-template-columns: 1fr; }
    .pih-calc-result { grid-template-columns: 1fr; }
    .pih-cards, .pih-cards-3 { grid-template-columns: 1fr; }
    .pih-stats-grid { grid-template-columns: 1fr 1fr; }
    .pih-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pih-plan-hero-meta { grid-template-columns: 1fr 1fr; }
    .pih-cta-strip-inner { flex-direction: column; text-align:center; }
    .pih-back-top { right: 20px; bottom: 84px; }
    .pih-feature-list.wide { columns: 1; }
    .pih-topbar-inner a { margin-right: .6rem; }
}

/* =========================================================
   Deals · Splash · Companies (added set)
   ========================================================= */

/* Gradient utility classes shared across deals/splash/hero */
.pih-grad-orange { --pih-g1:#f59e0b; --pih-g2:#ef4444; background: linear-gradient(135deg,#f59e0b,#ef4444); color:#fff; }
.pih-grad-blue   { --pih-g1:#0ea5e9; --pih-g2:#22c55e; background: linear-gradient(135deg,#0ea5e9,#22c55e); color:#fff; }
.pih-grad-purple { --pih-g1:#7c3aed; --pih-g2:#0ea5e9; background: linear-gradient(135deg,#7c3aed,#0ea5e9); color:#fff; }
.pih-grad-gold   { --pih-g1:#f59e0b; --pih-g2:#ec4899; background: linear-gradient(135deg,#f59e0b,#ec4899); color:#fff; }

.pih-grad-orange h1, .pih-grad-orange h2, .pih-grad-orange h3, .pih-grad-orange h4,
.pih-grad-blue h1,   .pih-grad-blue h2,   .pih-grad-blue h3,   .pih-grad-blue h4,
.pih-grad-purple h1, .pih-grad-purple h2, .pih-grad-purple h3, .pih-grad-purple h4,
.pih-grad-gold h1,   .pih-grad-gold h2,   .pih-grad-gold h3,   .pih-grad-gold h4 { color:#fff; }

/* ---------- Deals strip / cards ---------- */
.pih-deals-strip { background: var(--pih-bg-soft); }
.pih-deal-card { position:relative; padding: 1.6rem 1.5rem; border-radius: var(--pih-radius-lg); box-shadow: var(--pih-shadow-2); overflow: hidden; display:flex; flex-direction: column; gap:.4rem; min-height: 260px; transform: translateY(0); transition: transform .3s var(--pih-ease), box-shadow .3s; }
.pih-deal-card::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.28) 0, transparent 55%), radial-gradient(circle at 10% 90%, rgba(0,0,0,.14) 0, transparent 45%); pointer-events:none; }
.pih-deal-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -18px rgba(15,23,42,.35); }
.pih-deal-card h3 { position:relative; margin:.15rem 0 .3rem; }
.pih-deal-card h3 a { color:#fff; }
.pih-deal-card h3 a:hover { color: rgba(255,255,255,.85); }
.pih-deal-tag { position:relative; align-self:flex-start; display:inline-flex; align-items:center; gap:.3rem; background: rgba(0,0,0,.22); color:#fff; padding:.3rem .7rem; border-radius:999px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; }
.pih-deal-value { position:relative; font-family: var(--pih-display); font-weight:900; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; margin: .3rem 0 .3rem; text-shadow: 0 6px 12px rgba(0,0,0,.15); }
.pih-deal-provider { position:relative; margin:0; font-weight:600; opacity:.95; }
.pih-deal-excerpt { position:relative; opacity:.94; font-size:.9rem; margin:0; }
.pih-deal-till    { position:relative; font-size:.82rem; margin:.2rem 0 0; opacity:.9; }
.pih-deal-code    { position:relative; background: rgba(255,255,255,.22); backdrop-filter: blur(4px); padding:.4rem .7rem; border-radius:8px; font-size:.9rem; margin-top:.4rem; }
.pih-deal-code strong { letter-spacing: .1em; }
.pih-deal-cta { position:relative; align-self:flex-start; margin-top: auto; padding:.55rem 1rem; border-radius:999px; background: rgba(255,255,255,.95); color: var(--pih-navy); font-weight: 800; }
.pih-deal-cta:hover { background: #fff; color: var(--pih-navy); transform: translateX(4px); }

.pih-deal-filter-chips { display:flex; flex-wrap:wrap; gap:.5rem; margin-top: 1.2rem; }
.pih-page-hero-deals { background: linear-gradient(135deg,#0a2540 0%,#7c3aed 55%,#f59e0b 130%); }

/* ---------- Deal detail page ---------- */
.pih-deal-hero { padding-bottom: 2.5rem; }
.pih-deal-hero-value { font-family: var(--pih-display); font-weight:900; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height:1; color:#fff; margin: .8rem 0 .3rem; text-shadow: 0 8px 16px rgba(0,0,0,.2); }
.pih-deal-hero-provider { color:#fff; font-weight:600; opacity:.94; }
.pih-deal-grid { display:grid; grid-template-columns: 1fr 320px; gap:3rem; align-items:start; }
.pih-deal-side-card { background:#fff; border-radius: var(--pih-radius-lg); padding: 1.6rem; box-shadow: var(--pih-shadow-2); border: 1px solid var(--pih-line); position: sticky; top: 100px; }
.pih-deal-side-code { text-align:center; padding: 1rem; background: linear-gradient(135deg,#ecfdf5,#eef2ff); border-radius: 12px; margin-bottom: 1rem; }
.pih-deal-side-code span { font-size:.75rem; color: var(--pih-muted); text-transform:uppercase; letter-spacing:.12em; font-weight:700; display:block; margin-bottom:.3rem; }
.pih-deal-side-code strong { font-family: var(--pih-display); font-size: 1.5rem; color: var(--pih-navy); letter-spacing: .12em; }
.pih-deal-side-card ul { list-style:none; padding:0; margin: 0 0 1rem; }
.pih-deal-side-card li { padding:.4rem 0; font-size:.9rem; border-bottom: 1px dashed var(--pih-line); }
.pih-deal-side-card li:last-child { border-bottom:0; }
.pih-deal-terms { background: var(--pih-bg-soft); border-radius: 12px; padding: 1rem 1.2rem; font-size:.92rem; }

/* ---------- Splash / discount modal ---------- */
.pih-splash { position: fixed; inset: 0; z-index: 200; display:flex; align-items:center; justify-content:center; padding: 1.4rem; opacity:0; visibility:hidden; transition: opacity .3s ease, visibility 0s .3s; }
.pih-splash.is-open { opacity:1; visibility:visible; transition: opacity .3s ease; }
.pih-splash-backdrop { position:absolute; inset:0; background: rgba(10,37,64,.65); backdrop-filter: blur(8px); }
.pih-splash-card { position:relative; width: min(720px, 100%); border-radius: var(--pih-radius-lg); padding: 2rem 2.2rem; color:#fff; box-shadow: 0 40px 80px -20px rgba(0,0,0,.55); overflow: hidden; display:grid; grid-template-columns: 1.4fr 1fr; gap: 1.4rem; transform: translateY(30px) scale(.96); transition: transform .35s var(--pih-ease); }
.pih-splash.is-open .pih-splash-card { transform: translateY(0) scale(1); }
.pih-splash-x { position:absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius:50%; background: rgba(0,0,0,.24); color:#fff; border:0; font-size: 1.4rem; line-height:1; z-index: 2; }
.pih-splash-x:hover { background: rgba(0,0,0,.4); }
.pih-splash-eyebrow { display:inline-block; background: rgba(0,0,0,.24); padding:.3rem .8rem; border-radius: 999px; font-size:.72rem; font-weight:800; letter-spacing:.14em; text-transform: uppercase; }
.pih-splash-body h2 { color:#fff; font-size: clamp(2rem, 4vw, 3rem); margin: .8rem 0 .4rem; }
.pih-splash-body p { margin: 0 0 .4rem; opacity:.94; }
.pih-splash-code { display:flex; align-items:center; gap:.6rem; background: rgba(255,255,255,.24); backdrop-filter: blur(4px); padding:.6rem 1rem; border-radius: 12px; margin:.8rem 0; }
.pih-splash-code span { text-transform: uppercase; font-size:.72rem; letter-spacing:.12em; font-weight:700; opacity:.85; }
.pih-splash-code strong { font-family: var(--pih-display); font-size: 1.3rem; letter-spacing:.14em; }
.pih-splash-till { opacity:.9; font-size:.85rem; }
.pih-splash-actions { display:flex; gap:.5rem; margin-top:.8rem; flex-wrap: wrap; }
.pih-splash-actions .pih-btn-ghost-l { color:#fff; }
.pih-splash-art { position:relative; }
.pih-splash-coin { position:absolute; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.22); display:flex; align-items:center; justify-content:center; font-family: var(--pih-display); font-weight: 900; font-size: 1.8rem; box-shadow: 0 20px 40px -15px rgba(0,0,0,.4); animation: coinFloat 4s var(--pih-ease) infinite alternate; }
.pih-splash-coin.c1 { top: 10%; right: 5%; }
.pih-splash-coin.c2 { top: 45%; right: 40%; animation-delay: -1s; }
.pih-splash-coin.c3 { top: 55%; right: 0; animation-delay: -2s; background: rgba(255,255,255,.32); }
@keyframes coinFloat { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-14px) rotate(8deg); } }
.pih-splash-ring { position:absolute; border-radius:50%; border: 2px dashed rgba(255,255,255,.34); }
.pih-splash-ring.r1 { width: 220px; height: 220px; top: -30px; right: -60px; animation: ringSpin 20s linear infinite; }
.pih-splash-ring.r2 { width: 140px; height: 140px; bottom: -20px; right: 20px; animation: ringSpin 30s linear reverse infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* ---------- Company profile pages ---------- */
.pih-company-hero { padding-bottom: 3rem; }
.pih-company-hero-grid { display:grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items:center; }
.pih-company-meta { display:grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.5rem; margin: 1.4rem 0; }
.pih-company-meta div span { display:block; font-size:.72rem; color:#cbd5e1; text-transform:uppercase; letter-spacing:.1em; font-weight:700; }
.pih-company-meta div strong { color:#fff; font-family: var(--pih-display); font-size: 1.05rem; }
.pih-company-cta { display:flex; gap:.6rem; flex-wrap:wrap; margin-top: 1rem; }
.pih-company-hero-side { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--pih-radius-lg); padding: 1.6rem; }
.pih-company-badge { display:flex; align-items:center; gap: 1rem; padding: 1rem; background: rgba(255,255,255,.07); border-radius: 14px; margin-bottom: 1rem; }
.pih-company-badge.is-state { background: linear-gradient(135deg, rgba(34,197,94,.28), rgba(14,165,233,.28)); }
.pih-company-emblem { width: 60px; height: 60px; border-radius: 12px; background: var(--pih-grad); display:flex; align-items:center; justify-content:center; font-size:1.7rem; }
.pih-company-emblem-text strong { color:#fff; display:block; font-family: var(--pih-display); }
.pih-company-emblem-text span { color:#cbd5e1; font-size:.8rem; }
.pih-company-strengths { list-style:none; padding:0; margin:0; color:#fff; }
.pih-company-strengths li { padding:.3rem 0; font-size:.9rem; }

.pih-company-card { display:flex; flex-direction: column; padding-top: 1.6rem; }
.pih-company-card.is-state { border: 2px solid var(--pih-green); }
.pih-company-emblem-lg { width: 68px; height: 68px; border-radius: 16px; margin: 0 auto -12px; background: var(--pih-grad); display:flex; align-items:center; justify-content:center; font-size: 2rem; color:#fff; box-shadow: 0 12px 30px -12px rgba(14,165,233,.5); }
.pih-company-mini-meta { list-style:none; padding:0; margin: .6rem 0; display:grid; grid-template-columns: 1fr 1fr; gap:.4rem 1rem; }
.pih-company-mini-meta li span { display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color: var(--pih-muted); font-weight: 700; }
.pih-company-mini-meta li strong { color: var(--pih-navy); font-family: var(--pih-display); }

/* ---------- Responsive add-ons ---------- */
@media (max-width: 1080px) {
    .pih-deal-grid, .pih-company-hero-grid { grid-template-columns: 1fr; }
    .pih-splash-card { grid-template-columns: 1fr; }
    .pih-splash-art { display:none; }
    .pih-company-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .pih-splash { padding: .8rem; }
    .pih-splash-card { padding: 1.6rem 1.4rem; }
    .pih-deal-hero-value { font-size: 2.6rem; }
    .pih-company-mini-meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- Prefers reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal, .animate-in { opacity:1 !important; transform:none !important; }
}
