/* =========================================================
   Finance Saving Goals — stylesheet
   Alaskan palette: fjord navy, salmon coral, glacier ice, birch cream
   ========================================================= */
:root {
  --sg-navy: #12324a;
  --sg-navy-2: #1b4462;
  --sg-navy-3: #0b2335;
  --sg-coral: #f07a5a;
  --sg-coral-d: #d95f3f;
  --sg-ice: #e8f3f7;
  --sg-ice-2: #8fc8de;
  --sg-cream: #faf7f2;
  --sg-text: #4c5a66;
  --sg-line: #dde8ed;
  --sg-head: "Young Serif", Georgia, "Times New Roman", serif;
  --sg-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sg-body); color: var(--sg-text); background: var(--sg-cream); font-size: 1.05rem; line-height: 1.72; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--sg-head); color: var(--sg-navy); font-weight: 400; line-height: 1.15; }
a { color: var(--sg-coral-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sg-navy); }
a[href^="tel:"] { white-space: nowrap; }
img { max-width: 100%; }
::selection { background: var(--sg-coral); color: #fff; }
:focus-visible { outline: 3px solid var(--sg-coral); outline-offset: 2px; }

/* ---------- Photo frames ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--sg-navy-3), var(--sg-navy-2) 55%, var(--sg-ice-2)); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
img.img-missing { opacity: 0; }
.ph:has(img.img-missing)::after { content: "\F42A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: rgba(255,255,255,.55); }

/* ---------- Peaks (mountain silhouettes) ---------- */
.peaks { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; display: block; pointer-events: none; }
.peaks .p1 { fill: var(--sg-ice-2); opacity: .35; }
.peaks .p2 { fill: var(--sg-cream); }

/* ---------- Generic ---------- */
.sec { padding: 100px 0; }
.sec-sm { padding: 70px 0; }
.bg-ice { background: var(--sg-ice); }
.trail { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--sg-coral-d); margin-bottom: 1rem; }
.trail::before { content: "\F3CB"; font-family: "bootstrap-icons"; font-size: .95rem; letter-spacing: 0; }
.title { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 1.1rem; }
.title em, h1 em, .news-card h2 em { font-style: normal; color: var(--sg-coral-d); }
.lead2 { font-size: 1.14rem; color: #5a6874; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .76rem 1.55rem; transition: all .25s; white-space: nowrap; }
.btn-lg { padding: .92rem 1.85rem; font-size: 1.04rem; }
.btn-coral { background: var(--sg-coral); color: #fff; border: 2px solid var(--sg-coral); }
.btn-coral:hover, .btn-coral:focus { background: var(--sg-coral-d); border-color: var(--sg-coral-d); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--sg-navy); color: #fff; border: 2px solid var(--sg-navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--sg-coral); border-color: var(--sg-coral); color: #fff; }
.btn-navy-o { background: transparent; color: var(--sg-navy); border: 2px solid var(--sg-navy); }
.btn-navy-o:hover, .btn-navy-o:focus { background: var(--sg-navy); color: #fff; }
.btn-ice-o { background: transparent; color: #fff; border: 2px solid rgba(232,243,247,.55); }
.btn-ice-o:hover, .btn-ice-o:focus { background: var(--sg-ice); color: var(--sg-navy); border-color: var(--sg-ice); }
@media (max-width: 575.98px) { .btn { white-space: normal; } }

/* ---------- Header ---------- */
.sg-head { position: sticky; top: 0; z-index: 1030; background: rgba(250,247,242,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sg-line); transition: box-shadow .3s; }
.sg-head.scrolled { box-shadow: 0 10px 30px rgba(18,50,74,.1); }
.sg-top { background: var(--sg-navy-3); color: rgba(255,255,255,.75); font-size: .86rem; padding: .45rem 0; }
.sg-top a { color: rgba(255,255,255,.85); }
.sg-top a:hover { color: var(--sg-coral); }
.sg-top i { color: var(--sg-coral); margin-right: .4rem; }
.sg-head .navbar { padding: .75rem 0; }
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 46px; width: auto; display: block; }
.sg-head .nav-link { font-weight: 700; color: var(--sg-navy); padding: .5rem .9rem !important; white-space: nowrap; border-radius: 999px; }
.sg-head .nav-link:hover { color: var(--sg-coral-d); }
.sg-head .nav-link.active { background: var(--sg-ice); color: var(--sg-navy); box-shadow: inset 0 -3px 0 var(--sg-coral); border-radius: 12px 12px 4px 4px; }
.navbar-toggler { border: 2px solid var(--sg-navy); border-radius: 12px; color: var(--sg-navy); font-size: 1.4rem; padding: .25rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(240,122,90,.4); }
@media (min-width: 992px) { .sg-head .navbar-toggler { display: none; } }
@media (max-width: 991.98px) { .sg-head .navbar-collapse { border-top: 1px solid var(--sg-line); margin-top: .8rem; padding: .7rem 0 1rem; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .sg-head .nav-link { padding: .5rem .55rem !important; } .sg-head .btn-coral { display: none; } .brand-logo img { height: 40px; } }
@media (max-width: 400px) { .brand-logo img { height: 36px; } }

/* ---------- Hero ---------- */
.sg-hero { position: relative; background: var(--sg-navy); background-image: radial-gradient(circle at 85% 15%, rgba(143,200,222,.22), transparent 45%), radial-gradient(circle at 10% 90%, rgba(240,122,90,.12), transparent 40%); color: rgba(255,255,255,.8); padding: 80px 0 170px; overflow: hidden; }
.sg-hero .trail { color: var(--sg-coral); }
.sg-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 1.3rem; }
.sg-hero h1 em { color: var(--sg-coral); }
.sg-hero .lead2 { color: rgba(255,255,255,.78); margin-bottom: 2rem; max-width: 560px; }
.hero-flags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.hero-flags li { display: flex; align-items: center; gap: .45rem; font-weight: 600; color: #fff; }
.hero-flags i { color: var(--sg-coral); }
.hero-art { position: relative; padding: 0 0 40px 70px; }
.hero-art .main { border-radius: 200px 200px 28px 28px; aspect-ratio: 86 / 90; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 6px solid rgba(255,255,255,.12); }
.hero-art .mini { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 42 / 32; border-radius: 20px; border: 6px solid var(--sg-navy); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.goal-board { position: absolute; right: -10px; top: 40px; width: 230px; background: #fff; border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: 0 22px 44px rgba(0,0,0,.3); color: var(--sg-navy); }
.goal-board b { display: flex; align-items: center; gap: .45rem; font-family: var(--sg-head); font-weight: 400; font-size: 1.1rem; margin-bottom: .6rem; }
.goal-board b i { color: var(--sg-coral); }
.goal-board .gl { font-size: .85rem; font-weight: 600; margin-bottom: .5rem; }
.goal-board .bar { display: block; height: 8px; border-radius: 999px; background: var(--sg-ice); margin-top: .25rem; overflow: hidden; }
.goal-board .bar em { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sg-ice-2), var(--sg-coral)); }
@media (max-width: 991.98px) { .hero-art { max-width: 560px; margin: 0 auto; } .goal-board { right: 0; } }
@media (max-width: 575.98px) { .sg-hero { padding: 56px 0 130px; } .hero-art { padding: 0 0 30px 26px; } .goal-board { width: 190px; top: 20px; padding: .9rem 1rem; } .hero-art .mini { width: 46%; } }

/* ---------- Goal tiles ---------- */
.goal-tile { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; background: #fff; border: 1px solid var(--sg-line); border-radius: 22px; padding: 1.6rem 1rem; color: var(--sg-text); transition: transform .25s, border-color .25s, box-shadow .25s; }
.goal-tile i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--sg-ice); color: var(--sg-navy); font-size: 1.5rem; margin-bottom: .8rem; transition: background .25s, color .25s; }
.goal-tile b { font-family: var(--sg-head); font-weight: 400; color: var(--sg-navy); font-size: 1.15rem; line-height: 1.2; margin-bottom: .3rem; }
.goal-tile span { font-size: .9rem; }
a.goal-tile:hover { transform: translateY(-6px); border-color: var(--sg-coral); box-shadow: 0 18px 36px rgba(18,50,74,.1); color: var(--sg-text); }
a.goal-tile:hover i { background: var(--sg-coral); color: #fff; }
.goal-tile.static { padding: 2rem 1.4rem; }

/* ---------- Service cards ---------- */
.svc-card { background: #fff; border-radius: 24px; overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: 0 14px 34px rgba(18,50,74,.07); transition: transform .3s, box-shadow .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(18,50,74,.14); }
.svc-img { position: relative; }
.svc-img .ph { aspect-ratio: 8 / 5.4; clip-path: polygon(0 0, 100% 0, 100% 86%, 78% 100%, 62% 90%, 44% 100%, 24% 88%, 0 100%); }
.svc-img .ph img { transition: transform .6s; }
.svc-card:hover .svc-img .ph img { transform: scale(1.06); }
.marker { position: absolute; left: 1.1rem; top: 1.1rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sg-coral); color: #fff; font-weight: 800; box-shadow: 0 0 0 5px rgba(255,255,255,.35); }
.svc-body { padding: 1.2rem 1.7rem 1.9rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.svc-body .ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--sg-ice); color: var(--sg-navy); font-size: 1.25rem; margin-bottom: .8rem; }
.svc-body h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.svc-body p { flex: 1; margin-bottom: 1.3rem; }
.svc-body .btn { white-space: normal; }

/* ---------- About ---------- */
.about-art { position: relative; padding: 0 70px 70px 0; }
.about-art .a { border-radius: 28px; aspect-ratio: 9 / 7; }
.about-art .b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 5 / 5.6; border-radius: 120px 120px 22px 22px; border: 8px solid var(--sg-cream); box-shadow: 0 20px 44px rgba(18,50,74,.2); }
.about-badge { position: absolute; left: 22px; bottom: 26px; display: inline-flex; align-items: center; gap: .5rem; background: var(--sg-navy); color: #fff; font-weight: 700; padding: .7rem 1.1rem; border-radius: 999px; box-shadow: 0 12px 26px rgba(18,50,74,.3); }
.about-badge i { color: var(--sg-coral); }
@media (max-width: 575.98px) { .about-art { padding: 0 30px 50px 0; } .about-badge { left: 10px; bottom: 12px; font-size: .88rem; } }
.flag-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.flag-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; font-weight: 600; color: var(--sg-navy); }
.flag-list li::before { content: "\F3CB"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; color: var(--sg-coral); font-size: 1.05rem; }

/* ---------- Time calculator ---------- */
.calc-sec { background: var(--sg-cream); }
.time-card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(18,50,74,.12); max-width: 1080px; margin: 0 auto; }
.time-in { padding: 2.4rem; height: 100%; }
.time-in .form-label { font-weight: 700; color: var(--sg-navy); }
.time-in .input-group-text { background: var(--sg-ice); color: var(--sg-navy); font-weight: 700; }
.time-fine { font-size: .85rem; color: #7d8a94; margin: 1.3rem 0 0; }
.time-out { background: var(--sg-navy); background-image: radial-gradient(circle at 90% 10%, rgba(143,200,222,.25), transparent 45%); color: rgba(255,255,255,.8); padding: 2.4rem; height: 100%; display: flex; flex-direction: column; }
.tt small { display: block; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--sg-ice-2); }
.tt b { display: block; font-family: var(--sg-head); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.4rem); color: #fff; line-height: 1.1; margin: .3rem 0 1.4rem; }
.trail-bar { position: relative; height: 12px; border-radius: 999px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 10px, transparent 10px 18px); margin-right: 18px; }
.trail-bar .fill { display: block; height: 100%; border-radius: 999px; background: var(--sg-coral); transition: width .5s; }
.trail-bar .flag { position: absolute; right: -20px; top: -22px; font-size: 1.5rem; color: var(--sg-coral); }
.trail-legend { display: flex; justify-content: space-between; font-size: .82rem; margin-top: .5rem; color: rgba(255,255,255,.65); }
.time-stats { margin-top: 1.3rem; }
.time-stats div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.time-stats b { color: #fff; }
.time-note { margin: 1.2rem 0 0; color: #fff; }
@media (max-width: 575.98px) { .time-in, .time-out { padding: 1.6rem 1.25rem; } }

/* ---------- Switchback process ---------- */
.proc-ph { border-radius: 24px; aspect-ratio: 8 / 5.6; margin-top: 1.6rem; }
.switchback { list-style: none; padding: 0; margin: 0; position: relative; }
.switchback li { position: relative; display: flex; gap: 1.3rem; background: #fff; border-radius: 22px; padding: 1.5rem 1.6rem; margin-bottom: 1.6rem; box-shadow: 0 10px 26px rgba(18,50,74,.06); }
.switchback li:nth-child(even) { margin-left: 3rem; }
.switchback li:not(:last-child)::after { content: ""; position: absolute; left: 50px; bottom: -1.6rem; height: 1.6rem; border-left: 3px dotted var(--sg-coral); }
.switchback li:nth-child(even):not(:last-child)::after { left: 50px; }
.switchback .wp { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--sg-navy); color: #fff; font-size: 1.3rem; }
.switchback li:last-child .wp { background: var(--sg-coral); }
.switchback small { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--sg-coral-d); }
.switchback h3 { font-size: 1.4rem; margin: .1rem 0 .3rem; }
.switchback p { margin: 0; }
@media (max-width: 575.98px) { .switchback li:nth-child(even) { margin-left: 1.2rem; } .switchback li { padding: 1.3rem; gap: 1rem; } }

/* ---------- Testimonials ---------- */
.voices { position: relative; padding: 110px 0; background: var(--sg-navy-3); color: rgba(255,255,255,.8); overflow: hidden; isolation: isolate; }
.voices .ph.bg { position: absolute; inset: 0; z-index: -2; opacity: .3; }
.voices::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,35,53,.96) 30%, rgba(11,35,53,.7)); }
.voices .title { color: #fff; }
.voices .title em { color: var(--sg-coral); }
.voices .lead2 { color: rgba(255,255,255,.78); }
.v-nav { display: inline-flex; gap: .6rem; margin-top: 1rem; }
.v-nav button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 1.2rem; transition: all .25s; }
.v-nav button:hover { background: var(--sg-coral); border-color: var(--sg-coral); }
.voice-card { position: relative; background: var(--sg-cream); border-radius: 28px; padding: 2.8rem 2.6rem 3.4rem; color: var(--sg-text); }
.voice-card .q { position: absolute; right: 2rem; top: 1rem; font-size: 5rem; color: var(--sg-ice-2); opacity: .5; line-height: 1; }
.quote blockquote { margin: .7rem 0 1.2rem; }
.quote blockquote p { font-family: var(--sg-head); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--sg-navy); margin: 0; }
.quote figcaption { font-weight: 800; color: var(--sg-coral-d); }
.stars { color: #f0a63a; font-size: .85rem; letter-spacing: .15em; }
.voice-card .carousel-indicators { position: absolute; left: 2.6rem; right: auto; bottom: 1.3rem; margin: 0; justify-content: flex-start; }
.voice-card .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: var(--sg-navy); border: 0; opacity: .25; margin: 0 4px; }
.voice-card .carousel-indicators .active { opacity: 1; background: var(--sg-coral); }
@media (max-width: 575.98px) { .voice-card { padding: 2rem 1.4rem 3rem; } .voice-card .carousel-indicators { left: 1.4rem; } }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 24px; overflow: hidden; color: var(--sg-text); box-shadow: 0 12px 30px rgba(18,50,74,.06); transition: transform .3s; }
.post-card:hover { transform: translateY(-6px); color: var(--sg-text); }
.post-card .ph { aspect-ratio: 8 / 5.6; }
.post-card .ph img { transition: transform .6s; }
.post-card:hover .ph img { transform: scale(1.05); }
.pc-body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.pc-tag { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--sg-navy); background: var(--sg-ice); padding: .3rem .75rem; border-radius: 999px; margin-bottom: .8rem; }
.pc-body h3 { font-size: 1.45rem; margin-bottom: .55rem; }
.post-card:hover h3 { color: var(--sg-coral-d); }
.pc-body .ex { display: block; flex: 1; margin-bottom: 1rem; }
.more { font-weight: 800; color: var(--sg-coral-d); }
.more i { display: inline-block; transition: transform .25s; }
a:hover .more i { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq-call { display: flex; align-items: center; gap: 1rem; background: var(--sg-navy); color: rgba(255,255,255,.8); border-radius: 20px; padding: 1.3rem 1.4rem; margin-top: 1.4rem; }
.faq-call i { width: 50px; height: 50px; flex: 0 0 50px; display: grid; place-items: center; border-radius: 50%; background: var(--sg-coral); color: #fff; font-size: 1.2rem; }
.faq-call b { display: block; color: #fff; }
.faq-call a { color: var(--sg-ice-2); font-weight: 700; font-size: 1.1rem; }
.acc-sg .accordion-item { border: 0; border-radius: 18px !important; margin-bottom: .85rem; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(18,50,74,.05); }
.acc-sg .accordion-button { font-family: var(--sg-head); font-size: 1.18rem; color: var(--sg-navy); background: #fff; padding: 1.15rem 1.4rem; box-shadow: none; gap: 1rem; }
.acc-sg .accordion-button:not(.collapsed) { color: var(--sg-coral-d); }
.acc-sg .accordion-button::after { background-image: none; content: "\F282"; font-family: "bootstrap-icons"; width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; background: var(--sg-ice); color: var(--sg-navy); font-size: .9rem; transition: transform .3s; margin-left: auto; }
.acc-sg .accordion-button:not(.collapsed)::after { transform: rotate(180deg); background: var(--sg-coral); color: #fff; }
.acc-sg .accordion-button:focus { box-shadow: none; }
.acc-sg .accordion-body { padding: 0 1.4rem 1.3rem; }

/* ---------- Newsletter ---------- */
.news-card { background: var(--sg-ice); border-radius: 30px; padding: 3rem 3.2rem; position: relative; overflow: hidden; }
.news-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 240px; height: 140px; background: var(--sg-ice-2); opacity: .35; clip-path: polygon(0 100%, 30% 20%, 50% 60%, 72% 0, 100% 100%); }
.news-card h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .5rem; }
.news-field { position: relative; z-index: 1; display: flex; gap: .5rem; background: #fff; border-radius: 999px; padding: .4rem; box-shadow: 0 12px 28px rgba(18,50,74,.1); }
.news-field .form-control { border: 0; box-shadow: none; border-radius: 999px; padding-left: 1.1rem; }
@media (max-width: 575.98px) { .news-card { padding: 2.2rem 1.4rem; } .news-field { flex-direction: column; border-radius: 22px; } }

/* ---------- CTA ---------- */
.cta-navy { position: relative; background: var(--sg-navy); color: rgba(255,255,255,.8); padding: 90px 0 170px; overflow: hidden; }
.cta-navy .trail { color: var(--sg-coral); }
.cta-navy h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.cta-navy .peaks .p2 { fill: var(--sg-navy-3); }

/* ---------- Page banner ---------- */
.sg-banner { position: relative; background: var(--sg-navy); color: rgba(255,255,255,.8); padding: 90px 0 150px; overflow: hidden; isolation: isolate; }
.sg-banner .ph.bg { position: absolute; inset: 0; z-index: -2; opacity: .35; }
.sg-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,50,74,.75), rgba(18,50,74,.9)); }
.sg-banner .container { position: relative; z-index: 1; text-align: center; }
.sg-banner h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .9rem; }
.sg-banner.post h1 { font-size: clamp(2rem, 3.8vw, 3rem); max-width: 960px; margin-left: auto; margin-right: auto; }
.sg-banner .lead2 { color: rgba(255,255,255,.82); max-width: 680px; margin: 0 auto; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 700; margin-bottom: 1rem; background: rgba(255,255,255,.1); padding: .4rem 1rem; border-radius: 999px; }
.crumbs a { color: var(--sg-ice-2); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .7rem; color: var(--sg-coral); }
.crumbs .cur { color: #fff; }
@media (max-width: 575.98px) { .sg-banner { padding: 60px 0 120px; } }

/* ---------- Services page ---------- */
.svc-row { padding: 3rem 0; border-bottom: 1px dashed var(--sg-line); scroll-margin-top: 120px; }
.svc-row:first-child { padding-top: 0; }
.svc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-row-img { position: relative; }
.svc-row-img .ph { border-radius: 26px; aspect-ratio: 9 / 6.4; }
.ic-lg { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--sg-navy); color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.svc-row h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); margin-bottom: .8rem; }

