/* ==========================================================================
   Viking Coders - PrestaShop Development Agency USA landing page
   File: /css/prestashop-landing.css
   Load AFTER the site's main stylesheet. Every class is prefixed "psx-"
   so nothing here can collide with existing site styles.

   DEV: set the tokens below to the exact values in the site's main
   stylesheet (brand color, heading/body color, fonts). Fonts default to
   "inherit", so the page picks up the site's typography automatically.
   ========================================================================== */

:root {
  --psx-brand:        #0f2a44;  /* DEV: replace with site primary/button color   */
  --psx-brand-hover:  #0a1d30;  /* DEV: replace with site button hover color     */
  --psx-accent:       #a4dbe8;  /* PrestaShop Expert badge blue (from badges)    */
  --psx-accent-soft:  #e8f5f9;
  --psx-ink:          #1b1b1b;  /* DEV: replace with site heading color          */
  --psx-body:         #4a4a4a;  /* DEV: replace with site body text color        */
  --psx-muted:        #6b6b6b;
  --psx-surface:      #ffffff;
  --psx-surface-alt:  #f5f5f5;  /* matches PrestaShop directory card grey        */
  --psx-line:         #e3e3e3;
  --psx-radius:       6px;
  --psx-maxw:         1200px;   /* DEV: match site .container width              */
  --psx-font-head:    inherit;  /* DEV: or set to site heading font              */
  --psx-font-body:    inherit;
}

.psx { font-family: var(--psx-font-body); color: var(--psx-body); line-height: 1.65;}
.psx *, .psx *::before, .psx *::after { box-sizing: border-box; }
.psx h1, .psx h2, .psx h3 { font-family: var(--psx-font-head); color: var(--psx-ink); line-height: 1.2; margin: 0 0 .6em; }
.psx h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
.psx h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
.psx h3 { font-size: 1.15rem; font-weight: 700; }
.psx p { margin: 0 0 1em; }
.psx a { color: var(--psx-brand); }
.psx img { max-width: 100%; height: auto; }

.psx-container { max-width: var(--psx-maxw); margin: 0 auto; padding: 0 20px; }
.psx-container--narrow { max-width: 860px; }
.psx-center { text-align: center; margin-top: 2rem !important;}
.psx-muted { color: var(--psx-muted); font-size: .95rem; }

