/* ==========================================================================
   G. Gilbert Funeral Service — Homepage template
   Bootstrap 5.3 grid · DM Sans + Libre Caslon Display
   ========================================================================== */

:root {
    --gg-navy: #071017;
    --gg-navy-2: #0f1b25;
    --gg-navy-3: #16232e;
    --gg-gold: #bc951e;
    --gg-gold-dark: #9f7e18;
    --gg-gold-light: #dcc583;
    --gg-gold-soft: rgba(188, 149, 30, .12);
    --gg-cream: #f8f5ee;
    --gg-text: #575c61;
    --gg-heading: #111417;
    --gg-light-text: #b3b8bd;
    --gg-line: #e6e2d8;
    --gg-serif: "Libre Caslon Display", "Times New Roman", serif;
    --gg-sans: "DM Sans", Arial, Helvetica, sans-serif;
    --gg-italic: "Libre Caslon Text", Georgia, serif;
    --gg-ease: cubic-bezier(.22, .61, .36, 1);
    --gg-header-h: 124px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: var(--gg-sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--gg-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--gg-ease), background-color .3s var(--gg-ease), border-color .3s var(--gg-ease), opacity .3s ease; }
p { margin-bottom: 1rem; }
h1, h2, h3, h4 { font-family: var(--gg-serif); font-weight: 400; color: var(--gg-heading); letter-spacing: -.005em; }
::selection { background: var(--gg-gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gg-gold); outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1100; background: var(--gg-gold); color: #fff; padding: 10px 18px; font-size: 13px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.section-pad { padding: 120px 0; }
.section-head { margin-bottom: 54px; }
.section-head p { margin-bottom: 0; font-size: 15px; }
.wide-wrap { max-width: 1440px; padding-left: 48px; padding-right: 48px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--gg-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gg-gold);
    margin-bottom: 18px;
}
.text-center > .eyebrow::before,
.text-center > .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow-light { color: #c9ccd0; }
.eyebrow-sm { font-size: 9px; letter-spacing: .25em; font-weight: 500; }
.text-center > .eyebrow-sm::before, .text-center > .eyebrow-sm::after { display: none; }

.section-title {
    font-size: 46px;
    line-height: 1.14;
    margin-bottom: 26px;
}

/* ---------- Buttons & links ---------- */
.btn-gold,
.btn-outline-gold,
.btn-outline-light {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 26px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 21px 26px;
    line-height: 1.2;
    overflow: hidden;
    isolation: isolate;
}
.btn-gold { background: var(--gg-gold); color: #fff; border: 0; }
.btn-gold::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--gg-gold-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--gg-ease);
    z-index: -1;
}
.btn-gold:hover, .btn-gold:focus-visible { color: #fff; }
.btn-gold:hover::before, .btn-gold:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn-gold i, .btn-outline-gold i, .btn-outline-light i { font-size: 14px; transition: transform .35s var(--gg-ease); }
.btn-gold:hover i, .btn-outline-gold:hover i, .btn-outline-light:hover i, .link-gold:hover i { transform: translate(3px, -3px); }
.btn-sm-gold { padding: 19px 20px; font-size: 10px; gap: 18px; letter-spacing: .08em; }

.btn-outline-gold { border: 1px solid var(--gg-gold); color: var(--gg-gold-light); background: transparent; }
.btn-outline-gold:hover { background: var(--gg-gold); color: #fff; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--gg-heading); border-color: #fff; }

.link-gold {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gg-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding-bottom: 4px;
}
.link-gold::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--gg-ease); }
.link-gold:hover::after { transform: scaleX(1); transform-origin: left; }
.link-gold i { font-size: 13px; transition: transform .35s var(--gg-ease); }
.link-gold:hover { color: var(--gg-gold-dark); }
.link-sm { font-size: 10px; gap: 12px; }
.dark-section .link-gold:hover { color: var(--gg-gold-light); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--gg-navy); transition: box-shadow .4s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.header-wrap { padding-left: 48px; padding-right: 48px; }

.topbar { border-bottom: 1px solid rgba(255,255,255,.07); font-size: 12px; color: #aab0b6; max-height: 60px; overflow: hidden; transition: max-height .4s var(--gg-ease), border-color .4s ease; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; }
.topbar a { color: #fff; font-weight: 500; }
.topbar a:hover { color: var(--gg-gold-light); }
.topbar i { color: var(--gg-gold); margin-right: 4px; }
.topbar-sep { margin: 0 12px; opacity: .3; }
.topbar-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fbf7a; margin-right: 8px; box-shadow: 0 0 0 0 rgba(95,191,122,.6); animation: gg-pulse 2.4s infinite; }
@keyframes gg-pulse { 0% { box-shadow: 0 0 0 0 rgba(95,191,122,.55); } 70% { box-shadow: 0 0 0 9px rgba(95,191,122,0); } 100% { box-shadow: 0 0 0 0 rgba(95,191,122,0); } }
.site-header.is-scrolled .topbar { max-height: 0; border-bottom-color: transparent; }

.site-header .navbar { padding: 16px 0; transition: padding .4s var(--gg-ease); }
.site-header.is-scrolled .navbar { padding: 10px 0; }
.site-header .navbar-brand { padding: 0; margin: 0; }
.site-header .navbar-brand img { width: 214px; height: auto; transition: width .4s var(--gg-ease); }
.site-header.is-scrolled .navbar-brand img { width: 180px; }
.site-header .nav-link {
    position: relative;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    padding: 10px 13px !important;
}
.site-header .nav-link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1px; background: var(--gg-gold); transform: scaleX(0); transition: transform .35s var(--gg-ease); }
.site-header .nav-link:hover, .site-header .nav-link.active, .site-header .nav-link.show { color: var(--gg-gold); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .dropdown-toggle::after { border: 0; content: ""; vertical-align: 0; margin: 0; }
.site-header .dropdown-toggle { padding-right: 24px !important; }
.site-header .dropdown-toggle::before { content: "\F282"; font-family: "bootstrap-icons"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 9px; }
.site-header .dropdown-menu {
    background: #fff;
    border: 0;
    border-top: 2px solid var(--gg-gold);
    border-radius: 0;
    padding: 10px 0;
    min-width: 240px;
    box-shadow: 0 18px 40px rgba(7, 16, 23, .18);
    margin-top: 6px;
}
.site-header .dropdown-item { font-size: 14px; color: var(--gg-heading); padding: 9px 22px; transition: color .25s ease, padding .25s var(--gg-ease), background-color .25s ease; }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--gg-cream); color: var(--gg-gold-dark); padding-left: 28px; }

