/* RedAnt UK - Neo-Brutalist Responsive Stylesheet (v2 Architecture) */
:root {
  --navy: #16123f;
  --red: #ff3b3b;
  --yellow: #ffd23f;
  --violet: #6c4cff;
  --mint: #22e3a0;
  --pink: #ff7ac6;
  --sky: #3ec6ff;
  --white: #ffffff;
  --bg-gray: #f4f3f8;
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 400 1.0625rem/1.55 var(--font);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.ad-mode header, body.ad-mode footer, body.ad-mode .sticky-mobile-cta {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

section {
  padding: 85px 0;
  position: relative;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 7.5vw, 5.2rem); max-width: 14ch; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
p { margin: 0 0 1em; max-width: 65ch; }
.lead { font-size: 1.25rem; font-weight: 600; opacity: 0.95; }

.hl {
  background: var(--red);
  color: #fff;
  padding: 0 0.25em;
  border-radius: 0.15em;
  display: inline-block;
  transform: rotate(-1.5deg);
}

/* Header & Sticky Nav */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--navy);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ant {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: -10px 3px 0 -3px var(--yellow), 10px 3px 0 -3px var(--mint);
}

/* Desktop Nav Links & Dropdowns */
.desktop-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.desktop-nav .nav-item {
  position: relative;
}

.desktop-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}

.desktop-nav a:hover:not(.btn) {
  background: rgba(255, 255, 255, 0.14);
}

/* Dropdown Sub-menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: #fff;
  color: var(--navy);
  border: 3px solid var(--navy);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--navy);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 1100;
}

.desktop-nav .nav-item:hover .dropdown-menu,
.desktop-nav .nav-item:focus-within .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: var(--yellow) !important;
}

/* Hamburger Button (<1024px) */
.hamburger-btn {
  display: none;
  background: transparent;
  border: 2.5px solid #fff;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  z-index: 1002;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Dropdown Panel */
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  z-index: 999;
  padding: 24px 20px 40px;
  overflow-y: auto;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--yellow);
}

.mobile-nav-panel.open {
  display: flex;
  animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 800;
  padding: 10px 0;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-sub-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 10px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  margin-top: 6px;
}

.mobile-sub-menu.open {
  display: flex;
}

.mobile-sub-menu a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
}

.quick-contact-row {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px dashed rgba(255,255,255,0.2);
}

.quick-contact-row a {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  border: 2px solid #fff;
}

/* Sticky Bottom Mobile CTA Bar */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 995;
  background: var(--yellow);
  border-top: 3px solid var(--navy);
  padding: 10px 16px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
}

.sticky-mobile-cta .cta-inner {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-mobile-cta .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.92rem;
  box-shadow: 2px 2px 0 var(--navy);
}

/* Buttons & Cards */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 12px;
  border: 3px solid var(--navy);
  background: var(--red);
  color: #fff;
  box-shadow: 4px 4px 0 var(--navy);
  transition: transform 0.12s, box-shadow 0.12s;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--navy);
}

.btn.alt { background: #fff; color: var(--navy); }
.btn.nv { background: var(--navy); color: #fff; box-shadow: 4px 4px 0 var(--red); }
.btn.mint { background: var(--mint); color: var(--navy); }
.btn.yellow { background: var(--yellow); color: var(--navy); }
.btn.sm { padding: 8px 16px; font-size: 0.88rem; }

header .btn {
  padding: 8px 18px;
  box-shadow: 3px 3px 0 var(--yellow);
  border-color: #fff;
}

.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }

.card {
  border: 3px solid var(--navy);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--navy);
  background: #fff;
  color: var(--navy);
}

/* Page Views */
.page-view { display: none; }
.page-view.active { display: block; animation: fadeIn 0.25s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
  background: var(--yellow);
  padding: 70px 0 95px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--pink);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--mint);
  z-index: 0;
}

.sticker {
  position: absolute;
  right: 20px;
  top: -10px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  font-weight: 800;
  line-height: 1;
  transform: rotate(12deg);
  border: 4px solid var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
  z-index: 2;
}

