/* Zak100301 new design (v2): services + SEO pages and their footer.
   Everything is scoped to .abc-v2 so the old theme pages are not touched.
   Design classes are prefixed v2- so Bootstrap (.btn, .card, .lead, .h2) never clashes. */

/* 1. Undo the old theme inside v2 blocks (back to browser defaults, like the approved HTML).
      Inline styles still win. Icons, images, iframes and SVG keep their own sizing. */
.abc-v2 :where(*:not(svg, svg *, img, iframe, video, canvas, [class*="fa-"], .g-recaptcha, .g-recaptcha *, .rc-note, .rc-note *)) { all: revert; }
.abc-v2, .abc-v2 *, .abc-v2 *::before, .abc-v2 *::after { box-sizing: border-box; }
.abc-v2 { font-size: 16px; line-height: normal; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
.abc-v2 [hidden] { display: none !important; }
.abc-v2 a { color: #0F0F12; }
.abc-v2 a:hover { color: #C90208; }
.abc-v2 img { max-width: 100%; }
.abc-v2 h1, .abc-v2 h2, .abc-v2 h3 { overflow-wrap: break-word; }

/* old header is fixed (75px): start the page below it and keep anchors clear of it */
.abc-v2-page { padding-top: 75px; }
/* old theme styles #main (flex) and main (max-width !important): neutralise for the v2 main */
.abc-v2 > main.v2-main { display: block !important; max-width: none !important; width: 100% !important; margin: 0 !important; overflow: visible !important; }
.abc-v2 [id] { scroll-margin-top: 96px; }

/* 2. Design styles (from the approved HTML) */
.abc-v2 .v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 'Instrument Sans', sans-serif; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; cursor: pointer; border: 0; text-align: center; -webkit-appearance: none; appearance: none; }
.abc-v2 .v2-btn-primary { background: #C90208; color: #fff; }
.abc-v2 .v2-btn-ghost { background: transparent; color: #0F0F12; box-shadow: inset 0 0 0 1.5px #0F0F12; }
.abc-v2 .v2-btn-light { background: #fff; color: #0F0F12; }
.abc-v2 .v2-btn-onDark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
@media (hover: hover) {
  .abc-v2 .v2-btn-primary:hover { background: #9E0106; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(201,2,8,.6); }
  .abc-v2 .v2-btn-ghost:hover { background: #0F0F12; color: #fff; }
  .abc-v2 .v2-btn-light:hover { background: #F1EFEA; color: #0F0F12; }
  .abc-v2 .v2-btn-onDark:hover { background: #fff; color: #0F0F12; }
  .abc-v2 .v2-goal:hover { border-color: #0F0F12; }
  .abc-v2 .v2-goal.v2-is-on:hover { border-color: #0F0F12; }
  .abc-v2 .v2-sub:hover { background: #fff; border-color: #0F0F12; }
  .abc-v2 .v2-line:hover { box-shadow: 0 24px 48px -32px rgba(15,15,18,.35); }
  .abc-v2 .v2-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(15,15,18,.35); border-color: #0F0F12; }
}
.abc-v2 .v2-btn:focus-visible, .abc-v2 a:focus-visible, .abc-v2 button:focus-visible, .abc-v2 summary:focus-visible, .abc-v2 input:focus-visible, .abc-v2 textarea:focus-visible, .abc-v2 select:focus-visible { outline: 3px solid #1F5BFF; outline-offset: 3px; }

/* services: goal finder */
.abc-v2 .v2-goal { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 20px; min-height: 56px; border-radius: 14px; border: 1px solid #E6E4E0; background: #fff; font: 600 16px/1.3 'Instrument Sans', sans-serif; color: #0F0F12; transition: all .2s; -webkit-tap-highlight-color: transparent; }
.abc-v2 .v2-goal.v2-is-on { background: #0F0F12; color: #fff; border-color: #0F0F12; }
.abc-v2 .v2-goal:focus-visible { outline: 3px solid #1F5BFF; outline-offset: 3px; }
.abc-v2 .v2-sub { transition: background .2s, border-color .2s; }
.abc-v2 .v2-line { transition: box-shadow .25s ease; }
.abc-v2 .v2-mdl { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #FAFAF8; border: 1px solid #E6E4E0; color: #0F0F12; display: flex; flex-direction: column; gap: 16px; }
.abc-v2 .v2-mdl-dark { background: #0F0F12; border-color: #0F0F12; color: #fff; }

/* SEO page */
.abc-v2 .v2-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.abc-v2 .v2-tbl { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 720px; }
.abc-v2 .v2-tbl th { text-align: left; font: 500 12px/1.3 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #5E5C58; padding: 14px 16px; border-bottom: 2px solid #0F0F12; vertical-align: bottom; }
.abc-v2 .v2-tbl td { padding: 16px; border-bottom: 1px solid #E6E4E0; vertical-align: top; }
.abc-v2 .v2-tbl td:first-child { font-weight: 600; }
.abc-v2 .v2-pln { padding: clamp(24px, 3vw, 32px); border-radius: 22px; background: #FAFAF8; border: 1px solid #E6E4E0; display: flex; flex-direction: column; gap: 14px; }
.abc-v2 .v2-pln-on { background: #fff; border: 2px solid #C90208; box-shadow: 0 24px 48px -32px rgba(201,2,8,.45); }
.abc-v2 .v2-eyebrow { margin: 0 0 18px; font: 500 13px/1 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #C90208; }
.abc-v2 .v2-h2 { margin: 0; font: 700 clamp(30px, 4vw, 54px)/1.05 'Schibsted Grotesk', sans-serif; letter-spacing: -.03em; }
.abc-v2 .v2-lead { margin: 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: #3C3A37; }
.abc-v2 .v2-wrap { max-width: 1360px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) clamp(20px, 3.5vw, 48px); }

/* FAQ / accordions */
.abc-v2 details > summary { list-style: none; cursor: pointer; }
.abc-v2 details > summary::-webkit-details-marker { display: none; }
.abc-v2 details .v2-chev { transition: transform .25s ease; }
.abc-v2 details[open] .v2-chev { transform: rotate(45deg); }

/* form fields (dark card) */
.abc-v2 .v2-field { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: #fff; font: 400 16px/1.4 'Instrument Sans', sans-serif; margin: 0; }
.abc-v2 .v2-field::placeholder { color: rgba(255,255,255,.62); opacity: 1; }
.abc-v2 textarea.v2-field { resize: vertical; }
.abc-v2 select.v2-field { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.abc-v2 .v2-field option { color: #0F0F12; background: #fff; }
.abc-v2 .v2-field:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #2a2a2d inset; caret-color: #fff; }

/* SEO sticky CTA: left on wide screens so it never sits on the call / WhatsApp buttons */
@media (min-width: 601px) { .abc-v2 .v2-sticky-cta { left: 24px !important; right: auto !important; } }
@media (max-width: 600px) {
  .abc-v2 .v2-sticky-cta { left: 16px !important; right: 16px !important; bottom: 12px !important; }
  body.v2-has-sticky { padding-bottom: 76px; }
  body.v2-has-sticky .scroll-top { bottom: 84px !important; }
  body.v2-has-sticky .whatsapp_connect { bottom: 88px !important; }
  body.v2-has-sticky .phone_connect { bottom: 140px !important; }
}

/* 3. Small screens: wide minimum grid columns (minmax 260px+) would overflow a 320-375px phone */
@media (max-width: 480px) {
  .abc-v2 [style*="minmax(260px"], .abc-v2 [style*="minmax(280px"], .abc-v2 [style*="minmax(290px"],
  .abc-v2 [style*="minmax(300px"], .abc-v2 [style*="minmax(320px"] { grid-template-columns: 1fr !important; }
  .abc-v2 .v2-btn { padding: 0 20px; }
}
@media (max-width: 360px) {
  .abc-v2 [style*="minmax(220px"], .abc-v2 [style*="minmax(240px"] { grid-template-columns: 1fr !important; }
}

/* 4. Footer */
.abc-v2 .v2-foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.abc-v2 .v2-foot-extra { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.abc-v2 .v2-foot-side { display: grid; gap: 24px; }
.abc-v2 .v2-social, .abc-v2 .v2-ai { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.abc-v2 .v2-social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 17px; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.abc-v2 .v2-social a:hover { background: #C90208; border-color: #C90208; color: #fff; }
.abc-v2 .v2-ai a { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; transition: transform .2s; }
.abc-v2 .v2-ai a:hover { transform: translateY(-2px); }
.abc-v2 .v2-ai img { width: 30px; height: 30px; object-fit: contain; display: block; }
@media (min-width: 560px) { .abc-v2 .v2-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .abc-v2 .v2-foot-extra { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .abc-v2 .v2-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .abc-v2 .v2-foot-extra { grid-column: 2 / -1; } }
@media (min-width: 1200px) { .abc-v2 .v2-foot-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .abc-v2 .v2-foot-extra { grid-column: 3 / -1; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { .abc-v2 *, .abc-v2 *::before, .abc-v2 *::after { animation: none !important; transition: none !important; } }