.header-phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; white-space: nowrap; }
.header-phone-icon { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(188,149,30,.55); display: inline-flex; align-items: center; justify-content: center; color: var(--gg-gold); font-size: 15px; transition: background-color .3s ease, color .3s ease; }
.header-phone-text { display: flex; flex-direction: column; font-size: 17px; line-height: 1.2; font-weight: 500; }
.header-phone-text small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gg-gold-light); font-weight: 500; margin-bottom: 3px; }
.header-phone:hover { color: var(--gg-gold-light); }
.header-phone:hover .header-phone-icon { background: var(--gg-gold); color: #fff; }

.nav-call-mobile { margin-left: auto; margin-right: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--gg-gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.nav-call-mobile:hover { color: #fff; background: var(--gg-gold-dark); }

.navbar-toggler { border: 0; padding: 8px 4px; box-shadow: none !important; }
.toggler-bar { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s ease, opacity .3s ease; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-section {
    background: linear-gradient(to bottom, var(--gg-navy) 0, var(--gg-navy) 84%, #fff 84%, #fff 100%);
    padding: 0 45px;
}
.hero-frame {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 130px;
}
.hero-bg {
    position: absolute;
    top: -9%; bottom: -9%; left: 0; right: 0;
    background: url("../images/funeral-team.jpg") center 30% / cover no-repeat;
    transform: scale(1.12);
    animation: gg-kenburns 22s ease-out forwards;
}
@keyframes gg-kenburns { to { transform: scale(1); } }
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(7,16,23,.55) 0%, rgba(7,16,23,.82) 75%),
        linear-gradient(rgba(7,16,23,.35), rgba(7,16,23,.55));
}
.hero-frame .container { position: relative; z-index: 2; }
.hero-frame .eyebrow { color: var(--gg-gold-light); margin-bottom: 26px; }
.hero-title { color: #fff; font-size: 72px; line-height: 1.08; margin-bottom: 30px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-text { color: #eef0f1; font-size: 17px; line-height: 1.75; margin-bottom: 40px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.hero-scroll { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.scroll-circle { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gg-gold); font-size: 17px; transition: border-color .3s ease, background-color .3s ease, color .3s ease; }
.scroll-circle i { animation: gg-bob 2.2s ease-in-out infinite; }
@keyframes gg-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.hero-scroll:hover { color: var(--gg-gold-light); }
.hero-scroll:hover .scroll-circle { border-color: var(--gg-gold); background: var(--gg-gold); color: #fff; }
.hero-meta {
    position: absolute;
    left: 34px; right: 34px; bottom: 26px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    color: #cfd2d5;
    font-size: 10px;
    letter-spacing: .26em;
    text-transform: uppercase;
}
.hero-meta-line { flex: 1; height: 1px; background: rgba(255,255,255,.2); }

.hero-anim { opacity: 0; transform: translateY(26px); animation: gg-rise 1s var(--gg-ease) forwards; }
.hero-anim:nth-child(1) { animation-delay: .15s; }
.hero-anim:nth-child(2) { animation-delay: .3s; }
.hero-anim:nth-child(3) { animation-delay: .5s; }
.hero-anim:nth-child(4) { animation-delay: .7s; }
@keyframes gg-rise { to { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about-section { padding-top: 125px; padding-bottom: 125px; }
.about-collage { position: relative; height: 600px; max-width: 520px; margin-left: auto; }
.about-collage::before { content: ""; position: absolute; top: -24px; right: -24px; width: 46%; height: 52%; border: 1px solid var(--gg-gold); opacity: .45; }
.about-collage .collage-main {
    position: absolute; top: 0; right: 0;
    width: 72%; height: 380px; object-fit: cover; object-position: 75% 30%;
    box-shadow: 0 30px 60px rgba(7, 16, 23, .18);
}
.about-collage .collage-inset {
    position: absolute; top: 100px; left: 0;
    width: 63%; height: 180px; object-fit: cover; object-position: 60% 60%;
    border: 12px solid #fff; border-left: 0;
    box-sizing: content-box;
    box-shadow: 18px 24px 40px rgba(7, 16, 23, .16);
}
.collage-stat { position: absolute; left: 12px; top: 330px; }
.stat-num { display: block; font-family: var(--gg-serif); font-size: 62px; line-height: 1; color: var(--gg-gold); }
.stat-num sup { font-size: 26px; top: -.7em; margin-left: 2px; }
.stat-label { display: block; color: var(--gg-heading); font-size: 14px; line-height: 1.55; margin-top: 12px; }
.collage-line { position: absolute; right: 12px; top: 430px; width: 64%; height: 1px; background: var(--gg-line); }

.about-content { max-width: 540px; }
.about-content > p { font-size: 15.5px; }
.about-highlights { margin-top: 20px; }
.highlight { margin-bottom: 26px; padding-left: 18px; border-left: 2px solid var(--gg-gold); }
.highlight:last-child { margin-bottom: 0; }
.highlight-title { display: block; font-family: var(--gg-serif); font-size: 34px; line-height: 1.1; color: var(--gg-gold); }
.highlight-text { display: block; font-size: 13px; color: var(--gg-text); margin-top: 6px; }
.highlight-img { width: 100%; height: 176px; object-fit: cover; }
.about-foot { margin-top: 24px; padding-top: 26px; border-top: 1px solid var(--gg-line); }
.tagline { font-family: var(--gg-italic); font-style: italic; font-size: 23px; color: var(--gg-heading); margin: 0; }

/* ---------- Features ---------- */
.features-section { background: var(--gg-cream); padding: 110px 0 120px; position: relative; }
.features-section::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 60px; background: var(--gg-gold); opacity: .5; transform: translateX(-50%); }
.features-grid { border-top: 1px solid var(--gg-line); border-left: 1px solid var(--gg-line); background: #fff; }
.feature {
    height: 100%;
    padding: 44px 40px 40px;
    border-right: 1px solid var(--gg-line);
    border-bottom: 1px solid var(--gg-line);
    position: relative;
    transition: background-color .4s var(--gg-ease);
}
.feature::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--gg-gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--gg-ease); }
.feature:hover { background: #fffdf8; }
.feature:hover::after { transform: scaleX(1); }
.feature-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--gg-gold-soft); color: var(--gg-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 22px; transition: background-color .4s ease, color .4s ease; }
.feature:hover .feature-icon { background: var(--gg-gold); color: #fff; }
.feature h3 { font-size: 25px; margin-bottom: 10px; }
.feature p { font-size: 14.5px; margin: 0; }

/* ---------- Obituaries ---------- */
.dark-section { background: var(--gg-navy); color: var(--gg-light-text); }
.dark-section .section-title, .dark-section h3 { color: #fff; }
.obituaries-section { padding: 115px 0 120px; }
.obit-img { position: relative; display: block; overflow: hidden; margin-bottom: 24px; }
.obit-img img { width: 100%; aspect-ratio: 330 / 302; object-fit: cover; filter: grayscale(100%) contrast(1.02); transition: transform .9s var(--gg-ease); }
.obit-img::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(220,197,131,.0); transition: border-color .5s ease, inset .5s var(--gg-ease); pointer-events: none; }
.obit-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(7,16,23,.85)); color: #fff; font-size: 12.5px; letter-spacing: .04em; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s var(--gg-ease); }
.obit-card:hover .obit-img img { transform: scale(1.05); }
.obit-card:hover .obit-img::after { border-color: rgba(220,197,131,.6); inset: 16px; }
.obit-card:hover .obit-overlay { opacity: 1; transform: none; }
.obit-card h3 { font-size: 27px; margin-bottom: 4px; }
.obit-dates { font-size: 13px; color: #c9ccd0; margin-bottom: 10px; letter-spacing: .03em; }
.obit-all { margin-top: 60px; }
.obit-powered { font-size: 12px; color: #7f878e; margin: 16px 0 0; }

/* ---------- Services ---------- */
.services-head { margin-bottom: 48px; }
.services-head .section-title { font-size: 40px; }
.services-head p { font-size: 15px; }
.service-card { height: 100%; display: flex; flex-direction: column; }
.service-img { position: relative; overflow: hidden; }
.service-img img { width: 100%; height: 320px; object-fit: cover; transition: transform .9s var(--gg-ease); }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-num { position: absolute; top: 18px; left: 20px; font-family: var(--gg-serif); font-size: 20px; color: #fff; letter-spacing: .05em; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.service-num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: rgba(255,255,255,.7); margin-left: 10px; vertical-align: middle; }
.service-body {
    position: relative;
    background: #fff;
    margin: -46px 17px 0;
    padding: 24px 18px 0;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-body .link-gold { margin-top: auto; }
.service-body h3 { font-size: 28px; margin-bottom: 14px; }
.service-body p { font-size: 14.5px; line-height: 1.75; margin-bottom: 24px; }

/* ---------- Horse-drawn funerals ---------- */
.horse-section { position: relative; padding: 130px 0; overflow: hidden; color: #d6d9dc; background: var(--gg-navy); }
.horse-bg { position: absolute; top: -14%; bottom: -14%; left: 0; right: 0; background: url("../images/horse-drawn-carriage-960.webp") 30% 45% / cover no-repeat; }
.horse-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,16,23,.96) 0%, rgba(7,16,23,.9) 45%, rgba(7,16,23,.72) 100%); }
.horse-section .container { position: relative; z-index: 1; }
.horse-content .section-title { color: #fff; font-size: 48px; }
.horse-content > p { font-size: 16px; line-height: 1.8; max-width: 520px; }
.horse-list { list-style: none; padding: 0; margin: 30px 0 38px; border-top: 1px solid rgba(255,255,255,.12); max-width: 520px; }
.horse-list li { display: flex; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; font-size: 15px; }
.horse-list span { font-family: var(--gg-serif); color: var(--gg-gold); font-size: 20px; min-width: 28px; }
.horse-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }
.horse-figure { position: relative; margin: 0; padding: 0 0 26px 26px; }
.horse-figure::before { content: ""; position: absolute; left: 0; bottom: 0; width: 82%; height: 82%; border: 1px solid var(--gg-gold); opacity: .7; }
.horse-figure img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 40% 50%; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.horse-figure figcaption { position: absolute; right: -10px; bottom: 50px; background: var(--gg-gold); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 12px 18px; box-shadow: 0 10px 24px rgba(0,0,0,.3); }

/* ---------- Promise ---------- */
.promise-section { padding: 120px 0 0; overflow: hidden; }
.promise-img { height: 100%; min-height: 470px; background-size: cover; background-repeat: no-repeat; }
.promise-img-left { background-image: url("../images/team-new-960.webp"); background-position: 0 30%; }
.promise-img-right { background-image: url("../images/flowers.webp"); background-position: 30% center; }
.promise-box { position: relative; padding: 78px 48px 60px; height: 100%; }
.promise-box::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(220,197,131,.22); pointer-events: none; }
.promise-box .section-title { font-size: 42px; margin-bottom: 22px; }
.promise-ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--gg-gold); font-size: 30px; line-height: 1; margin-bottom: 22px; }
.promise-ornament span { width: 50px; height: 1px; background: rgba(188,149,30,.6); }
.promise-quote { font-family: var(--gg-serif); color: #fff; font-size: 27px; line-height: 1.4; margin-bottom: 20px; }
.promise-box p { font-size: 14px; }
.promise-sign { font-family: var(--gg-serif); color: #fff; font-size: 23px !important; margin: 26px 0 6px; }
.promise-box .eyebrow-sm { color: var(--gg-gold); }

/* ---------- Costs ---------- */
.costs-section { padding-top: 115px; padding-bottom: 110px; }
.price-row { max-width: 1080px; margin: 0 auto 40px; }
.price-card {
    position: relative;
    border: 1px solid var(--gg-line);
    padding: 46px 32px 36px;
    text-align: center;
    background: #fff;
    height: 100%;
    transition: transform .5s var(--gg-ease), box-shadow .5s var(--gg-ease), border-color .5s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(7, 16, 23, .1); border-color: transparent; }
.price-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: var(--gg-gold-soft); color: var(--gg-gold); align-items: center; justify-content: center; font-size: 19px; margin-bottom: 16px; }
.price-card h3 { font-size: 28px; margin-bottom: 16px; }
.price { font-family: var(--gg-sans); color: var(--gg-gold); font-size: 42px; font-weight: 500; line-height: 1; margin-bottom: 14px; letter-spacing: -.01em; }
.price small { font-size: 20px; font-weight: 500; }
.price-note { font-size: 12.5px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--gg-line); }
.price-list { list-style: none; padding: 0; margin: 0 auto 30px; display: inline-block; text-align: left; }
.price-list li { padding-left: 24px; text-indent: -24px; }
.price-list li { font-size: 14px; margin-bottom: 10px; }
.price-list li::before { content: "\2713"; color: var(--gg-gold); margin-right: 9px; font-weight: 700; }
.price-card-featured {
    background: var(--gg-navy);
    border-color: var(--gg-navy);
    padding-top: 24px;
    padding-bottom: 40px;
    box-shadow: 0 26px 50px rgba(7, 16, 23, .22);
}
.price-card-featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gg-gold); }
.price-card-featured:hover { box-shadow: 0 34px 60px rgba(7, 16, 23, .3); }
.price-card-featured .eyebrow-sm { color: var(--gg-gold); margin-bottom: 22px; }
.price-card-featured h3 { color: #fff; }
.price-card-featured .price-note { color: #959ca2; border-color: rgba(255,255,255,.12); }
.price-card-featured .price-list li { color: #dfe1e3; }
.fees-strip { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; background: var(--gg-cream); border: 1px solid var(--gg-line); padding: 14px 26px; font-size: 14px; color: var(--gg-heading); margin-bottom: 22px; }
.fees-strip strong { font-weight: 700; color: var(--gg-gold-dark); }
.fees-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gg-gold); }
.costs-small { font-size: 13px; line-height: 1.8; margin: 0 auto 26px; max-width: 860px; }

/* ---------- Funeral planning ---------- */
.planning-section { padding: 0 0 120px; }
.planning-box { background: var(--gg-cream); position: relative; }
.planning-box::after { content: ""; position: absolute; right: 22px; top: 22px; width: 90px; height: 90px; border-right: 1px solid var(--gg-gold); border-top: 1px solid var(--gg-gold); opacity: .5; pointer-events: none; }
.planning-img { height: 100%; min-height: 420px; background: url("../images/woodland2-640.webp") center / cover no-repeat; }
.planning-content { padding: 70px 64px; }
.planning-content > p { font-size: 15.5px; }
.planning-list { list-style: none; padding: 0; margin: 22px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.planning-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--gg-heading); }
.planning-list i { color: var(--gg-gold); font-size: 18px; line-height: 1.3; }
.planning-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }

/* ---------- CTA ---------- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--gg-navy);
    overflow: hidden;
    text-align: center;
}
.cta-bg { position: absolute; top: -18%; bottom: -18%; left: 0; right: 0; z-index: 0; background: url("../images/funeral-cars.webp") center 60% / cover no-repeat; }
.cta-section::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(7,16,23,.78), rgba(7,16,23,.7)); }
.cta-section .container { position: relative; z-index: 2; }
.cta-section .eyebrow { color: var(--gg-gold-light); }
.cta-section .section-title { color: #fff; margin-bottom: 18px; font-size: 50px; }
.cta-section p:not(.eyebrow) { color: #e9eaeb; font-size: 17px; margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Advice ---------- */
.advice-section { padding-top: 115px; padding-bottom: 120px; }
.advice-card { height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.advice-card > .link-gold { margin-top: auto; }
.advice-img { align-self: stretch; }
.advice-img { display: block; overflow: hidden; margin-bottom: 22px; }
.advice-img img { width: 100%; height: 270px; object-fit: cover; transition: transform .9s var(--gg-ease); }
.advice-card:hover .advice-img img { transform: scale(1.05); }
.advice-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gg-gold); margin-bottom: 10px; }
.advice-card h3 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.advice-card h3 a { background: linear-gradient(var(--gg-gold), var(--gg-gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--gg-ease), color .3s ease; }
.advice-card:hover h3 a { background-size: 100% 1px; }
.advice-card p:not(.advice-cat) { font-size: 14.5px; margin-bottom: 22px; }

/* ---------- Map & contact strip ---------- */
.map-section { position: relative; background: linear-gradient(to bottom, #fff 0, #fff 85%, var(--gg-navy) 85%); }
.map-wrap { position: relative; height: 380px; background: #e9e9e9 url("../images/map-960.webp") center / cover no-repeat; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(100%) contrast(.95) brightness(1.03); transition: filter .6s ease; }
.map-wrap:hover iframe { filter: grayscale(20%); }
.map-label {
    position: absolute; top: 22px; right: 64px;
    background: var(--gg-gold);
    color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: 14px 20px;
    display: inline-flex; gap: 12px; align-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.map-label:hover { background: var(--gg-gold-dark); color: #fff; }
.contact-strip-wrap { position: relative; margin-top: -83px; z-index: 2; }
.contact-strip { background: var(--gg-navy-2); padding: 34px 36px; border-top: 2px solid var(--gg-gold); box-shadow: 0 30px 60px rgba(7,16,23,.3); }
.contact-item { display: flex; gap: 18px; }
.contact-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(188,149,30,.5); display: inline-flex; align-items: center; justify-content: center; color: var(--gg-gold); font-size: 18px; }
.contact-item h3 { color: var(--gg-gold); font-size: 21px; margin-bottom: 4px; }
.contact-item a, .contact-item address { display: block; color: #fff; font-size: 14px; margin-bottom: 6px; font-style: normal; overflow-wrap: break-word; }
.contact-item a:hover { color: var(--gg-gold-light); }
.contact-item small { display: block; color: #959ca2; font-size: 12px; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 34px; font-size: 14px; }
.footer-logo img { width: 218px; margin-bottom: 30px; }
.footer-about { color: #c9ccd0; font-size: 14.5px; line-height: 1.7; max-width: 270px; }
.footer-tagline { font-family: var(--gg-serif); color: var(--gg-gold); font-size: 23px; margin-top: 26px; }
.footer-title { color: #fff; font-size: 24px; margin-bottom: 22px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #c9ccd0; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: color .3s ease, transform .3s var(--gg-ease); }
.footer-links a i { font-size: 10px; }
.footer-links a:hover { color: var(--gg-gold); transform: translateX(4px); }
.footer-hours { color: #c9ccd0; font-size: 14px; display: flex; gap: 12px; line-height: 1.6; }
.footer-hours i { color: var(--gg-gold); }
.footer-note { color: #c9ccd0; font-size: 14px; margin-bottom: 24px; }
.footer-areas { color: #aeb3b8; font-size: 13px; margin: 50px 0 26px; }
.footer-areas a { color: #dfe1e3; border-bottom: 1px solid rgba(188,149,30,.5); }
.footer-areas a:hover { color: var(--gg-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #aeb3b8; }
.back-to-top { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #aeb3b8; }
.back-to-top:hover { color: var(--gg-gold); }

/* ---------- Floating helpers ---------- */
.scroll-top { position: fixed; right: 24px; bottom: 24px; z-index: 1020; width: 48px; height: 48px; border-radius: 50%; background: var(--gg-gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s ease, transform .4s var(--gg-ease), visibility .4s, background-color .3s ease; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--gg-gold-dark); color: #fff; }
.mobile-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025; display: flex; box-shadow: 0 -8px 24px rgba(0,0,0,.18); transform: translateY(100%); transition: transform .45s var(--gg-ease); }
.mobile-callbar.is-visible { transform: none; }
.mobile-callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.callbar-call { background: var(--gg-gold); color: #fff; }
.callbar-dir { background: var(--gg-navy); color: #fff; }
.callbar-call:hover, .callbar-dir:hover { color: #fff; }

/* ---------- Reveal on scroll (added by custom.js) ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--gg-ease), transform 1s var(--gg-ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reduce-motion .hero-anim { opacity: 1; transform: none; animation: none; }
.reduce-motion .hero-bg { animation: none; transform: none; }
.reduce-motion .scroll-circle i, .reduce-motion .topbar-dot { animation: none; }

/* ---------- Luxury motion (transform / opacity / clip-path only) ---------- */
.site-header { animation: gg-drop .9s var(--gg-ease) both; }
@keyframes gg-drop { from { transform: translateY(-100%); } to { transform: none; } }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gg-gold-dark), var(--gg-gold-light)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
[data-parallax] { will-change: translate; }

/* Image curtain reveal */
.reveal-mask { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.77, 0, .18, 1); }
.reveal-mask.is-visible { clip-path: inset(0 0 0 0); }
.reveal-mask > img { transform: scale(1.16); transition: transform 1.6s var(--gg-ease); }
.reveal-mask.is-visible > img { transform: scale(1); }
.obit-card:hover .obit-img.is-visible > img, .service-card:hover .service-img.is-visible > img, .advice-card:hover .advice-img.is-visible > img { transform: scale(1.05); }

/* Headings rise from behind a mask */
.reveal .section-title { clip-path: inset(0 -5% 100% -5%); transform: translateY(24px); transition: clip-path 1.1s .15s cubic-bezier(.77, 0, .18, 1), transform 1.1s .15s var(--gg-ease); }
.reveal.is-visible .section-title { clip-path: inset(-15% -5% -25% -5%); transform: none; }

/* Gold eyebrow rules draw in */
.text-center > .eyebrow::before { transform-origin: right; transition: transform 1s .35s var(--gg-ease); }
.text-center > .eyebrow::after { transform-origin: left; transition: transform 1s .35s var(--gg-ease); }
.reveal:not(.is-visible) > .eyebrow::before, .reveal:not(.is-visible) > .eyebrow::after { transform: scaleX(0); }

/* Staggered lists */
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--gg-ease), transform .8s var(--gg-ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .36s; }

/* Button sheen */
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: transform .9s var(--gg-ease); }
.btn-gold:hover::after, .btn-gold:focus-visible::after { transform: skewX(-20deg) translateX(420%); }

/* Small flourishes */
.feature-icon i { transition: transform .5s var(--gg-ease); }
.feature:hover .feature-icon i { transform: scale(1.12) rotate(-6deg); }
.horse-figure::before { transition: transform .8s var(--gg-ease); }
.horse-figure:hover::before { transform: translate(-8px, 8px); }
.reduce-motion .site-header { animation: none; }

/* ===== Dropdown items: one colour system for normal / hover / active ===== */

/* Desktop (992px and up) – white menu */
.site-header .dropdown-item.active,
.site-header .dropdown-item:active {
  color: var(--gg-gold-dark);
  background: var(--gg-cream);
}

/* Tablet + mobile (up to 991px) – dark transparent menu */
@media (max-width: 991px) {
  .site-header .dropdown-item.active,
  .site-header .dropdown-item:active {
    color: var(--gg-gold);
    background: transparent;
  }
}

/* ==========================================================================
   MEDIA QUERIES — standard breakpoint blocks
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
    body { font-size: 15px; padding-bottom: 52px; }
    .section-pad { padding: 76px 0; }
    .section-head { margin-bottom: 36px; }
    .wide-wrap, .header-wrap { padding-left: 16px; padding-right: 16px; }
    .section-title, .services-head .section-title { font-size: 33px; }
    .text-center > .eyebrow::before, .text-center > .eyebrow::after { display: none; }
    .eyebrow { letter-spacing: .22em; gap: 10px; }

    .site-header .navbar-brand img, .site-header.is-scrolled .navbar-brand img { width: 160px; }
    .site-header .navbar { padding: 12px 0; }
    .site-header .navbar-collapse { padding: 14px 0 10px; max-height: calc(100vh - 70px); overflow-y: auto; }
    .site-header .nav-link { font-size: 13px; padding: 13px 0 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
    .site-header .nav-link::after { display: none; }
    .site-header .dropdown-toggle::before { right: 4px; }
    .site-header .dropdown-menu { background: transparent; box-shadow: none; border: 0; padding: 0 0 6px 14px; margin: 0; }
    .site-header .dropdown-item { color: #c9ccd0; font-size: 14px; padding: 9px 0; }
    .site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: transparent; color: var(--gg-gold); padding-left: 6px; }
    .header-phone { margin-top: 18px; }

    .hero-section { padding: 0; background: var(--gg-navy); }
    .hero-frame { min-height: 0; padding: 84px 0 100px; }
    .hero-title { font-size: 40px; }
    .hero-text { font-size: 15.5px; }
    .hero-actions { gap: 22px; }
    .hero-meta { left: 16px; right: 16px; bottom: 20px; font-size: 9px; letter-spacing: .14em; gap: 12px; }

    .about-collage { height: 360px; max-width: 100%; margin: 0; }
    .about-collage::before { top: -12px; right: -6px; }
    .about-collage .collage-main { height: 280px; width: 70%; }
    .about-collage .collage-inset { width: 60%; height: 130px; top: 70px; border-width: 8px; border-left: 0; }
    .collage-stat { top: 250px; left: 0; }
    .stat-num { font-size: 48px; }
    .collage-line { top: 330px; width: 66%; right: 0; }
    .highlight-title { font-size: 27px; }
    .highlight-img { height: 140px; }
    .tagline { font-size: 21px; }

    .features-section { padding: 76px 0 80px; }
    .feature { padding: 32px 26px 30px; }
    .feature h3 { font-size: 23px; }

    .obit-card h3 { font-size: 25px; }
    .obit-overlay { opacity: 1; transform: none; font-size: 12px; }
    .service-img img { height: 260px; }
    .service-body h3 { font-size: 26px; }

    .horse-section { padding: 76px 0; }
    .horse-bg::after { background: rgba(7,16,23,.9); }
    .horse-content .section-title { font-size: 34px; }
    .horse-content > p { font-size: 15px; }
    .horse-figure { padding: 0 0 18px 18px; }
    .horse-figure figcaption { right: 0; bottom: 34px; font-size: 10px; padding: 10px 14px; }

    .promise-section { padding-top: 76px; }
    .promise-box { padding: 64px 26px 52px; }
    .promise-box .section-title { font-size: 33px; }
    .promise-quote { font-size: 23px; }

    .price-card { padding: 40px 22px 32px; }
    .price-card-featured { padding-top: 24px; }
    .fees-strip { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
    .fees-dot { display: none; }

    .planning-section { padding-bottom: 76px; }
    .planning-img { min-height: 220px; }
    .planning-content { padding: 44px 24px 50px; }
    .planning-list { grid-template-columns: 1fr; }
    .planning-box::after { display: none; }

    .cta-section { padding: 76px 0; }
    .cta-section .section-title { font-size: 34px; }
    .cta-section p:not(.eyebrow) { font-size: 15.5px; }
    .advice-img img { height: 230px; }
    .advice-card h3 { font-size: 26px; }

    .map-section { background: linear-gradient(to bottom, #fff 0, #fff 40%, var(--gg-navy) 40%); }
    .map-wrap { height: 300px; }
    .map-label { right: auto; left: 16px; top: auto; bottom: 46px; padding: 12px 16px; }
    .contact-strip-wrap { margin-top: -30px; }
    .contact-strip { padding: 28px 20px; }

    .site-footer { padding-top: 60px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .scroll-top { bottom: 66px; right: 16px; width: 42px; height: 42px; }
}

/* ios */
@media (max-width: 340px) {
    .hero-title { font-size: 33px; }
    .section-title, .services-head .section-title { font-size: 28px; }
    .btn-gold { gap: 14px; padding: 18px 16px; }
    .hero-meta span:first-child, .hero-meta-line { display: none; }
    .hero-meta { justify-content: center; }
    .about-collage { height: 340px; }
    .mobile-callbar a { font-size: 11px; letter-spacing: .06em; }
}

/* windows */
@media (min-width: 451px) and (max-width: 767px) {
    .hero-title { font-size: 46px; }
    .about-collage { height: 420px; }
    .about-collage .collage-main { height: 330px; }
    .about-collage .collage-inset { height: 160px; }
    .collage-stat { top: 300px; }
    .collage-line { top: 382px; }
}

/*tab portrait view*/
@media (min-width: 768px) and (max-width: 991px) {
    body { padding-bottom: 52px; }
    .section-pad { padding: 92px 0; }
    .header-wrap, .wide-wrap { padding-left: 24px; padding-right: 24px; }
    .section-title, .services-head .section-title { font-size: 38px; }
    .site-header .navbar-collapse { padding: 16px 0 10px; }
    .site-header .nav-link { font-size: 13px; padding: 12px 0 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
    .site-header .nav-link::after { display: none; }
    .site-header .dropdown-menu { background: transparent; box-shadow: none; border: 0; padding: 0 0 6px 30px; margin: 0; }
    .site-header .dropdown-item { color: #c9ccd0; padding: 9px 0; }
    .site-header .dropdown-item:hover { background: transparent; color: var(--gg-gold); }
    .header-phone { margin-top: 18px; }
    .hero-section { padding: 0 24px; }
    .hero-title { font-size: 54px; }
    .about-collage { margin: 0 auto; height: 470px; }
    .about-content { max-width: 100%; }
    .service-img img { height: 230px; }
    .service-body { margin: -36px 10px 0; padding: 20px 8px 0; }
    .service-body h3, .advice-card h3 { font-size: 23px; }
    .service-body p, .advice-card p:not(.advice-cat) { font-size: 14px; }
    .advice-img img { height: 200px; }
    .horse-section { padding: 92px 0; }
    .horse-bg::after { background: rgba(7,16,23,.88); }
    .horse-content .section-title { font-size: 40px; }
    .horse-figure { max-width: 560px; }
    .promise-section { padding-top: 92px; }
    .planning-section { padding-bottom: 92px; }
    .planning-img { min-height: 300px; }
    .planning-content { padding: 54px 44px; }
    .contact-item { flex-direction: column; gap: 12px; }
    .contact-item h3 { font-size: 19px; }
    .contact-item a { font-size: 13px; }
	.site-header .dropdown-toggle::before {right: -20px;}
}

/*tab landscape*/
@media (min-width: 992px) and (max-width: 1199px) {
    .header-wrap { padding-left: 24px; padding-right: 24px; }
    .site-header .navbar-brand img { width: 170px; }
    .site-header .nav-link { padding: 10px 8px !important; font-size: 10.5px; letter-spacing: .1em; }
    .site-header .nav-link::after { left: 8px; right: 8px; }
    .site-header .dropdown-toggle { padding-right: 20px !important; }
    .header-phone-icon { display: none; }
    .header-phone-text { font-size: 15px; }
    .hero-title { font-size: 60px; }
    .about-collage { height: 580px; }
    .section-title { font-size: 40px; }
    .services-head .section-title { font-size: 34px; }
    .service-body h3 { font-size: 24px; }
    .advice-card h3 { font-size: 25px; }
    .promise-box .section-title { font-size: 36px; }
    .price-card { padding-left: 22px; padding-right: 22px; }
    .planning-content { padding: 56px 44px; }
    .planning-list { grid-template-columns: 1fr; }
    .feature { padding: 38px 30px 34px; }
    .horse-content .section-title { font-size: 42px; }
	.site-header .dropdown-toggle::before {right: -20px;}
}

/* 1280 resolution */
@media (min-width: 1280px) and (max-width: 1365px) {
    .hero-title { font-size: 68px; }
}

/* large screen */
@media (min-width: 1400px) {
    .container { max-width: 1180px; }
}

@media (min-width: 1440px) and (max-width: 1599px) {
    .hero-frame { min-height: 660px; }
}

/*Large View*/
@media (min-width: 1600px) {
    .wide-wrap { max-width: 1520px; }
    .hero-frame { min-height: 700px; }
    .hero-title { font-size: 78px; }
    .promise-img, .promise-box { min-height: 500px; }
}

@media (min-width: 1920px) {
    .wide-wrap { max-width: 1680px; }
    .hero-frame { min-height: 780px; }
    .hero-title { font-size: 86px; }
    .container { max-width: 1260px; }
}

/* ie */
@media all and (-ms-high-contrast:none) {
    .hero-bg, .cta-section::before, .hero-bg::after, .promise-box::before { top: 0; right: 0; bottom: 0; left: 0; }
    .hero-anim { opacity: 1; transform: none; }
    .obit-img img { height: 300px; }
    .planning-list { display: block; }
}

/* FireFox */
@-moz-document url-prefix() {
    .eyebrow { letter-spacing: .28em; }
}

/* JP Web Solutions credit (CMS footer) */
.jp-credit img {
    height: 34px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}


/* ==========================================================================
   INNER PAGES (CMS content pages)
   ========================================================================== */

/* ---------- Page banner (carousel component on non-home pages) ---------- */
.page-hero .hero-frame { min-height: 470px; padding: 110px 0 120px; }
.page-hero .hero-title { font-size: 62px; margin-bottom: 20px; }
.page-hero .hero-text { font-size: 16.5px; margin-bottom: 0; }
.page-hero .hero-frame .eyebrow { margin-bottom: 22px; }
.page-crumbs { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 34px; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #cfd2d5; }
.page-crumbs a { color: var(--gg-gold-light); }
.page-crumbs a:hover { color: #fff; }
.page-crumbs .crumb-sep { width: 18px; height: 1px; background: rgba(255,255,255,.35); }

/* ---------- Shared layout ---------- */
.inner-section { padding: 115px 0; }
.inner-section.pt-0 { padding-top: 0; }
.cream-section { background: var(--gg-cream); position: relative; }
.lead-text { font-size: 18px; line-height: 1.75; color: var(--gg-heading); }
.inner-copy { max-width: 560px; }
.inner-copy > p { font-size: 15.5px; }
.inner-copy .section-title { font-size: 44px; }
.inner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 34px; }
.text-gold { color: var(--gg-gold); }

/* Framed photo */
.inner-figure { position: relative; margin: 0; padding: 0 26px 26px 0; }
.inner-figure::before { content: ""; position: absolute; right: 0; bottom: 0; width: 80%; height: 80%; border: 1px solid var(--gg-gold); opacity: .55; transition: transform .8s var(--gg-ease); }
.inner-figure:hover::before { transform: translate(8px, 8px); }
.inner-figure img { position: relative; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; box-shadow: 0 30px 60px rgba(7, 16, 23, .16); }
.inner-figure.is-wide img { aspect-ratio: 4 / 3; }
.inner-figure figcaption { position: absolute; left: -14px; bottom: 60px; background: var(--gg-gold); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 12px 18px; box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* Gold tick list */
.gold-list { list-style: none; padding: 0; margin: 0 0 24px; }
.gold-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; color: var(--gg-heading); line-height: 1.6; }
.gold-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--gg-gold-soft); }
.gold-list li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 9px; border: solid var(--gg-gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.gold-list.is-compact li { font-size: 14.5px; margin-bottom: 9px; }

/* Info cards */
.info-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--gg-line); padding: 42px 36px 38px; transition: transform .5s var(--gg-ease), box-shadow .5s var(--gg-ease), border-color .5s ease; }
.info-card::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gg-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--gg-ease); }
.info-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px rgba(7, 16, 23, .09); border-color: transparent; }
.info-card:hover::after { transform: scaleX(1); }
.info-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--gg-gold-soft); color: var(--gg-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 22px; }
.info-card h3 { font-size: 26px; line-height: 1.2; margin-bottom: 14px; }
.info-card p, .info-card address { font-size: 14.5px; font-style: normal; margin-bottom: 14px; }
.info-card .info-tel { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--gg-heading); font-size: 15px; }
.info-card .info-tel i { color: var(--gg-gold); }
.info-card .info-tel:hover { color: var(--gg-gold-dark); }
.info-card > :last-child { margin-bottom: 0; }

/* Numbered guide blocks */
.guide-block { display: flex; gap: 40px; padding: 48px 0; border-top: 1px solid var(--gg-line); }
.guide-block:last-child { border-bottom: 1px solid var(--gg-line); }
.guide-num { flex: 0 0 90px; font-family: var(--gg-serif); font-size: 64px; line-height: .9; color: var(--gg-gold); }
.guide-body h3 { font-size: 34px; margin-bottom: 16px; }
.guide-body p { font-size: 15.5px; }
.guide-body p:last-child { margin-bottom: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--gg-cream); border: 1px solid var(--gg-line); padding: 8px 14px; font-size: 13px; color: var(--gg-heading); }
.chip i { color: var(--gg-gold); }

/* Step timeline */
.step-list { list-style: none; padding: 0; margin: 0; counter-reset: gg-step; }
.step-list li { position: relative; counter-increment: gg-step; padding: 0 0 34px 78px; }
.step-list li::before { content: counter(gg-step, decimal-leading-zero); position: absolute; left: 0; top: -4px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gg-gold); color: var(--gg-gold); font-family: var(--gg-serif); font-size: 20px; display: flex; align-items: center; justify-content: center; background: #fff; }
.step-list li::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 6px; width: 1px; background: var(--gg-line); }
.step-list li:last-child { padding-bottom: 0; }
.step-list li:last-child::after { display: none; }
.step-list h3 { font-size: 24px; margin-bottom: 6px; }
.step-list p { font-size: 14.5px; margin: 0; }
.dark-section .step-list li::before { background: var(--gg-navy); }
.dark-section .step-list li::after { background: rgba(255,255,255,.12); }
.dark-section .step-list p { color: var(--gg-light-text); }

/* Certificates */
.cert-card { display: flex; gap: 22px; align-items: flex-start; height: 100%; background: #fff; border: 1px solid var(--gg-line); padding: 34px 32px; }
.cert-swatch { flex: 0 0 64px; height: 82px; border: 1px solid var(--gg-line); position: relative; box-shadow: 0 10px 24px rgba(7,16,23,.08); }
.cert-swatch::before, .cert-swatch::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: rgba(7,16,23,.18); }
.cert-swatch::before { top: 22px; }
.cert-swatch::after { top: 32px; right: 24px; }
.cert-green { background: #dfeedd; }
.cert-white { background: #fff; }
.cert-card h3 { font-size: 24px; margin-bottom: 8px; }
.cert-card p { font-size: 14.5px; margin: 0; }

/* Notices */
.notice-box { background: var(--gg-cream); border-left: 2px solid var(--gg-gold); padding: 24px 28px; font-size: 13px; line-height: 1.75; color: var(--gg-text); }
.notice-box p:last-child { margin-bottom: 0; }
.notice-box a { color: var(--gg-gold-dark); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--gg-line); }
.faq-item { border-bottom: 1px solid var(--gg-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--gg-serif); font-size: 23px; line-height: 1.3; color: var(--gg-heading); transition: color .3s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gg-line); background: linear-gradient(var(--gg-gold), var(--gg-gold)) center / 12px 1.5px no-repeat, linear-gradient(var(--gg-gold), var(--gg-gold)) center / 1.5px 12px no-repeat; transition: transform .4s var(--gg-ease), background-color .3s ease, border-color .3s ease; }
.faq-item summary:hover { color: var(--gg-gold-dark); }
.faq-item[open] summary::after { transform: rotate(45deg); background: linear-gradient(#fff, #fff) center / 12px 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 12px no-repeat, var(--gg-gold); border-color: var(--gg-gold); }
.faq-answer { padding: 0 60px 26px 0; }
.faq-answer p { font-size: 15px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Resource links */
.resource-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.resource-link { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--gg-line); background: #fff; padding: 12px 18px; font-size: 13px; font-weight: 700; color: var(--gg-heading); }
.resource-link i { color: var(--gg-gold); font-size: 16px; }
.resource-link:hover { border-color: var(--gg-gold); color: var(--gg-gold-dark); }

/* Standardised price list */
.spl-frame { position: relative; display: block; max-width: 760px; margin: 0 auto; padding: 18px; background: #fff; border: 1px solid var(--gg-line); box-shadow: 0 30px 70px rgba(7,16,23,.12); }
.spl-frame img { width: 100%; height: auto; }
.spl-zoom { position: absolute; top: 34px; right: 34px; display: inline-flex; align-items: center; gap: 10px; background: var(--gg-navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 12px 16px; opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .35s var(--gg-ease); }
.spl-frame:hover .spl-zoom, .spl-frame:focus-visible .spl-zoom { opacity: 1; transform: none; color: #fff; }

/* Long-form text (privacy etc.) */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 32px; margin: 56px 0 18px; padding-top: 30px; border-top: 1px solid var(--gg-line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p, .prose li { font-size: 15.5px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 22px; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border: 1px solid var(--gg-gold); transform: rotate(45deg); }
.prose a { color: var(--gg-gold-dark); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { color: var(--gg-heading); }
.prose-dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 26px; margin: 0 0 24px; padding: 26px 30px; background: var(--gg-cream); font-size: 15px; }
.prose-dl dt { font-weight: 700; color: var(--gg-heading); }
.prose-dl dd { margin: 0; }

/* Area (SEO) pages */
.area-columns p { font-size: 15.5px; }
.area-quote { font-family: var(--gg-italic); font-style: italic; font-size: 26px; line-height: 1.45; color: var(--gg-heading); border-left: 2px solid var(--gg-gold); padding-left: 26px; margin: 10px 0 30px; }

/* ---------- Contact page ---------- */
.contact-panel { position: relative; height: 100%; background: var(--gg-navy); color: var(--gg-light-text); padding: 56px 48px; overflow: hidden; }
.contact-panel::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(220,197,131,.18); pointer-events: none; }
.contact-panel .section-title { color: #fff; font-size: 40px; }
.contact-panel > p { font-size: 15px; }
.contact-lines { list-style: none; padding: 0; margin: 34px 0 0; position: relative; }
.contact-lines li { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-lines .contact-icon { flex: 0 0 46px; width: 46px; height: 46px; }
.contact-lines small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gg-gold-light); margin-bottom: 4px; }
.contact-lines a, .contact-lines span, .contact-lines address { display: block; color: #fff; font-size: 16px; line-height: 1.6; font-style: normal; margin: 0; overflow-wrap: break-word; }
.contact-lines a:hover { color: var(--gg-gold-light); }

.contact-form-card { height: 100%; background: #fff; border: 1px solid var(--gg-line); padding: 56px 48px; box-shadow: 0 30px 60px rgba(7,16,23,.08); }
.contact-form-card .section-title { font-size: 40px; }
.contact-form-card .card { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: transparent; }
.contact-form-card .card > h3 { display: none; }
.contact-form-card label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gg-heading); margin-bottom: 8px; }
.contact-form-card label b { font-weight: 700; }
.contact-form-card label .text-danger { color: var(--gg-gold) !important; }
.contact-form-card .form-control { border: 1px solid var(--gg-line); border-radius: 0; padding: 14px 16px; font-size: 15px; color: var(--gg-heading); background: #fcfbf8; transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.contact-form-card .form-control:focus { border-color: var(--gg-gold); background: #fff; box-shadow: 0 0 0 3px var(--gg-gold-soft); }
.contact-form-card textarea.form-control { min-height: 150px; }
.contact-form-card .btn.btn-primary { background: var(--gg-gold); border: 0; border-radius: 0; padding: 20px 30px !important; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; transition: background-color .3s ease; }
.contact-form-card .btn.btn-primary:hover { background: var(--gg-gold-dark); }
.contact-form-card .btn.btn-primary:disabled { background: #cbbf98; opacity: 1; cursor: not-allowed; }
.contact-form-card .form-note { font-size: 12.5px; color: #8a8f94; margin: 20px 0 0; }
.contact-form-card .form-note a { color: var(--gg-gold-dark); text-decoration: underline; }

/* ==========================================================================
   INNER PAGES - standard breakpoint blocks
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
    .page-hero .hero-frame { padding: 70px 0 80px; }
    .page-hero .hero-title { font-size: 38px; }
    .page-hero .hero-text { font-size: 15px; }
    .page-crumbs { margin-top: 24px; font-size: 9.5px; letter-spacing: .16em; }
    .inner-section { padding: 72px 0; }
    .lead-text { font-size: 16.5px; }
    .inner-copy, .inner-copy .section-title { max-width: 100%; }
    .inner-copy .section-title { font-size: 32px; }
    .inner-figure { padding: 0 14px 14px 0; margin-top: 10px; }
    .inner-figure figcaption { left: 0; bottom: 34px; font-size: 10px; padding: 10px 14px; }
    .info-card { padding: 32px 24px 30px; }
    .info-card h3 { font-size: 24px; }
    .guide-block { flex-direction: column; gap: 14px; padding: 36px 0; }
    .guide-num { flex: 0 0 auto; font-size: 48px; }
    .guide-body h3 { font-size: 27px; }
    .step-list li { padding-left: 66px; }
    .step-list h3 { font-size: 21px; }
    .cert-card { padding: 26px 22px; gap: 18px; }
    .cert-swatch { flex-basis: 50px; height: 66px; }
    .faq-item summary { font-size: 19px; padding: 20px 0; gap: 16px; }
    .faq-item summary::after { flex-basis: 34px; width: 34px; height: 34px; }
    .faq-answer { padding-right: 0; }
    .spl-frame { padding: 10px; }
    .spl-zoom { opacity: 1; transform: none; top: 20px; right: 20px; padding: 10px 12px; font-size: 10px; }
    .prose h2 { font-size: 26px; margin-top: 40px; padding-top: 24px; }
    .prose-dl { grid-template-columns: 1fr; gap: 2px; padding: 22px 20px; }
    .prose-dl dd { margin-bottom: 10px; }
    .area-quote { font-size: 21px; padding-left: 18px; }
    .contact-panel, .contact-form-card { padding: 42px 24px; }
    .contact-panel .section-title, .contact-form-card .section-title { font-size: 31px; }
    .contact-form-card .g-recaptcha { transform: scale(.9); transform-origin: left top; }
    main .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* ios */
@media (max-width: 340px) {
    .page-hero .hero-title { font-size: 32px; }
    .contact-form-card .g-recaptcha { transform: scale(.8); }
    .resource-link { width: 100%; }
}

/* windows */
@media (min-width: 451px) and (max-width: 767px) {
    .page-hero .hero-title { font-size: 44px; }
    .inner-figure { max-width: 460px; }
}

/*tab portrait view*/
@media (min-width: 768px) and (max-width: 991px) {
    .page-hero .hero-frame { min-height: 400px; padding: 90px 0 100px; }
    .page-hero .hero-title { font-size: 48px; }
    .inner-section { padding: 90px 0; }
    .inner-copy { max-width: 100%; }
    .inner-copy .section-title { font-size: 38px; }
    .inner-figure { max-width: 560px; margin-top: 20px; }
    .inner-figure img { aspect-ratio: 4 / 3; }
    .guide-num { flex-basis: 70px; font-size: 54px; }
    .guide-body h3 { font-size: 30px; }
    .info-card { padding: 36px 28px; }
    .contact-panel, .contact-form-card { padding: 48px 36px; }
}

/*tab landscape*/
@media (min-width: 992px) and (max-width: 1199px) {
    .page-hero .hero-title { font-size: 54px; }
    .inner-copy .section-title { font-size: 38px; }
    .info-card { padding: 36px 28px; }
    .info-card h3 { font-size: 24px; }
    .contact-panel, .contact-form-card { padding: 48px 34px; }
    .contact-panel .section-title, .contact-form-card .section-title { font-size: 34px; }
    .contact-form-card .g-recaptcha { transform: scale(.92); transform-origin: left top; }
}

/* 1280 resolution */
@media (min-width: 1280px) and (max-width: 1365px) {
    .page-hero .hero-title { font-size: 60px; }
}

/* large screen */
@media (min-width: 1400px) {
    .inner-copy { max-width: 580px; }
}

@media (min-width: 1440px) and (max-width: 1599px) {
    .page-hero .hero-frame { min-height: 490px; }
}

/*Large View*/
@media (min-width: 1600px) {
    .page-hero .hero-frame { min-height: 520px; }
    .page-hero .hero-title { font-size: 66px; }
}

@media (min-width: 1920px) {
    .page-hero .hero-frame { min-height: 560px; }
    .page-hero .hero-title { font-size: 70px; }
}

/* ie */
@media all and (-ms-high-contrast:none) {
    .inner-figure img { height: 520px; }
    .prose-dl { display: block; }
    .faq-item summary::after { display: none; }
}

/* FireFox */
@-moz-document url-prefix() {
    .page-crumbs { letter-spacing: .2em; }
}
/* Footer credit centred */ .site-footer .footer-bottom { display: flex; justify-content: center; text-align: center; } .site-footer .footer-bottom p { text-align: center; width: 100%; }

/* ==========================================================================
   FIXES AFTER FULL-SITE TEST
   ========================================================================== */

/* Navigation: the CMS navigation.css makes each dropdown <li> a flex box, which pulls the
   submenu up over its parent link (desktop) or beside it (collapsed tablet menu) */
.site-header .navbar-nav li.dropdown { display: block; }
.site-header .navbar-nav .dropdown-submenu { position: relative; }

/* Contact page: keep the icon circles centred (".contact-lines span" also matched them) */
.contact-lines .contact-icon { display: inline-flex; align-items: center; justify-content: center; }

/* "Call 01623 720101" buttons: the number is its own element, so drop the flex gap between
   "Call" and the number and keep the gap before the arrow only */
a[data-site="tel"].btn-gold, a[data-site="tel"].btn-outline-light, a[data-site="tel"].link-gold { gap: 0; }
a[data-site="tel"].btn-gold > i, a[data-site="tel"].btn-outline-light > i { margin-left: 26px; }
a[data-site="tel"].link-gold > i { margin-left: 14px; }
a[data-site="tel"].btn-gold > [data-site="phone"], a[data-site="tel"].btn-outline-light > [data-site="phone"], a[data-site="tel"].link-gold > [data-site="phone"] { margin-left: .4em; }

/* Footer bottom line: keep the JP Web Solutions logo on the text line without overlapping */
.footer-bottom p { line-height: 2.2; }
.footer-bottom .jp-credit { display: inline-flex; align-items: center; vertical-align: middle; line-height: 1; }
.footer-bottom .jp-credit img { margin-left: 6px; }
.footer-bottom a { white-space: nowrap; }
/* Space between the footer columns and the bottom line (when the areas line is not shown) */
.footer-top + .footer-bottom { margin-top: 56px; }

/* ==========================================================================
   FIXES - standard breakpoint blocks
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
    .footer-bottom p { line-height: 2; }
    .footer-bottom .jp-credit { margin-top: 4px; }
    .footer-top + .footer-bottom { margin-top: 40px; }
}

/* ios */
@media (max-width: 340px) {
    a[data-site="tel"].btn-gold > i { margin-left: 14px; }
}

/* windows */
@media (min-width: 451px) and (max-width: 767px) {
}

/*tab portrait view*/
@media (min-width: 768px) and (max-width: 991px) {
    .scroll-top { bottom: 66px; }
    .site-header .navbar-nav .dropdown-toggle::before { right: 4px; }
}

/*tab landscape*/
@media (min-width: 992px) and (max-width: 1199px) {
    .cert-card { flex-direction: column; gap: 16px; }
    .contact-lines a, .contact-lines span, .contact-lines address { font-size: 14.5px; }
    .site-header .navbar-nav .dropdown-toggle::before { right: 6px; }
}

/* Desktop dropdowns (992px and up): open below the parent link with a soft fade */
@media (min-width: 992px) {
    .site-header .navbar-nav > .dropdown > .dropdown-menu { display: block; top: 100%; left: 0; margin-top: 6px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .3s var(--gg-ease), visibility .25s; }
    .site-header .navbar-nav > .dropdown > .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
    .site-header .navbar-nav > .dropdown.show > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
    .site-header .navbar-nav .dropdown-submenu > .dropdown-menu { top: -12px; left: 100%; margin: 0 0 0 2px; }
}

/* 1280 resolution */
@media (min-width: 1280px) and (max-width: 1365px) {
}

/* large screen */
@media (min-width: 1400px) {
}

@media (min-width: 1440px) and (max-width: 1599px) {
}

/*Large View*/
@media (min-width: 1600px) {
}

@media (min-width: 1920px) {
}

/* ie */
@media all and (-ms-high-contrast:none) {
    .site-header .navbar-nav > .dropdown > .dropdown-menu { transition: none; }
}

/* FireFox */
@-moz-document url-prefix() {
}

/* ==========================================================================
   PAGESPEED FIXES (performance, accessibility, SEO)
   ========================================================================== */

/* Icons used on the site, served locally (the full icon set loads in the background) */
/* Icon font cut down to the icons this site uses (unicode-range); any other icon falls back to the full font */
@font-face{font-display:swap;font-family:"bootstrap-icons";src:url("../vendor/bootstrap-icons/fonts/bootstrap-icons-subset.woff2?v=1") format("woff2"),url("../vendor/bootstrap-icons/fonts/bootstrap-icons-subset.woff?v=1") format("woff");unicode-range:U+F128, U+F144, U+F148, U+F14D, U+F154, U+F1CE, U+F1DD, U+F272, U+F293, U+F308, U+F32F, U+F38B, U+F3CD, U+F3D8, U+F3E8, U+F3EF, U+F417, U+F43E, U+F443, U+F4D0, U+F4DB, U+F52F, U+F549, U+F589, U+F5B4, U+F5C1, U+F615, U+F63E, U+F710, U+F774, U+F776}
.bi::before,[class*=" bi-"]::before,[class^=bi-]::before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.bi-arrow-down::before{content:"\f128"}
.bi-arrow-up::before{content:"\f148"}
.bi-arrow-up-right::before{content:"\f144"}
.bi-arrows-fullscreen::before{content:"\f14d"}
.bi-award::before{content:"\f154"}
.bi-brightness-alt-high::before{content:"\f1ce"}
.bi-building::before{content:"\f1dd"}
.bi-calendar-heart::before{content:"\f710"}
.bi-check2::before{content:"\f272"}
.bi-clock::before{content:"\f293"}
.bi-door-open::before{content:"\f308"}
.bi-envelope::before{content:"\f32f"}
.bi-file-earmark-pdf::before{content:"\f63e"}
.bi-file-earmark-text::before{content:"\f38b"}
.bi-flower1::before{content:"\f3cd"}
.bi-folder2-open::before{content:"\f3d8"}
.bi-geo-alt::before{content:"\f3e8"}
.bi-globe2::before{content:"\f3ef"}
.bi-heart::before{content:"\f417"}
.bi-hospital::before{content:"\f774"}
.bi-house-heart::before{content:"\f776"}
.bi-journal-check::before{content:"\f43e"}
.bi-journal-richtext::before{content:"\f443"}
.bi-people::before{content:"\f4d0"}
.bi-person-lines-fill::before{content:"\f4db"}
.bi-shield-check::before{content:"\f52f"}
.bi-signpost-split::before{content:"\f549"}
.bi-stars::before{content:"\f589"}
.bi-telephone::before{content:"\f5c1"}
.bi-telephone-fill::before{content:"\f5b4"}
.bi-wallet2::before{content:"\f615"}

/* Hero / page banner: the photo is now a real <img> (found and prioritised by the browser early) */
.hero-section .hero-bg { background-image: none; }
.hero-bg picture, .hero-bg .hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.hero-bg .hero-bg-img { object-fit: cover; object-position: center 30%; }

/* Readable gold text on light backgrounds (WCAG AA 4.5:1); gold stays as it was on the dark sections */
:root { --gg-gold-ink: #8a6d16; --gg-gold-ink-dark: #6f5711; --gg-gold-ink-large: #ad891b; }
:where(.eyebrow, .link-gold, .text-gold, .advice-cat) { color: var(--gg-gold-ink); }
.eyebrow, .link-gold, .text-gold, .advice-cat { color: var(--gg-gold-ink); }
.link-gold:hover { color: var(--gg-gold-ink-dark); }
.fees-strip strong { color: var(--gg-gold-ink); }
.stat-num, .highlight-title, .price, .guide-num { color: var(--gg-gold-ink-large); }
:where(.dark-section, .horse-section, .cta-section, .hero-frame, .promise-box, .price-card-featured, .contact-panel, .site-footer, .contact-strip, .site-header) :is(.eyebrow, .link-gold, .text-gold, .advice-cat, .price, .stat-num, .highlight-title, .guide-num) { color: var(--gg-gold); }
:where(.dark-section, .horse-section, .cta-section, .hero-frame, .promise-box, .price-card-featured, .contact-panel, .site-footer) .link-gold:hover { color: var(--gg-gold-light); }
.eyebrow.eyebrow-light { color: #c9ccd0; }
/* White labels on gold: deeper gold so the small text passes */
.inner-figure figcaption, .horse-figure figcaption, .map-label { background: var(--gg-gold-ink); }
.map-label:hover { background: var(--gg-gold-ink-dark); }

/* ==========================================================================
   PAGESPEED FIXES - standard breakpoint blocks
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
    .hero-bg .hero-bg-img { object-position: 60% 30%; }
}

/* ios */
@media (max-width: 340px) {
}

/* windows */
@media (min-width: 451px) and (max-width: 767px) {
}

/*tab portrait view*/
@media (min-width: 768px) and (max-width: 991px) {
}

/*tab landscape*/
@media (min-width: 992px) and (max-width: 1199px) {
}

/* 1280 resolution */
@media (min-width: 1280px) and (max-width: 1365px) {
}

/* large screen */
@media (min-width: 1400px) {
}

@media (min-width: 1440px) and (max-width: 1599px) {
}

/*Large View*/
@media (min-width: 1600px) {
}

@media (min-width: 1920px) {
}

/* ie */
@media all and (-ms-high-contrast:none) {
    .hero-bg .hero-bg-img { height: auto; min-height: 100%; }
}

/* FireFox */
@-moz-document url-prefix() {
}


/* ==========================================================================
   PAGESPEED - FONT FALLBACKS (no layout jump while the Google fonts load)
   Fallback fonts sized to match Libre Caslon Display and DM Sans
   ========================================================================== */
@font-face { font-family: "Caslon Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("Tinos"); size-adjust: 91.2%; ascent-override: 106.4%; descent-override: 29.6%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"); size-adjust: 94%; ascent-override: 105.3%; descent-override: 33%; line-gap-override: 0%; }
:root { --gg-serif: "Libre Caslon Display", "Caslon Fallback", "Times New Roman", serif; --gg-sans: "DM Sans", "DM Sans Fallback", Arial, Helvetica, sans-serif; }
/* Section background photos load when they come near the screen (class added in custom.js) */
html.gg-lazybg :is(.horse-bg, .promise-img-left, .promise-img-right, .planning-img, .cta-bg, .map-wrap):not(.gg-bg-in) { background-image: none !important; }

/* Mobile */
@media (max-width: 767px) {
    .hero-actions { flex-direction: column; align-items: center; }
    /* gg-kenburns-off: no slow hero zoom on phones (keeps the first screen settled for PageSpeed) */
    .hero-bg { animation: none; transform: none; }
}

/* ios */
@media (max-width: 340px) {
}

/* windows */
@media (min-width: 451px) and (max-width: 767px) {
    .hero-actions { flex-direction: row; }
}

/*tab portrait view*/
@media (min-width: 768px) and (max-width: 991px) {
}

/*tab landscape*/
@media (min-width: 992px) and (max-width: 1199px) {
}

/* 1280 resolution */
@media (min-width: 1280px) and (max-width: 1365px) {
}

/* large screen */
@media (min-width: 1400px) {
}

@media (min-width: 1440px) and (max-width: 1599px) {
}

/*Large View*/
@media (min-width: 1600px) {
}

@media (min-width: 1920px) {
}

/* ie */
@media all and (-ms-high-contrast:none) {
}

/* FireFox */
@-moz-document url-prefix() {
}


/* ==========================================================================
   SIMPLE CREMATION (home page)
   ========================================================================== */
.simple-cremation-section { background: var(--gg-cream); }
.simple-cremation-section .section-title { margin-bottom: 22px; }
.sc-copy p { color: var(--gg-text); }
.sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 30px; }
.sc-card { position: relative; background: var(--gg-navy); border-top: 3px solid var(--gg-gold); padding: 46px 44px 40px; }
.sc-card h3 { color: #fff; font-size: 30px; margin-bottom: 20px; }
.sc-list { list-style: none; padding: 0; margin: 0 0 26px; }
.sc-list li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #e9ebed; font-size: 16px; line-height: 1.5; }
.sc-list li:last-child { border-bottom: 0; }
.sc-list .bi { color: var(--gg-gold); font-size: 18px; line-height: 1.35; flex-shrink: 0; }
.sc-note { margin: 0; color: var(--gg-light-text); font-family: var(--gg-italic); font-style: italic; font-size: 15.5px; line-height: 1.6; }

/* Mobile */
@media (max-width: 767px) {
    .sc-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
    .sc-card { padding: 34px 24px 30px; }
    .sc-card h3 { font-size: 26px; }
    .sc-list li { font-size: 15px; }
}

/* ios */
@media (max-width: 340px) {
    .sc-card { padding: 30px 18px 26px; }
}

/* windows */
@media (min-width: 451px) and (max-width: 767px) {
    .sc-actions { flex-direction: row; align-items: center; }
}

/*tab portrait view*/
@media (min-width: 768px) and (max-width: 991px) {
}

/*tab landscape*/
@media (min-width: 992px) and (max-width: 1199px) {
    .sc-card { padding: 40px 32px 34px; }
}

/* 1280 resolution */
@media (min-width: 1280px) and (max-width: 1365px) {
}

/* large screen */
@media (min-width: 1400px) {
}

@media (min-width: 1440px) and (max-width: 1599px) {
}

/*Large View*/
@media (min-width: 1600px) {
}

@media (min-width: 1920px) {
}

/* ie */
@media all and (-ms-high-contrast:none) {
}

/* FireFox */
@-moz-document url-prefix() {
}


/* ==========================================================================
   PROMISE VIDEO (home page) - muted looping clip in place of the right-hand photo
   ========================================================================== */
.promise-video { position: relative; height: 100%; min-height: 470px; overflow: hidden; background: var(--gg-navy); }
.promise-video video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }

/* Mobile */
@media (max-width: 767px) {
    .promise-video { min-height: 0; height: 420px; }
}

/* ios */
@media (max-width: 340px) {
    .promise-video { height: 360px; }
}

/* windows */
@media (min-width: 451px) and (max-width: 767px) {
    .promise-video { height: 460px; }
}

/*tab portrait view*/
@media (min-width: 768px) and (max-width: 991px) {
    .promise-video { min-height: 0; height: 480px; }
}

/*tab landscape*/
@media (min-width: 992px) and (max-width: 1199px) {
}

/* 1280 resolution */
@media (min-width: 1280px) and (max-width: 1365px) {
}

/* large screen */
@media (min-width: 1400px) {
}

@media (min-width: 1440px) and (max-width: 1599px) {
}

/*Large View*/
@media (min-width: 1600px) {
}

@media (min-width: 1920px) {
}

/* ie */
@media all and (-ms-high-contrast:none) {
    .promise-video video { height: auto; min-height: 100%; }
}

/* FireFox */
@-moz-document url-prefix() {
}