.sticker b { font-size: 2.8rem; display: block; }
.sticker span { font-size: 0.85rem; text-transform: lowercase; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips span {
  background: #fff;
  border: 2.5px solid var(--navy);
  border-radius: 99px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 2px 2px 0 var(--navy);
}

/* Path Cards ("What do you need?") */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.path-card {
  padding: 24px;
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s;
}

.path-card:hover {
  transform: translateY(-4px);
}

.path-card .ico {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

/* Fair Comparison Table */
.comp-matrix {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  border: 3px solid var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--navy);
  background: #fff;
}

.comp-matrix th, .comp-matrix td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.comp-matrix th {
  background: var(--yellow);
  font-weight: 800;
  font-size: 1.1rem;
}

.comp-matrix th.redant-col, .comp-matrix td.redant-col {
  background: #e6fffa;
  font-weight: 800;
}

/* Animated Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.timeline-step {
  padding: 24px;
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--navy);
  position: relative;
}

.timeline-step .num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
  border: 2.5px solid var(--navy);
}

/* Free Check-up Tool Box */
.checkup-box {
  background: var(--navy);
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 4px solid var(--navy);
  box-shadow: 8px 8px 0 var(--yellow);
}

.score-gauges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.gauge-card {
  background: rgba(255,255,255,0.1);
  border: 2.5px solid var(--yellow);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.gauge-card .score-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yellow);
}

/* Compare Slider */
.cmp {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  aspect-ratio: 16/9;
  min-height: 320px;
  user-select: none;
}

