/* ==========================================================================
   J.P Singh Insurance — Home page (modern professional theme)
   Scoped to .hp-* classes so it does not affect other pages.
   ========================================================================== */

:root {
    --hp-primary: #1d5ea8;
    --hp-primary-dark: #15467d;
    --hp-navy: #0b2340;
    --hp-navy-2: #0f2f55;
    --hp-accent: #f5a524;
    --hp-accent-dark: #d98b0b;
    --hp-green: #12a150;
    --hp-text: #1f2a37;
    --hp-muted: #5b6878;
    --hp-line: #e4e9f0;
    --hp-soft: #f4f7fb;
    --hp-radius: 14px;
    --hp-shadow: 0 10px 30px rgba(11, 35, 64, .08);
    --hp-shadow-lg: 0 20px 45px rgba(11, 35, 64, .16);
    --hp-font: 'Poppins', 'Open Sans', Arial, sans-serif;
}

.hp-page { font-family: var(--hp-font); color: var(--hp-text); }
.hp-page h1, .hp-page h2, .hp-page h3, .hp-page h4, .hp-page h5 { font-family: var(--hp-font); color: var(--hp-navy); }
.hp-page p { color: var(--hp-muted); line-height: 1.75; font-size: 15px; }
.hp-page a { transition: all .25s ease; }
.hp-page a:hover, .hp-page a:focus { text-decoration: none; }

.hp-section { padding: 90px 0; position: relative; }
.hp-section-sm { padding: 60px 0; }
.hp-bg-soft { background: var(--hp-soft); }

/* ---------- Section headings ---------- */
.hp-heading { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.hp-heading.hp-left { margin-left: 0; text-align: left; }
.hp-eyebrow {
    display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--hp-primary); background: rgba(29, 94, 168, .09);
    padding: 6px 14px; border-radius: 30px; margin-bottom: 14px;
}
.hp-heading h2 { font-size: 36px; font-weight: 700; line-height: 1.25; margin: 0 0 14px; }
.hp-heading h2 span { color: var(--hp-primary); }
.hp-heading p { font-size: 16px; margin: 0; }
.hp-on-dark .hp-eyebrow { color: #ffd27a; background: rgba(255, 255, 255, .1); }
.hp-on-dark h2, .hp-on-dark h3 { color: #fff; }
.hp-on-dark h2 span { color: var(--hp-accent); }
.hp-on-dark p { color: rgba(255, 255, 255, .78); }

/* ---------- Buttons ---------- */
.hp-btn {
    display: inline-flex; align-items: center; gap: 10px; font-family: var(--hp-font);
    font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 50px;
    border: 2px solid transparent; cursor: pointer; line-height: 1.2;
}
.hp-btn i { font-size: 16px; }
.hp-btn-primary { background: var(--hp-primary); color: #fff !important; box-shadow: 0 8px 20px rgba(29, 94, 168, .28); }
.hp-btn-primary:hover { background: var(--hp-primary-dark); transform: translateY(-2px); }
.hp-btn-accent { background: var(--hp-accent); color: var(--hp-navy) !important; box-shadow: 0 8px 20px rgba(245, 165, 36, .3); }
.hp-btn-accent:hover { background: var(--hp-accent-dark); color: #fff !important; transform: translateY(-2px); }
.hp-btn-outline { border-color: var(--hp-primary); color: var(--hp-primary) !important; background: transparent; }
.hp-btn-outline:hover { background: var(--hp-primary); color: #fff !important; }
.hp-btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff !important; background: transparent; }
.hp-btn-ghost:hover { background: #fff; color: var(--hp-navy) !important; }
.hp-btn-block { width: 100%; justify-content: center; }

.hp-link { font-weight: 600; font-size: 14px; color: var(--hp-primary) !important; display: inline-flex; align-items: center; gap: 8px; }
.hp-link i { transition: transform .25s ease; }
.hp-link:hover i { transform: translateX(4px); }

/* ---------- News ticker ---------- */
.hp-ticker-wrap { position: relative; z-index: 5; margin-top: -32px; }
.hp-ticker {
    display: flex; align-items: center; background: #fff; border-radius: 60px;
    box-shadow: var(--hp-shadow-lg); overflow: hidden; height: 64px;
}
.hp-ticker-label {
    flex: 0 0 auto; display: flex; align-items: center; gap: 10px; height: 100%;
    padding: 0 26px; background: var(--hp-primary); color: #fff; font-weight: 600;
    font-size: 14px; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
}
.hp-ticker-label .hp-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--hp-accent); box-shadow: 0 0 0 0 rgba(245, 165, 36, .7); animation: hp-pulse 1.8s infinite; }
@keyframes hp-pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 165, 36, .7); } 70% { box-shadow: 0 0 0 10px rgba(245, 165, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0); } }
.hp-ticker marquee { flex: 1; padding: 0 20px; }
.hp-ticker marquee a { color: var(--hp-text); font-size: 15px; font-weight: 500; line-height: 64px; }
.hp-ticker marquee a:hover { color: var(--hp-primary); }
.hp-ticker marquee .hp-sep { color: var(--hp-accent); margin: 0 18px; }

