/* WS Industries — shared stylesheet
   One file, cached across all pages. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 600; }
p  { font-size: 1.05rem; color: #444; max-width: 68ch; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; scroll-margin-top: 96px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #888; margin-bottom: 16px;
}
.divider { width: 40px; height: 3px; background: #1a1a1a; margin: 20px 0 24px; }
.divider.centre { margin-left: auto; margin-right: auto; }
.text-centre { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.lede { font-size: 1.15rem; color: #555; }
.muted { color: #666; }
.small { font-size: 0.9rem; }

/* ---------- nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 100;
}
nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
nav .logo { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.nav-logo { height: clamp(32px, 7.5vw, 48px); width: auto; max-width: 100%; display: block; }
nav ul { display: flex; align-items: center; gap: 30px; }
nav ul a {
  font-size: 0.85rem; font-weight: 500; color: #555;
  transition: color 0.2s; display: inline-block;
}
nav ul a:hover, nav ul a[aria-current="page"] { color: #1a1a1a; }
nav ul a[aria-current="page"] { font-weight: 600; }

/* dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > a::after {
  content: ""; width: 5px; height: 5px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s;
}
.nav-drop:hover > a::after, .nav-drop:focus-within > a::after { transform: rotate(225deg) translateY(-1px); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff; border: 1px solid #eee; border-radius: 10px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.09);
  padding: 10px; min-width: 290px;
  display: block; list-style: none;
  opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-drop-menu li { display: block; }
.nav-drop-menu a { display: block; padding: 10px 14px; border-radius: 7px; font-size: 0.85rem; white-space: nowrap; }
.nav-drop-menu a:hover { background: #f6f6f6; color: #1a1a1a; }
.nav-toggle {
  display: none; background: none; border: none;
  width: 30px; height: 22px; flex: 0 0 auto; padding: 0;
  flex-direction: column; justify-content: space-between; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #1a1a1a; transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 100px;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}
.hero .container { max-width: 820px; text-align: center; }
.hero .tagline {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #888; margin-bottom: 20px;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .highlight {
  background: linear-gradient(135deg, #1a1a1a 0%, #555 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p.lede { margin: 0 auto 36px; }

/* sub-page hero */
.page-hero {
  padding: 168px 0 76px;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  border-bottom: 1px solid #f2f2f2;
}
.page-hero .container { max-width: 860px; }
.page-hero h1 { margin-bottom: 22px; }
.breadcrumb { font-size: 0.8rem; color: #999; margin-bottom: 22px; letter-spacing: 0.02em; }
.breadcrumb a { color: #777; }
.breadcrumb a:hover { color: #1a1a1a; text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 8px; color: #ccc; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px; border-radius: 6px;
  font-weight: 600; font-size: 0.9rem;
  transition: background 0.3s, color 0.3s, transform 0.2s, border-color 0.3s;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: #1a1a1a; color: #fff; }
.btn-primary:hover { background: #333; transform: translateY(-2px); }
.btn-ghost { border-color: #1a1a1a; color: #1a1a1a; }
.btn-ghost:hover { background: #1a1a1a; color: #fff; transform: translateY(-2px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 48px; }
.card {
  display: block;
  padding: 38px 32px;
  border: 1px solid #eee; border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  background: #fff;
}
.card:hover { border-color: #1a1a1a; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.05); }
.card .icon {
  width: 46px; height: 46px; border: 2px solid #1a1a1a; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; font-size: 1.15rem; font-weight: 700;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; color: #666; margin-bottom: 20px; }
.card .more { font-size: 0.85rem; font-weight: 600; color: #1a1a1a; }
.card .more::after { content: " \2192"; transition: margin-left 0.2s; display: inline-block; }
.card:hover .more::after { margin-left: 4px; }
.card.featured { background: #1a1a1a; border-color: #1a1a1a; }
.card.featured h3, .card.featured .more { color: #fff; }
.card.featured p { color: #b5b5b5; }
.card.featured .icon { border-color: #fff; color: #fff; }
.card.featured .badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #1a1a1a; background: #fff;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 16px;
}
/* the five sections on the home page — odd one out sits full width */
.card-grid .card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- content blocks ---------- */
.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { margin-bottom: 18px; }
.prose h3 { margin: 34px 0 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.check-list li {
  padding: 12px 0 12px 32px; position: relative;
  font-size: 1rem; color: #444; border-bottom: 1px solid #f0f0f0;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 12px;
  color: #22a65e; font-weight: 700;
}
.steps { counter-reset: step; margin-top: 12px; }
.steps li {
  position: relative; padding: 0 0 30px 54px; counter-increment: step;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #1a1a1a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
}
.steps li::after {
  content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px;
  width: 2px; background: #eee;
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 0.95rem; color: #666; max-width: 60ch; }

.band { background: #fafafa; }
.band-dark { background: #1a1a1a; color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .section-label { color: #888; }
.band-dark .divider { background: #fff; }
.band-dark p { color: #b5b5b5; }
.band-dark p strong { color: #fff; }
.band-dark .check-list li { color: #b5b5b5; border-bottom-color: #2b2b2b; }
.band-dark .btn-ghost { border-color: #fff; color: #fff; }
.band-dark .btn-ghost:hover { background: #fff; color: #1a1a1a; }

.cta-strip {
  background: #1a1a1a; color: #fff;
  padding: 64px 0;
}
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 6px; }
.cta-strip p { color: #b5b5b5; font-size: 0.95rem; margin: 0; }

/* ---------- pricing ---------- */
.pricing-card {
  max-width: 480px; margin: 48px auto 0;
  padding: 54px 40px;
  border: 2px solid #1a1a1a; border-radius: 16px;
  background: #fff; text-align: center;
}
.pricing-card .plan-name {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: #888; margin-bottom: 8px;
}
.pricing-card .price { font-size: 3.4rem; font-weight: 800; color: #1a1a1a; line-height: 1.1; }
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: #888; }
.pricing-card .price-prefix {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #888; margin-bottom: 2px;
}
.pricing-card .per { font-size: 0.85rem; color: #888; margin: 4px 0 8px; }
.pricing-card .no-hidden { font-size: 0.85rem; color: #22a65e; font-weight: 600; margin-bottom: 28px; }
.pricing-card ul { text-align: left; margin-bottom: 32px; }
.pricing-card ul li {
  padding: 10px 0; font-size: 0.95rem; color: #555;
  border-bottom: 1px solid #f0f0f0;
}
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li::before { content: "\2713"; margin-right: 10px; color: #22a65e; font-weight: 700; }
.pricing-note { max-width: 620px; margin: 28px auto 0; font-size: 0.95rem; color: #666; text-align: center; }

/* ---------- contact ---------- */
.contact-info { max-width: 620px; margin: 0 auto; text-align: center; }
.contact-info .detail { margin-top: 26px; }
.contact-info .detail strong {
  display: block; font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #888; margin-bottom: 4px;
}
.contact-info p { margin: 0 auto; }
.whatsapp-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; background: #25D366; color: #fff;
  font-weight: 600; font-size: 0.9rem; border-radius: 6px;
  margin-top: 12px; transition: opacity 0.2s;
}
.whatsapp-link:hover { opacity: 0.9; }
.call-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; background: #1a1a1a; color: #fff;
  font-weight: 600; font-size: 0.9rem; border-radius: 6px;
  margin-top: 12px; transition: background 0.2s;
}
.call-link:hover { background: #333; }
.contact-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; margin-top: 14px;
}
.contact-actions .call-link,
.contact-actions .whatsapp-link { margin-top: 0; }

/* ---------- footer ---------- */
footer { padding: 64px 0 40px; border-top: 1px solid #eee; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-cols h3 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: #888; margin-bottom: 16px;
}
.footer-cols li { margin-bottom: 10px; }
.footer-cols a { font-size: 0.9rem; color: #555; }
.footer-cols a:hover { color: #1a1a1a; text-decoration: underline; }
.footer-brand img { height: clamp(28px, 6vw, 38px); width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: #777; max-width: 34ch; }
.footer-legal {
  border-top: 1px solid #eee; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-legal p { font-size: 0.82rem; color: #999; margin: 0; }

/* ---------- motion ---------- */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

a:focus-visible, button:focus-visible {
  outline: 3px solid #1a1a1a; outline-offset: 3px; border-radius: 4px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: #1a1a1a; color: #fff; padding: 10px 18px;
  border-radius: 6px; font-size: 0.85rem; font-weight: 600; z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  nav ul {
    display: none;
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255,255,255,0.99);
    backdrop-filter: blur(12px);
    padding: 16px 20px 24px;
    border-bottom: 1px solid #eee;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  nav ul.open { display: flex; }
  nav ul > li > a { padding: 12px 4px; font-size: 0.95rem; border-bottom: 1px solid #f4f4f4; }
  .nav-toggle { display: flex; }
  /* dropdown flattens into the list on mobile — no hover, no fuss */
  .nav-drop > a::after { display: none; }
  .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    border: none; box-shadow: none; padding: 4px 0 8px;
    min-width: 0; background: transparent;
  }
  .nav-drop-menu a { padding: 9px 4px 9px 18px; font-size: 0.88rem; white-space: normal; }
  .nav-drop-menu a::before { content: "\2014"; color: #ccc; margin-right: 8px; }
  .section { padding: 62px 0; scroll-margin-top: 80px; }
  .page-hero { padding: 132px 0 56px; }
  .pricing-card { padding: 40px 24px; }
  .pricing-card .price { font-size: 2.8rem; }
  .card { padding: 30px 24px; }
  .cta-strip { padding: 48px 0; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; gap: 6px; }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid #f0f0f0; padding: 28px 0; }
.faq-item:first-child { border-top: 1px solid #f0f0f0; }
.faq-item h3 { margin-bottom: 10px; }
.faq-item p { font-size: 1rem; color: #555; }
.faq-item p:last-child { margin-bottom: 0; }