/* ---------- About page ---------- */
.mv-card { background: #fff; border-radius: 24px; padding: 2.4rem 2.2rem; height: 100%; }
.mv-card .ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--sg-coral); color: #fff; font-size: 1.4rem; margin-bottom: 1rem; }
.mv-card h3 { font-size: 1.9rem; }
.mv-card.navy { background: var(--sg-navy); color: rgba(255,255,255,.8); }
.mv-card.navy h3 { color: #fff; }
.mv-card.navy .ic { background: var(--sg-ice-2); color: var(--sg-navy); }

/* ---------- Blog post ---------- */
.post-photo { border-radius: 24px; aspect-ratio: 2 / 1; margin-bottom: 2.2rem; }
.post-text p { margin-bottom: 1.35rem; font-size: 1.1rem; }
.post-text h2 { font-size: 2rem; margin: 2.3rem 0 1rem; }
.post-text .sg-note { position: relative; background: var(--sg-ice); border-radius: 20px; padding: 1.6rem 1.7rem 1.6rem 4.6rem; font-family: var(--sg-head); font-size: 1.3rem; line-height: 1.4; color: var(--sg-navy); margin: 2rem 0; }
.post-text .sg-note::before { content: "\F3CB"; font-family: "bootstrap-icons"; position: absolute; left: 1.4rem; top: 1.5rem; width: 42px; height: 42px; border-radius: 50%; background: var(--sg-coral); color: #fff; display: grid; place-items: center; font-size: 1.05rem; line-height: 1; }
.post-text a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--sg-line); padding-top: 1.8rem; margin-top: 2.4rem; }
.side-box { background: #fff; border-radius: 22px; padding: 1.8rem; margin-bottom: 1.6rem; box-shadow: 0 10px 26px rgba(18,50,74,.05); }
.side-box h3 { font-size: 1.5rem; margin-bottom: 1.1rem; }
.side-box .sp { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; color: var(--sg-navy); font-weight: 700; line-height: 1.35; }
.side-box .sp:last-child { margin-bottom: 0; }
.side-box .sp:hover { color: var(--sg-coral-d); }
.side-box .sp .ph { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li a { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; border-bottom: 1px dashed var(--sg-line); color: var(--sg-navy); font-weight: 600; }
.side-box li a i { color: var(--sg-coral); }
.side-box li:last-child a { border-bottom: 0; }
.side-box li a:hover { color: var(--sg-coral-d); }
.side-box.navy { background: var(--sg-navy); color: rgba(255,255,255,.8); }
.side-box.navy h3 { color: #fff; }

/* ---------- Contact ---------- */
.c-tile { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: 22px; padding: 1.6rem; height: 100%; box-shadow: 0 10px 26px rgba(18,50,74,.05); }
.c-tile > i { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 50%; background: var(--sg-ice); color: var(--sg-navy); font-size: 1.3rem; }
.c-tile h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.c-tile p { margin: 0; }
.c-tile a { font-weight: 700; overflow-wrap: anywhere; }
.form-box { background: #fff; border-radius: 26px; padding: 2.5rem; box-shadow: 0 20px 44px rgba(18,50,74,.08); height: 100%; }
.form-box .form-label { font-weight: 700; color: var(--sg-navy); }
.form-control, .form-select { border-radius: 12px; border-color: #d3e0e6; padding: .74rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--sg-navy-2); box-shadow: 0 0 0 .2rem rgba(27,68,98,.12); }
.form-check-input:checked { background-color: var(--sg-coral); border-color: var(--sg-coral); }
@media (max-width: 575.98px) { .form-box { padding: 1.7rem 1.2rem; } }
.map-frame { height: 100%; min-height: 420px; border-radius: 26px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 20px 44px rgba(18,50,74,.1); }
.map-frame iframe { width: 100%; height: 100%; min-height: 408px; border: 0; display: block; }
.rounded-photo { border-radius: 22px; aspect-ratio: 9 / 5.2; }

/* ---------- Form status ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1rem; padding: .85rem 1.1rem; border-radius: 14px; font-weight: 600; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.success { background: #e5f4ec; color: #1d6040; border: 1px solid #bfe3cd; }
.form-status.error { background: #fdebe6; color: #a3391c; border: 1px solid #f6c8b9; }

/* ---------- Legal ---------- */
.legal-nav { position: sticky; top: 120px; background: #fff; border-radius: 22px; padding: 1.6rem; box-shadow: 0 10px 26px rgba(18,50,74,.05); }
.legal-nav h2 { font-size: 1.4rem; margin-bottom: .8rem; }
.legal-nav a { display: flex; gap: .6rem; padding: .38rem 0; color: var(--sg-navy); font-weight: 600; font-size: .95rem; }
.legal-nav a span { color: var(--sg-coral-d); font-weight: 800; }
.legal-nav a:hover { color: var(--sg-coral-d); }
@media (max-width: 1199.98px) { .legal-nav { position: static; } }
.legal-body h2 { font-size: 1.8rem; margin: 2.2rem 0 .9rem; scroll-margin-top: 120px; display: flex; align-items: baseline; gap: .8rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .n { font-family: var(--sg-body); font-size: .85rem; font-weight: 800; color: var(--sg-coral-d); }
.legal-body ul { padding-left: 1.3rem; }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--sg-navy-3); color: rgba(255,255,255,.7); padding: 150px 0 0; font-size: .97rem; }
.foot .peaks { top: -1px; bottom: auto; transform: scaleY(-1); }
.foot .peaks .p2 { fill: var(--sg-cream); }
.foot .peaks .p1 { fill: var(--sg-navy-2); opacity: 1; }
.foot .brand-logo img { height: 42px; }
.foot h4 { color: #fff; font-size: 1.35rem; margin-bottom: 1.1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .55rem; }
.foot a { color: rgba(255,255,255,.78); }
.foot a:hover { color: var(--sg-coral); }
.foot .cl { display: flex; gap: .7rem; align-items: flex-start; overflow-wrap: anywhere; }
.foot .cl i { color: var(--sg-coral); margin-top: .2rem; }
.foot-label { color: #fff; font-weight: 700; }
.foot-field { display: flex; gap: .4rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: .3rem; }
.foot-field .form-control { background: transparent; border: 0; color: #fff; box-shadow: none; }
.foot-field .form-control::placeholder { color: rgba(255,255,255,.5); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 1.4rem 0; font-size: .92rem; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.3rem; }
@media (max-width: 767.98px) { .foot-legal { justify-content: center; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--sg-coral); color: #fff; font-size: 1.2rem; z-index: 1040; box-shadow: 0 10px 24px rgba(18,50,74,.3); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--sg-navy); }

/* ---------- Reveal ---------- */
.peak-in { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.peak-in.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .peak-in { opacity: 1; transform: none; transition: none; } }

@media (max-width: 767.98px) {
  .sec { padding: 70px 0; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .peaks { height: 70px; }
}

/* When the CTA band sits directly above the footer, its peaks already blend into the footer colour */
main:has(> .cta-navy:last-child) + .foot { padding-top: 70px; }
main:has(> .cta-navy:last-child) + .foot .peaks { display: none; }
