/* Sapphire IP - home page styles (hybrid of Justica homepage 5 + 7, recoloured teal) */
:root {
	--teal: #0f7f8c;
	--teal-dark: #0a5d67;
	--teal-light: #e6f3f5;
	--navy: #12263a;
	--ink: #1d2733;
	--muted: #5d6a78;
	--paper: #f5f7f8;
	--white: #fff;
	--radius: 2px;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--font-head: Georgia, "Times New Roman", serif;
}

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }

html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: .5rem 1rem; z-index: 2000; }
.skip-link:focus { left: 0; }

/* Buttons and small labels */
.btn-sp { display: inline-block; background: var(--teal); color: #fff; border: 2px solid var(--teal); padding: .8rem 1.8rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: var(--radius); transition: background .25s, color .25s, transform .25s; }
.btn-sp:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; transform: translateY(-2px); }
.btn-sp.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-sp.btn-outline:hover { background: #fff; color: var(--navy); }
.eyebrow { display: inline-block; color: var(--teal); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .6rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 .8rem; }
.section-head h2::after { content: ""; display: block; width: 80px; height: 2px; background: var(--teal); margin: 1rem auto 0; }
.section { padding: 5.5rem 0; }
.section-alt { background: var(--paper); }

/* Top bar */
.topbar { background: var(--navy); color: #c9d6df; font-size: .8rem; padding: .45rem 0; }
.topbar .container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; }
.topbar a { color: #fff; }
.topbar a:hover { color: #9fd8df; }
.topbar .tb-right { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Header: solid white so the client's logo (dark on white) shows exactly as designed */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 18px rgba(18, 38, 58, .1); }
.site-header .navbar { padding: .6rem 0; }
.brand { display: flex; align-items: center; }
.brand img { display: block; height: 52px; width: auto; }
.site-header .nav-link { color: var(--navy); font-size: .85rem; font-weight: 500; letter-spacing: .04em; padding: .5rem 1rem; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--teal); }
.site-header .dropdown-menu { border: 0; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(18, 38, 58, .18); padding: .5rem 0; }
.site-header .dropdown-item { font-size: .85rem; padding: .5rem 1.25rem; }
.site-header .dropdown-item:hover { background: var(--teal-light); color: var(--teal-dark); }
.header-phone { display: flex; align-items: center; gap: .6rem; color: var(--navy); line-height: 1.2; }
.header-phone:hover { color: var(--teal); }
.header-phone small { display: block; font-size: .65rem; color: var(--muted); }
.header-phone strong { font-size: 1rem; }
.header-phone .icon { color: var(--teal); width: 1.5rem; height: 1.5rem; }
/* Modern menu button: teal rounded square, three lines that turn into an X when the menu is open */
.navbar-toggler { width: 46px; height: 46px; padding: 0; border: 0; border-radius: 12px; background: var(--teal); display: grid; place-items: center; transition: background .25s, transform .2s, box-shadow .25s; }
.navbar-toggler:hover { background: var(--teal-dark); }
.navbar-toggler:active { transform: scale(.94); }
.navbar-toggler:focus { box-shadow: 0 0 0 4px rgba(15, 127, 140, .25); }
.navbar-toggler[aria-expanded="true"] { background: var(--navy); }
.burger { position: relative; display: block; width: 22px; height: 16px; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease, top .3s ease, width .3s ease; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 7px; width: 70%; left: 30%; }
.burger span:nth-child(3) { top: 14px; }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.navbar-toggler[aria-expanded="true"] .burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .burger span, .navbar-toggler { transition: none; } }
@media (max-width: 991.98px) {
	.site-header .navbar-collapse { padding: 1rem 0; }
}

/* Hero */
.hero { position: relative; min-height: calc(100vh - 150px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--navy) url("../images/hero-bg.jpg") center / cover no-repeat; background-attachment: fixed; padding: 6rem 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 93, 103, .55), rgba(18, 38, 58, .55)); }
.hero .container { position: relative; }
.hero-gem { width: 64px; height: 64px; fill: none; stroke: #7fd1da; stroke-width: 1.4; stroke-linejoin: round; margin-bottom: 1rem; }
.hero-est { display: block; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: #cfeff2; margin-bottom: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 4.2rem); max-width: 900px; margin: 0 auto 1.2rem; }
.hero p { max-width: 640px; margin: 0 auto 2rem; font-size: 1.1rem; color: #e3eef2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
@media (max-width: 991.98px) { .hero { background-attachment: scroll; } }

/* Facts strip (counters) */
.facts { background: #fff; padding: 3rem 0; border-bottom: 1px solid #e3e9ec; }
.facts .row { text-align: center; }
.fact strong { display: block; font-family: var(--font-head); font-size: 2.6rem; color: var(--navy); line-height: 1.1; }
.fact span { color: var(--teal); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Why choose us: tabbed split */
.why { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #d6e1e8; }
/* --cw is Bootstrap's container width at the current breakpoint, so the text lines up with the rest of the page */
.why { --cw: 960px; }
.why-text { padding: 5.5rem 3rem 5.5rem max(1rem, calc((100vw - var(--cw)) / 2 + 12px)); }
@media (min-width: 1200px) { .why { --cw: 1140px; } }
@media (min-width: 1400px) { .why { --cw: 1320px; } }
.why-text h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 1.5rem; }
.why-text .eyebrow { color: #7fd1da; }
.why-tabs { display: flex; gap: .4rem; margin: 0 0 1.5rem; padding: 0; list-style: none; flex-wrap: wrap; }
.why-tabs .nav-link { background: transparent; color: #fff; border: 0; border-radius: var(--radius); padding: .6rem 1.2rem; font-size: .85rem; font-weight: 700; }
.why-tabs .nav-link.active { background: var(--teal); color: #fff; }
.why-text p { margin-bottom: 1.5rem; }
/* Fixed photo: it stays still while the page scrolls past, like a slider image.
   Sized to the right half of the screen (not "cover") so it is not zoomed in. */
.why-photo { min-height: 420px; background: var(--navy) url("../images/why-bg.jpg") right center / max(50vw, 100vh) auto no-repeat fixed; }
@media (max-width: 991.98px) { .why { grid-template-columns: 1fr; } .why-text { padding: 4rem 1rem; } .why-photo { min-height: 320px; background-size: cover; background-position: center; background-attachment: scroll; } }

/* Services */
.svc-card { position: relative; display: block; height: 100%; background: #fff; border: 1px solid #e3e9ec; overflow: hidden; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18, 38, 58, .14); color: var(--ink); }
.svc-card .svc-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.svc-card .svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 127, 140, .25), rgba(18, 38, 58, .55)); }
.svc-card .svc-tag { position: absolute; left: 1.25rem; bottom: -1.5rem; z-index: 2; width: 3.2rem; height: 3.2rem; background: var(--teal); color: #fff; display: grid; place-items: center; }
.svc-card .svc-tag .icon { width: 1.5rem; height: 1.5rem; }
.svc-card .svc-body { padding: 2.4rem 1.5rem 1.8rem; }
.svc-card h3 { font-size: 1.4rem; margin: 0 0 .6rem; }
.svc-card p { color: var(--muted); margin: 0 0 1rem; }
.svc-card .more { color: var(--teal); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.svc-card .more .icon { transition: transform .25s; }
.svc-card:hover .more .icon { transform: translateX(4px); }
.svc-more { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: center; list-style: none; padding: 0; margin: 3rem 0 0; color: var(--navy); font-weight: 500; }
.svc-more .icon { color: var(--teal); }

/* Process band: three shades of teal */
.band { display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; }
.band > div { position: relative; padding: 3.5rem 2.5rem; text-align: center; overflow: hidden; }
.band > div:nth-child(1) { background: #0f7f8c; }
.band > div:nth-child(2) { background: #0c6c77; }
.band > div:nth-child(3) { background: #0a5d67; }
.band .icon { width: 2.4rem; height: 2.4rem; margin-bottom: .8rem; }
.band h3 { color: #fff; font-size: 1.35rem; margin: 0 0 .6rem; }
.band p { margin: 0 auto; max-width: 320px; color: #e3f4f6; }
.band .ghost { position: absolute; right: -10px; bottom: -20px; width: 130px; height: 130px; opacity: .1; stroke-width: 1.4; }
@media (max-width: 767.98px) { .band { grid-template-columns: 1fr; } }

/* Did you know + about founder */
.founder-card { background: #fff; border: 1px solid #e3e9ec; padding: 2.5rem; height: 100%; }
.founder-card h2 { font-size: 1.9rem; margin: 0 0 1rem; }
.founder-card ul { padding-left: 1.2rem; margin: 1rem 0 1.5rem; }
.founder-card li { margin-bottom: .4rem; }
.know { background: var(--teal); color: #fff; padding: 2.5rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.know h3 { color: #fff; font-size: 1.5rem; margin: 0 0 1rem; }
.know p { color: #e3f4f6; margin: 0 0 1.5rem; }
.know .tel { font-family: var(--font-head); font-size: 1.9rem; color: #fff; }
.know .tel:hover { color: #cfeff2; }

/* CTA band */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 4.5rem 0; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .8rem; }
.cta p { color: #c9d6df; max-width: 620px; margin: 0 auto 1.8rem; }

/* Footer */
.footer { background: #0c1824; color: #b6c4ce; padding: 4rem 0 0; font-size: .9rem; }
.footer h2 { color: #7fd1da; font-family: var(--font-body); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 1.2rem; }
.footer a { color: #d6e1e8; }
.footer a:hover { color: #7fd1da; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer address { margin: 0; font-style: normal; }
.footer address div { display: flex; gap: .7rem; margin-bottom: .7rem; }
.footer address .icon { color: #7fd1da; flex: none; margin-top: .25rem; }
.footer .brand { color: #fff; }
.footer .brand img { height: 56px; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding: 1.2rem 0; font-size: .8rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* Back to top */
.back-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 44px; height: 44px; background: var(--teal); color: #fff; display: grid; place-items: center; z-index: 900; opacity: 0; pointer-events: none; transition: opacity .3s; }
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--teal-dark); color: #fff; }

/* Scroll animations are handled by AOS (resources/css/aos.css, resources/js/aos.js) via data-aos attributes */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero, .why-photo { background-attachment: scroll; }
}

/* ===== Responsive ===== */
/* Keep AOS slide-in animations from creating sideways scroll (clip does not break the sticky header) */
main, .footer { overflow-x: clip; }
img { max-width: 100%; height: auto; }

/* iOS Safari ignores fixed backgrounds, so use normal scrolling images there (iPhone and iPad) */
@supports (-webkit-touch-callout: none) {
	.hero { background-attachment: scroll; }
	.why-photo { background-attachment: scroll; background-size: cover; background-position: center; }
}

/* Large laptops and desktops */
@media (min-width: 1400px) {
	.section { padding: 6.5rem 0; }
	.hero p { max-width: 720px; font-size: 1.2rem; }
}

/* Tablets (portrait) and below */
@media (max-width: 991.98px) {
	.section { padding: 4.5rem 0; }
	.site-header .navbar-collapse { max-height: calc(100vh - 110px); overflow-y: auto; }
	.site-header .navbar-nav { padding-bottom: .5rem; }
	.header-phone { padding: .5rem 1rem 0; }
	.site-header .dropdown-menu { box-shadow: none; background: var(--paper); }
	.facts { padding: 2.5rem 0; }
	.fact strong { font-size: 2.2rem; }
	.band > div { padding: 3rem 1.5rem; }
	.founder-card, .know { padding: 2rem; }
}

/* Large phones and small tablets */
@media (max-width: 767.98px) {
	.section { padding: 3.5rem 0; }
	.section-head { margin-bottom: 2rem; }
	.topbar .tb-tagline { display: none; }
	.topbar .container { justify-content: center; }
	.hero { min-height: auto; padding: 4.5rem 0 4rem; }
	.hero-est { letter-spacing: .15em; font-size: .7rem; }
	.hero p { font-size: 1rem; }
	.cta { padding: 3.5rem 0; }
	.svc-card .svc-img { height: 200px; }
	.footer { padding-top: 3rem; }
	.footer-bottom .container { justify-content: center; text-align: center; }
}

/* Phones */
@media (max-width: 575.98px) {
	.brand img { height: 42px; }
	.topbar { font-size: .75rem; }
	.topbar .tb-right { gap: .4rem 1rem; justify-content: center; }
	.hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
	.hero-actions .btn-sp { text-align: center; }
	.fact strong { font-size: 1.9rem; }
	.fact span { font-size: .68rem; letter-spacing: .08em; }
	.why-text { padding: 3rem 1rem; }
	.why-tabs .nav-link { padding: .5rem .8rem; font-size: .8rem; }
	.founder-card, .know { padding: 1.5rem; }
	.know .tel { font-size: 1.6rem; }
	.svc-more { flex-direction: column; align-items: center; gap: .5rem; }
	.back-top { right: .8rem; bottom: .8rem; }
}

/* Very small phones */
@media (max-width: 359.98px) {
	.hero h1 { font-size: 1.9rem; }
	.btn-sp { padding: .75rem 1.2rem; letter-spacing: .08em; }
}

/* Landscape phones: short viewports */
@media (max-height: 500px) and (orientation: landscape) {
	.hero { min-height: auto; padding: 3rem 0; }
	.site-header .navbar-collapse { max-height: calc(100vh - 90px); }
}

/* Inner-page title band (CMS: the carousel component adds .hero-inner). Follows the Justica sub-header:
   centred h1 with a 3px underline and a tagline under it. Kept here, not in the page builder CSS, because
   GrapesJS drops rules for elements that are not part of the page content (the band is drawn by the carousel component). */
.hero.hero-inner { min-height: 0; padding: 100px 0; background-attachment: fixed; text-align: center; }
.hero.hero-inner .hero-gem, .hero.hero-inner .btn-sp { display: none; }
.hero.hero-inner h1, .hero.hero-inner h2 { display: inline-block; margin: 50px 0 5px; padding: 0; color: #fff; font-family: var(--font-head); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.2; border-bottom: solid 3px #fff; max-width: 980px; }
.hero.hero-inner h1::after, .hero.hero-inner h2::after { content: none; }
.hero.hero-inner p { max-width: 760px; margin: 14px auto 0; color: #fff; font-size: 1.05rem; }
@media (max-width: 991.98px) { .hero.hero-inner { background-attachment: scroll; padding: 80px 0; } }
@media (max-width: 767.98px) { .hero.hero-inner { padding: 64px 0; } .hero.hero-inner h1, .hero.hero-inner h2 { margin-top: 30px; } }
@media (prefers-reduced-motion: reduce) { .hero.hero-inner { background-attachment: scroll; } }

/* Inner pages: tighter spacing + responsive split sections (kept here because the page builder drops these rules) */
.ip-sec { padding: 64px 0 !important; }
.ip-dark .body { padding-top: 64px !important; padding-bottom: 64px !important; padding-left: 3rem !important; padding-right: max(16px, calc((100vw - 1140px) / 2 + 12px)) !important; }
.ip-dark.is-flip .body { padding-left: max(16px, calc((100vw - 1140px) / 2 + 12px)) !important; padding-right: 3rem !important; }
@media (min-width: 1400px) {
  .ip-dark .body { padding-right: max(16px, calc((100vw - 1320px) / 2 + 12px)) !important; }
  .ip-dark.is-flip .body { padding-left: max(16px, calc((100vw - 1320px) / 2 + 12px)) !important; padding-right: 3rem !important; }
}
.hero.hero-inner { padding: 70px 0 !important; }
.hero.hero-inner h1, .hero.hero-inner h2 { margin-top: 20px !important; }
@media (max-width: 991.98px) {
  .ip-sec { padding: 48px 0 !important; }
  .ip-dark { display: block !important; }
  .ip-dark .imgc { min-height: 280px !important; order: 0 !important; }
  .ip-dark .body, .ip-dark.is-flip .body { padding: 40px 16px !important; }
  .ip-cols { columns: 1 !important; }
  .de-images { margin: 0 0 2.5rem !important; }
  .de-images .di-text { left: 0 !important; }
  .de-images .di-small-2 { right: 0 !important; }
  .ip-ctaband .wrap { flex-direction: column !important; align-items: flex-start !important; }
  .hero.hero-inner { padding: 56px 0 !important; }
}
@media (max-width: 767.98px) {
  .ip-sec { padding: 36px 0 !important; }
  .ip-dark .imgc { min-height: 220px !important; }
  .ip-dark .body, .ip-dark.is-flip .body { padding: 32px 16px !important; }
  .hero.hero-inner { padding: 44px 0 !important; }
  .hero.hero-inner h1, .hero.hero-inner h2 { margin-top: 10px !important; }
}

/* ===== Old-site body styles (Home sections + inner-page content), from the old sapphireip.co.uk stylesheet ===== */
.section-a { padding-top: 70px; padding-bottom: 60px; background-color: #f1f7f8; background-size: cover; background-position: center; text-align: center; }
.section-a h1, .section-a h2 { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 64px; text-align: center; text-transform: uppercase; line-height: 1.2; color: #0f7c91; letter-spacing: 3px; padding-bottom: 30px; margin: 0; }
.section-a h1 span, .section-a h2 span { font-weight: 700; }
.section-a p { font-family: "Poppins", sans-serif; line-height: 1.9; font-weight: 300; font-size: 19px; padding-bottom: 20px; margin: 0 auto; max-width: 1040px; color: #212121; }
.section-a .link, .section-c .link { display: inline-block; font-family: "Poppins", sans-serif; font-weight: 500; font-size: 17px; color: #ffffff; text-decoration: none; background-color: #2c6671; padding: 13px 34px; border-radius: 28px; letter-spacing: 2px; transition: 500ms; }
.section-a .link:hover, .section-c .link:hover { background-color: #ffffff; color: #2c6671; box-shadow: 0 0 38px -6px #000000; }
.section-b { background-color: #2b2b2b; background-size: cover; background-position: center; padding-top: 150px; padding-bottom: 110px; }
.section-b a { text-decoration: none; }
.flex-card { background-color: #3a3a3a; text-align: center; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; width: 89%; margin-left: auto; margin-right: auto; min-height: 260px; border-radius: 17px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); transition: transform 0.4s, box-shadow 0.4s; }
.flex-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45); }
.flex-card img { margin-top: -80px; }
.flex-card h3 { font-family: "Nunito", sans-serif; font-weight: 500; font-size: 40px; text-transform: uppercase; color: #ffffff; padding: 40px 21px 0; margin: 0; line-height: 1.2; }
.section-c { padding-top: 70px; padding-bottom: 70px; background-color: #ffffff; }
.section-c .row { align-items: center; }
.section-c img { border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18); }
.section-c h3 { font-family: "Nunito", sans-serif; font-weight: 700; font-size: 54px; text-transform: uppercase; color: #2c6671; padding-top: 0; padding-bottom: 14px; margin: 0; line-height: 1.15; }
.section-c p { font-family: "Poppins", sans-serif; font-weight: 400; font-size: 16px; color: #1c1c1c; line-height: 1.95; padding-bottom: 18px; margin: 0; }
.section-d { background-color: #0f7c91; background-size: cover; background-position: center; padding-top: 60px; padding-bottom: 60px; text-align: center; }
.section-d h4 { font-family: "Nunito", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 54px; color: #ffffff; letter-spacing: 1px; padding-bottom: 14px; margin: 0; }
.section-d p { font-family: "Poppins", sans-serif; font-weight: 400; font-size: 19px; color: #ffffff; line-height: 1.9; padding-bottom: 18px; margin: 0; }
.sectiond { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 22px; }
.sectiond h5 { font-family: "Poppins", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 21px; color: #ffffff; letter-spacing: 1px; margin: 0; }
.sectiond a { font-family: "Rajdhani", sans-serif; font-weight: 700; color: #ffffff; font-size: 43px; text-decoration: none; transition: 500ms; line-height: 1.1; }
.sectiond a:hover { color: #0a3f49; }
.sectiond div { text-align: left; }
.sectiond .bi { color: #ffffff; font-size: 38px; background-color: rgba(255, 255, 255, 0.25); padding: 8px 18px; border-radius: 42px; }

/* inner pages */
.layout-full { padding-top: 56px; padding-bottom: 40px; background-color: #ffffff; }
.layout-full h1 { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 40px; color: #0f7c91; line-height: 1.2; }
.layout-full h2 { line-height: 1.25; font-family: "Nunito", sans-serif; font-weight: 700; font-size: 28px; color: #2c6671; margin: 34px 0 12px; padding-bottom: 10px; border-bottom: 2px solid #d8e9ec; }
.layout-full h3 { font-family: "Nunito", sans-serif; font-weight: 600; line-height: 1.3; font-size: 22px; color: #3a3a3a; margin: 26px 0 10px; }
.layout-full p { font-family: "Poppins", sans-serif; font-weight: 300; font-size: 17px; color: #212121; line-height: 1.95; margin: 0 0 16px; }
.layout-full ul, .layout-full ol { font-family: "Poppins", sans-serif; font-weight: 300; font-size: 17px; color: #212121; line-height: 1.9; padding-left: 28px; margin: 0 0 20px; }
.layout-full li { margin-bottom: 6px; }
.layout-full li::marker { color: #0f7c91; }
.layout-full a { font-family: "Poppins", sans-serif; font-weight: 500; color: #0f7c91; text-decoration: none; border-bottom: 1px solid rgba(15, 124, 145, 0.35); transition: 300ms; }
.layout-full a:hover { color: #000000; border-bottom-color: #000000; }
.layout-full hr { border: 0; border-top: 1px solid #e3eef0; opacity: 1; margin: 24px 0; }
.layout-full img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16); padding: 0; display: block; margin: 8px auto 20px; max-width: 100%; height: auto; }
.layout-full .col-md-8 h3 { padding-top: 0; }
.layout-full dl { margin: 0 0 18px; }
.layout-full dt { font-family: "Poppins", sans-serif; font-weight: 600; color: #0f7c91; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.layout-full dd { font-family: "Poppins", sans-serif; color: #212121; font-size: 17px; margin: 2px 0 0; line-height: 1.7; }
.layout-full .db-gallery-wrapper img, .layout-full .inner-imgs img { margin: 0; }
.layout-full #map-container { margin-top: 34px; }
.layout-full #map-container iframe { width: 100%; border: 0; border-radius: 10px; }
.layout-full ul a, .layout-full p a { white-space: normal; }
.inner-p2 { padding-top: 6px; }
.inner-p { padding-top: 8px; padding-bottom: 8px; align-self: center; }
@media screen and (min-width: 992px) and (max-width: 1199px) { .section-a h1, .section-a h2 { font-size: 54px; } }
@media screen and (min-width: 768px) and (max-width: 991px) {
  .section-a h1, .section-a h2 { font-size: 44px; }
  .section-c h3 { font-size: 40px; }
  .flex-card { width: 100%; min-height: 230px; border-radius: 23px; }
  .flex-card h3 { font-size: 28px; padding: 40px 15px 0; }
  .section-d h4 { font-size: 40px; }
  .section-b { padding-top: 120px; padding-bottom: 80px; }
}
@media (max-width: 767px) {
  .section-a { padding-top: 44px; padding-bottom: 34px; }
  .section-a h1, .section-a h2 { padding-bottom: 16px; font-size: 30px; }
  .section-a p { font-size: 16px; line-height: 1.8; padding-bottom: 12px; }
  .section-a .link, .section-c .link { font-size: 15px; padding: 12px 28px; }
  .section-b { padding-top: 90px; padding-bottom: 20px; overflow: hidden; }
  .flex-card { margin-bottom: 90px; margin-top: 17px; min-height: 180px; }
  .flex-card h3 { font-size: 24px; padding-top: 28px; }
  .section-c { padding-top: 40px; padding-bottom: 40px; }
  .section-c h3 { font-size: 30px; padding-top: 18px; }
  .section-c p { font-size: 15.5px; line-height: 1.8; }
  .section-d { padding-top: 44px; padding-bottom: 44px; }
  .section-d h4 { font-size: 30px; }
  .section-d p { font-size: 16px; }
  .sectiond { gap: 14px; }
  .sectiond .bi { font-size: 28px; padding: 6px 13px; }
  .sectiond h5 { font-size: 15px; }
  .sectiond a { font-size: 28px; }
  .layout-full { padding-top: 32px; padding-bottom: 24px; }
  .layout-full h2 { font-size: 23px; margin-top: 26px; }
  .layout-full h3 { font-size: 19px; }
  .layout-full p, .layout-full ul, .layout-full ol { font-size: 15.5px; line-height: 1.85; }
  .layout-full ul, .layout-full ol { padding-left: 22px; }
}

/* ===== Modern layer (body) ===== */
.section-a, .section-b, .section-d { position: relative; isolation: isolate; }
.section-a > .container, .section-b > .container, .section-d > .container { position: relative; z-index: 1; }
.section-a { padding: 96px 0 84px; }
.section-a::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0%, rgba(238, 246, 248, 0.88) 100%); }
.section-a h1, .section-a h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: 1.5px; }
.section-a h2::after { content: ""; display: block; width: 84px; height: 4px; border-radius: 4px; background: #0f7c91; margin: 22px auto 0; }
.section-a p { max-width: 860px; color: #36424a; font-weight: 400; font-size: 18px; }
.section-a .link, .section-c .link { background-image: linear-gradient(135deg, #0f7c91, #0a4f5c); background-color: #0f7c91; box-shadow: 0 12px 26px rgba(15, 124, 145, 0.35); }
.section-a .link::after, .section-c .link::after { content: "\2192"; margin-left: 10px; display: inline-block; transition: transform 0.3s; }
.section-a .link:hover, .section-c .link:hover { background-image: none; background-color: #ffffff; color: #0f7c91; }
.section-a .link:hover::after, .section-c .link:hover::after { transform: translateX(5px); }
.section-b::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, rgba(6, 44, 54, 0.82), rgba(15, 124, 145, 0.55)); }
.section-b { padding-top: 140px; padding-bottom: 100px; }
.flex-card { background-image: linear-gradient(165deg, #323d42 0%, #1d2327 100%); border: 1px solid rgba(255, 255, 255, 0.1); min-height: 300px; border-radius: 22px; }
.flex-card img { box-shadow: none; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35)); }
.flex-card h3 { font-size: 32px; letter-spacing: 2px; }
.flex-card::after { content: "Learn more \2192"; margin-top: auto; padding: 0 0 26px; font-family: "Poppins", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: #7fd1da; }
.section-c { background-image: linear-gradient(180deg, #ffffff, #f3f8f9); }
.section-c .col-lg-6:first-child { position: relative; }
.section-c .col-lg-6:first-child::before { content: ""; position: absolute; top: 34px; bottom: -22px; left: 38px; right: -6px; border-radius: 22px; background: #d3eaee; z-index: 0; }
.section-c img { position: relative; z-index: 1; border-radius: 22px; background-color: #ffffff; }
.section-c h3 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.section-c h3::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: #0f7c91; margin-top: 14px; }
.section-c p { color: #36424a; }
.section-d::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, rgba(6, 44, 54, 0.85), rgba(15, 124, 145, 0.6)); }
.section-d { padding-top: 70px; padding-bottom: 70px; }
.section-d h4 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section-d p { max-width: 720px; margin-left: auto; margin-right: auto; color: #e6f3f5; }
.sectiond { display: inline-flex; background-color: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 80px; padding: 14px 38px 14px 16px; margin-top: 8px; }
.sectiond .bi { background-color: #0f7c91; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }

/* inner pages as a clean card on a soft background */
.layout-full { background-image: linear-gradient(180deg, #eef6f8 0, #ffffff 360px); background-color: #ffffff; padding: 56px 0 72px; }
.layout-full > .container > .row { background-color: #ffffff; border-radius: 22px; box-shadow: 0 24px 70px rgba(10, 63, 73, 0.12); padding: 40px 34px 30px; margin-left: 0; margin-right: 0; border: 1px solid #e3eef0; }
.layout-full h2 { border-bottom: 0; border-left: 4px solid #0f7c91; padding: 2px 0 2px 16px; margin: 40px 0 14px; font-size: 26px; color: #0a4f5c; }
.layout-full h3 { color: #0f7c91; }
.layout-full p { font-weight: 400; color: #36424a; font-size: 17px; line-height: 1.9; }
.layout-full ul, .layout-full ol { list-style: none; padding-left: 0; }
.layout-full ul li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.layout-full ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background-color: #0f7c91; box-shadow: 0 0 0 5px #d8ecf0; }
.layout-full a { border-bottom: 1px solid transparent; }
.layout-full a:hover { border-bottom-color: #0f7c91; color: #0f7c91; }
.layout-full img { border-radius: 16px; box-shadow: 0 16px 40px rgba(10, 63, 73, 0.2); }
.layout-full hr { border-top: 1px solid #e3eef0; }
.layout-full dt { color: #0a4f5c; }
.layout-full #map-container iframe { border-radius: 16px; box-shadow: 0 16px 40px rgba(10, 63, 73, 0.15); }
@media (max-width: 991px) { .section-c .col-lg-6:first-child::before { display: none; } .section-b { padding-top: 110px; } }
@media (max-width: 767px) {
  .section-a { padding: 52px 0 44px; }
  .section-b { padding-top: 100px; padding-bottom: 20px; }
  .flex-card { min-height: 250px; }
  .flex-card h3 { font-size: 26px; }
  .section-d { padding-top: 48px; padding-bottom: 48px; }
  .sectiond { padding: 12px 24px 12px 12px; }
  .layout-full { padding: 24px 0 40px; }
  .layout-full > .container > .row { padding: 24px 8px 14px; border-radius: 16px; }
  .layout-full h2 { font-size: 21px; padding-left: 12px; }
}

/* ===== Pages (structured) ===== */
.pg > .container { display: flex; flex-direction: column; gap: 30px; }
.pg-lead { background-color: #ffffff; border: 1px solid #e3eef0; border-left: 6px solid #0f7c91; border-radius: 18px; padding: 30px 36px; box-shadow: 0 18px 50px rgba(10, 63, 73, 0.1); }
.pg-lead p { font-size: 20px; line-height: 1.8; color: #1f2c33; margin: 0; font-weight: 400; }
.pg-lead p + p { margin-top: 14px; }
.pg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
.pg-grid.pg-one { grid-template-columns: 1fr; }
.pg-card { position: relative; background-color: #ffffff; border: 1px solid #e3eef0; border-radius: 18px; padding: 34px 30px 24px; box-shadow: 0 14px 40px rgba(10, 63, 73, 0.08); transition: transform 0.35s, box-shadow 0.35s; }
.pg-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(10, 63, 73, 0.16); }
.pg .pg-card h2 { margin: 0 0 12px; border-left: 0; padding: 0; font-size: 22px; color: #0a4f5c; }
.pg .pg-card h3 { margin: 22px 0 8px; }
.pg-card p:last-child { margin-bottom: 0; }
.pg-wide { grid-column: 1 / -1; }
.pg-num { position: absolute; top: -14px; left: 26px; background-image: linear-gradient(135deg, #0f7c91, #0a4f5c); background-color: #0f7c91; color: #ffffff; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2px; padding: 6px 14px; border-radius: 30px; box-shadow: 0 8px 18px rgba(15, 124, 145, 0.35); }
.pg-cols { column-count: 2; column-gap: 44px; }
.pg-cols p, .pg-cols ul { break-inside: avoid-column; }
.pg-news { display: grid; gap: 26px; }
.pg-faq { background-image: linear-gradient(160deg, #0f7c91, #0a4f5c); background-color: #0f7c91; border-radius: 22px; padding: 40px 36px; box-shadow: 0 24px 60px rgba(10, 79, 92, 0.35); }
.pg .pg-faq > h2 { color: #ffffff; border: 0; padding: 0; margin: 0 0 24px; font-size: 28px; }
.pg-qa { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
.pg-q { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; overflow: hidden; }
.pg-q summary { cursor: pointer; list-style: none; padding: 16px 56px 16px 20px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 16px; color: #ffffff; position: relative; line-height: 1.4; }
.pg-q summary::-webkit-details-marker { display: none; }
.pg-q summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background-color: #ffffff; color: #0f7c91; font-size: 18px; line-height: 28px; text-align: center; }
.pg-q[open] summary::after { content: "\2212"; }
.pg .pg-q ul { padding: 0 20px 16px; margin: 0; }
.pg .pg-q ul li { color: #e6f3f5; font-size: 15.5px; padding-left: 26px; margin-bottom: 8px; line-height: 1.6; }
.pg .pg-q ul li::before { background-color: #7fd1da; box-shadow: none; width: 8px; height: 8px; top: 0.6em; }
.pg-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; background-color: #ffffff; border: 1px solid #d3eaee; border-left: 6px solid #0f7c91; border-radius: 22px; padding: 32px 38px; box-shadow: 0 18px 50px rgba(10, 63, 73, 0.1); }
.pg .pg-cta h2 { margin: 0 0 8px; border: 0; padding: 0; font-size: 24px; color: #0a4f5c; }
.pg .pg-cta p { margin: 0; }
.pg .pg-btn { flex: none; display: inline-block; background-image: linear-gradient(135deg, #0f7c91, #0a4f5c); background-color: #0f7c91; color: #ffffff; border: 0; border-radius: 30px; padding: 14px 34px; font-family: "Poppins", sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; box-shadow: 0 12px 26px rgba(15, 124, 145, 0.35); transition: transform 0.3s; }
.pg .pg-btn::after { content: " \2192"; }
.pg .pg-btn:hover { color: #ffffff; transform: translateY(-3px); border: 0; }
.pg-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 34px 22px; }
.pg .pg-svc { position: relative; display: flex; flex-direction: column; gap: 10px; background-color: #ffffff; border: 1px solid #e3eef0; border-radius: 18px; padding: 38px 26px 24px; box-shadow: 0 14px 40px rgba(10, 63, 73, 0.08); transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s; min-height: 170px; }
.pg .pg-svc:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(10, 63, 73, 0.18); border-color: #0f7c91; }
.pg-svc strong { font-family: "Nunito", sans-serif; font-weight: 700; font-size: 21px; color: #0a4f5c; line-height: 1.3; }
.pg-svc em { font-style: normal; font-family: "Poppins", sans-serif; font-weight: 500; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #0f7c91; margin-top: auto; }
.pg-svc em::after { content: " \2192"; }
.pg-person { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; background-color: #ffffff; border: 1px solid #e3eef0; border-radius: 22px; padding: 28px; box-shadow: 0 18px 50px rgba(10, 63, 73, 0.1); }
.pg-rev { grid-template-columns: 1fr 300px; }
.pg-rev .pg-photo { order: 2; }
.pg .pg-photo img { width: 100%; margin: 0; display: block; border-radius: 18px; }
.pg-eyebrow { display: inline-block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: #0f7c91; background-color: #e3f1f4; padding: 5px 14px; border-radius: 30px; margin-bottom: 10px; }
.pg .pg-bio h2 { border: 0; padding: 0; margin: 0 0 12px; font-size: 30px; }
.pg-note { background-color: #eef6f8; border: 1px dashed #9fcdd6; border-radius: 16px; padding: 22px 28px; }
.pg-note p { margin: 0; }
.pg-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; background-color: #ffffff; border: 1px solid #e3eef0; border-radius: 22px; padding: 30px; box-shadow: 0 18px 50px rgba(10, 63, 73, 0.1); }
.pg-split p:last-child { margin-bottom: 0; }
.pg .pg-figure img { width: 100%; margin: 0; display: block; }
.pg ul.pg-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.pg ul.pg-chips li { background-color: #f3f8f9; border-radius: 12px; padding: 14px 16px 14px 38px; margin: 0; line-height: 1.6; }
.pg ul.pg-chips li::before { left: 15px; top: 1.15em; }
.pg-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pg-tile { background-color: #ffffff; border: 1px solid #e3eef0; border-radius: 18px; padding: 26px 22px; box-shadow: 0 14px 40px rgba(10, 63, 73, 0.08); display: flex; flex-direction: column; gap: 6px; }
.pg-tile i { width: 48px; height: 48px; border-radius: 14px; background-image: linear-gradient(135deg, #0f7c91, #0a4f5c); background-color: #0f7c91; color: #ffffff; display: grid; place-items: center; font-size: 20px; margin-bottom: 8px; }
.pg-tile span { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #0f7c91; }
.pg .pg-tile a, .pg .pg-tile p { margin: 0; font-size: 16px; color: #1f2c33; word-break: break-word; line-height: 1.7; }
.pg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.pg-gallery { background-color: #ffffff; border: 1px solid #e3eef0; border-radius: 22px; padding: 30px; box-shadow: 0 18px 50px rgba(10, 63, 73, 0.1); }
.pg .pg-gallery h2 { margin-top: 0; }
@media (max-width: 991px) {
  .pg-grid, .pg-qa, .pg-two, .pg-split, .pg ul.pg-chips { grid-template-columns: 1fr; }
  .pg-tiles { grid-template-columns: repeat(2, 1fr); }
  .pg-person, .pg-rev { grid-template-columns: 1fr; }
  .pg-rev .pg-photo { order: 0; }
  .pg .pg-photo img { max-width: 340px; margin: 0 auto; }
  .pg-cta { flex-direction: column; align-items: flex-start; }
  .pg-cols { column-count: 1; }
}
@media (max-width: 575px) {
  .pg > .container { gap: 22px; }
  .pg-tiles { grid-template-columns: 1fr; }
  .pg-lead { padding: 22px 20px; }
  .pg-lead p { font-size: 17px; }
  .pg-card, .pg-person, .pg-split, .pg-gallery { padding: 24px 18px 18px; }
  .pg-faq { padding: 28px 16px; }
  .pg-cta { padding: 24px 20px; }
}

/* grid overflow guard */
.pg-grid > *, .pg-two > *, .pg-split > *, .pg-person > *, .pg-tiles > * { min-width: 0; }
.pg-card, .pg-tile { overflow-wrap: anywhere; }
.pg-two .db-form-wrapper, .pg-two .db-global-map, .pg-two iframe { max-width: 100%; }

/* dropdown placement (navigation.js opens it with the show class) */
@media (min-width: 992px) { .navbar .dropdown-menu { top: 100%; left: 0; margin-top: 8px; } }
/* hero slideshow (old-site slider images) */
.hero { isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.on { opacity: 1; }
/* Who we are: padding-left on the whole left column (image + offset block) */
@media (min-width: 992px) {
  .section-c .col-lg-6:first-child { padding-left: 56px; }
  .section-c .col-lg-6:first-child::before { left: 94px; }
}
/* Who we are: padding-left on the WHOLE content (both columns), replaces the column-only padding above */
.section-c .row { padding-left: 24px; }
@media (min-width: 992px) {
  .section-c .row { padding-left: 64px; }
  .section-c .col-lg-6:first-child { padding-left: 12px; }
  .section-c .col-lg-6:first-child::before { left: 38px; }
}
/* footer bottom line (as the old site): Sapphire IP © 2026 | All Rights Reserved | Privacy Policy | Built by [JP logo] */
.footer-bottom .container { display: block; text-align: center; }
.footer-bottom p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; }
.footer-bottom .built-by { display: inline-flex; align-items: center; }
.footer-bottom .built-by img {
    height: 17px;
    width: auto;
    display: block;
}
/* footer Quick links: active page */
.footer ul a.active { color: var(--teal-light, #7fd1da); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.footer ul a.active { color: #7fd1da; }
.footer ul a.active { border-bottom: 0; padding-bottom: 0; color: #7fd1da; }
/* footer: bigger gap between columns */
@media (min-width: 992px) { .footer .row.g-4 { --bs-gutter-x: 3.5rem; } }
@media (max-width: 991px) { .footer .row.g-4 { --bs-gutter-x: 2rem; } }
/* footer: column gap tuned so the Services links stay on one line */
@media (min-width: 992px) { .footer .row.g-4 { --bs-gutter-x: 2.5rem; } }
/* footer (>=1200px): custom column widths so the Services links and the address stay on one line */
@media (min-width: 1200px) {
  .footer .row.g-4 > div:nth-child(1) { flex: 0 0 auto; width: 38%; }
  .footer .row.g-4 > div:nth-child(2) { flex: 0 0 auto; width: 13%; }
  .footer .row.g-4 > div:nth-child(3) { flex: 0 0 auto; width: 22%; }
  .footer .row.g-4 > div:nth-child(4) { flex: 0 0 auto; width: 27%; }
}
/* footer social icons (Facebook, X) under the About text */
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background .25s, color .25s, transform .25s; }
.footer-social a:hover { background: #7fd1da; color: #0b1a24; transform: translateY(-2px); }


/* Link contrast fixes (2026-10-29): readable links on pale and dark-teal backgrounds */
.layout-full a { color: #0c6f80; border-bottom-color: rgba(12, 111, 128, 0.4); }
.layout-full a:hover { color: #0a5d67; border-bottom-color: #0a5d67; }
.layout-full .pg-faq a { color: #ffffff; border-bottom: 1px solid rgba(255, 255, 255, 0.7); }
.layout-full .pg-faq a:hover { color: #ffffff; border-bottom-color: #ffffff; }

/* Contact tiles: no underline on the email / phone links */
.layout-full .pg .pg-tile a { border-bottom: 0; text-decoration: none; }
.layout-full .pg .pg-tile a:hover { border-bottom: 0; text-decoration: none; }
