* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Geist', system-ui, sans-serif; background: #ffffff; overflow-x: hidden; }
a { color: #2f5fdb; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { text-wrap: pretty; }

@keyframes gpKenBurns { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes gpFadeIn { from { opacity: 0; } to { opacity: 1; } }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
[data-reveal].gp-in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* header */
.gp-header { position: sticky; top: 0; left: 0; width: 100%; z-index: 900; background: #ffffff; }
.gp-header-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; }
.gp-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gp-logo-img { height: 80px; width: auto; flex-shrink: 0; }
.gp-wordmark { color: #12151c; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.gp-nav { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: flex-end; }
.gp-nav-links { display: flex; align-items: center; gap: 16px; }
.gp-nav-link { position: relative; color: #6b7280; font-size: 15px; font-weight: 500; padding: 4px 0; display: flex; align-items: center; gap: 4px; }
.gp-nav-link:hover { color: #12151c; }
.gp-nav-link .gp-underline { position: absolute; left: 0; bottom: -2px; height: 1px; width: 0%; background: #2f5fdb; transition: width 0.35s cubic-bezier(0.22,1,0.36,1); }
.gp-nav-link[data-current="true"] { color: #12151c; }
.gp-nav-link[data-current="true"] .gp-underline { width: 100%; }

.gp-services-dropdown { position: relative; padding: 4px 0; }
.gp-services-menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: #ffffff; border: 1px solid rgba(15,23,42,0.1); border-radius: 10px; box-shadow: 0 16px 34px rgba(15,23,42,0.14); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s cubic-bezier(0.22,1,0.36,1), transform 0.2s cubic-bezier(0.22,1,0.36,1); z-index: 5; }
.gp-services-dropdown:hover .gp-services-menu, .gp-services-dropdown:focus-within .gp-services-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.gp-services-menu a { display: block; padding: 9px 12px; color: #374151; font-size: 14px; border-radius: 6px; }
.gp-services-menu a:hover { background: #eef4fe; }

.gp-nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.gp-phone-item { display: flex; align-items: center; gap: 6px; color: #12151c; font-size: 14px; font-weight: 500; padding: 0 6px; white-space: nowrap; }
.gp-phone-item:hover { color: #2f5fdb; }
.gp-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: none; background: transparent; color: #12151c; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gp-icon-btn:hover { background: rgba(47,95,219,0.1); }

.gp-cta { position: relative; overflow: hidden; background: #2f5fdb; color: #ffffff; font-weight: 600; padding: 10px 16px; border-radius: 8px; white-space: nowrap; display: inline-block; transition: background 0.25s cubic-bezier(0.22,1,0.36,1), transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.gp-cta:hover { background: #4a74e8; color: #ffffff; transform: translateY(-2px); }
.gp-cta-shine::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%); transform: skewX(-20deg); transition: left 0.6s ease; }
.gp-cta-shine:hover::after { left: 125%; }

.gp-hamburger { display: none; width: 44px; height: 44px; border-radius: 8px; border: none; background: transparent; color: #12151c; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }

/* drawer */
.gp-drawer { position: fixed; inset: 0; z-index: 950; display: none; background: #ffffff; }
.gp-drawer.gp-open { display: block; }
.gp-drawer-inner { max-width: 440px; margin: 0 auto; height: 100%; display: flex; flex-direction: column; padding: 24px; overflow-y: auto; }
.gp-drawer-top { display: flex; justify-content: flex-end; }
.gp-drawer-top button { width: 44px; height: 44px; border-radius: 8px; border: none; background: transparent; color: #12151c; font-size: 22px; cursor: pointer; }
.gp-drawer-links { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.gp-drawer-links a { color: #12151c; font-size: 20px; font-weight: 500; padding: 14px 6px; border-bottom: 1px solid rgba(15,23,42,0.08); }
.gp-drawer-cta { margin-top: 20px; text-align: center; padding: 14px; }
.gp-drawer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.gp-drawer-contact a { display: flex; align-items: center; gap: 10px; color: #45505f; padding: 12px 6px; font-size: 15px; border-bottom: 1px solid rgba(15,23,42,0.08); }
.gp-drawer-settings { margin-top: 20px; }
.gp-drawer-settings-label { color: #6b7280; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.gp-drawer-settings label { display: flex; align-items: center; justify-content: space-between; padding: 10px 6px; color: #45505f; font-size: 14px; }
.gp-drawer-settings select { width: 100%; margin-top: 6px; background: #eef1f5; color: #12151c; border: 1px solid rgba(15,23,42,0.12); border-radius: 8px; padding: 9px; font-family: 'Geist', sans-serif; font-size: 14px; }
.gp-drawer-search { margin-top: 20px; width: 100%; background: #eef1f5; border: 1px solid rgba(15,23,42,0.12); border-radius: 8px; padding: 12px; color: #12151c; font-size: 15px; font-family: 'Geist', sans-serif; }

/* search overlay */
.gp-search-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.45); z-index: 920; display: none; align-items: flex-start; justify-content: center; padding-top: 80px; }
.gp-search-overlay.gp-open { display: flex; }
.gp-search-panel { width: min(600px,90vw); background: #eef4fe; border: 1px solid rgba(47,95,219,0.22); border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 12px; }
.gp-search-panel input { flex: 1; background: transparent; border: none; outline: none; color: #12151c; font-size: 16px; font-family: 'Geist', sans-serif; }
.gp-search-panel button { width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer; }
#gp-voice-btn { background: rgba(47,95,219,0.1); color: #2f5fdb; }
#gp-search-close { background: transparent; color: #45505f; }

/* settings panel */
.gp-settings-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.35); z-index: 920; display: none; }
.gp-settings-overlay.gp-open { display: block; }
.gp-settings-panel { position: fixed; top: 0; right: 0; height: 100%; width: min(360px,90vw); background: #eef4fe; border-left: 1px solid rgba(47,95,219,0.18); z-index: 921; padding: 26px; overflow-y: auto; display: none; animation: gpFadeIn 0.25s ease; }
.gp-settings-panel.gp-open { display: block; }
.gp-settings-panel h3 { color: #12151c; font-size: 18px; margin: 0 0 20px; }
.gp-settings-panel label { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(15,23,42,0.08); color: #45505f; font-size: 14px; }
.gp-settings-lang { padding: 12px 0; border-top: 1px solid rgba(15,23,42,0.08); }
.gp-settings-lang div { color: #45505f; font-size: 14px; margin-bottom: 8px; }
.gp-settings-panel select { width: 100%; background: #eef1f5; color: #12151c; border: 1px solid rgba(15,23,42,0.12); border-radius: 8px; padding: 9px; font-family: 'Geist', sans-serif; font-size: 14px; }
.gp-settings-panel > button { margin-top: 20px; width: 100%; padding: 11px; background: transparent; border: 1px solid rgba(47,95,219,0.35); color: #2f5fdb; border-radius: 8px; cursor: pointer; font-family: 'Geist', sans-serif; }

html.gp-dyslexia, html.gp-dyslexia * { font-family: 'Lexend', sans-serif !important; }

@media (max-width: 768px) {
  .gp-desktop-only { display: none !important; }
  .gp-hamburger { display: flex !important; }
  .gp-logo-img { height: 38px !important; }
  .gp-wordmark { font-size: 13px !important; max-width: 40vw; }
}
@media (max-width: 360px) { .gp-wordmark { font-size: 11px !important; max-width: 32vw; } }
@media (min-width: 769px) { .gp-hamburger { display: none !important; } }
@media (max-width: 1080px) { .gp-phone-item { display: none !important; } }
@media (max-width: 900px) { .gp-nav-links a { font-size: 14px !important; } }

/* footer */
.gp-footer { background: #ffffff; border-top: 1px solid rgba(15,23,42,0.08); padding: 64px 24px 32px; }
.gp-footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.gp-footer-grid img { height: 44px; width: auto; margin-bottom: 16px; }
.gp-footer-grid p { color: #6b7280; font-size: 15px; line-height: 1.6; max-width: 340px; margin: 0 0 16px; }
.gp-footer-col-title { color: #2f5fdb; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.gp-footer-grid a { display: block; position: relative; width: fit-content; color: #6b7280; font-size: 15px; margin-bottom: 12px; padding-bottom: 2px; }
.gp-footer-grid .gp-service-area, .gp-footer-grid .gp-contact-links a { display: block; }
.gp-footer-grid .gp-contact-links { display: flex; flex-direction: column; gap: 2px; }
.gp-footer-grid .gp-underline { position: absolute; left: 0; bottom: 0; height: 1px; width: 0%; background: #2f5fdb; transition: width 0.35s cubic-bezier(0.22,1,0.36,1); }
.gp-footer-grid a:hover { color: #12151c; }
.gp-footer-grid a:hover .gp-underline { width: 100%; }
.gp-footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(15,23,42,0.08); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.gp-footer-bottom .gp-copy { color: #8892a0; font-size: 13px; }
@media (max-width: 700px) { .gp-footer-grid { grid-template-columns: 1fr !important; } }

/* page grids (shared) */
@media (max-width: 760px) { .gp-about-grid, .gp-about-media-grid { grid-template-columns: 1fr !important; } }
@media (max-width: 900px) { .gp-why-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 500px) { .gp-why-grid { grid-template-columns: 1fr !important; } }
.gp-service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 760px) { .gp-service-row { grid-template-columns: 1fr !important; } .gp-service-row > * { order: 0 !important; } }
@media (max-width: 800px) { .gp-contact-grid { grid-template-columns: 1fr !important; } }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* service/testimonial cards */
.gp-card { text-decoration: none; display: flex; flex-direction: column; height: 100%; background: #ffffff; border: 1px solid rgba(15,23,42,0.08); border-radius: 14px; overflow: hidden; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.35s cubic-bezier(0.22,1,0.36,1); }
.gp-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: rgba(47,95,219,0.4); }
.gp-card:hover .gp-card-img { transform: scale(1.06); }
.gp-card:hover .gp-arrow { transform: translateX(4px); }
.gp-card-media { position: relative; height: 190px; overflow: hidden; }
.gp-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.gp-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.gp-card-body h3 { color: #12151c; font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.gp-card-body p { color: #6b7280; font-size: 15px; line-height: 1.6; margin: 0 0 14px; flex: 1; }
.gp-card-link { color: #2f5fdb; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.gp-arrow { display: inline-block; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.gp-card-viewall { position: absolute; inset: 0; background: #2f5fdb; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 32px; }

.gp-why-item { border-top: 1px solid rgba(15,23,42,0.12); padding-top: 20px; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }
.gp-why-item:hover { transform: translateY(-4px); }
.gp-why-item.gp-on-blue { border-top-color: rgba(255,255,255,0.25); }
.gp-why-item h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.gp-why-item p { font-size: 15px; line-height: 1.6; margin: 0; }

.gp-testimonial { background: #ffffff; border: 1px solid rgba(15,23,42,0.08); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s cubic-bezier(0.22,1,0.36,1); }
.gp-testimonial:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.gp-about-link-white { color: #ffffff; font-size: 15px; font-weight: 600; }
.gp-about-link-white:hover { color: #cfe0fb; }

/* services page bands */
.gp-band-blue { background: #2f5fdb; }
.gp-band-blue .gp-svc-kicker { color: #cfe0fb; }
.gp-band-blue .gp-svc-heading { color: #ffffff; }
.gp-band-blue .gp-svc-desc { color: rgba(255,255,255,0.85); }
.gp-band-blue .gp-svc-check { color: #ffffff; }
.gp-band-blue .gp-svc-benefit { color: rgba(255,255,255,0.9); }
.gp-band-blue .gp-svc-ctatext { color: rgba(255,255,255,0.85); }
.gp-band-blue .gp-svc-btn { background: #ffffff; color: #2f5fdb; }
.gp-band-blue .gp-svc-btn:hover { background: #eef4fe; color: #2f5fdb; }
.gp-band-light { background: #e4edfe; }
.gp-band-light .gp-svc-kicker { color: #2f5fdb; }
.gp-band-light .gp-svc-heading { color: #12151c; }
.gp-band-light .gp-svc-desc { color: #45505f; }
.gp-band-light .gp-svc-check { color: #2f5fdb; }
.gp-band-light .gp-svc-benefit { color: #374151; }
.gp-band-light .gp-svc-ctatext { color: #45505f; }
.gp-band-light .gp-svc-btn { background: #2f5fdb; color: #ffffff; }
.gp-band-light .gp-svc-btn:hover { background: #4a74e8; color: #ffffff; }
.gp-svc-kicker { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.gp-svc-heading { font-size: clamp(24px,3vw,32px); font-weight: 600; line-height: 1.2; margin: 0 0 16px; }
.gp-svc-desc { font-size: 16px; line-height: 1.7; margin: 0 0 20px; }
.gp-svc-benefit-row { display: flex; gap: 10px; align-items: flex-start; }
.gp-svc-ctatext { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.gp-svc-btn { position: relative; overflow: hidden; font-size: 15px; font-weight: 600; padding: 13px 24px; border-radius: 8px; display: inline-block; transition: background 0.25s cubic-bezier(0.22,1,0.36,1), transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.gp-svc-btn:hover { transform: translateY(-2px); }
