/* ypags.com — front-end theme
   Brand-matched to the live site: goldenrod #dd9933 + charcoal #202121, Roboto. */

:root {
    --gold: #dd9933;
    --gold-dark: #c07f22;
    --gold-050: #fbf3e4;
    --nav-gold: #ffb607;     /* live menu active/hover colour */
    --ink: #202121;          /* headings, footer, dark UI */
    --charcoal: #202121;
    --text: #454545;         /* body copy */
    --muted: #7a7a7a;
    --line: #e7e7e7;
    --bg: #ffffff;
    --bg-alt: #f7f6f3;
    --radius: 10px;
    --shadow: 0 6px 22px rgba(32, 33, 33, .08);
    --shadow-lg: 0 16px 44px rgba(32, 33, 33, .16);
    --wrap: 1180px;
    --font: 'Roboto', "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    --banner: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
    line-height: 1.7; font-size: 16.5px; font-weight: 400;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
p { margin: 0 0 1rem; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 200; border-radius: 8px; }

/* Buttons */
.btn {
    display: inline-block; background: var(--gold); color: #1c1c1c; font-weight: 600;
    padding: 13px 30px; border-radius: 4px; border: 0; cursor: pointer; transition: .2s; font-size: 1rem;
    letter-spacing: .2px;
}
.btn:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold-dark); }
.btn-outline:hover { background: var(--gold); color: #1c1c1c; }

/* ---------------------------------------------------------------- Header
   The header overlays each page's banner (home .hero / interior .page-hero) as a
   transparent bar with white nav, then turns into a solid dark bar on scroll. */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; background: transparent; box-shadow: none; }
