/* ============================================================
   REMODELGENIUS — Brand System & Responsive Stylesheet
   Theme: Energetic Hard-Hat Yellow & Green Mesh Header
   ============================================================ */

:root {
  --navy: #1F2D3D;
  --navy-2: #25384B;
  --navy-dark: #182430;
  --ink: #1F2D3D;
  --muted: #657085;
  --paper: #FFFFFF;
  --cream: #FFF9EC;
  --line: #EAE6DC;

  --yellow: #EDC315;
  --yellow-deep: #B8930B;
  --yellow-soft: #FDF3CE;

  --green: #4BAB82;
  --green-deep: #357C5A;
  --green-soft: #E5F5EC;

  --shadow: 0 22px 50px rgba(31, 45, 61, 0.10);
  --shadow-sm: 0 10px 26px rgba(31, 45, 61, 0.08);
  --radius: 26px;
}

/* ---------- Global Resets & Typography ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

::selection {
  background: var(--yellow-soft);
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(32px, 5.4vw, 62px);
}

h1 em {
  font-style: normal;
  color: var(--green-deep);
}

h2 {
  font-size: clamp(24px, 3.6vw, 42px);
}

h3 {
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 700;
}

p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 15.5px;
}

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

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Eyebrows & Tags ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--green-soft);
  padding: 8px 16px;
  border-radius: 999px;
  max-width: 100%;
  flex-wrap: wrap;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  flex: none;
}

.eyebrow.light {
  color: var(--navy);
  background: var(--yellow-soft);
}

.eyebrow.light::before {
  background: var(--yellow-deep);
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-deep);
  border-radius: 999px;
  padding: 9px 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.spec-tag.on-dark {
  color: var(--navy);
  background: var(--yellow);
}

/* ---------- Energetic Yellow & Green Header ---------- */
.header {
  height: 78px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(115deg, #FDF3CE 0%, #FFF7D1 42%, #E5F5EC 100%);
  border-bottom: 2.5px solid var(--green);
  box-shadow: 0 6px 24px rgba(237, 195, 21, 0.15);
  width: 100%;
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1002;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Desktop Nav Links */
.nav nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav nav a,
.nav-dropdown-trigger {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav nav a:hover,
.nav-dropdown-trigger:hover {
  color: var(--green-deep);
}

.nav-cta {
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: 0.15s ease;
}

.nav-cta:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.nav-cta b {
  color: var(--yellow);
}

.hamb {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  z-index: 1002;
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-trigger b {
  font-style: normal;
  font-size: 10px;
  transition: transform 0.2s;
  color: var(--green-deep);
}

.nav-dropdown:hover .nav-dropdown-trigger b,
.nav-dropdown:focus-within .nav-dropdown-trigger b {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(31, 45, 61, 0.12);
  padding: 8px;
  min-width: 220px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s ease;
  z-index: 1003;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
}

.nav-dropdown-menu a:hover {
  background: var(--green-soft);
  color: var(--green-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 0;
  font: 700 14px "Inter", sans-serif;
  cursor: pointer;
  transition: 0.18s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 14px 28px rgba(237, 195, 21, 0.30);
}

.btn.primary:hover {
  background: #F5D23A;
}

.btn.primary b {
  color: var(--navy);
}

.btn.secondary {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.btn.secondary:hover {
  border-color: var(--green);
  color: var(--green-deep);
}

.btn.white {
  background: #fff;
  color: var(--navy);
}

.btn.white:hover {
  background: var(--yellow);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 54px 0 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.orb1 {
  width: 360px;
  height: 360px;
  right: -140px;
  top: -140px;
  background: rgba(237, 195, 21, 0.16);
}

.orb2 {
  width: 280px;
  height: 280px;
  left: -140px;
  bottom: 60px;
  background: rgba(75, 171, 130, 0.14);
}

.hero-copy {
  padding: 6px 0 0;
}

.hero-copy > p {
  font-size: 17px;
  max-width: 600px;
  color: #4C5A70;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.microtrust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-deep);
}

.microtrust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.microtrust span::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 8px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(100%, 360px);
  height: min(100%, 360px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 171, 130, 0.20), transparent 72%);
  z-index: 0;
}

.hero-character {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 28px 30px rgba(31, 45, 61, 0.16));
}

/* ---------- Funnel Card & Choices ---------- */
.funnel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.wide-funnel {
  margin-top: 34px;
  max-width: none;
}

.wide-funnel .choices {
  grid-template-columns: repeat(4, 1fr);
}

.funnel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.funnel-head small,
.modal-head small,
.selected small {
  font-size: 11.5px;
  letter-spacing: 0.4px;
  font-weight: 700;
  color: var(--green-deep);
  text-transform: uppercase;
}

.funnel-head h2 {
  font-size: clamp(20px, 3vw, 25px);
  margin: 8px 0 0;
  letter-spacing: -0.3px;
}

.counter {
  font-size: 12.5px;
  color: var(--navy);
  font-weight: 700;
  background: var(--yellow-soft);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}

.counter i {
  font-style: normal;
  color: #D8C77B;
}

.bar,
.modal-bar {
  height: 6px;
  background: var(--cream);
  border-radius: 999px;
  margin: 20px 0;
}

.bar span,
.modal-bar span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  border-radius: 999px;
  transition: 0.3s ease;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.choices button {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  font: 700 13px "Inter", sans-serif;
  transition: 0.15s ease;
  width: 100%;
}

.choices button:hover {
  border-color: var(--green);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.choices i {
  font-style: normal;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--yellow-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: none;
}

.choices b {
  margin-left: auto;
  color: #C3CBD6;
}

.funnel-note {
  font-size: 11.5px;
  margin: 18px 0 0;
  color: #8B98AA;
}

/* ---------- Proof Bar Strip ---------- */
.proof {
  background: var(--navy);
  color: #fff;
  margin-top: 56px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
}

.proof-row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  text-align: center;
}

.proof-row > div:last-child {
  border: 0;
}

.proof strong {
  font: 800 24px "Plus Jakarta Sans", sans-serif;
  color: var(--yellow);
}

.proof span {
  font-size: 12px;
  color: #B7C4D6;
  font-weight: 500;
}

/* ---------- Content Sections ---------- */
.section {
  padding: 90px 0;
}

.section-top {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 44px;
}

.section-top > p {
  max-width: 440px;
}

/* ---------- Service Cards Grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  transition: 0.22s ease;
  cursor: pointer;
}

.service:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
  border-color: var(--green);
}

.service-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content small {
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--green-deep);
  font-weight: 700;
  text-transform: uppercase;
}

.service-content h3 {
  font-size: 18px;
  margin-top: 8px;
  font-weight: 800;
}

.service-content p {
  font-size: 13px;
  flex-grow: 1;
  margin-bottom: 14px;
}

.service-content .explore-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.15s ease;
}

.service:hover .service-content .explore-link {
  color: var(--green-deep);
  gap: 9px;
}

.service-content .explore-link b {
  color: var(--yellow-deep);
}

/* ---------- Dark Process Section ---------- */
.dark-section {
  background: var(--navy);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.dark-section .hero-orb {
  opacity: 0.5;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.dark-section p {
  color: #AFC0D5;
  max-width: 520px;
}

.steps {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.step > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
  font: 800 13px "Plus Jakarta Sans", sans-serif;
}

.step:nth-child(even) > span {
  background: var(--green);
  color: #fff;
}

.step h3 {
  font-size: 16px;
  margin: 2px 0 5px;
  color: #fff;
}

.step p {
  font-size: 13px;
  margin: 0;
}

/* ---------- Why RemodelGenius ---------- */
.center {
  text-align: center;
  max-width: 700px;
  margin: auto;
}

.center p {
  max-width: 560px;
  margin: auto;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.benefit-grid > div {
  padding: 26px 22px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  position: relative;
  background: #fff;
}

.benefit-grid span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  align-items: center;
  justify-content: center;
  font: 800 13px "Plus Jakarta Sans", sans-serif;
}

.benefit-grid h3 {
  font-size: 16.5px;
  margin-top: 18px;
  font-weight: 800;
}

.benefit-grid p {
  font-size: 13px;
  margin-bottom: 0;
}

/* ---------- Quote / CTA Band ---------- */
.quote-band {
  padding: 0 0 90px;
}

.quote-inner {
  background: linear-gradient(115deg, var(--navy), #20364C 60%, #1E4438);
  border-radius: 28px;
  padding: 46px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  position: relative;
}

.quote-inner::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 195, 21, 0.20), transparent 70%);
  right: -60px;
  bottom: -100px;
  pointer-events: none;
}

.quote-inner h2 {
  color: #fff;
}

.quote-inner p {
  color: #B9C8DA;
  margin-bottom: 0;
}

/* ---------- FAQ Section ---------- */
.faq {
  background: var(--cream);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.faq-list details[open] {
  border-color: var(--green);
}

.faq-list summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: "+";
  float: right;
  color: var(--green-deep);
  font-size: 19px;
  font-weight: 700;
}

.faq-list details[open] summary:after {
  content: "−";
}

.faq-list p {
  font-size: 13.5px;
  margin: 12px 22px 0 0;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy-dark);
  color: #fff;
  padding: 60px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 40px;
}

.footer-grid p {
  font-size: 13px;
  color: #8FA0B2;
}

.footer-tag {
  margin-top: 14px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: #A2B1C4;
  transition: 0.18s ease;
}

.footer-social a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid b {
  font-size: 12.5px;
  color: var(--yellow);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.footer-grid a {
  font-size: 13px;
  color: #A2B1C4;
  transition: color 0.15s ease;
}

.footer-grid a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 18px;
  color: #6E7E92;
  font-size: 11.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Multi-Screen Modal Funnel ---------- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}

.modal.show {
  display: flex;
}

.shade {
  position: absolute;
  inset: 0;
  background: rgba(24, 36, 48, 0.70);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28);
  z-index: 2001;
}

.x {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  background: none;
  font-size: 26px;
  color: #8492A4;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.modal-back {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: 0.15s ease;
}

.modal-back:hover {
  border-color: var(--green);
  color: var(--green-deep);
  background: var(--green-soft);
}

.modal-back[hidden] {
  display: none;
}

.modal-head-left {
  flex: 1 1 auto;
  min-width: 0;
}

.modal-head h2 {
  font-size: clamp(19px, 2.5vw, 24px);
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.modal-head > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 5px 11px;
  border-radius: 999px;
  height: fit-content;
  white-space: nowrap;
  flex: none;
}

.modal-bar {
  margin-top: 14px;
}

.modal-bar span {
  width: 20%;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.selected {
  background: var(--cream);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 16px 0;
}

.selected strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--navy);
}

.modal h3 {
  font-size: 18.5px;
  font-weight: 800;
}

.modal label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin: 14px 0;
  color: var(--navy);
}

