/* ==========================================================================
   Zelvra Solutions — shared stylesheet
   Loaded after each page's inline styles. Holds the shared header/footer,
   site-wide polish, and components used on more than one page.
   ========================================================================== */

:root {
  --teal-ink: #007d84;            /* teal that passes contrast on white */
  --ring: 0 0 0 3px rgba(0,194,203,0.45);
  --shadow-lg: 0 24px 60px -24px rgba(11,31,58,0.35);
}

html { scroll-padding-top: 88px; }
body { text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: rgba(0,194,203,0.28); }

h1, h2, h3, .section-heading, .service-title, .cta-heading, .cta-strip-text { text-wrap: balance; }
p { text-wrap: pretty; }

/* ─── Focus ─── */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.budget-option input[type="radio"]:focus-visible + label { box-shadow: var(--ring); border-color: var(--teal); }

/* ─── Reveal: never hide content when scripts are unavailable ─── */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }

/* ─── Header ─── */
nav[aria-label="Main navigation"] {
  background: rgba(11,31,58,0.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
nav[aria-label="Main navigation"].is-scrolled { box-shadow: 0 10px 30px -12px rgba(0,6,21,0.65); background: rgba(11,31,58,0.97); }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; }
.nav-cta { font-weight: 600; box-shadow: 0 0 0 0 rgba(0,194,203,0); transition: background var(--transition), box-shadow var(--transition), transform var(--transition); }
.nav-cta:hover { box-shadow: 0 6px 18px -6px rgba(0,194,203,0.6); transform: translateY(-1px); }
.hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.mobile-nav { inset: 65px 0 0 0; }
.mobile-nav a[aria-current="page"] { color: var(--teal); }
.mobile-nav .mobile-sub { font-size: 14px; padding: 11px 16px 11px 28px; color: rgba(255,255,255,0.6); }
.mobile-nav .mobile-meta { margin-top: 20px; padding: 0 16px; font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.9; }
.mobile-nav .mobile-meta a { display: inline; padding: 0; border: 0; font-size: 13px; color: var(--teal); }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }
}

/* ─── Buttons ─── */
.btn-primary, .service-cta, .btn-card-cta, .btn-submit { box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset; }
.btn-primary:hover, .service-cta:hover { box-shadow: 0 8px 22px -8px rgba(0,194,203,0.65); }

/* ─── Dark bands: soft glow behind the grid texture ─── */
.hero, .page-header, .cta-section, .cta-strip {
  background-image:
    radial-gradient(900px 420px at 88% -10%, rgba(0,194,203,0.16), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(0,194,203,0.08), transparent 60%);
  background-color: var(--navy);
}

/* ─── Home hero ─── */
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); gap: 64px; align-items: center; }
.hero-sub { max-width: 600px; }
.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-panel::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: var(--teal); }
.hero-panel-label { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.hero-tier { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-tier:first-of-type { border-top: 0; padding-top: 0; }
.hero-tier-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.hero-tier-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.55; max-width: 250px; }
.hero-tier-price { text-align: right; white-space: nowrap; }
.hero-tier-price small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 2px; }
.hero-tier-price strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--white); line-height: 1.15; }
.hero-tier-price span { display: block; font-size: 13px; color: var(--teal); }
.hero-panel-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--teal); transition: gap var(--transition); }
.hero-panel-link:hover { gap: 10px; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } .hero-panel { max-width: 560px; } }
@media (max-width: 480px) {
  .hero-tier { flex-direction: column; gap: 10px; }
  .hero-tier-price { text-align: left; }
}

/* ─── Home: service cards show both currencies ─── */
.service-meta { flex-wrap: wrap; row-gap: 14px; }
.service-meta-sub { font-family: var(--font-body); font-size: 12px; color: var(--slate); }
.service-link { color: var(--teal-ink); font-weight: 600; }
.service-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ─── Enterprise band (home) ─── */
.enterprise-band { background: var(--navy); padding: 96px 0; position: relative; overflow: hidden;
  background-image: radial-gradient(900px 420px at 100% 0%, rgba(0,194,203,0.14), transparent 60%); }