.site-header .topbar { display: none; }   /* topbar hidden while the header overlays the banner */
.topbar { background: var(--charcoal); color: #c9c9c9; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar a { color: #d6d6d6; margin-right: 18px; }
.topbar a:hover { color: var(--gold); }
.topbar-social a {
    display: inline-grid; place-items: center; width: 26px; height: 26px; margin: 0 3px;
    border: 1px solid #444; border-radius: 50%; font-size: .72rem; font-weight: 700; color: #d6d6d6;
}
.topbar-social a:hover { background: var(--gold); color: #1c1c1c; border-color: var(--gold); }

.navbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 16px; }
.brand img { display: block; height: 62px; width: auto; }
.main-nav .nav-menu { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
/* White nav over the banner; gold (#ffb607) on hover + for the active/current page */
.main-nav a { display: block; padding: 12px 16px; color: #fff; font-weight: 500; border-radius: 4px; text-transform: uppercase; font-size: .9rem; letter-spacing: .3px; }
.main-nav a:hover,
.main-nav li.active > a { color: var(--nav-gold); }
.main-nav .caret { font-size: .7em; opacity: .7; }
.main-nav li { position: relative; }
.main-nav .sub-menu {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0;
    min-width: 230px; background: #fff; box-shadow: var(--shadow-lg); border-radius: 6px;
    border-top: 3px solid var(--gold); opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: .18s; z-index: 30;
}
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { white-space: nowrap; text-transform: none; font-size: .92rem; color: var(--ink); }
.main-nav .sub-menu a:hover { color: var(--gold-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Scrolled: solid dark bar, white nav, gold active/hover (stays on the dark theme, never white) */
body.scrolled .site-header { position: fixed; background: rgba(32,33,33,.97); box-shadow: 0 2px 18px rgba(0,0,0,.45); animation: slideDown .28s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* ------------------------------------------------------------------ Hero */
.hero {
    position: relative; color: #fff; text-align: center; padding: 165px 0 120px; overflow: hidden;
    background: var(--charcoal) center/cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(rgba(20,20,20,.55), rgba(20,20,20,.60));
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero-heading { color: var(--nav-gold); font-size: clamp(1.58rem, 4.1vw, 2.55rem); font-weight: 800; margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero-sub { font-size: 1.25rem; color: #eceae6; margin-bottom: 1.9rem; text-shadow: 0 1px 10px rgba(0,0,0,.4); }

/* Interior page banner (parallax); the transparent header overlays its top */
.page-hero {
    position: relative; padding: 135px 0 70px; text-align: center; color: #fff;
    background: var(--charcoal) center/cover no-repeat;
    background-image: var(--banner);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(24,22,18,.55), rgba(24,22,18,.66)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.event-meta-line { color: #f0ece5; margin: .6rem 0 0; }
.event-meta-line span { margin-right: 18px; }

/* --------------------------------------------------------------- Content */
main { min-height: 50vh; }
.page-content { padding: 54px 0 64px; }
.home-content { padding-top: 64px; }
.page-featured { border-radius: var(--radius); margin: 26px 0; box-shadow: var(--shadow); }

/* Prose: professional, consistent typography for all page content */
.prose { overflow: hidden; max-width: 1000px; margin: 0 auto; font-size: 1.06rem; color: var(--text); }
.prose::after { content: ""; display: block; clear: both; }
.prose > p:first-of-type { font-size: 1.2rem; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 1.7rem; color: var(--ink); margin: 1.8em 0 .55em; }
/* flow-root keeps each heading beside its floated icon (not behind it) on every page */
.prose h3 { font-size: 1.32rem; color: var(--ink); margin: 1.7em 0 .5em; padding-left: 14px; border-left: 4px solid var(--gold); display: flow-root; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15rem; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold-dark); text-decoration: underline; }
.prose a:hover { color: var(--gold); }
.prose img { border-radius: 10px; box-shadow: var(--shadow); }
/* Feature lists get a gold check marker */
.prose ul { list-style: none; padding-left: 0; margin: 0 0 1.2rem; display: flow-root; }
.prose ul li { position: relative; padding-left: 28px; margin: .28em 0; line-height: 1.55; }
.prose ul li::before { content: "✔"; position: absolute; left: 0; top: 0.15em; font-size: .82em; color: var(--gold); font-weight: 700; }
.prose ol { padding-left: 1.4em; margin: 0 0 1.2rem; }
.prose ol li { margin: .5em 0; }
.prose blockquote { border-left: 4px solid var(--gold); background: var(--bg-alt); padding: 16px 24px; border-radius: 8px; margin: 1.5em 0; color: var(--ink); }
.prose .legal-note { background: var(--gold-050); border: 1px solid #ecd6a6; border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; font-size: .95rem; color: #6d551f; margin: 0 0 1.6rem; }
.prose .legal-note strong { color: #6d551f; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 15px; text-align: left; }
.prose th { background: var(--gold-050); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .alignleft  { float: left;  clear: both; margin: 6px 30px 20px 0; max-width: 300px; }
.prose .alignright { float: right; clear: both; margin: 6px 0 20px 30px; max-width: 300px; }
.prose .aligncenter { display: block; margin: 22px auto; }
/* Service/icon blocks: an image + its heading/text are wrapped (at render time)
   in a flex .media-block so the image top lines up exactly with the heading, on
   every block, and the pair stacks + centres on phones. Replaces fragile floats. */
.prose .media-block { display: flex; align-items: flex-start; gap: 30px; clear: both; margin: 26px 0; }
.prose .media-block:first-child { margin-top: 0; }
.prose .media-block > img { float: none; clear: none; margin: 0; flex: 0 0 auto; }
.prose .media-body { flex: 1 1 auto; min-width: 0; }
.prose .media-body > :first-child { margin-top: 0; }
.prose .media-body > :last-child { margin-bottom: 0; }
@media (max-width: 640px) {
    .prose .media-block { flex-direction: column; align-items: stretch; gap: 14px; }
    .prose .media-block > img { align-self: center; }
}
/* Co-founders: smaller circular headshots (clips the white-corner PNGs) */
body.page-co-founders .prose .alignleft {
    width: 190px; height: 190px; max-width: 190px; padding: 0; background: transparent;
    border-radius: 50%; object-fit: cover; object-position: center 35%;
    box-shadow: 0 8px 22px rgba(0,0,0,.15); margin: 30px 22px 24px 0;
}
/* keep every bio the same size (no enlarged lead paragraph on this page) */
body.page-co-founders .prose > p:first-of-type { font-size: 1.06rem; line-height: 1.7; color: var(--text); }
/* gold accent line sits UNDER the name (not a left line beside the image).
   flow-root makes the heading sit beside the floated photo instead of behind it,
   so the underline lands under the name text rather than under the image. */
body.page-co-founders .prose h3 { border-left: 0; padding-left: 0; display: flow-root; }
/* lists sit beside the floated photo (not behind it) so every check mark is visible & aligned */
body.page-co-founders .prose ul { display: flow-root; }
body.page-co-founders .prose h3::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin-top: 8px; }
/* nested gallery lists keep default markers off */
.prose .gallery li::before, .prose .gallery-item::before { content: none; }
@media (max-width: 600px) {
    .prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin: 16px 0; }
}
.prose .gallery { margin: 26px 0; padding: 0; clear: both; text-align: center; }
/* gallery items (WordPress galleries lose their wrapper after cleaning, so lay
   them out directly as an inline grid of logo/photo tiles) */
.prose .gallery-item { display: inline-block; width: 172px; vertical-align: top; margin: 8px 10px; text-align: center; }
.prose .gallery-icon { margin: 0 !important; }
.prose .gallery-item img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 8px; object-fit: contain; }
.prose .gallery-item a { display: block; }
.prose figure { margin: 1rem 0; }
.empty { color: var(--muted); padding: 40px 0; }

/* Home sections */
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-dark); font-weight: 700; font-size: .85rem; margin-bottom: .4rem; }
.home-about { max-width: 920px; margin: 0 auto 54px; text-align: center; font-size: 1.08rem; }
.home-services h2, .home-core h2 { text-align: center; margin-bottom: 1.4rem; }
.section-title-line { text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 30px 0 60px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); transition: .2s; border-top: 3px solid transparent; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-top-color: var(--gold); }
.service-card h3 { color: var(--ink); }
.home-core { background: var(--bg-alt); border-radius: 14px; padding: 46px; margin: 40px 0; }
.home-core .lead { text-align: center; max-width: 780px; margin: 0 auto 1.7rem; color: var(--muted); }
.core-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 800px; margin: 0 auto; }
.core-list li { background: #fff; border-left: 4px solid var(--gold); padding: 15px 20px; border-radius: 6px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); }

/* ---- Homepage full-width section bands (match live layout) ---- */
.home-band { padding: 66px 0; }
.home-band.alt { background: var(--bg-alt); }
.home-band .home-about { margin: 0 auto; max-width: 920px; text-align: center; font-size: 1.1rem; }
.center { text-align: center; }

/* 3-column service grid (image on top, heading, text) */
.service-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-col-img img { width: 100%; height: 210px; object-fit: cover; object-position: center; border-radius: 12px; box-shadow: var(--shadow); display: block; }
.service-col h3 { color: var(--ink); font-size: 1.3rem; margin: 22px 0 0; }
.service-col h3::after { content: ""; display: block; width: 52px; height: 3px; background: var(--gold); margin: 12px 0 14px; }
.service-col p { color: var(--text); font-size: 1rem; margin: 0; }

/* Alternating image / text service rows (legacy layout, kept for reuse) */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.service-row + .service-row { margin-top: 58px; }
.service-row.reverse .service-row-img { order: 2; }
.service-row-img img { width: 100%; height: 400px; object-fit: cover; object-position: center; border-radius: 14px; box-shadow: var(--shadow-lg); display: block; }
.service-row-text h2 { color: var(--ink); margin-bottom: .35em; }
.service-row-text h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 14px; }
.service-row-text p { font-size: 1.07rem; color: var(--text); margin: 0; }

/* Why-choose-us section */
.home-why { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: stretch; }
/* image column stretches to the text height; the photo fills it (cover) so the
   two columns always end level, at any width */
.home-why-img { position: relative; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow); min-height: 260px; }
.home-why-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.home-why-text .eyebrow { font-size: .95rem; }
.home-why-text p { font-size: 1.12rem; color: var(--text); margin: 0; }
.home-why-text .why-points { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.home-why-text .why-points li { position: relative; padding-left: 30px; margin: 0 0 .85rem; line-height: 1.55; color: var(--text); }
.home-why-text .why-points li:last-child { margin-bottom: 0; }
.home-why-text .why-points li::before { content: "✔"; position: absolute; left: 0; top: .1em; color: var(--gold); font-weight: 700; }
.home-why-text .why-points strong { color: var(--ink); font-weight: 700; }

/* Core solutions band */
.home-core-wrap { text-align: center; }
.home-core-wrap .core-list { margin: 28px auto 0; text-align: left; }

@media (max-width: 940px) {
    .service-grid3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .service-row, .home-why { grid-template-columns: 1fr; gap: 26px; }
    /* stacked: the photo becomes a controlled banner (cover), not a giant portrait */
    .home-why-img { min-height: 0; aspect-ratio: 3 / 2; }
    .service-row.reverse .service-row-img { order: 0; }
    .service-row-img img { height: 300px; }
    .service-grid3 { grid-template-columns: 1fr; gap: 28px; }
    .home-band { padding: 46px 0; }
}

/* Cards (events / posts) */
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.home-events { background: var(--bg-alt); padding: 64px 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.event-card, .post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column; }
.event-card:hover, .post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--gold-050); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.card-media:hover img { transform: scale(1.05); }
.card-body { padding: 20px 22px; }
.card-date { display: inline-block; font-size: .78rem; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.card-meta { color: var(--muted); font-size: .92rem; margin: 0 0 .5rem; }
.card-body h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--gold); }
.link-more { font-weight: 600; }

/* Client testimonials slider */
.home-testimonials { background: var(--bg-alt); padding: 72px 0; }
.testi-head { text-align: center; margin-bottom: 34px; }
.testi-head h2 { margin: 4px 0 0; }
.testi-head h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--gold); margin: 14px auto 0; }
.testi-slider { position: relative; max-width: 820px; margin: 0 auto; }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-card { flex: 0 0 100%; box-sizing: border-box; margin: 0; padding: 10px 14px 4px; text-align: center; }
.testi-mark { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 4rem; line-height: .5; color: var(--gold); opacity: .45; }
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 1.1rem; margin: 10px 0 16px; }
.testi-quote { font-size: 1.22rem; line-height: 1.75; color: var(--ink); margin: 0 auto 24px; max-width: 680px; font-style: italic; }
.testi-author { display: inline-flex; align-items: center; gap: 14px; }
.testi-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; background-size: cover; background-position: center; flex: 0 0 auto; }
.testi-meta { text-align: left; }
.testi-meta strong { display: block; color: var(--ink); }
.testi-meta span { color: var(--muted); font-size: .9rem; }
.testi-nav { position: absolute; top: 46%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2; transition: .2s; box-shadow: var(--shadow); }
.testi-nav:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.testi-nav.prev { left: -10px; }
.testi-nav.next { right: -10px; }
.testi-dots { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.testi-dots button { position: relative; width: 10px; height: 10px; border-radius: 50%; border: 0; background: #cdcdc7; cursor: pointer; padding: 0; transition: .25s; }
/* invisible, finger-sized (24px) hit area around each small dot for touch */
.testi-dots button::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
.testi-dots button.active { background: var(--gold); width: 26px; border-radius: 6px; }
@media (max-width: 720px) {
    .testi-nav.prev { left: -4px; } .testi-nav.next { right: -4px; }
    .testi-quote { font-size: 1.08rem; }
}

/* CTA band */
.cta-band { background: var(--charcoal); color: #fff; text-align: center; padding: 66px 0; margin-top: 64px; position: relative; }
.cta-band h2 { color: #fff; }
.cta-band h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--gold); margin: 14px auto 0; }
.cta-band p { margin: 1rem 0 1.5rem; font-size: 1.1rem; color: #d8d4cd; }

/* Gallery page */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 44px 0 64px; }
.gallery-grid .gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery-grid .gallery-item:hover img { transform: scale(1.08); }
.lightbox[hidden] { display: none; }   /* the hidden attribute must win over display:grid */
.lightbox { position: fixed; inset: 0; background: rgba(15,13,10,.93); display: grid; place-items: center; z-index: 300; padding: 30px; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 18px; right: 26px; font-size: 2.4rem; color: #fff; background: none; border: 0; cursor: pointer; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 46px; padding: 54px 0; align-items: start; }
.contact-info .ci { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 .9rem; }
.contact-social { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; margin-top: 6px;
    font: inherit; font-weight: 400; color: var(--ink); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold-050); border-color: var(--gold); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }
.alert-success { background: #e6f6ee; color: #10633d; border: 1px solid #b7e4cd; }
.alert-error { background: #fdecec; color: #96231f; border: 1px solid #f6c9c7; }
.map-wrap { margin-top: 20px; }
.map-wrap iframe { display: block; }

.related { margin-top: 50px; border-top: 1px solid var(--line); padding-top: 30px; }
.error-page { padding: 50px 0 80px; }

/* Interior banner subtitle (matches live banner tagline) */
.page-hero-sub { color: var(--gold); margin: .5rem 0 0; text-transform: uppercase; letter-spacing: 2px; font-size: .9rem; font-weight: 600; }

/* Home "Trusted by 100+ Leading Brands" client-logo strip */
.trusted-band { background: #fff; padding: 60px 0; text-align: center; }
.trusted-band h2 { margin-bottom: 6px; }
.trusted-band h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--gold); margin: 14px auto 30px; }
.client-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: center; }
.client-logo { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: grid; place-items: center; height: 92px; box-shadow: var(--shadow); transition: .2s; }
.client-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.client-logo img { max-width: 100%; max-height: 62px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* Contact page intro + named contacts */
.contact-intro { margin-bottom: 22px; }
.contact-people { list-style: none; padding: 0; margin: 14px 0 0; }
.contact-people li { padding: 10px 14px; background: var(--gold-050); border-radius: 8px; margin-bottom: 8px; }
.contact-people strong { display: block; color: var(--ink); }
.contact-people a { color: var(--gold-dark); font-weight: 600; }
.form-consent { font-size: .82rem; color: var(--muted); margin-top: 14px; }

@media (max-width: 940px) { .client-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .client-logos { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--charcoal); color: #a9a9a9; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; padding: 58px 20px; }
.footer-col h4 { color: #fff; margin-bottom: 1.1rem; font-size: 1.05rem; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: .55rem 0; }
.footer-col a { color: #a9a9a9; }
.footer-col a:hover { color: var(--gold); }
.footer-logo { margin-bottom: 16px; height: 92px; width: auto; display: block; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
/* Circular social icon buttons (gold fill on hover) */
.social-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #4a4a4a; color: #b9b9b9; transition: .2s; }
.social-icon:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.social-icon svg { display: block; }
.social-icon.on-light { border-color: #dcdcdc; color: var(--muted); }   /* for light backgrounds (contact page) */
.social-icon.on-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
/* the footer's generic link colour would otherwise turn the icon gold-on-gold (invisible) on hover */
.site-footer .social-icon { color: #b9b9b9; }
.site-footer .social-icon:hover { color: #fff; }

/* Themed inline icons (phone / mail / pin) — gold, matching the site theme */
.ico { display: inline-block; vertical-align: -4px; }
.footer-contact p { display: flex; align-items: flex-start; gap: 9px; }
.footer-contact .ico { color: var(--gold); flex: 0 0 auto; margin-top: 2px; vertical-align: 0; }
.footer-contact a, .footer-contact span { color: #a9a9a9; }
.footer-contact a:hover { color: var(--gold); }
.contact-info .ci-ico { color: var(--gold); display: inline-flex; margin-top: 2px; flex: 0 0 auto; }
.card-meta .ico, .event-meta-line .ico { color: var(--gold); vertical-align: -3px; margin-right: 3px; }
.topbar .ico { vertical-align: -3px; }

/* Floating WhatsApp button (bottom-right, all pages) */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 60px; z-index: 200;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,.28); transition: transform .2s, background .2s;
    animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { background: #1ebe5d; color: #fff; transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse {
    0%   { box-shadow: 0 6px 20px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 6px 20px rgba(0,0,0,.28), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 600px) { .whatsapp-float { right: 16px; bottom: 52px; width: 52px; height: 52px; } }
.contact-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-contact p { margin: 0 0 .7rem; }
.footer-bottom { background: #171818; padding: 16px 0; font-size: .88rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-copy { color: #a9a9a9; }
.footer-credit { color: #8f8f8f; }
.footer-credit a { color: var(--gold); font-weight: 600; }
.footer-credit a:hover { color: #fff; }
@media (max-width: 600px) { .footer-bottom-inner { justify-content: center; text-align: center; } }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 940px) {
    .service-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
}
/* Tablet + phone: off-canvas hamburger nav — touch-friendly, and it keeps the
   desktop dropdown (absolutely positioned, 230px wide) from poking past narrow
   viewports and creating a horizontal scrollbar. */
@media (max-width: 1000px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 82%; max-width: 340px; height: 100vh;
        background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.2); padding: 80px 18px 30px;
        overflow-y: auto; transition: right .28s ease; z-index: 120;
    }
    body.nav-open .main-nav { right: 0; }
    body.nav-open { overflow: hidden; }
    /* off-canvas panel is white, so its links must be dark */
    .main-nav a { color: var(--ink); }
    .main-nav a:hover, .main-nav li.active > a { color: var(--gold-dark); }
    .main-nav .nav-menu { flex-direction: column; gap: 2px; }
    .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding-left: 14px; display: none; min-width: 0; }
    .main-nav li.open > .sub-menu { display: block; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .topbar-inner { flex-direction: column; height: auto; padding: 6px 0; gap: 2px; text-align: center; }
    .service-grid, .card-grid, .core-list, .gallery-grid, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .home-core { padding: 28px 20px; }
    .section-head { flex-direction: column; gap: 6px; }
    /* floated icons/photos stack and centre above their heading + bullet list */
    .prose .alignleft, .prose .alignright { display: block; float: none; clear: both; max-width: 100%; margin: 16px auto; }
    body.page-co-founders .prose .alignleft { margin: 8px auto 18px; }
    .hero { padding: 112px 0 84px; }
    .page-hero { padding: 104px 0 52px; }
    .page-content { padding: 38px 0 48px; }
}
@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .brand img { height: 48px; }
    .navbar-inner { min-height: 68px; }
    .hero { padding: 96px 0 68px; }
    .page-hero { padding: 88px 0 44px; }
    /* wide tables scroll instead of overflowing the page */
    .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .prose { font-size: 1rem; }
    .testi-quote { font-size: 1rem; line-height: 1.65; }
    .testi-avatar { width: 46px; height: 46px; font-size: 1.05rem; }
    .testi-mark { font-size: 3rem; }
    .cta-band { padding: 48px 0; }
    .home-band, .home-testimonials, .trusted-band { padding-left: 0; padding-right: 0; }
}
