/* ==========================================================================
   The Refund Company — homepage
   Values lifted from the previous WordPress/Pagelayer build.
   Only intentional change: hero + footer gradients rotated 90deg -> 135deg
   to match the Tax Client Portal.
   ========================================================================== */

:root {
  --navy:        #003365;
  --body-text:   #313f58;
  --blue:        #003EEA;
  --blue-mid:    #308CFD;
  --green:       #1FD204;

  --grad-hero:   linear-gradient(135deg, #003EEA 23%, #308CFD 63%, #1FD204 100%);
  --grad-footer: linear-gradient(135deg, rgba(0,62,234,.69) 23%, rgba(31,210,4,.14) 63%, rgba(31,210,4,.56) 100%);

  --pill-bg:     rgba(255,255,255,.58);
  --pill-shadow: 1px 1px 20px 1px #ffffff inset, 1px 1px 20px 1px rgba(0,0,0,.12);

  --wrap:        1170px;
}

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

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--body-text);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a   { text-decoration: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 3;
}

.nav-pill {
  max-width: 90%;
  margin: 20px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: var(--pill-bg);
  border-radius: 100px;
  box-shadow: var(--pill-shadow);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.nav-logo { padding: 10px 0; flex: 0 0 auto; }
.nav-logo img { width: 100%; max-width: 260px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  display: block;
  padding: 7px 8px;
  font-weight: 800;
  color: #0004a7;
  transition: color .25s ease;
}
.nav-menu a:hover,
.nav-menu a:focus-visible { color: #fcfcfc; }
.nav-menu a.is-current { color: #00671e; }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  margin-inline: auto;
  border-radius: 3px;
  background: rgba(140,117,238,.85);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  margin-top: -102px;
  padding: 200px 0;
  background: var(--grad-hero);
  overflow: hidden;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: .2;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  gap: 20px;
}

.hero-copy { padding-right: 10px; }

.hero-title {
  font-family: Nunito, system-ui, sans-serif;
  font-size: 120px;
  font-weight: 900;
  line-height: .7;
  text-transform: capitalize;
  color: #f8f9f9;
  margin-bottom: 14px;
}

.hero-sub {
  margin: 0;
  font-size: 18px;
  color: #d2f6e2;
}

.hero-art img { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 101px;
  box-shadow: 1px 1px 20px 1px #ffffff inset, 1px 1px 20px 1px rgba(0,0,0,.12);
  transition: background-color .2s ease, color .2s ease;
}

.btn-hero {
  margin-top: 30px;
  padding: 15px 30px;
  background: rgba(255,255,255,.71);
  color: #2200b2;
  text-transform: capitalize;
}
.btn-hero:hover,
.btn-hero:focus-visible {
  background: rgba(255,255,255,.49);
  color: #f77cf1;
}

/* ---------- 1 2 3 steps ---------- */
.steps-title,
.steps h3 {
  font-family: Nunito, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: .9;
  text-transform: capitalize;
  color: #fff;
}

.steps-title { margin: 44px 0 0; }
.steps-title .hl { color: #ffff00; }

.steps li { margin-top: 22px; }
.steps li p {
  margin: 6px 0 0;
  color: #fff;
}

/* ==========================================================================
   WAVES
   ========================================================================== */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 3;
}
.wave svg { display: block; width: 100%; height: 100%; }
.wave .wf { fill: #ffffff; }

.wave-bottom { bottom: 0; height: 90px; }
.wave-top    { top: 0;    height: 110px; transform: rotateY(180deg); }

/* white breathing room between hero and footer */
.spacer { height: 80px; background: #fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  padding: 200px 0 100px;
  background: var(--grad-footer);
  overflow: hidden;
}

.footer-veil {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: .1;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-title {
  display: inline-block;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #fcfcfc;
}

.footer-blurb {
  margin: 4px 0 0;
  font-size: 18px;
  color: #bcf7e1;
}

/* shared small heading (h6 in the old build) */
.footer-h {
  font-family: Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: capitalize;
  color: var(--navy);
}

.footer-brand .footer-h {
  color: #f4fbfd;
  padding: 5px 0 10px;
}

.footer-h.spaced { margin-top: 20px; }

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-menu a {
  display: block;
  padding: 2px 4px;
  font-weight: 800;
  color: #d2f6e2;
  transition: color .25s ease, background-color .25s ease;
}
.footer-menu a:hover,
.footer-menu a:focus-visible { color: #0dff20; }
.footer-menu a.is-current {
  color: #010ea1;
  background: #f3fcff;
}

.btn-footer {
  margin-top: 25px;
  padding: 15px 30px;
  font-size: 20px;
  background: rgba(255,255,255,.47);
  color: #160777;
  text-transform: capitalize;
}
.btn-footer:hover,
.btn-footer:focus-visible {
  background: rgba(255,255,255,.49);
  color: #00671e;
}

/* ---------- contact column ---------- */
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--body-text);
}
.contact-line a { transition: opacity .2s ease; }
.contact-line a:hover { opacity: .7; }

.ico {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  fill: var(--body-text);
}

.hours { margin: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  body, body p { font-size: 16px; }

  .nav-pill {
    flex-wrap: wrap;
    padding: 6px 16px;
    border-radius: 30px;
  }
  .nav-logo img { max-width: 200px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 10px 4px; text-align: center; }

  .hero {
    margin-top: -80px;
    padding: 180px 0 150px;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 0; }
  .hero-title { font-size: 80px; }
  .hero-art { margin-top: 30px; }
  .hero-art img { max-width: 60%; }

  .wave-bottom, .wave-top { height: 70px; }

  .site-footer { padding: 150px 0 60px; }
  .btn-footer { font-size: 16px; }
  .contact-line { font-size: 19px; }
  .spacer { height: 40px; }
}

@media (max-width: 500px) {
  .hero { padding: 150px 0 150px; }
  .hero-title { font-size: 50px; }
  .hero-art img { max-width: 80%; }

  .btn-hero { margin-top: 20px; }
  .btn-footer { font-size: 13px; padding: 11px 22px; }

  .footer-menu a { font-size: 14px; }
  .hours { font-size: 14px; }
  .contact-line { font-size: 18px; }

  .wave-bottom, .wave-top { height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