.modal input,
.modal select {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: 14px "Inter", sans-serif;
  outline: 0;
  background: #fff;
}

.modal input:focus,
.modal select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.wide {
  width: 100%;
  margin-top: 10px;
}

.q-title {
  font-size: 13px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--navy);
}

.q-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.q-grid button {
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  text-align: left;
  font: 600 12.5px "Inter", sans-serif;
  cursor: pointer;
  width: 100%;
  transition: 0.15s ease;
}

.q-grid button.selected-choice {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 700;
}

.review {
  background: var(--cream);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
}

.review b {
  color: var(--navy);
}

.consent {
  display: flex !important;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 500 !important;
}

.consent input {
  width: auto !important;
  margin-top: 3px !important;
}

.tiny {
  font-size: 10.5px;
  text-align: center;
  margin-top: 10px;
  color: #9AA6B6;
}

.tiny a{color:var(--green-deep);font-weight:600;text-decoration:underline}
.tiny a:hover{color:var(--navy)}

.success {
  text-align: center;
  font-size: 36px;
  color: var(--green-deep);
  background: var(--green-soft);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 6px auto 16px;
}

/* ---------- Category Landing Pages & Icons ---------- */
.icon-stage {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #F5F1E6, #FFF9EC);
  padding: 16px;
}

