/* ===========================================================
   foxpress.design - layout & components
   =========================================================== */

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav-scrolled { background: rgba(255,255,255,0.92); backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 6px; transition: opacity 0.25s ease; }
.nav:not(.nav-scrolled) .nav-links { opacity: 0; pointer-events: none; }
.nav-link {
  font-family: var(--font-display); font-weight: 500; font-size: 15.5px;
  color: var(--ink); padding: 9px 14px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav:not(.nav-scrolled) .nav-link { color: rgba(255,255,255,0.92); }
.nav:not(.nav-scrolled) .nav-link:hover { background: rgba(255,255,255,0.12); color: #fff; }
.nav-link:hover { background: color-mix(in oklab, var(--accent), white 90%); color: var(--accent-700); }

/* Light-hero pages: dark nav text before scroll (case studies, insights index) */
.nav.nav-light:not(.nav-scrolled) .nav-link { color: var(--ink); }
.nav.nav-light:not(.nav-scrolled) .nav-link:hover { background: var(--paper); color: var(--accent); }
.nav.nav-light:not(.nav-scrolled) .nav-burger span { background: var(--ink); }

/* Dropdown menus */
.nav-has-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  min-width: 210px; padding: 6px 0; z-index: 60;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0s 0.15s;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
}
.nav-dropdown-item {
  display: block; padding: 9px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--ink); text-decoration: none; transition: background .12s, color .12s;
}
.nav-dropdown-item:hover { color: var(--accent); background: var(--paper); }
.nav-caret { margin-left: 2px; vertical-align: middle; transition: transform 0.15s; display: inline-block; }
.nav-has-dropdown:hover .nav-caret,
.nav-has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 11px 20px; font-size: 15px; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav:not(.nav-scrolled) .nav-burger span { background: #fff; }
.nav-mobile { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile {
    display: flex; flex-direction: column; gap: 4px;
    background: #fff; border-top: 1px solid var(--line);
    padding: 14px var(--gutter) 22px; max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease; box-shadow: var(--shadow);
  }
  .nav-mobile:not(.open) { max-height: 0; padding-block: 0; }
  .nav-mobile.open { max-height: 760px; }
  .nav-mobile a:not(.btn) { padding: 12px 6px; font-family: var(--font-display); font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav-mobile .btn { margin-top: 12px; justify-content: center; }
  .nav-scrolled, .nav { background: rgba(255,255,255,0.96); backdrop-filter: saturate(140%) blur(10px); }
}

/* ---------------- HERO ---------------- */
.hero { padding-top: 132px; padding-bottom: clamp(80px, 11vw, 150px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 60px); align-items: center; position: relative; z-index: 2; }
.hero-copy { max-width: 600px; }
.hero-title {
  font-weight: 800; color: #fff;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.03em;
  margin: 22px 0 0;
  max-width: 12ch;
}
.hero-title .accent-line { color: var(--accent-200); }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 1.55vw, 20px); color: #c4d8e8; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust-row { list-style: none; margin: 38px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.trust-row li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: #cfe1ef; }

.hero-art { display: flex; justify-content: center; align-items: center; position: relative; z-index: 2; }
.design-scene { filter: drop-shadow(0 30px 50px rgba(8,24,40,.4)); }
.hero-illustration { width: 100%; max-width: 560px; height: auto; display: block;
  filter: drop-shadow(0 26px 44px rgba(8,24,40,.45)); }

/* type-forward variant */
.dir-type .hero-grid { grid-template-columns: 1fr; }
.dir-type .hero-copy { max-width: 980px; margin: 0 auto; text-align: center; }
.dir-type .hero-copy.centered .hero-ctas,
.dir-type .hero-copy.centered .trust-row { justify-content: center; }
.dir-type .hero-title { font-size: clamp(48px, 9vw, 104px); }
.dir-type .hero-sub { margin-inline: auto; }
.dir-type .pill { }
.dir-type .hero { padding-bottom: clamp(64px, 8vw, 110px); }

/* work-stack variant */
.work-stack { position: relative; width: 100%; max-width: 520px; height: 420px; }
.wf {
  position: absolute; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(255,255,255,.5); box-shadow: var(--shadow-lg);
}
.wf-bar { height: 30px; background: #143a5a; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.wf-bar i { width: 7px; height: 7px; border-radius: 50%; background: #2f5d80; }
.wf-bar i:first-child { background: #d6453c; }
.wf-bar span { margin-left: 10px; font-size: 11px; color: #9bc3da; font-family: var(--font-body); }
.wf image-slot { height: calc(100% - 30px) !important; }
.wf-back { width: 64%; height: 60%; top: 0; right: 0; transform: rotate(4deg); opacity: .92; }
.wf-mid  { width: 60%; height: 56%; bottom: 6%; left: 0; transform: rotate(-5deg); }
.wf-front{ width: 70%; height: 64%; top: 24%; left: 22%; z-index: 3; transform: rotate(1deg); }

.hero-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white)); z-index: 1; }

/* floating animations */
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes twinkle { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.25); opacity: 1; } }
.float-a { animation: floatA 6s ease-in-out infinite; }
.float-b { animation: floatB 7s ease-in-out infinite; }
.twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 3.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .float-a, .float-b, .twinkle { animation: none; } }