/* ---------- Intro / value proposition ---------- */
.hp-intro { padding-top: 100px; }
.hp-intro h1 { font-size: 44px; line-height: 1.2; font-weight: 700; margin: 0 0 20px; }
.hp-intro h1 span { color: var(--hp-primary); }
.hp-intro .hp-lead { font-size: 17px; margin-bottom: 28px; }
.hp-checks { list-style: none; padding: 0; margin: 0 0 34px; }
.hp-checks li { position: relative; padding-left: 34px; margin-bottom: 14px; font-size: 15.5px; color: var(--hp-text); font-weight: 500; }
.hp-checks li i {
    position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(18, 161, 80, .12); color: var(--hp-green); font-size: 11px;
    display: flex; align-items: center; justify-content: center;
}
.hp-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hp-intro-media { position: relative; padding: 0 0 30px 30px; }
.hp-intro-media::before {
    content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 75%;
    border-radius: var(--hp-radius); background: linear-gradient(135deg, var(--hp-primary), var(--hp-navy));
}
.hp-intro-media img { position: relative; width: 100%; border-radius: var(--hp-radius); box-shadow: var(--hp-shadow-lg); object-fit: cover; aspect-ratio: 4 / 3.2; }
.hp-float-card {
    position: absolute; right: -10px; bottom: 60px; background: #fff; border-radius: 12px;
    box-shadow: var(--hp-shadow-lg); padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.hp-float-card .hp-fc-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(245, 165, 36, .15); color: var(--hp-accent-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.hp-float-card strong { display: block; color: var(--hp-navy); font-size: 15px; }
.hp-float-card span { font-size: 13px; color: var(--hp-muted); }

/* ---------- Trust strip ---------- */
.hp-trust { background: var(--hp-navy); padding: 38px 0; }
.hp-trust-item { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.hp-trust-item i { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--hp-accent); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.hp-trust-item strong { display: block; color: #fff; font-size: 16px; font-weight: 600; }
.hp-trust-item span { color: rgba(255, 255, 255, .65); font-size: 13.5px; }

/* ---------- Service cards ---------- */
.hp-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.hp-grid > div { padding: 0 12px; margin-bottom: 24px; display: flex; }
.hp-service {
    background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius);
    padding: 34px 30px; width: 100%; position: relative; overflow: hidden;
    transition: all .3s ease; display: flex; flex-direction: column;
}
.hp-service::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--hp-primary); transition: width .35s ease; }
.hp-service:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-lg); border-color: transparent; }
.hp-service:hover::after { width: 100%; }
.hp-service-icon {
    width: 64px; height: 64px; border-radius: 16px; background: rgba(29, 94, 168, .1);
    color: var(--hp-primary); display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 22px; transition: all .3s ease;
}
.hp-service:hover .hp-service-icon { background: var(--hp-primary); color: #fff; }
.hp-service h3 { font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.hp-service p { font-size: 14.5px; margin: 0 0 20px; flex: 1; }

/* ---------- Image service cards ---------- */
.hp-card { background: #fff; border-radius: var(--hp-radius); overflow: hidden; box-shadow: var(--hp-shadow); width: 100%; transition: all .3s ease; display: flex; flex-direction: column; }
.hp-card:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-lg); }
.hp-card-img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--hp-soft); }
.hp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hp-card:hover .hp-card-img img { transform: scale(1.06); }
.hp-card-tag { position: absolute; left: 16px; top: 16px; background: rgba(11, 35, 64, .85); color: #fff; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 20px; }
.hp-card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.hp-card-body h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.hp-card-body p { font-size: 14.5px; margin: 0 0 16px; flex: 1; }

/* ---------- Planning tools ---------- */
.hp-tool {
    display: flex; align-items: center; gap: 16px; width: 100%; background: #fff;
    border: 1px solid var(--hp-line); border-radius: 12px; padding: 20px 22px; color: var(--hp-text) !important;
}
.hp-tool:hover { border-color: var(--hp-primary); box-shadow: var(--hp-shadow); transform: translateY(-3px); }
.hp-tool i.hp-tool-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; background: var(--hp-soft); color: var(--hp-primary); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.hp-tool:hover i.hp-tool-icon { background: var(--hp-primary); color: #fff; }
.hp-tool strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--hp-navy); }
.hp-tool span { font-size: 13px; color: var(--hp-muted); }
.hp-tool .hp-tool-arrow { margin-left: auto; color: #b3bfcd; }
.hp-tool:hover .hp-tool-arrow { color: var(--hp-primary); }

/* ---------- Compounding calculator ---------- */
.hp-calc-section { background: linear-gradient(135deg, var(--hp-navy) 0%, var(--hp-primary-dark) 100%); overflow: hidden; }
.hp-calc-section::before {
    content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
    right: -160px; top: -200px; background: rgba(255, 255, 255, .05);
}
.hp-calc { background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); overflow: hidden; position: relative; }
.hp-calc-inputs { padding: 40px 40px 20px; }
.hp-calc-row { margin-bottom: 26px; }
.hp-calc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.hp-calc-top label { font-size: 15px; font-weight: 500; color: var(--hp-text); margin: 0; }
.hp-value {
    display: inline-flex; align-items: center; background: var(--hp-soft); border: 1px solid var(--hp-line);
    border-radius: 8px; padding: 6px 12px; min-width: 120px; justify-content: flex-end;
}
.hp-value input { border: 0 !important; background: transparent !important; width: 90px; text-align: right; font-weight: 600; color: var(--hp-primary); font-size: 16px; outline: 0; padding: 0; box-shadow: none; -moz-appearance: textfield; }
.hp-value input::-webkit-outer-spin-button, .hp-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hp-value span { font-size: 14px; color: var(--hp-muted); margin-left: 6px; font-weight: 500; }
.hp-value .hp-rupee { margin: 0 6px 0 0; }
.hp-calc .irs-bar, .hp-calc .irs-bar-edge { background: var(--hp-primary) !important; border-color: var(--hp-primary) !important; }
.hp-calc .irs-single { background: var(--hp-primary) !important; }
.hp-calc .irs-single::after { border-top-color: var(--hp-primary) !important; }