.psx-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--psx-brand); margin-bottom: .75rem;
  padding: .2rem .6rem; background: var(--psx-accent-soft); border-left: 3px solid var(--psx-accent);
}
header .container-fluid{
  background-color: #000 !important;
}
.c-surface{
  color: var(--psx-surface) !important;
}
#contact-form{
  display: none !important;
}
/* Buttons */
.psx-btn {
  display: inline-block; padding: .9rem 1.6rem; border-radius: var(--psx-radius);
  font-weight: 700; text-decoration: none; text-align: center; border: 2px solid var(--psx-brand);
  transition: background .2s, color .2s, border-color .2s; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.psx .psx-btn--primary { background: var(--psx-brand); color: #fff; }
.psx .psx-btn--primary:hover { background: var(--psx-brand-hover); border-color: var(--psx-brand-hover); }
.psx .psx-btn--ghost { background: transparent; color: var(--psx-brand); }
.psx .psx-btn--ghost:hover { background: var(--psx-brand); color: #fff; }
.psx-btn--block { width: 100%; }
.psx-link { font-weight: 700; text-decoration: none; }
.psx-link:hover { text-decoration: underline; }

/* Hero */
.psx-hero { padding: 230px 0 56px; background: linear-gradient(180deg, var(--psx-accent-soft) 0%, var(--psx-surface) 100%);}
.psx-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.psx-lead { font-size: 1.15rem; }
.psx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 1rem; }
.psx-hero__verify { font-size: .9rem; color: var(--psx-muted); }
.psx-hero__badges { display: grid; gap: 20px; }
.psx-badge-card { background: var(--psx-surface-alt); padding: 28px 32px; border-radius: var(--psx-radius); text-align: center; }
.psx .psx-badge-card__title { font-size: 1.25rem; text-align: left; margin-bottom: 1rem; }

/* Stats */
.psx-stats { background: var(--psx-brand); color: #fff; padding: 36px 0; }
.psx-stats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.psx-stats__num { display: block; font-family: var(--psx-font-head); font-size: 2.2rem; font-weight: 800; color: var(--psx-accent); line-height: 1.1; }
.psx-stats__label { display: block; font-size: .9rem; margin-top: .35rem; opacity: .92; }

/* Sections */
.psx-section { padding: 72px 0; }
.psx-section--alt { background: var(--psx-surface-alt); }
.psx-section__intro { max-width: 760px; font-size: 1.05rem; margin-bottom: 2rem; }
.psx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.psx-checklist { list-style: none; margin: 0; padding: 28px; background: var(--psx-surface-alt); border-radius: var(--psx-radius); }
.psx-checklist li { padding: .7rem 0 .7rem 2rem; position: relative; border-bottom: 1px solid var(--psx-line); }
.psx-checklist li:last-child { border-bottom: 0; }
.psx-checklist li::before { content: "\2713"; position: absolute; left: 0; top: .7rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--psx-accent); color: var(--psx-ink); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }

/* Cards */
.psx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2rem; }
.psx-card { background: var(--psx-surface); border: 1px solid var(--psx-line); border-radius: var(--psx-radius); padding: 28px; border-top: 4px solid var(--psx-accent); }
.psx-card p:last-child { margin-bottom: 0; }
.psx-card--feature { display: flex; flex-direction: column; background: var(--psx-surface-alt); border-color: transparent; border-top-color: var(--psx-brand); }
.psx-card--feature .psx-link { margin-top: auto; }
/* 3-up feature row: stays 3 across down to tablet, never leaves an orphan card */
.psx-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.psx-split--even { margin-top: 2rem; }
.psx-panel { background: var(--psx-surface); border-radius: var(--psx-radius); padding: 32px; border: 1px solid var(--psx-line); }
.psx-panel ul { margin: 0; padding-left: 1.2rem; }
.psx-panel li { margin-bottom: .5rem; }

/* Steps */
.psx-steps { list-style: none; counter-reset: psx; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.psx-steps li { counter-increment: psx; padding: 24px; border-radius: var(--psx-radius); background: var(--psx-surface-alt); position: relative; padding-top: 64px; }
.psx-steps li::before { content: counter(psx, decimal-leading-zero); position: absolute; top: 20px; left: 24px; font-weight: 800; font-size: 1.5rem; color: var(--psx-brand); }
.psx-steps p { margin: 0; }

/* Case studies */
.psx-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 2rem; }
.psx-case { background: var(--psx-surface); border-radius: var(--psx-radius); padding: 32px; border: 1px solid var(--psx-line); display: flex; flex-direction: column; }
.psx-case__tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--psx-muted); }
.psx .psx-case h3 { font-size: 1.5rem; }
.psx-case__metric { background: var(--psx-accent-soft); padding: 14px 18px; border-radius: var(--psx-radius); font-weight: 600; color: var(--psx-ink); }
.psx-case__metric span { font-size: 1.6rem; font-weight: 800; color: var(--psx-brand); margin-right: .35rem; }
.psx-quote { margin: .5rem 0 1.25rem; padding-left: 18px; border-left: 3px solid var(--psx-accent); font-style: italic; height: 100%; display: flex; flex-direction: column; justify-content: space-between;}
.psx-quote-footer { font-style: normal; font-weight: 700; font-size: .9rem; color: var(--psx-ink); }
.psx-case .psx-link { margin-top: auto; }

/* Team */
.psx-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.psx-team li { background: var(--psx-surface-alt); padding: 22px; border-radius: var(--psx-radius); }
.psx-team p { margin: 0; font-size: .95rem; }

/* Plans */
.psx-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 2rem; }
.psx-plan { background: var(--psx-surface); border: 1px solid var(--psx-line); border-radius: var(--psx-radius); padding: 36px; display: flex; flex-direction: column; position: relative; }
.psx-plan--featured { border: 2px solid var(--psx-brand); }
.psx-plan__flag { position: absolute; top: -14px; left: 36px; background: var(--psx-accent); color: var(--psx-ink); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .8rem; border-radius: 999px; margin: 0; }
.psx .psx-plan h3 { font-size: 1.6rem; }
.psx-plan ul { padding-left: 1.2rem; margin: 0 0 1.75rem; }
.psx-plan li { margin-bottom: .6rem; }
.psx-plan .psx-btn { margin-top: auto; }

/* FAQ */
.psx-faq details { border-bottom: 1px solid var(--psx-line); padding: 1.1rem 0; }
.psx-faq summary { cursor: pointer; font-weight: 700; color: var(--psx-surface); font-size: 1.08rem; list-style: none; position: relative; padding-right: 2rem; }
.psx-faq summary::-webkit-details-marker { display: none; }
.psx-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.5rem; color: var(--psx-brand); }
.psx-faq details[open] summary::after { content: "\2212"; }
.psx-faq details p { margin: .8rem 0 0; }
.psx-faq details p a{ color: var(--psx-accent);}