/* ---------------- SERVICES ---------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { padding: 30px 26px 28px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; color: inherit; text-decoration: none; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent), white 70%); }
.service-ico { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-700)); box-shadow: 0 10px 20px -8px color-mix(in oklab, var(--accent), transparent 40%); margin-bottom: 22px; }
.service-ico svg { stroke: white; }
.service-card h3 { font-size: 25px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 16px; }
.ticks { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------------- PROCESS ---------------- */
.process .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent-200); letter-spacing: .1em; }
.step-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin: 16px 0 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.step h3 { color: #fff; font-size: 21px; font-weight: 700; margin-bottom: 9px; }
.step p { color: #bcd3e6; font-size: 15px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 56px; left: 70px; right: -13px; height: 1px;
  background: linear-gradient(to right, rgba(169,204,227,.4), transparent); }

/* ---------------- WORK ---------------- */
.work { background: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.work-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/10; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card.wide { grid-column: span 2; aspect-ratio: 21/9; }
.wc-media { position: absolute; inset: 0; }
.wc-media img, .wc-media image-slot { width: 100%; height: 100%; display: block; }
.wc-media img { object-fit: cover; object-position: 50% 0; }

/* details revealed over the screenshot on hover */
.wc-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 2.4vw, 30px); color: #fff; opacity: 0; transition: opacity .3s ease;
  background:
    linear-gradient(to top, rgba(6,16,28,0.97) 0%, rgba(6,16,28,0.86) 38%, rgba(6,16,28,0.62) 66%, rgba(6,16,28,0.30) 100%),
    rgba(6,16,28,0.28); }