.hp-calc-result { background: var(--hp-soft); height: 100%; padding: 40px 36px; text-align: center; }
.hp-donut { position: relative; width: 250px; height: 250px; margin: 0 auto 26px; }
.hp-donut canvas { width: 250px !important; height: 250px !important; }
.hp-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.hp-donut-center small { font-size: 12.5px; color: var(--hp-muted); text-transform: uppercase; letter-spacing: 1px; }
.hp-donut-center strong { font-size: 22px; color: var(--hp-navy); font-weight: 700; margin-top: 4px; }
.hp-donut-center strong p { display: inline; margin: 0; color: inherit; font-size: inherit; }
.hp-calc-stats { display: flex; gap: 14px; margin-bottom: 26px; }
.hp-calc-stat { flex: 1; background: #fff; border-radius: 12px; padding: 14px 12px; text-align: left; border: 1px solid var(--hp-line); }
.hp-calc-stat small { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hp-muted); }
.hp-calc-stat small i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.hp-calc-stat strong { display: block; font-size: 17px; font-weight: 600; color: var(--hp-navy); margin-top: 4px; }
.hp-calc-stat strong p { display: inline; margin: 0; font-size: inherit; color: inherit; }
.hp-dot-invested { background: var(--hp-primary); }
.hp-dot-gain { background: var(--hp-accent); }
.hp-disclaimer { font-size: 12px !important; color: #8795a6 !important; margin: 14px 0 0; line-height: 1.5 !important; }

/* ---------- Gallery ---------- */
.hp-gallery-item { border-radius: var(--hp-radius); overflow: hidden; position: relative; display: block; aspect-ratio: 4 / 3; background: var(--hp-soft); }
.hp-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hp-gallery-item:hover img { transform: scale(1.07); }
.hp-gallery-item .hp-gallery-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
    background: linear-gradient(to top, rgba(11, 35, 64, .9), transparent);
    color: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.4;
}
.hp-page .owl-carousel .owl-nav { position: absolute; top: -78px; right: 0; margin: 0; }
.hp-page .owl-carousel .owl-nav > div, .hp-page .owl-carousel .owl-nav > button {
    width: 44px; height: 44px; border-radius: 50%; background: #fff !important; border: 1px solid var(--hp-line) !important;
    color: var(--hp-navy) !important; display: inline-flex !important; align-items: center; justify-content: center;
    margin-left: 8px; font-size: 22px; transition: all .25s ease; position: static !important; opacity: 1 !important;
}
.hp-page .owl-carousel .owl-nav > div:hover, .hp-page .owl-carousel .owl-nav > button:hover { background: var(--hp-primary) !important; color: #fff !important; border-color: var(--hp-primary) !important; }
.hp-page .owl-dots { text-align: center; margin-top: 26px; }
.hp-page .owl-dots .owl-dot { background: none; border: 0; padding: 0 4px; outline: 0; }
.hp-page .owl-dots .owl-dot span { display: block; width: 10px; height: 10px; background: #c8d3e0 !important; border-radius: 10px; transition: all .3s ease; }
.hp-page .owl-dots .owl-dot.active span { width: 28px; background: var(--hp-primary) !important; }

/* ---------- Videos ---------- */
.hp-videos { background: var(--hp-navy) url('../images/bg/bg6.jpg') center / cover no-repeat; }
.hp-videos::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11, 35, 64, .95), rgba(21, 70, 125, .9)); }
.hp-videos > .container { position: relative; }
.hp-video { display: block; border-radius: var(--hp-radius); overflow: hidden; background: #000; position: relative; margin-bottom: 26px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.hp-video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.hp-video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: all .5s ease; }
.hp-video:hover .hp-video-thumb img { opacity: .65; transform: scale(1.05); }
.hp-play {
    position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
    border-radius: 50%; background: var(--hp-accent); color: var(--hp-navy); display: flex;
    align-items: center; justify-content: center; font-size: 24px; padding-left: 5px;
    box-shadow: 0 0 0 10px rgba(245, 165, 36, .25); transition: all .3s ease;
}
.hp-video:hover .hp-play { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(245, 165, 36, .2); }
.hp-video-title { background: #fff; padding: 18px 22px; font-size: 15.5px; font-weight: 600; color: var(--hp-navy); }

/* ---------- Testimonials ---------- */
.hp-testimonial { background: #fff; border-radius: var(--hp-radius); padding: 34px 32px 28px; border: 1px solid var(--hp-line); height: 100%; position: relative; }
.hp-testimonial .hp-quote { font-size: 34px; color: rgba(29, 94, 168, .18); position: absolute; right: 28px; top: 22px; }
.hp-stars { color: var(--hp-accent); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.hp-testimonial p { font-size: 15px; color: var(--hp-text); font-style: italic; margin-bottom: 22px; }
.hp-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--hp-line); padding-top: 18px; }
.hp-author img { width: 52px !important; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(29, 94, 168, .15); }
.hp-author strong { display: block; color: var(--hp-navy); font-size: 15.5px; }
.hp-author span { font-size: 13px; color: var(--hp-muted); }

/* ---------- Final CTA ---------- */
.hp-cta-band { background: linear-gradient(120deg, var(--hp-primary) 0%, var(--hp-navy) 100%); border-radius: 22px; padding: 56px 56px; position: relative; overflow: hidden; }
.hp-cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); }
.hp-cta-band h2 { color: #fff; font-size: 32px; font-weight: 700; margin: 0 0 14px; }
.hp-cta-band h2 span { color: var(--hp-accent); }
.hp-cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.hp-cta-actions { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.hp-cta-actions .hp-btn { justify-content: center; }

/* ---------- Enquiry modal ---------- */
.hp-modal .modal-content { border: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--hp-shadow-lg); font-family: var(--hp-font); }
.hp-modal .modal-dialog { max-width: 440px; margin-top: 80px; }
.hp-modal-head { background: linear-gradient(135deg, var(--hp-primary), var(--hp-navy)); color: #fff; padding: 28px 30px 24px; position: relative; }
.hp-modal-head h4 { color: #fff; font-size: 21px; font-weight: 600; margin: 0 0 6px; }
.hp-modal-head p { color: rgba(255, 255, 255, .8); font-size: 14px; margin: 0; line-height: 1.6; }
.hp-modal-head .close { position: absolute; right: 18px; top: 14px; color: #fff; opacity: .8; text-shadow: none; font-size: 28px; }
.hp-modal .modal-body { padding: 26px 30px 10px; }
.hp-modal .form-group { margin-bottom: 16px; }
.hp-modal label { font-size: 13px; font-weight: 500; color: var(--hp-text); margin-bottom: 6px; }
.hp-modal .form-control { height: 46px; border-radius: 10px; border: 1px solid var(--hp-line); box-shadow: none; font-size: 14.5px; padding: 10px 14px; background: var(--hp-soft); }
.hp-modal .form-control:focus { border-color: var(--hp-primary); background: #fff; box-shadow: 0 0 0 3px rgba(29, 94, 168, .12); }
.hp-modal .modal-footer { border: 0; padding: 6px 30px 30px; text-align: left; }
.hp-form-msg { font-size: 13.5px; margin-top: 12px; display: none; }
.hp-form-msg.hp-err { color: #c0392b; display: block; }
.hp-form-msg.hp-ok { color: var(--hp-green); display: block; }

/* ---------- Floating promo popup ---------- */
.hp-promo { position: fixed; left: 20px; bottom: 20px; z-index: 99; width: 320px; max-width: calc(100% - 40px); background: #fff; border-radius: 16px; box-shadow: 0 25px 60px rgba(11, 35, 64, .3); overflow: hidden; animation: hp-slide-up .6s ease both; }
.hp-promo-close { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(11, 35, 64, .75); color: #fff; border: 0; font-size: 18px; line-height: 32px; text-align: center; cursor: pointer; z-index: 2; padding: 0; }
.hp-promo-close:hover { background: var(--hp-primary); }
.hp-promo img { width: 100%; display: block; }
@keyframes hp-slide-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Scroll reveal ---------- */
.hp-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.hp-reveal.hp-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .hp-reveal { opacity: 1; transform: none; transition: none; }
    .hp-page *, .hp-promo { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .hp-intro h1 { font-size: 38px; }
}
@media (max-width: 991px) {
    .hp-section { padding: 70px 0; }
    .hp-intro { padding-top: 80px; }
    .hp-intro-media { margin-top: 50px; }
    .hp-heading h2 { font-size: 30px; }
    .hp-calc-inputs { padding: 32px 26px 10px; }
    .hp-cta-band { padding: 44px 34px; text-align: center; }
    .hp-cta-actions { margin-top: 28px; }
    .hp-trust-item { justify-content: flex-start; }
}
@media (max-width: 767px) {
    .hp-section { padding: 56px 0; }
    .hp-ticker-wrap { margin-top: 16px; }
    .hp-ticker { border-radius: 12px; height: 54px; }
    .hp-ticker-label { padding: 0 16px; font-size: 12px; }
    .hp-ticker-label .hp-label-text { display: none; }
    .hp-ticker marquee a { line-height: 54px; font-size: 14px; }
    .hp-intro { padding-top: 50px; }
    .hp-intro h1 { font-size: 30px; }
    .hp-intro .hp-lead { font-size: 15.5px; }
    .hp-cta-row .hp-btn { flex: 1 1 100%; justify-content: center; }
    .hp-intro-media { padding: 0 0 20px 20px; }
    .hp-float-card { right: 8px; bottom: 36px; padding: 12px 14px; }
    .hp-heading { margin-bottom: 34px; }
    .hp-heading h2 { font-size: 26px; }
    .hp-page .owl-carousel .owl-nav { position: static; text-align: center; margin-top: 18px; }
    .hp-calc-stats { flex-direction: column; }
    .hp-calc-result { padding: 30px 20px; }
    .hp-cta-band { padding: 36px 22px; border-radius: 16px; }
    .hp-cta-band h2 { font-size: 25px; }
    .hp-promo { width: 260px; left: 12px; bottom: 12px; }
}

/* Flex rows (Bootstrap 3 clearfix pseudo-elements break flex layout in Safari) */
.hp-row-flex { display: flex; flex-wrap: wrap; }
.hp-row-flex.hp-center { align-items: center; }
.hp-row-flex::before, .hp-row-flex::after, .hp-grid::before, .hp-grid::after { display: none; }
.hp-owl { position: relative; }
.hp-owl .owl-stage-outer { overflow: hidden; position: relative; }
.hp-owl .owl-stage { display: flex; }
.hp-owl .owl-item { display: flex; }
.hp-owl .owl-item > * { width: 100%; }

/* ---------- Inner pages (Gallery, Videos) ---------- */
.hp-inner-section { padding-top: 70px; }
.hp-inner-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.hp-inner-top .hp-heading { margin-bottom: 0; }
.hp-inner-top #shareIcons { padding-bottom: 6px; }
.hp-gallery-zoom .hp-zoom-icon {
    position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
    border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--hp-primary);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    opacity: 0; transform: scale(.7); transition: all .3s ease;
}
.hp-gallery-zoom::after { content: ""; position: absolute; inset: 0; background: rgba(11, 35, 64, .25); opacity: 0; transition: opacity .3s ease; }
.hp-gallery-zoom:hover::after { opacity: 1; }
.hp-gallery-zoom:hover .hp-zoom-icon { opacity: 1; transform: scale(1); z-index: 2; }
.hp-grid .hp-gallery-item { width: 100%; box-shadow: var(--hp-shadow); }
.hp-grid .hp-video { width: 100%; }
.hp-video-light { box-shadow: var(--hp-shadow); border: 1px solid var(--hp-line); }
.hp-video-light:hover { box-shadow: var(--hp-shadow-lg); transform: translateY(-4px); }
.hp-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--hp-line); border-radius: var(--hp-radius); }
.hp-empty i { font-size: 42px; color: #c8d3e0; }
.hp-empty p { margin: 12px 0 0; }
@media (max-width: 767px) {
    .hp-inner-section { padding-top: 44px; }
    .hp-inner-top { margin-bottom: 28px; }
}