.pane { position: absolute; inset: 0; overflow: hidden; }
.after { clip-path: inset(0 0 0 var(--p, 50%)); }
.tag {
  position: absolute;
  top: 12px;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 3;
  border: 2.5px solid var(--navy);
}
.t-b { left: 12px; background: #fff; }
.t-a { right: 12px; background: var(--mint); }

.old { background: #c9d4ff; font-family: "Comic Sans MS", "Comic Neue", cursive; color: #000; height: 100%; }
.old .m { background: navy; color: #ff0; display: flex; gap: 14px; padding: 8px 14px; font-size: 0.75rem; overflow: hidden; }
.old .u { text-align: center; color: red; font-weight: 700; font-size: 0.8rem; padding: 6px 0; background: #ff0; }
.old .b { padding: 20px; text-align: center; }
.old h4 { font-size: 1.5rem; color: #c00; text-shadow: 2px 2px #ff0; margin-bottom: 6px; }

.new { height: 100%; display: flex; flex-direction: column; background: var(--violet); color: #fff; }
.new .m { display: flex; justify-content: space-between; padding: 14px 22px; font-size: 0.9rem; font-weight: 600; }
.new .b { padding: clamp(16px, 4vw, 40px) 24px; flex: 1; }
.new h4 { font-size: clamp(1.5rem, 4.5vw, 2.8rem); margin: 0 0 8px; font-weight: 800; line-height: 1.02; }
.new i { display: inline-block; background: var(--yellow); color: var(--navy); font-style: normal; font-weight: 800; font-size: 0.95rem; padding: 8px 18px; border-radius: 8px; }

.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.grip { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 4px; background: var(--navy); z-index: 3; pointer-events: none; }
.grip::after {
  content: "↔";
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  border: 3px solid var(--navy);
}

/* Marquee Ticker */
.strip { background: var(--red); color: #fff; border-block: 4px solid var(--navy); overflow: hidden; padding: 14px 0; white-space: nowrap; }
.track { display: inline-flex; gap: 36px; animation: go 34s linear infinite; font-weight: 800; font-size: 1.35rem; }
@keyframes go { to { transform: translateX(-50%); } }

/* Section Colors */
.work { background: var(--violet); color: #fff; }
.prob { background: var(--navy); color: #fff; }
.fix { background: var(--sky); }
.how { background: var(--mint); }
.offer { background: var(--red); color: #fff; }
.final { background: var(--yellow); }

/* Grids & Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 36px; }
.grid .card { padding: 24px; box-shadow: 6px 6px 0 var(--red); }
.grid .card p { margin: 0; }

.ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 1.7rem;
  margin-bottom: 14px;
  border: 3px solid var(--navy);
}

/* Tiles / Portfolio */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin-top: 34px; }
.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  padding: 20px;
  border-radius: 16px;
  border: 3px solid var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
  color: var(--navy);
}
.tile b { font-size: 1.25rem; line-height: 1.15; }
.tile em { font-style: normal; font-weight: 800; font-size: 2.2rem; line-height: 1; opacity: 0.9; }
.tile small { font-size: 0.88rem; font-weight: 600; margin-top: 4px; }
.tile .wp { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; padding: 2px 10px; border-radius: 99px; margin-top: 8px; font-size: 0.78rem; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.row button, .row a {
  font: inherit; font-weight: 800; font-size: 0.85rem; padding: 6px 12px; border-radius: 8px; border: 2.5px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer;
}
.row button { background: var(--navy); color: #fff; }

/* Filter Tabs */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
  font: inherit; font-weight: 800; padding: 8px 18px; border-radius: 10px; border: 3px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; box-shadow: 3px 3px 0 var(--navy);
}
.filter-btn.active { background: var(--yellow); }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps li { counter-increment: s; padding: 24px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; border: 3px solid var(--navy);
}

/* Pricing Offer Card */
.deal { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: clamp(24px, 5vw, 50px); }
.price { font-size: clamp(4.5rem, 12vw, 7.5rem); font-weight: 800; color: var(--red); line-height: 0.95; letter-spacing: -.05em; }
.deal ul { list-style: none; margin: 0 0 24px; padding: 0; font-weight: 600; }
.deal li { padding: 6px 0 6px 34px; position: relative; }
.deal li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); border: 2px solid var(--navy); display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
}
.badge { display: inline-block; background: var(--yellow); border: 3px solid var(--navy); border-radius: 99px; padding: 4px 14px; font-weight: 800; margin-bottom: 10px; transform: rotate(-2deg); }

/* Pricing Grid */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 40px; }
.price-card { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.price-card.featured { border-color: var(--navy); box-shadow: 8px 8px 0 var(--red); background: #fff; }
.price-card .num { font-size: 3.5rem; font-weight: 800; color: var(--navy); margin: 10px 0; }

/* Forms */
.form-box { max-width: 650px; background: #fff; padding: 36px; border: 3px solid var(--navy); border-radius: 20px; box-shadow: 8px 8px 0 var(--navy); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 800; margin-bottom: 6px; font-size: 0.95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px; border: 3px solid var(--navy); border-radius: 12px; font: inherit; background: #fff; color: var(--navy);
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 36px; }
.testi-card { padding: 24px; position: relative; background: #fff; }
.stars { color: #ffb703; font-size: 1.2rem; margin-bottom: 10px; }

/* Accordion FAQ */
.faq-list { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 3px solid var(--navy); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 4px 4px 0 var(--navy); }
.faq-q { padding: 18px 24px; font-weight: 800; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding: 0 24px 20px; display: none; border-top: 2px dashed #ccc; padding-top: 14px; }
.faq-item.open .faq-a { display: block; }

/* Footer */
footer { background: var(--navy); color: #fff; padding: 40px 0 30px; border-top: 4px solid var(--navy); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }

/* Dialog Modal */
dialog { border: 3px solid var(--navy); border-radius: 18px; padding: 0; width: min(1100px, 96vw); height: 88vh; box-shadow: 8px 8px 0 var(--navy); color: var(--navy); background: #fff; overflow: hidden; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: rgba(22, 18, 63, 0.75); }
.pvh { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 18px; background: var(--yellow); border-bottom: 3px solid var(--navy); }
.pvh .sp { flex: 1; }
.pvb { flex: 1; min-height: 0; background: #e9e6f5; display: flex; justify-content: center; overflow: auto; }
.pvb iframe { border: 0; width: 100%; height: 100%; background: #fff; }
.pvb.m iframe { width: 390px; max-width: 100%; border-inline: 3px solid var(--navy); }

/* Banner Alert */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 500px; z-index: 999; background: var(--yellow); padding: 18px 24px; border: 3px solid var(--navy); border-radius: 16px; box-shadow: 6px 6px 0 var(--navy); display: flex; flex-direction: column; gap: 10px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1023px) {
  .desktop-nav { display: none !important; }
  .hamburger-btn { display: flex !important; }
  .sticky-mobile-cta { display: block !important; }
  body { padding-bottom: 60px; }
}

@media (max-width: 768px) {
  .deal { grid-template-columns: 1fr; }
  .sticker { position: static; transform: rotate(-6deg); margin-bottom: 18px; width: 120px; height: 120px; }
  .sticker b { font-size: 2.2rem; }
  section { padding: 55px 0; }
  .comp-matrix { font-size: 0.88rem; }
  .comp-matrix th, .comp-matrix td { padding: 10px 12px; }
}