.work-card:hover .wc-overlay, .work-card:focus-visible .wc-overlay { opacity: 1; }
.wc-overlay > * { transform: translateY(10px); transition: transform .35s ease; }
.work-card:hover .wc-overlay > * { transform: none; }
.wc-cat { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-200); }
.wc-overlay h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: #fff; margin: 9px 0 6px; }
.wc-overlay p { font-size: 15px; color: #d4e3f0; max-width: 46ch; }
.wc-outcome { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px !important;
  font-weight: 600; color: #eaf3fa !important; }
.wc-outcome svg { flex: none; margin-top: 2px; }
.wc-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.wc-overlay .wc-link { color: #fff; margin-top: 16px; }
.work-card:hover .wc-link svg { transform: translateX(4px); transition: transform .2s; }

/* invite / CTA card keeps its details visible */
.work-card.is-cta { background: repeating-linear-gradient(45deg, color-mix(in oklab,var(--accent),white 88%) 0 16px, color-mix(in oklab,var(--accent),white 94%) 16px 32px);
  border: 1.5px dashed color-mix(in oklab,var(--accent),white 55%); box-shadow: none; }
.work-card.is-cta:hover { box-shadow: var(--shadow); }
.wc-invite { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px; gap: 4px; }
.wc-invite h3 { font-size: 24px; font-weight: 700; margin: 12px 0 6px; }
.wc-invite p { font-size: 15px; max-width: 34ch; }
.wc-invite .wc-link { color: var(--accent); margin-top: 16px; }

@media (hover: none) {
  .wc-overlay { opacity: 1; background: linear-gradient(to top, rgba(8,22,38,0.92) 0%, rgba(8,22,38,0.45) 50%, transparent 85%); }
  .wc-overlay > * { transform: none; }
}

/* ---------------- REVIEWS ---------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review { padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; }
.stars { display: inline-flex; gap: 3px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); font-weight: 500; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 13px; font-size: 14.5px; }
.rev-avatar, .rev-photo { width: 80px; height: 80px; border-radius: 14px; display: grid; place-items: center; flex: none; overflow: hidden; }
.rev-avatar { background: linear-gradient(150deg, var(--accent), var(--accent-700)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.rev-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ---------------- ABOUT ---------------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.about-media { position: relative; }
.about-media image-slot { width: 100%; height: 100%; display: block; }
.photo-frame { position: relative; isolation: isolate; aspect-ratio: 4/5; border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img { filter: grayscale(1); }
.about-badge { position: absolute; right: -18px; bottom: 28px; display: flex; align-items: center; gap: 13px; padding: 16px 20px; font-size: 14px; background: #fff; }
.about-badge .pin { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(150deg, var(--accent), var(--accent-700)); flex: none; }
.about-copy .kicker { margin-bottom: 16px; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin-bottom: 22px; }
.about-copy p { font-size: 17px; color: var(--slate); margin-bottom: 16px; max-width: 56ch; }
.stats { display: flex; flex-wrap: wrap; gap: 30px 44px; margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column; }
.stat-big { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.stat-small { font-size: 14px; color: var(--slate); margin-top: 8px; max-width: 18ch; }

/* ---------------- CROSS-PROMO ---------------- */
.crosspromo { padding-block: 0; }
.cp-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; flex-wrap: wrap;
  background: linear-gradient(120deg, color-mix(in oklab,var(--accent),white 92%), #fff 70%); transition: transform .2s, box-shadow .2s; }
.cp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cp-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; color: var(--accent-700); font-size: 15px; }
.cp-left h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin: 12px 0 8px; }
.cp-left p { font-size: 16px; max-width: 56ch; }

/* ---------------- CONTACT ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: start; position: relative; z-index: 2; }
.contact-intro h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; margin: 16px 0 18px; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 15px; }
.contact-list strong { color: #fff; font-size: 17px; font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.cl-sub { color: #9fbdd4; font-size: 14px; }
.ci { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.chamber { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #9fbdd4; }
.chamber-logo { background: #fff; border-radius: 12px; padding: 14px 18px; display: inline-flex; box-shadow: var(--shadow-sm); }
.chamber-logo img { height: 40px; width: auto; max-width: 100%; object-fit: contain; display: block; }

.contact-form { padding: 32px; background: #fff; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--paper);
  width: 100%; transition: border-color .15s, box-shadow .15s; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab,var(--accent),white 82%); background: #fff; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; cursor: pointer; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(90deg); pointer-events: none; }
.form-fine { font-size: 12.5px; color: var(--slate-400); text-align: center; margin-top: 2px; }

/* ---------------- FOOTER ---------------- */
.footer { color: #cdddea; padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin: 18px 0; font-size: 15px; color: #9fbdd4; max-width: 38ch; }
.footer-cloud { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--accent-200); padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); transition: background .15s; }
.footer-cloud:hover { background: rgba(255,255,255,.06); }
.footer-col h4 { font-family: var(--font-display); font-size: 14px; letter-spacing: .04em; color: #fff; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14.5px; color: #9fbdd4; padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.muted-d { color: #7e9bb3 !important; }
.footer-bar { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 34px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #88a4bb; flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin-bottom: 8px; }
  .work-stack { margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .step:not(:last-child)::after { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .work-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .work-card.wide { grid-column: auto; aspect-ratio: 16/10; }
  .process .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge { right: 12px; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
}

/* Contact form feedback states */
.form-success,
.form-error {
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 12px;
  align-items: center;
  gap: 12px;
}
.form-success {
  background: rgba(63, 174, 102, 0.12);
  border: 1px solid rgba(63, 174, 102, 0.3);
  color: var(--ink);
  display: flex;
}
.form-error {
  display: flex;
  background: rgba(214, 69, 60, 0.12);
  border: 1px solid rgba(214, 69, 60, 0.3);
  color: var(--ink);
}
.form-success p,
.form-error p {
  margin: 0;
  font-size: 15px;
}
.form-error a {
  color: var(--accent-200);
}

/* Book direct block in contact section */
.book-direct {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.book-direct .btn {
  margin-top: 12px;
}
.book-sub {
  font-size: 13px;
  color: #bcd3e6;
  margin-top: 8px;
}

/* Final CTA section */
.final-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.final-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.final-cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  letter-spacing: 0.03em;
}

/* Cal.com embed buttons inherit btn styles */
button[data-cal-link] {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  border: none;
  line-height: 1;
}

/* Client logo strip */
.logos-section {
  display: none;
  padding: 48px 24px;
}
.logos-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-bottom: 24px;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: center;
  align-items: center;
}
.logo-item {
  display: flex;
  align-items: center;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.logo-item img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.logo-item:hover {
  opacity: 0.6;
}
@media (max-width: 768px) {
  .logos-row {
    gap: 16px 24px;
  }
  .logo-item img {
    height: 40px;
    max-width: 150px;
  }
}

/* Review enhancements */
.rev-source {
  display: block;
  font-size: 12px;
  color: var(--slate);
  margin-top: 2px;
  opacity: 0.7;
}

/* About section chamber badge */
.about-chamber {
  margin-top: 28px;
}

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy-800, #143a5a);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  gap: 12px;
}
.mobile-cta-bar.visible {
  display: flex;
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius, 8px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  min-height: 44px;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
}
.mobile-cta-btn:active { opacity: 0.8; }
.mobile-cta-call {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2) !important;
}
.mobile-cta-book {
  background: var(--accent, #4189be);
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-cta-bar { display: none !important; }
}

/* Service feature grid (used in service.njk layout) */
.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 1024px) {
  .service-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .service-feature-grid { grid-template-columns: 1fr; }
}

/* Risk-reversal reassurance line below form submit */
.cta-reassurance {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 8px 0 0;
  letter-spacing: 0.03em;
}

/* Location pages */
.location-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.location-service-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--paper, #f4f8fb);
  border-radius: 12px;
  border: 1px solid var(--border, rgba(0,0,0,0.07));
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.location-service-link:hover {
  border-color: var(--accent);
  background: white;
}
@media (max-width: 600px) {
  .location-services-grid { grid-template-columns: 1fr; }
}

/* Insights / blog posts */
.post-header { padding: 132px 0 clamp(72px,10vw,120px); }
.post-header-inner { max-width: 800px; }
.post-body { padding: 64px 0; }
.post-body-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
.post-content { font-size: 17px; line-height: 1.8; color: var(--ink); }
.post-content h2 { font-size: 26px; font-weight: 700; margin: 48px 0 16px; letter-spacing: -0.02em; }
.post-content h3 { font-size: 20px; font-weight: 600; margin: 36px 0 12px; }
.post-content p { margin: 0 0 20px; }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; }
.post-content li { margin-bottom: 8px; }
.post-content strong { font-weight: 600; }
.post-cta { position: sticky; top: 100px; }
.post-cta-inner {
  background: var(--paper, #f4f8fb);
  border: 1px solid var(--border, rgba(0,0,0,0.07));
  border-radius: 16px;
  padding: 32px;
}
.post-cta-inner h3 { font-size: 20px; font-weight: 700; margin: 8px 0 8px; }
.post-cta-inner p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .post-body-inner { grid-template-columns: 1fr; }
  .post-cta { position: static; margin-top: 48px; }
}

/* Posts index grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  background: var(--paper, #f4f8fb);
  border: 1px solid var(--border, rgba(0,0,0,0.07));
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.post-card-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 0; }
.post-card-desc { font-size: 14px; line-height: 1.6; margin: 0; flex: 1; }
.post-card-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.03em; margin-top: 8px; }
@media (max-width: 900px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }
