/**
 * Cahill Consultants — tpl_cahillnet
 * v3.css  |  v3.0.2  (2026-11-29)
 * Design layer loaded AFTER template.css. Palette:
 *   navy #1A1A2E · teal #006F78 · light teal (labels) #3FC1C9
 *   gold #FFD700 (accents only, never text on light) · pale blue #C9DFF2 · burgundy #723847 (secondary)
 * Homepage sections are restyled here; their text still comes from the
 * existing Joomla modules (Home Hero, Home Carousel, Home Services, footer columns).
 */

/* ---------- Base ---------- */
body { background: #1A1A2E; }
body.home { background-color: #1A1A2E; }

/* ---------- Header: round logo top-left, menu pill top-right ---------- */
.site-logo {
  position: fixed; top: 20px; left: 32px; z-index: 1001;
  display: block; width: 84px; height: 84px; border-radius: 50%;
  transition: transform .3s ease, width .3s ease, height .3s ease;
}
.site-logo img { display: block; width: 100%; height: 100%; }
.site-logo:focus-visible { outline: 2px solid #3FC1C9; outline-offset: 4px; }
body.v3-scrolled .site-logo { width: 64px; height: 64px; }

.pill-nav {
  left: auto; right: 32px; top: 30px; transform: none;
  background: rgba(26,26,46,0.62);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 7px 7px 7px 16px;
}
/* The old "light" scroll state is retired: the pill stays dark glass. */
.pill-nav.light { background: rgba(26,26,46,0.82); border-color: rgba(255,255,255,0.14); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.pill-nav.light .mod-menu a, .pill-nav.light .nav-links a { color: rgba(255,255,255,0.85); }
.pill-nav.light .mod-menu a:hover, .pill-nav.light .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.pill-nav .mod-menu a, .nav-links a { color: rgba(255,255,255,0.85); font-weight: 600; }
.pill-nav .mod-menu a:hover, .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.pill-nav .mod-menu .current > a, .pill-nav .mod-menu .active > a { color: #3FC1C9; }
.nav-cta { background: #006F78; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); }
.nav-cta:hover { background: #00838D; color: #fff; box-shadow: 0 6px 22px rgba(0,111,120,0.45); }
.pill-nav.light .nav-toggle { color: #fff; }

/* ---------- Mesh background (home) ---------- */
.v3-mesh, .v3-mesh-dim { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.v3-mesh canvas { display: block; width: 100%; height: 100%; }
.v3-mesh {
  background-color: #1A1A2E;
  background-image:
    radial-gradient(ellipse 60% 60% at 74% 42%, rgba(0,160,170,0.55) 0%, rgba(26,26,46,0) 100%),
    radial-gradient(ellipse 45% 45% at 85% 5%, rgba(52,30,130,0.6) 0%, rgba(26,26,46,0) 100%),
    radial-gradient(ellipse 45% 45% at 25% 30%, rgba(94,136,191,0.4) 0%, rgba(26,26,46,0) 100%);
}
.v3-mesh-dim { background: #1A1A2E; opacity: 0; }
body.home .hero, body.home .kit-section, body.home .car-section,
body.home .svc-section, body.home .ct-section, body.home .sf { position: relative; z-index: 1; }

/* ---------- Eyebrows / small labels: light teal ---------- */
.eyebrow, .hero-eyebrow, .kit-eyebrow, .kit-bundle-label, .kit-mini-meta,
.ct-left .eyebrow, .v3s-kicker, .sf .scol h4 { color: #3FC1C9 !important; }

/* ---------- 1. Hero ---------- */
body.home .hero {
  position: relative; inset: auto;
  height: 100vh; min-height: 640px; max-height: 1000px;
  background: none; justify-content: flex-start; text-align: left;
}
body.home .hero-overlay { display: none; }
body.home .hero > .mod-custom { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 64px; box-sizing: border-box; }
body.home .hero-content { max-width: 660px; padding: 0; }
.hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.16em; margin-bottom: 26px; }
.hero-eyebrow span { opacity: .6; margin: 0 4px; }
.hero-heading { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.05; text-shadow: 0 2px 30px rgba(26,26,46,0.6); }
.hero-heading em { background: none; -webkit-text-fill-color: #FFD700; color: #FFD700; }
.hero-sub { color: rgba(255,255,255,0.8); margin: 0 0 40px; max-width: 540px; }
.hero-btns { justify-content: flex-start; }
.btn-ph { background: #006F78; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.btn-ph:hover { background: #00838D; color: #fff; box-shadow: 0 8px 28px rgba(0,111,120,0.5); }
.btn-gh { color: #fff; border: 1.5px solid rgba(255,255,255,0.6); background: rgba(26,26,46,0.3); }
.btn-gh:hover { border-color: #fff; color: #fff; }
.scroll-hint { cursor: pointer; }

/* ---------- 2. Starter Kit (on the mesh) ---------- */
body.home .kit-section { background: transparent; border-top: 0; padding: 96px 0 88px; }
body.home .kit-card { background: rgba(26,26,46,0.72); border-color: rgba(255,255,255,0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.home .kit-card--bundle { background: rgba(0,111,120,0.16); border-color: rgba(0,111,120,0.7); }
.kit-more { margin-top: 36px; }
.kit-more-head { border-top: 0; padding-top: 0; margin-bottom: 18px; }
body.home .kit-mini { background: rgba(26,26,46,0.66); border-color: rgba(255,255,255,0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- 3. Services: curved slat screen (built by v3.js from the Home Carousel module) ---------- */
body.home .car-section.v3s-ready { height: auto; min-height: 0; background: transparent; overflow: visible; padding: 96px 0; }
.car-section.v3s-ready > .mod-custom { display: none; }
.v3s { max-width: 1280px; margin: 0 auto; padding: 0 64px; box-sizing: border-box; }
.v3s-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.v3s-tab {
  padding: 12px 20px; border-radius: 999px; cursor: pointer;
  font: 600 0.88rem/1 'Plus Jakarta Sans', sans-serif;
  color: rgba(255,255,255,0.82); background: rgba(26,26,46,0.55);
  border: 1px solid rgba(255,255,255,0.18); transition: background .25s, border-color .25s, color .25s;
}
.v3s-tab:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.v3s-tab[aria-selected="true"] { background: #006F78; border-color: #006F78; color: #fff; font-weight: 700; }
.v3s-tab:focus-visible { outline: 2px solid #3FC1C9; outline-offset: 3px; }
.v3s-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.v3s-text { transition: opacity .35s ease; }
.v3s.is-swapping .v3s-text { opacity: 0; }
.v3s-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.v3s-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.12; color: #fff; margin: 0 0 18px; }
.v3s-desc { font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,0.72); margin: 0 0 30px; }
.v3s-link { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: #006F78; color: #fff; border-radius: 999px; font-size: .9rem; font-weight: 700; }
.v3s-link:hover { background: #00838D; color: #fff; }
.v3s-link svg { width: 16px; height: 16px; }
.v3s-screen { height: 440px; display: flex; align-items: center; gap: 10px; }
.v3s-slat {
  position: relative; flex: 1 1 0; height: var(--h); overflow: hidden; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
  transform: scaleY(1); transition: transform .5s cubic-bezier(.7,0,.25,1) var(--do);
}
.v3s-screen.is-closed .v3s-slat { transform: scaleY(.02); transition-delay: var(--dc); }
.v3s-img {
  position: absolute; top: var(--pad); bottom: var(--pad); left: calc(var(--i) * -1 * (100% + 10px)); width: calc(13 * 100% + 120px);
  display: flex; align-items: center; justify-content: center;
  background-color: #0E3B4C;
  background-image:
    radial-gradient(rgba(255,255,255,0.22) 1.1px, transparent 1.5px),
    radial-gradient(ellipse at var(--gx, 60%) 40%, rgba(0,170,180,0.75) 0%, rgba(0,111,120,0.25) 40%, rgba(26,26,46,0) 70%),
    radial-gradient(ellipse at 20% 85%, rgba(94,136,191,0.35) 0%, rgba(94,136,191,0) 45%),
    linear-gradient(160deg, #1A1A2E 0%, #102438 100%);
  background-size: 14px 14px, 100% 100%, 100% 100%, 100% 100%;
}
.v3s-word { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; font-size: clamp(64px, 8vw, 120px); color: #FFD700; letter-spacing: -0.02em; white-space: nowrap; }

/* ---------- 4. How We Help: expanding panels (from the Home Services module) ---------- */
body.home .svc-section { background: transparent; padding: 96px 0; }
body.home .svc-section .container { max-width: 1280px; padding: 0 64px; }
body.home .svc-section .eyebrow { text-align: left; }
body.home .svc-section .sec-title { text-align: left; color: #fff; font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 3.6vw, 3.1rem); margin-bottom: 40px; }
body.home .svc-section .sec-title em { color: #FFD700; }
body.home .svc-grid.v3p { display: flex; gap: 12px; height: 440px; grid-template-columns: none; border: 0; background: none; }
body.home .v3p .svc-cell {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 26px;
  padding: 28px 24px; border-radius: 20px;
  background: rgba(26,26,46,0.7); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: flex-grow .65s cubic-bezier(.2,.7,.2,1), background .4s, border-color .4s;
}
body.home .v3p .svc-cell:hover { background: rgba(26,26,46,0.8); }
body.home .v3p .svc-cell.is-open { flex-grow: 5; background: linear-gradient(160deg, rgba(0,111,120,0.55) 0%, rgba(26,26,46,0.82) 75%); border-color: rgba(255,215,0,0.55); cursor: default; }
body.home .v3p .svc-cell:focus-visible { outline: 2px solid #3FC1C9; outline-offset: 3px; }
body.home .v3p .snum2, body.home .v3p .sarrow { display: none; }
body.home .v3p .svc-cell::before {
  content: ""; flex: 0 0 40px; width: 40px; height: 40px; background: #FFD700;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
body.home .v3p .svc-cell h3 { color: #fff; margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; }
body.home .v3p .svc-cell p { display: none; color: rgba(255,255,255,0.78); font-size: 1rem; line-height: 1.75; max-width: 440px; min-width: 300px; margin: 0; }
body.home .v3p .svc-cell.is-open h3 { writing-mode: horizontal-tb; transform: none; white-space: normal; font-family: 'Playfair Display', serif; font-size: 1.85rem; line-height: 1.15; min-width: 300px; max-width: 440px; padding-top: 18px; border-top: 3px solid; border-image: linear-gradient(90deg, #FFD700 0 48px, transparent 48px) 1; }
body.home .v3p .svc-cell.is-open p { display: block; }
/* Line icons for Who We Serve, in order: Corporate L&D, Healthcare, Pharma, Finance, Insurance */
body.home .v3p .svc-cell:nth-child(1) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21V5a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v16M15 9h4a1 1 0 0 1 1 1v11M3 21h18M8 8h3M8 12h3M8 16h3'/%3E%3C/svg%3E"); }
body.home .v3p .svc-cell:nth-child(2) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.5-7 10-7 10z'/%3E%3Cpath d='M12 9v5M9.5 11.5h5'/%3E%3C/svg%3E"); }
body.home .v3p .svc-cell:nth-child(3) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 0 0 1.8 3h10.4a2 2 0 0 0 1.8-3l-5-9V3M7.5 14h9'/%3E%3C/svg%3E"); }
body.home .v3p .svc-cell:nth-child(4) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-6 9 6M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 21h18'/%3E%3C/svg%3E"); }
body.home .v3p .svc-cell:nth-child(5) { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6l8-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }

/* ---------- Readiness Review call-to-action band (home) ---------- */
.v3-cta { position: relative; z-index: 1; padding: 24px 0 40px; }
.v3-cta-inner { max-width: 1280px; margin: 0 auto; padding: 0 64px; box-sizing: border-box; }
.v3-cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: 22px;
  background: linear-gradient(120deg, rgba(0,111,120,0.38) 0%, rgba(26,26,46,0.82) 70%);
  border: 1px solid rgba(255,215,0,0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.v3-cta-text { flex: 1 1 420px; min-width: 0; }
.v3-cta-text .eyebrow { text-align: left; margin-bottom: 12px; }
.v3-cta-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; color: #fff; margin: 0 0 10px; }
.v3-cta-text h2 em { color: #FFD700; }
.v3-cta-text p { margin: 0; color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.7; max-width: 620px; }
.v3-cta-btn { flex: 0 0 auto; display: inline-block; padding: 16px 30px; border-radius: 999px; background: #FFD700; color: #1A1A2E; font-weight: 700; font-size: .95rem; text-align: center; transition: transform .25s, box-shadow .25s; }
.v3-cta-btn:hover { color: #1A1A2E; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,215,0,0.3); }
.v3-cta-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- 5. Contact (on the mesh) ---------- */
.ct-section { background: transparent !important; padding: 96px 0 88px; position: relative; z-index: 1; }
body:not(.home) .ct-section { border-top: 1px solid rgba(255,255,255,0.08); }
.ct-left h2 em { color: #FFD700; }
.ct-icon { background: rgba(0,111,120,0.32); border: 1px solid rgba(0,111,120,0.85); color: #C9DFF2; }
.ct-form-wrap > .mod-rsform, .ct-form-wrap > div:first-child {
  background: rgba(26,26,46,0.72); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 32px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ct-form-wrap input:focus, .ct-form-wrap select:focus, .ct-form-wrap textarea:focus { border-color: #3FC1C9; }
.ct-form-wrap .form-check input[type="checkbox"], .ct-form-wrap .form-check input[type="radio"] { accent-color: #006F78; }
.ct-form-wrap .rsform-submit-button, .ct-form-wrap .rsform-submit-button.btn { background: #006F78; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.ct-form-wrap .rsform-submit-button:hover, .ct-form-wrap .rsform-submit-button.btn:hover { background: #00838D; box-shadow: 0 8px 28px rgba(0,111,120,0.45); }
.kit-form-wrap [data-rsfp-hashcash], .ct-form-wrap [data-rsfp-hashcash] {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px;
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(0,111,120,0.9); border-radius: 10px;
  color: #fff; font: 600 0.9rem 'Plus Jakarta Sans', sans-serif; cursor: pointer;
}
.kit-form-wrap [data-rsfp-hashcash] svg, .ct-form-wrap [data-rsfp-hashcash] svg { width: 26px; height: 26px; }
.kit-form-wrap [data-rsfp-hashcash] .hashcash__circle, .ct-form-wrap [data-rsfp-hashcash] .hashcash__circle { stroke: #006F78; }
.kit-form-wrap [data-rsfp-hashcash] .hashcash__check, .ct-form-wrap [data-rsfp-hashcash] .hashcash__check { stroke: #FFD700; }

/* ---------- 6. Footer (compact) ---------- */
.sf { background: rgba(18,18,31,0.94); border-top: 1px solid rgba(255,215,0,0.45); padding: 40px 0 22px; }
.si { max-width: 1280px; padding: 0 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 5fr); column-gap: 28px; }
.sb { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 14px; padding: 0; margin: 0; border: 0; }
.footer-logo { width: 48px; height: 48px; opacity: 1; border-radius: 50%; flex: 0 0 48px; }
.stag { text-align: left; font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,0.58); max-width: 220px; }
.sgrid { gap: 28px; margin-bottom: 26px; }
.scol h4 { font-size: .62rem; margin-bottom: 10px; }
.scol li { margin-bottom: 6px; }
.scol a { font-size: .8rem; color: rgba(255,255,255,0.62); }
.sbot { grid-column: 1 / -1; padding-top: 16px; }
.scopy { font-size: .75rem; color: rgba(255,255,255,0.48); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .v3s-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .v3s-screen { height: 300px; }
  body.home .svc-grid.v3p { flex-direction: column; height: auto; }
  body.home .v3p .svc-cell h3 { writing-mode: horizontal-tb; transform: none; white-space: normal; }
  body.home .v3p .svc-cell.is-open { flex-grow: 1; }
  .si { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
}
@media (max-width: 768px) {
  .site-logo { top: 14px; left: 16px; width: 56px; height: 56px; }
  body.v3-scrolled .site-logo { width: 48px; height: 48px; }
  .pill-nav { right: 16px; top: 22px; }
  body.home .hero > .mod-custom, .v3s, body.home .svc-section .container, .si { padding-left: 22px; padding-right: 22px; }
  .hero-heading { font-size: 2.6rem; }
  .v3s-screen { height: 220px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint.show { animation: none !important; }
}

/* ---------- Mobile fixes (v3.0.2) ---------- */
@media (max-width: 768px) {
  .hero-eyebrow { display: block; font-size: .68rem; line-height: 1.7; letter-spacing: .12em; }
  .hero-eyebrow span { margin: 0 2px; }
  body.home .scroll-hint { display: none; }
  body.home .hero { height: auto; min-height: 100svh; max-height: none; padding: 120px 0 64px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { text-align: center; }
  /* dark band behind the fixed header once the page scrolls, so the logo never sits on text */
  body.v3-scrolled::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 84px; z-index: 1000; pointer-events: none; background: linear-gradient(180deg, rgba(26,26,46,0.96) 0%, rgba(26,26,46,0.85) 70%, rgba(26,26,46,0) 100%); }
  /* Who We Serve: every panel open, stacked */
  body.home .v3p .svc-cell, body.home .v3p .svc-cell.is-open { flex: 0 0 auto; gap: 14px; padding: 24px 22px; cursor: default; background: rgba(26,26,46,0.72); border-color: rgba(255,255,255,0.12); }
  body.home .v3p .svc-cell h3, body.home .v3p .svc-cell.is-open h3 { writing-mode: horizontal-tb; transform: none; white-space: normal; font-family: 'Playfair Display', serif; font-size: 1.4rem; min-width: 0; padding-top: 0; border: 0; }
  body.home .v3p .svc-cell p { display: block; min-width: 0; }
  .v3-cta-inner { padding: 0 22px; }
  .v3-cta-card { padding: 28px 24px; }
  .v3-cta-btn { width: 100%; }
}

/* =============================================================
   INNER PAGES (v3.1.0) — every page except the homepage
   Shared title band + typography, then per-page component styles.
   ============================================================= */
body:not(.home) { background: #1A1A2E; }
.v3-pagehead { position: absolute; top: 0; left: 0; right: 0; height: 480px; z-index: 0; overflow: hidden; pointer-events: none; }
.v3-pagehead canvas { display: block; width: 100%; height: 100%; opacity: .55; }
.v3-pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,46,0.15) 0%, rgba(26,26,46,0.35) 55%, #1A1A2E 100%); }
body:not(.home) .site-main { position: relative; z-index: 1; padding: 150px 0 88px; }
body:not(.home) .site-main > .container { max-width: 1280px; padding: 0 64px; }
.v3-page-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #3FC1C9; margin: 0 0 18px; }

/* Page titles: each page's own first headline becomes the big title */
.site-main .svc-hero-title,
.site-main .pc-page-title,
.site-main .pc-product-title,
.site-main .article-body > h1:first-child,
.site-main .cc-about-body > h1:first-child,
.site-main #userForm > h2:first-child,
body.page-blog.view-article .site-main .article-header h1 {
  font-family: 'Playfair Display', serif !important; font-weight: 700; color: #fff !important;
  font-size: clamp(2.3rem, 4.4vw, 3.5rem) !important; line-height: 1.08 !important; letter-spacing: -0.02em;
  text-align: left !important; margin: 0 0 18px !important; max-width: 960px;
}
.site-main .svc-hero-title em, .site-main .pc-page-title em, .site-main .article-body > h1:first-child em,
.site-main .cc-about-body h1 em, body.page-blog.view-article .article-header h1 em { color: #FFD700; font-style: italic; }
.site-main .svc-hero-sub, .site-main .cn-blog-intro, .site-main .article-body > h1:first-child + p {
  font-size: 1.1rem !important; line-height: 1.7; color: rgba(255,255,255,0.78) !important; max-width: 720px; text-align: left;
}
body.page-blog.view-article .site-main .article-header { display: block; margin-bottom: 32px; }
body.page-blog.view-article .article-meta { display: flex; gap: 14px; font-size: .85rem; color: rgba(255,255,255,0.55); }
body.page-blog.view-article .article-meta a { color: #3FC1C9; }

/* General article typography */
.site-main .article-body p, .site-main .article-body li { color: rgba(255,255,255,0.8); }
.site-main .article-body h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 44px 0 14px; }
.site-main .article-body h3 { color: #fff; font-size: 1.2rem; margin: 28px 0 10px; }
.site-main .article-body strong { color: #fff; }
.site-main .article-body a { color: #3FC1C9; }
.site-main .article-body a:hover { color: #fff; }
.site-main .article-body figcaption { color: rgba(201,223,242,0.75); }
.site-main .article-body blockquote { border-left: 3px solid #FFD700; padding-left: 18px; color: rgba(255,255,255,0.85); }

/* Services page */
.site-main .svc-hero { max-width: none; margin: 0 0 48px; text-align: left; }
.site-main .svc-hero-eyebrow, .site-main .svc-hero-rule { display: none; }
.site-main .svc-accordion { display: flex; flex-direction: column; gap: 14px; border: 0; }
.site-main .svc-item { border: 1px solid rgba(255,255,255,0.12) !important; border-radius: 20px; background: rgba(26,26,46,0.62); overflow: hidden; transition: background .3s, border-color .3s; }
.site-main .svc-item.open { background: linear-gradient(160deg, rgba(0,111,120,0.32) 0%, rgba(26,26,46,0.8) 70%); border-color: rgba(255,215,0,0.5) !important; }
.site-main .svc-trigger { padding: 26px 30px; }
.site-main .svc-trigger:focus-visible { outline: 2px solid #3FC1C9; outline-offset: -2px; }
.site-main .svc-num { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,111,120,0.32); border: 1px solid rgba(0,111,120,0.85); color: #FFD700; font-weight: 700; font-size: .85rem; }
.site-main .svc-name { font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 2vw, 1.65rem); color: #fff; }
.site-main .svc-tag { color: #3FC1C9; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-main .svc-chevron { color: #fff; }
.site-main .svc-panel-body p { color: rgba(255,255,255,0.8); }
.site-main .svc-del-label, .site-main .svc-aside-label { color: #3FC1C9; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-main .svc-del-item { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.08); background: transparent; }
.site-main .svc-del-item::before { color: #FFD700; }
.site-main .svc-panel-aside { background: rgba(26,26,46,0.45); border-color: rgba(255,255,255,0.08); border-radius: 14px; }
.site-main .svc-aside-list li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.08); }
.site-main .svc-aside-list li::before { color: #3FC1C9; }
.site-main .svc-cta { margin-top: 48px; }
.site-main .svc-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 40px 44px; border-radius: 22px; background: linear-gradient(120deg, rgba(0,111,120,0.38) 0%, rgba(26,26,46,0.82) 70%); border: 1px solid rgba(255,215,0,0.45); }
.site-main .svc-cta-eyebrow { color: #3FC1C9; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.site-main .svc-cta-heading { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #fff; line-height: 1.15; margin-bottom: 8px; }
.site-main .svc-cta-sub { color: rgba(255,255,255,0.75); }
.site-main .svc-cta-btn { padding: 16px 30px; border-radius: 999px; background: #FFD700; color: #1A1A2E; font-weight: 700; }
.site-main .svc-cta-btn:hover { color: #1A1A2E; box-shadow: 0 10px 30px rgba(255,215,0,0.3); }

/* About page */
.site-main .cc-about-wrap { max-width: none; }
.site-main .cc-about-hero { background: none; border: 0; min-height: 0; padding: 0; margin: 0; }
.site-main .cc-about-hero:empty { display: none; }
.site-main .cc-about-body { max-width: 760px; color: rgba(255,255,255,0.8); }
.site-main .cc-about-body p { color: rgba(255,255,255,0.8); font-size: 1.05rem; line-height: 1.8; }

/* Portfolio page */
.site-main .cc-port-section-header, .site-main .cc-port-section-header.ld, .site-main .cc-port-section-header.creative { background: none; border: 0; padding: 0; margin: 0 0 24px; }
.site-main .cc-port-section-header h1, .site-main .cc-port-section-header h2 { font-family: 'Playfair Display', serif; color: #fff !important; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.site-main .cc-port-section-header p { color: rgba(255,255,255,0.72); }
.site-main .cc-port-card { background: rgba(26,26,46,0.7); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; overflow: hidden; }
.site-main .cc-port-card:hover, .site-main .cc-port-card.creative:hover { border-color: rgba(255,215,0,0.5); }
.site-main .cc-port-info h3 { color: #fff; }
.site-main .cc-port-info p { color: rgba(255,255,255,0.72); }
.site-main .cc-btn-preview, .site-main .cc-btn-demo { background: #006F78; border-color: #006F78; color: #fff; }
.site-main .cc-btn-creative { background: #723847; border-color: #723847; color: #fff; }

/* Blog list */
.site-main .cn-blog-chip { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.18); background: transparent; }
.site-main .cn-blog-chip:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.site-main .cn-blog-chip.is-active { color: #3FC1C9; background: transparent; border-color: #3FC1C9; }
.site-main .cn-post { background: rgba(26,26,46,0.7); border-color: rgba(255,255,255,0.12); border-radius: 18px; }
.site-main .cn-post:hover { border-color: rgba(255,215,0,0.5); }
.site-main .cn-post-cat { color: #3FC1C9; }
.site-main .cn-post-title a { color: #fff; }
.site-main .cn-post-title a:hover { color: #FFD700; }
.site-main .cn-post-date { color: rgba(201,223,242,0.6); }
.site-main .cn-post-excerpt { color: rgba(255,255,255,0.72); }
.site-main .cn-post-more { color: #3FC1C9; }
.site-main .cn-post-more:hover { color: #fff; }
.site-main .cn-blog-pagination .page-link, .site-main .cn-blog-pagination a, .site-main .cn-blog-pagination span { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.18); background: transparent; }
.site-main .cn-blog-pagination .active .page-link, .site-main .cn-blog-pagination .active span { color: #1A1A2E; background: #3FC1C9; border-color: #3FC1C9; }

/* Store (product catalog) — cards stay light */
.site-main .pc-store-notice { background: rgba(26,26,46,0.7) !important; border: 1px solid rgba(0,111,120,0.6) !important; color: rgba(255,255,255,0.82) !important; border-radius: 14px; }
.site-main .pc-store-notice svg { color: #C9DFF2; fill: currentColor; }
.site-main .pc-store-notice strong { color: #fff; }
.site-main .pc-tabbar { border: 0 !important; gap: 10px; display: flex; flex-wrap: wrap; }
.site-main .pc-tab { background: rgba(26,26,46,0.55) !important; color: rgba(255,255,255,0.82) !important; border: 1px solid rgba(255,255,255,0.18) !important; border-radius: 999px !important; padding: 12px 22px !important; font-weight: 600; }
.site-main .pc-tab--active { background: #006F78 !important; border-color: #006F78 !important; color: #fff !important; font-weight: 700; }
.site-main .pc-subtab { background: transparent !important; color: rgba(255,255,255,0.72) !important; border: 1px solid rgba(255,255,255,0.18) !important; border-radius: 999px !important; }
.site-main .pc-subtab--active { color: #3FC1C9 !important; border-color: #3FC1C9 !important; }
.site-main .pc-intro p { color: rgba(255,255,255,0.78); }
.site-main .pc-card { border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.site-main .pc-card-title { color: #1A1A2E; }
.site-main .pc-readmore { color: #006F78 !important; font-weight: 700; }
.site-main .pc-btn { background: #006F78 !important; border-color: #006F78 !important; color: #fff !important; border-radius: 999px; }
.site-main .pc-btn:hover { background: #00838D !important; }
.site-main .pc-back { color: #3FC1C9; }
.site-main .pc-product-price { color: #fff; }
.site-main .pc-product-desc, .site-main .pc-product-desc p, .site-main .pc-product-desc li { color: rgba(255,255,255,0.82) !important; }
.site-main .pc-product-desc h3 { color: #fff !important; }
.site-main .pc-product-desc a { color: #3FC1C9 !important; }
.site-main .pc-payhip-note { color: rgba(255,255,255,0.6); }

/* Videos (YouTube channel component) */
.site-main .com-youtubechannel__search input[type="text"], .site-main .com-youtubechannel__search input[type="search"], .site-main .com-youtubechannel__search select {
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.14); border-radius: 10px; color: #fff; padding: 10px 14px;
}
.site-main .com-youtubechannel__search button { background: #006F78; color: #fff; border: 0; border-radius: 999px; padding: 10px 22px; font-weight: 700; }
.site-main .com-youtubechannel__item { background: rgba(26,26,46,0.7); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; overflow: hidden; }
.site-main .com-youtubechannel__title, .site-main .com-youtubechannel__title a { color: #fff; }

/* Forms on inner pages (e.g. Strategy Call) */
.site-main #userForm { background: rgba(26,26,46,0.72); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 32px; max-width: 880px; }
.site-main #userForm input[type="text"]:focus, .site-main #userForm input[type="email"]:focus, .site-main #userForm textarea:focus, .site-main #userForm select:focus { border-color: #3FC1C9 !important; }
.site-main #userForm select option { background: #1A1A2E; }
.site-main #userForm .form-check-input, .site-main #userForm input[type="checkbox"], .site-main #userForm input[type="radio"] { accent-color: #006F78; }
.site-main #userForm .rsform-submit-button, .site-main #userForm button[type="submit"] { background: #006F78 !important; border-color: #006F78 !important; color: #fff !important; }
.site-main #userForm .rsform-submit-button:hover, .site-main #userForm button[type="submit"]:hover { background: #00838D !important; box-shadow: 0 8px 28px rgba(0,111,120,0.45) !important; }
.site-main [data-rsfp-hashcash] { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; background: rgba(255,255,255,0.07); border: 1.5px solid rgba(0,111,120,0.9); border-radius: 10px; color: #fff; font: 600 0.9rem 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.site-main [data-rsfp-hashcash] svg { width: 26px; height: 26px; }
.site-main [data-rsfp-hashcash] .hashcash__circle { stroke: #006F78; }
.site-main [data-rsfp-hashcash] .hashcash__check { stroke: #FFD700; }

@media (max-width: 768px) {
  body:not(.home) .site-main { padding-top: 110px; }
  body:not(.home) .site-main > .container { padding: 0 22px; }
  .site-main .svc-trigger { padding: 20px; }
  .site-main .svc-cta-inner { padding: 28px 24px; }
  .site-main #userForm { padding: 22px; }
  .v3-pagehead { height: 360px; }
}

/* v3.1.1 fixes from live check */
.site-main .svc-item.open .svc-num { color: #FFD700; }
.site-main .svc-item.open .svc-name { color: #fff; }
.site-main .svc-item.open .svc-chevron { color: #FFD700; }
.site-main .cc-about-wrap, .site-main .cc-portfolio-wrap { padding: 0 0 40px; }
.site-main .cc-btn-preview, .site-main .cc-btn-demo, .site-main .cc-btn-creative { color: #fff !important; }
.site-main .com-youtubechannel__body { padding: 14px 16px 18px; }
.site-main .com-youtubechannel__search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px; }

/* v3.1.2: blog list headline + dark band behind the header on inner pages (desktop) */
.site-main .v3-page-title { font-family: 'Playfair Display', serif !important; font-weight: 700; color: #fff !important; font-size: clamp(2.3rem, 4.4vw, 3.5rem) !important; line-height: 1.08 !important; letter-spacing: -0.02em; text-align: left; margin: 0 0 18px !important; max-width: 960px; }
@media (min-width: 769px) {
  body:not(.home)::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 116px; z-index: 1000; pointer-events: none; opacity: 0; transition: opacity .3s; background: linear-gradient(180deg, #1A1A2E 0%, #1A1A2E 78%, rgba(26,26,46,0) 100%); }
  body:not(.home).v3-scrolled::before { opacity: 1; }
}