.icon-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.service:hover .icon-stage img {
  transform: scale(1.06);
}

.icon-hero-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
}

.icon-hero-wrap::before {
  content: "";
  position: absolute;
  width: min(100%, 280px);
  height: min(100%, 280px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 171, 130, 0.20), transparent 72%);
  z-index: 0;
}

.icon-hero-wrap img {
  width: auto;
  height: auto;
  max-width: min(78%, 300px);
  max-height: 300px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 24px rgba(31, 45, 61, 0.14));
  animation: rg-float-slow 4.5s ease-in-out infinite;
}

@keyframes rg-float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .icon-hero-wrap img { animation: none; }
  .icon-stage img { transition: none; }
}

.crumb {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.crumb a {
  color: var(--green-deep);
  font-weight: 700;
}

.crumb a:hover {
  text-decoration: underline;
}

.cat-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 36px 0 76px;
}

.cat-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.considerations {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
}

.considerations li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}

.considerations li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.related a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  background: #fff;
  transition: 0.15s ease;
}

.related a:hover {
  border-color: var(--green);
  color: var(--green-deep);
  transform: translateY(-2px);
}

.related a img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  flex: none;
  background: var(--cream);
  padding: 5px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS & MOBILE FONT FIXES
   ============================================================ */

/* Tablet Screens (max-width: 992px) */
@media (max-width: 992px) {
  .wrap {
    width: min(100% - 32px, 920px);
  }
  .hero-grid,
  .cat-hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-visual,
  .icon-hero-wrap {
    order: -1;
    min-height: 240px;
  }
  .hero-character {
    width: min(60%, 280px);
  }
  .icon-hero-wrap img {
    max-width: 240px;
    max-height: 240px;
  }
  .wide-funnel .choices {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-inner {
    padding: 40px 32px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile Navigation Collapse & Drawer (max-width: 900px) */
@media (max-width: 900px) {
  .header {
    height: 68px;
  }

  .brand-logo {
    height: 40px;
    max-width: 170px;
  }

  .nav-cta {
    display: none;
  }

  .hamb {
    display: block;
  }

  /* Slide-down Mobile Menu Container */
  .nav nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: #FFFFFF !important;
    padding: 24px 20px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 3px solid var(--green);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1001;
  }

  .nav nav.mobile-open {
    display: flex !important;
  }

  /* Force font visibility on mobile */
  .nav nav a,
  .nav-dropdown-trigger {
    display: flex !important;
    width: 100% !important;
    color: var(--navy) !important;
    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    padding: 8px 0 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav nav a:hover,
  .nav-dropdown-trigger:hover {
    color: var(--green-deep) !important;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    justify-content: space-between !important;
  }

  .nav-dropdown-trigger b {
    color: var(--green-deep) !important;
    font-size: 12px !important;
  }

  /* Dropdown items in mobile drawer */
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--cream) !important;
    padding: 10px 14px;
    margin-top: 6px;
    border-radius: 12px;
    display: none;
    width: 100%;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: grid !important;
  }

  .nav-dropdown-menu a {
    color: var(--navy) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 10px 8px !important;
    border-radius: 8px;
  }

  .nav-dropdown-menu a:hover {
    background: var(--green-soft) !important;
    color: var(--green-deep) !important;
  }
}

/* Small Screens (max-width: 600px) */
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .header {
    height: 64px;
  }

  .nav nav {
    top: 64px;
    max-height: calc(100vh - 64px);
  }

  .brand-logo {
    height: 38px;
    max-width: 160px;
  }

  .hero {
    padding: 36px 0 0;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .funnel-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .choices {
    grid-template-columns: 1fr;
  }

  .wide-funnel .choices {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr 1fr;
    padding: 16px 0;
  }

  .proof-row > div {
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .proof-row > div:nth-child(2) {
    border-right: 0;
  }

  .proof-row > div:nth-child(3),
  .proof-row > div:nth-child(4) {
    border-bottom: 0;
  }

  .section,
  .dark-section,
  .cat-hero {
    padding: 54px 0;
  }

  .quote-band {
    padding-bottom: 54px;
  }

  .service-grid,
  .benefit-grid,
  .footer-grid,
  .considerations,
  .related {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 28px;
  }

  .quote-inner {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .modal-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .modal-back {
    width: 32px;
    height: 32px;
  }

  .modal-head {
    gap: 8px;
    padding-right: 26px;
  }

  .q-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 200px;
  }

  .hero-character {
    width: 72%;
  }
}