/* ============================================================
   MallGiftCardAI — Site Stylesheet
   Palette: navy primary / warm amber accent / cream surface
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #f5f5f5;
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #161616; text-decoration: none; transition: color .2s; }
a:hover { color: #b81824; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: #161616; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; letter-spacing: .02em; }
p  { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.accent { color: #d11f2a; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #d11f2a;
  font-weight: 700;
  margin-bottom: .8em;
}
.shell { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ----- Scroll progress ----- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, #e23b44, #d11f2a);
  z-index: 200; transition: width .05s linear;
}

/* ----- Top banner ----- */
.site-banner {
  background: #161616;
  color: #dcdcdc;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.site-banner__row {
  max-width: 1180px; margin: 0 auto; padding: 8px 22px;
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.site-banner__note { margin: 0; opacity: .85; }
.site-banner__note i { color: #e23b44; margin-right: 6px; }
.site-banner__links { display: flex; gap: 22px; }
.site-banner__links a { color: #dcdcdc; display: inline-flex; gap: 6px; align-items: center; }
.site-banner__links a:hover { color: #e23b44; }

/* ----- Navigation ----- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #fafafa;
  border-bottom: 1px solid #e4e4e4;
  transition: box-shadow .25s, background .25s;
}
.site-nav.is-scrolled { box-shadow: 0 4px 16px -8px rgba(0,0,0,.25); background: #fafafa; }
.site-nav__row {
  max-width: 1180px; margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; color: #161616; font-size: 1.02rem; letter-spacing: -.01em;
}
.brand-mark__text { white-space: nowrap; }
.brand-mark__text small {
  display: block; font-size: .62rem; font-weight: 500;
  letter-spacing: .25em; color: #d11f2a; text-transform: uppercase;
}
.nav-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav-menu a {
  display: inline-block; padding: 8px 14px; font-size: .94rem; font-weight: 500;
  color: #1a1a1a; border-radius: 6px; position: relative;
}
.nav-menu a:hover { background: #f7f7f7; color: #161616; }
.nav-menu a.active { color: #161616; background: #f7f7f7; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: #d11f2a; border-radius: 2px;
}
.nav-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  border: 1px solid #e4e4e4; background: #fafafa; color: #161616;
  width: 40px; height: 40px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: #f7f7f7; border-color: #d11f2a; }
.icon-btn--burger { display: none; flex-direction: column; padding: 0; }
.icon-btn--burger span {
  display: block; width: 18px; height: 2px; background: #161616;
  margin: 2px 0; border-radius: 2px;
}

/* ----- Search popover ----- */
.search-pop {
  position: fixed; top: 0; left: 0; right: 0;
  background: #161616; color: #ffffff; padding: 22px;
  transform: translateY(-100%); transition: transform .28s ease;
  z-index: 150; box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.search-pop.is-open { transform: translateY(0); }
.search-pop__inner { max-width: 820px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.search-pop__input {
  flex: 1; background: transparent; border: none; border-bottom: 2px solid #e23b44;
  color: #ffffff; font-size: 1.12rem; padding: 10px 4px; outline: none; font-family: inherit;
}
.search-pop__input::placeholder { color: rgba(255,255,255,.55); }
.search-pop__x {
  background: transparent; border: none; color: #ffffff; font-size: 1.2rem; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
}
.search-pop__x:hover { background: rgba(255,255,255,.1); }

/* ----- Mobile drawer ----- */
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 82vw;
  background: #fafafa; padding: 22px; z-index: 150;
  transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column; gap: 20px; overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); box-shadow: -10px 0 28px rgba(0,0,0,.18); }
.mobile-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid #e4e4e4;
}
.mobile-drawer__list { list-style: none; padding: 0; margin: 0; }
.mobile-drawer__list a {
  display: block; padding: 12px 10px; border-bottom: 1px solid #efefef;
  color: #161616; font-weight: 500;
}
.mobile-drawer__list a.active { color: #d11f2a; }
.mobile-drawer__foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid #e4e4e4;
  font-size: .88rem; color: #4a4a4a;
}
.mobile-drawer__foot p { margin: 6px 0; display: flex; gap: 8px; align-items: center; }
.mobile-drawer__foot i { color: #d11f2a; }
.page-dim {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 140;
}
.page-dim.is-on { opacity: 1; pointer-events: auto; }

/* ----- Buttons ----- */
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #161616; color: #ffffff;
  padding: 13px 26px; border-radius: 999px; font-weight: 600;
  border: 2px solid #161616; cursor: pointer; font-size: .96rem;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-align: center; font-family: inherit;
}
.pill-btn:hover { background: #262626; border-color: #262626; color: #ffffff; transform: translateY(-1px); }
.pill-btn--outline { background: transparent; color: #161616; }
.pill-btn--outline:hover { background: #161616; color: #ffffff; }
.pill-btn--amber { background: #d11f2a; border-color: #d11f2a; }
.pill-btn--amber:hover { background: #9a141d; border-color: #9a141d; color: #ffffff; }
.pill-btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ----- Lead section (home hero) ----- */
.lead-section {
  background: linear-gradient(135deg, #161616 0%, #262626 55%, #2e2e2e 100%);
  color: #ffffff; padding: 76px 22px 90px; position: relative; overflow: hidden;
}
.lead-section::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(209,31,42,.28), transparent 70%);
}
.lead-section::after {
  content: ""; position: absolute; bottom: -80px; left: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.08), transparent 70%);
}
.lead-section__inner { max-width: 920px; margin: 0 auto; position: relative; z-index: 1; }
.lead-section .eyebrow { color: #e23b44; }
.lead-section h1 { color: #ffffff; }
.lead-section p.lede { font-size: 1.1rem; color: #dcdcdc; max-width: 720px; margin-bottom: 30px; }
.lead-section__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.lead-section__cta .pill-btn { background: #e23b44; color: #161616; border-color: #e23b44; }
.lead-section__cta .pill-btn:hover { background: #b81824; border-color: #b81824; color: #ffffff; }
.lead-section__cta .pill-btn--outline { background: transparent; color: #ffffff; border-color: rgba(255,255,255,.55); }
.lead-section__cta .pill-btn--outline:hover { background: #ffffff; color: #161616; border-color: #ffffff; }

/* ----- Sub lead (inner page hero) ----- */
.sub-lead { background: #fafafa; border-bottom: 1px solid #e4e4e4; padding: 52px 22px 40px; }
.sub-lead__inner { max-width: 920px; margin: 0 auto; }
.sub-lead h1 { margin-bottom: 14px; }
.sub-lead__meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: .88rem; color: #6b6b6b; }
.sub-lead__meta span i { color: #d11f2a; margin-right: 4px; }

/* ----- Promise row ----- */
.promise-row { background: #fafafa; padding: 40px 22px; border-bottom: 1px solid #e4e4e4; }
.promise-row__grid { max-width: 1180px; margin: 0 auto; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.promise-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; background: #ffffff; border: 1px solid #e4e4e4;
  border-radius: 10px; border-left: 4px solid #d11f2a;
}
.promise-item i {
  font-size: 1.2rem; color: #d11f2a;
  background: #fbe9e9; padding: 10px; border-radius: 8px;
  min-width: 40px; text-align: center;
}
.promise-item strong { display: block; color: #161616; margin-bottom: 2px; font-size: .96rem; }
.promise-item span { font-size: .83rem; color: #6b6b6b; line-height: 1.5; }

/* ----- Block sections ----- */
.block-section { padding: 68px 22px; }
.block-section--cream { background: #fafafa; }

.section-head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: #6b6b6b; font-size: 1.02rem; }

/* ----- Topic grid ----- */
.topic-grid {
  display: grid; gap: 20px; list-style: none; padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1180px; margin: 0 auto;
}
.topic-card {
  background: #ffffff; border: 1px solid #e4e4e4; border-radius: 12px;
  padding: 26px; position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.topic-card:hover {
  transform: translateY(-3px); border-color: #d11f2a;
  box-shadow: 0 12px 26px -12px rgba(0,0,0,.22);
}
.topic-card__icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: #fbe9e9; color: #d11f2a;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 14px;
}
.topic-card--feature { background: linear-gradient(160deg, #161616, #262626); color: #ffffff; border-color: #161616; }
.topic-card--feature h3 { color: #ffffff; }
.topic-card--feature .topic-card__icon { background: rgba(209,31,42,.2); color: #e23b44; }
.topic-card--feature p { color: #dcdcdc; }
.topic-card p { font-size: .93rem; color: #6b6b6b; }
.topic-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: #d11f2a; margin-top: 14px; }
.topic-card--feature .topic-card__more { color: #e23b44; }
.topic-card__more:hover i { transform: translateX(3px); }
.topic-card__more i { transition: transform .2s; }

/* ----- Image grid ----- */
.image-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; gap: 14px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
}
.image-grid figure { margin: 0; overflow: hidden; border-radius: 12px; position: relative; }
.image-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.image-grid figure:hover img { transform: scale(1.06); }
.image-grid figure:nth-child(1) { grid-row: span 2; }
.image-grid figure:nth-child(4) { grid-column: span 2; }

/* ----- Law panel ----- */
.law-panel { max-width: 1180px; margin: 0 auto; display: grid; gap: 40px; grid-template-columns: 1fr 1.2fr; align-items: center; }
.law-panel__pic { border-radius: 14px; overflow: hidden; }
.law-panel__pic img { aspect-ratio: 4/3; object-fit: cover; }
.law-panel__list { list-style: none; padding: 0; margin: 18px 0; }
.law-panel__list li { padding: 10px 0; border-bottom: 1px dashed #e4e4e4; display: flex; gap: 10px; }
.law-panel__list li::before {
  content: "✓"; color: #d11f2a; font-weight: 700;
  background: #fbe9e9; width: 24px; height: 24px; min-width: 24px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem;
}

/* ----- CTA strip ----- */
.cta-strip { background: #fbe9e9; padding: 50px 22px; border-top: 3px solid #d11f2a; border-bottom: 3px solid #d11f2a; }
.cta-strip__inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-strip__copy h2 { margin-bottom: 6px; }
.cta-strip__copy p { margin: 0; color: #6b6b6b; }

/* ----- Fee calculator ----- */
.fee-calc {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  background: #ffffff; padding: 36px; border-radius: 14px;
  border: 1px solid #e4e4e4;
  box-shadow: 0 8px 26px -16px rgba(0,0,0,.25);
}
.fee-calc__form { display: flex; flex-direction: column; gap: 16px; border: none; padding: 0; margin: 0; }
.fee-calc__row label { display: block; font-size: .86rem; font-weight: 600; color: #161616; margin-bottom: 6px; }
.fee-calc__row input {
  width: 100%; padding: 11px 14px;
  border: 1px solid #e4e4e4; border-radius: 8px;
  font-size: .96rem; background: #fafafa; font-family: inherit;
}
.fee-calc__row input:focus { outline: 2px solid #e23b44; outline-offset: 1px; border-color: #d11f2a; background: #ffffff; }
.fee-calc__actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.fee-calc__out {
  background: #f5f5f5; border-radius: 10px; padding: 24px;
  display: flex; flex-direction: column; justify-content: center; min-height: 220px;
}
.fee-calc__placeholder { text-align: center; color: #6b6b6b; }
.fee-calc__placeholder i { font-size: 2rem; color: #d11f2a; margin-bottom: 10px; }
.fee-calc__result .result-label { font-size: .82rem; color: #6b6b6b; text-transform: uppercase; letter-spacing: .1em; margin: 0; }
.fee-calc__result .result-total { font-size: 2.4rem; font-weight: 800; color: #161616; margin: 6px 0 10px; }
.fee-calc__result .result-meta { font-size: .88rem; color: #4a4a4a; margin: 4px 0; }
.fee-calc__result .result-note { font-size: .78rem; color: #6b6b6b; font-style: italic; margin-top: 14px; }

/* ----- QnA list (accordion) ----- */
.qna-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.qna-item { background: #ffffff; border: 1px solid #e4e4e4; border-radius: 10px; overflow: hidden; }
.qna-item__q {
  width: 100%; background: transparent; border: none; padding: 16px 20px;
  font-size: 1rem; font-weight: 600; color: #161616;
  cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: inherit;
}
.qna-item__q:hover { background: #fafafa; }
.qna-item__q::after { content: "+"; font-weight: 400; font-size: 1.4rem; color: #d11f2a; line-height: 1; }
.qna-item.is-open .qna-item__q::after { content: "−"; }
.qna-item__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.qna-item__a-inner { padding: 0 20px 20px; color: #4a4a4a; font-size: .94rem; }

/* ----- Content blocks ----- */
.content-block { max-width: 1020px; margin: 0 auto; }
.content-block__head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.content-block__head i {
  width: 48px; height: 48px; border-radius: 10px;
  background: #fbe9e9; color: #d11f2a;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.content-block__cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 34px; align-items: start; }
.content-block h4 { margin-top: 1.4em; color: #161616; font-size: 1.05rem; }
.side-card {
  background: #fafafa; border: 1px solid #e4e4e4; border-left: 4px solid #d11f2a;
  padding: 20px; border-radius: 8px; margin-bottom: 16px;
}
.side-card--warn { border-left-color: #8c1118; background: #fdeaea; }
.side-card--warn h4 { color: #8c1118; }
.side-card h4 { margin-top: 0; font-size: .98rem; }
.side-card h4 i { color: #d11f2a; margin-right: 6px; }
.side-card--warn h4 i { color: #8c1118; }
.side-card ul { margin: 8px 0 0; padding-left: 1.2em; font-size: .9rem; }
.side-pic { border-radius: 12px; overflow: hidden; }
.side-pic img { aspect-ratio: 4/3; object-fit: cover; }

/* ----- Rules / Seq / Risk ----- */
.rules-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 30px 0; }
.rules-card { background: #ffffff; border: 1px solid #e4e4e4; border-radius: 10px; padding: 24px; position: relative; }
.rules-card__num {
  font-size: 2.4rem; font-weight: 800; color: #fbe9e9;
  line-height: 1; position: absolute; top: 14px; right: 18px;
}
.rules-card h4 { position: relative; z-index: 1; }
.rules-card p { font-size: .9rem; color: #6b6b6b; margin: 0; }

.seq { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; margin: 30px 0; }
.seq li {
  background: #ffffff; border: 1px solid #e4e4e4; border-radius: 10px;
  padding: 24px; display: grid; grid-template-columns: 44px 1fr; gap: 18px;
}
.seq__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: #161616; color: #e23b44;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
}
.seq h4 { margin-top: 0; }
.seq p { margin: 0; color: #6b6b6b; font-size: .94rem; }

.risk-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 30px 0; }
.risk-card { background: #ffffff; border: 1px solid #e4e4e4; border-radius: 10px; padding: 22px; border-top: 4px solid #8c1118; }
.risk-card__icon { font-size: 1.4rem; color: #8c1118; margin-bottom: 10px; }
.risk-card p { font-size: .9rem; color: #6b6b6b; margin: 0; }

.law-aside {
  background: #fbe9e9; border-left: 4px solid #d11f2a;
  padding: 18px 22px; border-radius: 8px;
  display: flex; gap: 14px; align-items: flex-start; margin-top: 24px;
}
.law-aside i { font-size: 1.2rem; color: #d11f2a; margin-top: 2px; }
.law-aside p { margin: 0; font-size: .92rem; color: #4a4a4a; }

/* ----- Contact ----- */
.contact-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 38px; align-items: start; }
.contact-form { background: #ffffff; padding: 30px; border: 1px solid #e4e4e4; border-radius: 12px; }
.contact-form .field,
.contact-form__row { margin-bottom: 16px; }
.contact-form label { display: block; font-size: .86rem; font-weight: 600; color: #161616; margin-bottom: 6px; }
.contact-form label span,
.contact-form .req { color: #8c1118; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid #e4e4e4; border-radius: 8px;
  font-size: .96rem; font-family: inherit; background: #fafafa;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid #e23b44; outline-offset: 1px; border-color: #d11f2a; background: #ffffff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .field-check,
.contact-form__row--check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #4a4a4a; margin-bottom: 16px; }
.contact-form .field-check input,
.contact-form__row--check input { width: auto; margin-top: 3px; flex-shrink: 0; }
.contact-form__intro { font-size: .9rem; color: #4a4a4a; margin-bottom: 16px; }
.contact-form__note { font-size: .82rem; color: #6b6b6b; margin-top: 14px; }
.contact-form__note i { color: #d11f2a; margin-right: 6px; }
.info-card { background: #fafafa; border: 1px solid #e4e4e4; border-radius: 12px; padding: 26px; margin-bottom: 18px; }
.info-card h3 { color: #161616; margin-bottom: 14px; }
.info-card--accent { border-top: 3px solid #d11f2a; }
.info-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #efefef; }
.info-row:last-child { border-bottom: none; }
.info-row i, .info-row__icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #fbe9e9; color: #d11f2a;
  display: inline-flex; align-items: center; justify-content: center;
}
.info-row strong { display: block; color: #161616; margin-bottom: 2px; }
.info-row p { margin: 0; font-size: .9rem; color: #4a4a4a; }
.info-row h4 { margin: 0 0 4px; font-size: .94rem; color: #161616; }

.map-wrap { max-width: 1180px; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 1px solid #e4e4e4; }
.map-wrap iframe { display: block; width: 100%; border: 0; }
.map-wrap__caption { padding: 10px 14px; font-size: .82rem; color: #6b6b6b; text-align: center; background: #fafafa; }

/* ----- Legal ----- */
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { font-size: 1.15rem; margin-top: 1.8em; padding-bottom: 6px; border-bottom: 1px solid #e4e4e4; }
.legal-body h3 { font-size: 1rem; margin-top: 1.2em; }
.legal-body p { color: #242424; font-size: .96rem; }
.legal-lead {
  background: #fafafa; border-left: 4px solid #d11f2a;
  padding: 16px 20px; border-radius: 6px; font-size: .94rem; margin-bottom: 24px;
}

/* ----- Thank-you ----- */
.ty-box {
  max-width: 560px; margin: 70px auto; padding: 40px 32px;
  background: #ffffff; border: 1px solid #e4e4e4; border-radius: 14px; text-align: center;
}
.ty-box__icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #fbe9e9; color: #d11f2a;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 18px;
}
.ty-box__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ----- Footer ----- */
.site-foot { background: #161616; color: #d8d8d8; padding-top: 50px; }
.site-foot__grid {
  max-width: 1180px; margin: 0 auto; padding: 0 22px 40px;
  display: grid; gap: 30px; grid-template-columns: 1.6fr 1fr 1fr 1fr;
}
.site-foot h4 { color: #ffffff; margin-bottom: 14px; font-size: .96rem; letter-spacing: .05em; text-transform: uppercase; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #d8d8d8; font-size: .92rem; }
.site-foot a:hover { color: #e23b44; }
.site-foot__brand p { font-size: .9rem; color: #b0b0b0; margin: 8px 0; }
.site-foot__brand .brand-mark { color: #ffffff; margin-bottom: 10px; }
.site-foot__brand .brand-mark__text small { color: #e23b44; }
.site-foot__brand p i { color: #e23b44; margin-right: 8px; }
.site-foot__notice { background: #0a0a0a; padding: 22px; font-size: .82rem; color: #9a9a9a; line-height: 1.6; }
.site-foot__rule {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 22px; font-size: .84rem;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  max-width: 1180px; margin: 0 auto;
}

/* ----- Cookie banner/pill ----- */
.cookie-pill {
  position: fixed; bottom: 18px; left: 18px; z-index: 130;
  background: #161616; color: #ffffff; border: 2px solid #e23b44;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  font-size: .86rem; font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.3);
  display: inline-flex; gap: 8px; align-items: center; font-family: inherit;
}
.cookie-pill i { color: #e23b44; }
.cookie-pill:hover { background: #262626; }
.cookie-shade {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: none; z-index: 160; align-items: center; justify-content: center; padding: 22px;
}
.cookie-shade.is-visible { display: flex; }
.cookie-dialog {
  background: #fafafa; border-radius: 14px; max-width: 520px; width: 100%;
  padding: 28px; border-top: 4px solid #d11f2a;
}
.cookie-dialog h3 { margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.cookie-dialog h3 i { color: #d11f2a; }
.cookie-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-top: 1px solid #e4e4e4;
}
.cookie-row strong { display: block; color: #161616; }
.cookie-row span { font-size: .85rem; color: #6b6b6b; }
.cookie-switch { position: relative; width: 42px; height: 22px; flex-shrink: 0; margin-top: 4px; }
.cookie-switch input { display: none; }
.cookie-switch .track {
  position: absolute; inset: 0; background: #d6d6d6; border-radius: 999px; transition: background .2s;
}
.cookie-switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: #ffffff; transition: transform .2s;
}
.cookie-switch input:checked + .track { background: #d11f2a; }
.cookie-switch input:checked + .track::after { transform: translateX(20px); }
.cookie-switch input:disabled + .track { background: #b8b8b8; }
.cookie-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ----- Responsive ----- */
@media (max-width: 860px) {
  .nav-menu, .icon-btn[data-role="search"] { display: none; }
  .icon-btn--burger { display: inline-flex; }
  .site-banner__note { font-size: .76rem; flex: 1 1 100%; }
  .promise-row__grid { grid-template-columns: 1fr 1fr; }
  .image-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
  .image-grid figure:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .image-grid figure:nth-child(4) { grid-column: span 2; }
  .law-panel, .contact-grid, .content-block__cols, .fee-calc { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .promise-row__grid { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.85rem; }
  .lead-section { padding: 50px 22px 60px; }
  .brand-mark__text { font-size: .95rem; }
  .brand-mark__text small { font-size: .56rem; }
  .lead-section__cta { flex-direction: column; }
  .lead-section__cta .pill-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