/* Contact */
.psx-contact { background: var(--psx-accent-soft); }
.psx-contact__phone { font-size: 1.15rem; font-weight: 700; color: var(--psx-ink); }
.psx-form { background: var(--psx-surface); padding: 32px; border-radius: var(--psx-radius); box-shadow: 0 8px 28px rgba(0,0,0,.06); }
.psx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.psx-form label { display: block; font-size: .85rem; font-weight: 700; color: var(--psx-ink); margin-bottom: 16px; }
.psx-form input { display: block; width: 100%; margin-top: 6px; padding: .8rem .9rem; border: 1px solid var(--psx-line); border-radius: var(--psx-radius); font: inherit; font-weight: 400; color: var(--psx-ink); background: #fff; }
.psx-form input:focus { outline: 2px solid var(--psx-accent); border-color: var(--psx-brand); }

/* Responsive */
@media (max-width: 1024px) {
  .psx-stats__list { grid-template-columns: repeat(3, 1fr); }
  .psx-cards, .psx-steps { grid-template-columns: repeat(2, 1fr); }
  .psx-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .psx-cards--3 .psx-card { padding: 22px 20px; }
  .psx-cards--3 .psx-card h3 { font-size: 1.05rem; }
  .psx-cards--3 .psx-card p { font-size: .95rem; }
}
@media (max-width: 720px) {
  .psx-cards--3 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .psx-hero__grid, .psx-split, .psx-cases, .psx-plans { grid-template-columns: 1fr; }
  .psx-hero__badges { grid-template-columns: 1fr 1fr; }
  .psx-section { padding: 52px 0; }
}
@media (max-width: 600px) {
  .psx-container { padding: 0 16px; }
  .psx-stats__list { grid-template-columns: 1fr 1fr; }
  .psx-cards, .psx-steps, .psx-team, .psx-form__row, .psx-hero__badges { grid-template-columns: 1fr; }
  .psx-hero__actions .psx-btn { width: 100%; }
  .psx-hero {padding: 90px 0 56px;}
}
/* ==========================================================================
   Viking Coders - sticky section menu for the PrestaShop agency page
   File: /css/psx-subnav.css   (load AFTER prestashop-landing.css)

   Same design and behavior as the Miva page menu (vcl-subnav.css), styled
   with the PrestaShop page's own colors: navy underline and button.
   Uses the shared markup classes (.vcl-subnav...) so the shared script
   /js/vcl-subnav.js drives it. Every rule is scoped under main.psx, so
   nothing else on the site changes.
   ========================================================================== */

main.psx { --psx-subnav-h: 60px; }

/* Smooth scrolling for menu clicks (the Miva page does this with a script) */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.psx .vcl-subnav {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--psx-line, #e3e3e3);
  box-shadow: 0 6px 16px -14px rgba(0,0,0,.5);
}
.psx .vcl-subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--psx-subnav-h); }

.psx .vcl-subnav__links { list-style: none; display: flex; gap: 2px; margin: 0 -10px; padding: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.psx .vcl-subnav__links::-webkit-scrollbar { display: none; }
.psx .vcl-subnav__links a {
  display: block; padding: 19px 10px 17px;
  font-size: .88rem; font-weight: 600; line-height: 1.2; color: var(--psx-ink, #1b1b1b); text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent; opacity: .75; transition: .3s all;
}
.psx .vcl-subnav__links a:hover { opacity: 1; }
.psx .vcl-subnav__links a.is-active { opacity: 1; color: var(--psx-brand, #0f2a44); border-bottom-color: var(--psx-brand, #0f2a44); }
.psx .vcl-subnav__links a:focus-visible { outline: 2px solid var(--psx-brand, #0f2a44); outline-offset: -4px; }

/* Right side: appears once the hero (and its buttons) scroll out of view */
.psx .vcl-subnav__cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; opacity: 0; visibility: hidden; transform: translateY(4px); transition: .3s all; }
.psx .vcl-subnav.is-cta-visible .vcl-subnav__cta { opacity: 1; visibility: visible; transform: none; }
.psx .vcl-subnav__btn { padding: 9px 18px; font-size: 14px; white-space: nowrap; }

/* In-page jumps land just below the sticky bar */
main.psx [id] { scroll-margin-top: calc(var(--psx-subnav-h) + 16px); }

/* ---------- Responsive ---------- */
@media only screen and (max-width: 992px) {
  .psx .vcl-subnav__cta { display: none; }
  /* Links scroll sideways; a soft fade on the right hints there are more */
  .psx .vcl-subnav__links { margin: 0 -20px; padding: 0 20px;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .psx .vcl-subnav__links.is-end { -webkit-mask-image: none; mask-image: none; }
}
@media only screen and (max-width: 600px) {
  main.psx { --psx-subnav-h: 52px; }
  .psx .vcl-subnav__links { margin: 0 -16px; padding: 0 16px; }
  .psx .vcl-subnav__links a { padding: 16px 9px 13px; font-size: .84rem; }
}
@media only screen and (max-width: 550px) {
  .psx .vcl-subnav {position: fixed; top: 68px;  left: 0; width: 100%;}
  .psx-hero {padding: 144px 0 56px;}
}
@media only screen and (max-width: 375px) {
    .psx .vcl-subnav {top: 60px;}
}
@media (prefers-reduced-motion: reduce) {
  .psx .vcl-subnav__links a, .psx .vcl-subnav__cta { transition: none; }
}