.enterprise-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--teal); }
.enterprise-band .container { position: relative; z-index: 1; }
.enterprise-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: end; margin-bottom: 48px; }
.enterprise-head .section-sub { margin-bottom: 0; max-width: 620px; }
.range-chip { border: 1px solid rgba(0,194,203,0.35); background: rgba(0,194,203,0.08); border-radius: var(--radius-lg); padding: 16px 20px; min-width: 280px; }
.range-chip-label { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.range-chip-value { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--white); line-height: 1.3; }
.range-chip-value span { display: block; font-size: 14px; font-weight: 600; color: var(--teal); }
.enterprise-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.enterprise-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.enterprise-card:hover { transform: translateY(-3px); border-color: rgba(0,194,203,0.45); }
.enterprise-card .service-tag { background: var(--teal); color: var(--navy); }
.enterprise-card-title { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--white); }
.enterprise-card-desc { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.66); flex: 1; }
.enterprise-card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.enterprise-card-meta .service-meta-label { color: rgba(255,255,255,0.45); display: block; margin-bottom: 3px; }
.enterprise-card-meta .service-meta-value { color: var(--white); display: block; line-height: 1.3; }
.enterprise-card-meta .service-meta-sub { color: var(--teal); display: block; }
.enterprise-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.enterprise-card-actions .btn-primary { padding: 11px 20px; }
.enterprise-card-actions .service-link { color: var(--teal); }
@media (max-width: 1024px) {
  .enterprise-grid { grid-template-columns: 1fr; }
  .enterprise-head { grid-template-columns: 1fr; align-items: start; }
  .range-chip { min-width: 0; width: fit-content; }
}
@media (max-width: 768px) { .enterprise-band { padding: 64px 0; } }

/* ─── Services page ─── */
.service-jump { position: sticky; top: 65px; z-index: 50; background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.service-jump-inner { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.service-jump-inner::-webkit-scrollbar { display: none; }
.service-jump-label { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); white-space: nowrap; margin-right: 6px; }
.service-jump a { font-size: 13px; font-weight: 500; color: var(--text-muted); white-space: nowrap; padding: 7px 12px; border-radius: 999px; border: 1px solid transparent; transition: color var(--transition), background var(--transition), border-color var(--transition); }
.service-jump a:hover { color: var(--navy); background: var(--off-white); }
.service-jump a.is-active { color: var(--navy); background: var(--teal-dim); border-color: rgba(0,194,203,0.4); font-weight: 600; }
.service-jump-sep { width: 1px; height: 18px; background: var(--border); flex: 0 0 auto; margin: 0 6px; }

main > .service-section { background: var(--off-white); scroll-margin-top: 120px; }
main > .service-section.is-white { background: var(--white); }
.service-section.is-white .service-pricing-card { background: var(--off-white); }
.service-section:not(.is-white) .service-pricing-card { background: var(--white); }
.pricing-value { line-height: 1.25; }
.service-tag.tag-enterprise { background: var(--teal); color: var(--navy); }

.tier-band { background: var(--navy); padding: 72px 0; position: relative; overflow: hidden; scroll-margin-top: 110px;
  background-image: radial-gradient(900px 420px at 100% 0%, rgba(0,194,203,0.14), transparent 60%); }
.tier-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--teal); }
.tier-band-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; }
.tier-band h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--white); margin-bottom: 14px; }
.tier-band p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.65); max-width: 640px; }
.tier-band .section-label { margin-bottom: 12px; }
@media (max-width: 900px) { .tier-band-inner { grid-template-columns: 1fr; } .tier-band { padding: 56px 0; } }
@media (max-width: 768px) { .service-jump { top: 65px; } }

/* ─── Pricing page: enterprise cards ─── */
.pricing-grid.pricing-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1024px) { .pricing-grid.pricing-grid-3 { grid-template-columns: 1fr; } }
.price-main.price-main-sm { font-size: 34px; line-height: 1.15; }
.pricing-note { margin-top: 28px; font-size: 14px; line-height: 1.7; color: var(--text-muted); max-width: 760px; }
.pricing-note a, .inline-link { color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.breakdown-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.breakdown-table tr.row-group th { text-align: left; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--teal-dim); padding: 12px 20px; }
.td-badge.badge-ent { background: var(--navy); color: var(--white); }
details > summary::-webkit-details-marker { display: none; }

/* ─── Contact page ─── */
.budget-options.budget-options-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1200px) { .budget-options.budget-options-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .budget-options.budget-options-4 { grid-template-columns: 1fr; } }
.budget-option { position: relative; }
.budget-option label { min-height: 56px; height: 100%; }
.form-select optgroup { font-weight: 700; color: var(--navy); }
.form-select option { font-weight: 400; color: var(--text-primary); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-detail-note { font-size: 12px; color: var(--slate); margin-top: 2px; line-height: 1.5; }
.service-picked { display: none; align-items: center; gap: 10px; margin-bottom: 24px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--teal-dim); border: 1px solid rgba(0,194,203,0.3); font-size: 14px; color: var(--navy); }
.service-picked.visible { display: flex; }
.service-picked svg { color: var(--teal-ink); flex-shrink: 0; }

/* ─── Footer ─── */
footer.site-footer { padding: 64px 0 32px; }
.site-footer .footer-top { grid-template-columns: 1.5fr 1.25fr 0.9fr 0.9fr 1.35fr; gap: 40px; }
.site-footer .footer-brand-desc { color: rgba(255,255,255,0.6); max-width: 300px; }
.site-footer .footer-col-title { color: rgba(255,255,255,0.55); }
.site-footer .footer-links { list-style: none; }
.site-footer .footer-links a { color: rgba(255,255,255,0.72); }
.site-footer .footer-links a:hover { color: var(--teal); }
.site-footer .footer-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 8px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 2px; }
.footer-contact-item a { font-size: 14px; color: rgba(255,255,255,0.85); transition: color var(--transition); overflow-wrap: anywhere; }
.footer-contact-item a:hover { color: var(--teal); }
.site-footer .footer-bottom { align-items: flex-end; }
.site-footer .footer-legal { color: rgba(255,255,255,0.58); font-size: 13px; line-height: 1.75; max-width: 780px; }
.site-footer .footer-legal strong { color: rgba(255,255,255,0.8); font-weight: 600; }
.site-footer .card-badge { color: rgba(255,255,255,0.7); }
@media (max-width: 1100px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr 1fr; } .site-footer .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 768px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .site-footer .footer-bottom { align-items: flex-start; } }
@media (max-width: 440px) { .site-footer .footer-top { grid-template-columns: 1fr; } }

/* ─── Cookie banner (all pages) ─── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 540px;
  background: var(--charcoal); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45); z-index: 500;
}
.cookie-banner[hidden] { display: none; }
.cookie-text { font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.6; flex: 1 1 260px; }
.cookie-text a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-accept, .cookie-decline { font-family: var(--font-body); font-size: 13px; padding: 9px 18px; border-radius: var(--radius-sm); cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.cookie-accept { font-weight: 600; color: var(--navy); background: var(--teal); border: 1px solid var(--teal); }
.cookie-accept:hover { background: #00adb5; }
.cookie-decline { font-weight: 500; color: rgba(255,255,255,0.75); background: transparent; border: 1px solid rgba(255,255,255,0.22); }
.cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ─── Back to top ─── */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--teal); border: 1px solid rgba(0,194,203,0.4); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0,6,21,0.5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; z-index: 90; cursor: pointer; }
.to-top.visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-dark); }

/* ─── 404 ─── */
.notfound { min-height: 62vh; display: flex; align-items: center; }
.notfound-code { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--teal); text-transform: uppercase; margin-bottom: 16px; }
.notfound-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ─── Small screens ─── */
@media (max-width: 480px) {
  .container, .nav-inner { padding-left: 18px; padding-right: 18px; }
  .service-panel { padding: 28px; min-height: 0; }
  .payment-callout { flex-direction: column; align-items: flex-start; }
}

/* ─── Motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── Print (policy pages: "Print / Save as PDF") ─── */
@media print {
  nav[aria-label="Main navigation"], .mobile-nav, .site-footer .footer-top, .cookie-banner, .to-top,
  .cta-strip, .cta-section, .policy-sidebar, .toc-wrap, .toc-card, .toc-footer, .service-jump, .skip-link { display: none !important; }
  body { background: #fff !important; color: #000; font-size: 11pt; }
  .page-header, .hero { background: #fff !important; padding: 0 0 16px !important; }
  .page-header::before, .page-header::after { display: none !important; }
  .page-header h1, .page-header-eyebrow, .page-header-meta-item { color: #000 !important; }
  .policy-layout { display: block !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-footer { background: #fff !important; border-top: 1px solid #ccc; padding: 16px 0 0 !important; }
  .site-footer .footer-legal, .site-footer .footer-legal strong { color: #000 !important; }
  .footer-cards { display: none !important; }
  a { color: #000 !important; }
  section, .policy-section { break-inside: avoid-page; }
}

/* ─── Fixes ─── */
.page-header .payment-callout { background: rgba(0,194,203,0.1); }
.page-header .payment-callout-text { color: rgba(255,255,255,0.78); }
.page-header .payment-callout-text strong { color: var(--white); }
.service-panel-title { line-height: 1.25; }
.hero-grid h1 { font-size: clamp(36px, 4.3vw, 58px); }
.hero-grid h1 span { white-space: nowrap; }
.pricing-grid-3 .pricing-service-name { min-height: 2.5em; display: flex; align-items: flex-start; }
@media (max-width: 1024px) { .pricing-grid-3 .pricing-service-name { min-height: 0; } }
.budget-options-4 .budget-option label { letter-spacing: 0; padding: 10px 6px; }
@media (min-width: 1201px) { .budget-options-4 .budget-option label { white-space: nowrap; } }
