/* =========================================================
   마이트립닷컴 - style.css
   Mobile-first, vanilla CSS, no framework
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans KR', 'Pretendard', -apple-system, BlinkMacSystemFont,
               'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a2233;
  background: #f7faff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: #0b5ed7; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; color: #0b1f3f; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 880px; }
.section { padding: 64px 0; }
.section-alt { background: #eef4ff; }

/* ---------- Skip / a11y ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #0b3d91; color: #fff; padding: 8px 16px;
  border-radius: 0 0 6px 0; z-index: 9999;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid #e6ecf5;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 1.15rem; color: #0b1f3f;
  text-decoration: none;
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, #0b5ed7, #00b8d9);
  color: #fff; font-size: 18px;
  transform: rotate(-15deg);
}
.logo:hover { text-decoration: none; }
.logo-text { letter-spacing: -.02em; }

.primary-nav ul {
  display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.primary-nav a {
  color: #1a2233; font-weight: 500; font-size: .98rem;
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: #0b5ed7; text-decoration: none; }
.primary-nav a.is-active { color: #0b5ed7; border-bottom-color: #0b5ed7; }
.primary-nav .nav-cta {
  background: linear-gradient(135deg, #ff8a00, #ffb547);
  color: #1a1a1a; padding: 9px 18px; border-radius: 999px;
  border-bottom: 0; font-weight: 700;
  box-shadow: 0 6px 18px rgba(255,138,0,.28);
}
.primary-nav .nav-cta:hover { color: #1a1a1a; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 6px;
  width: 40px; height: 40px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #0b1f3f;
  border-radius: 2px; transition: transform .25s, opacity .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(0,184,217,.35), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(255,138,0,.18), transparent 60%),
    linear-gradient(160deg, #0b3d91 0%, #0b5ed7 65%, #00b8d9 120%);
  color: #fff;
  padding: 80px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: .6;
}
.hero-inner { position: relative; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  padding: 6px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 900; line-height: 1.15; color: #fff;
  letter-spacing: -.02em; margin: 0 0 16px;
}
.hero-accent {
  background: linear-gradient(90deg, #ffd166, #ffb547);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.05rem; max-width: 640px; line-height: 1.7;
  color: rgba(255,255,255,.92); margin: 0 0 28px;
}
.hero-sub-text {
  font-size: 1.05rem; max-width: 640px; line-height: 1.7;
  color: rgba(255,255,255,.92); margin: 0 0 28px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  list-style: none; padding: 0; margin: 0;
}
.hero-badges li {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex; flex-direction: column;
  min-width: 100px;
}
.hero-badges strong {
  font-size: 1.4rem; font-weight: 900; color: #fff;
}
.hero-badges span {
  font-size: .82rem; color: rgba(255,255,255,.78);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(0,184,217,.35), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(255,138,0,.18), transparent 60%),
    linear-gradient(160deg, #0b3d91 0%, #0b5ed7 65%, #00b8d9 120%);
  color: #fff;
  padding: 48px 0 56px;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: .6;
}
.page-hero > .container { position: relative; }
.page-hero-breadcrumb {
  font-size: .9rem; color: rgba(255,255,255,.85);
  margin-bottom: 18px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.95); text-decoration: underline; }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb span[aria-hidden] { margin: 0 8px; opacity: .6; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.page-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.page-hero-text h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.page-hero-text p {
  font-size: 1.02rem;
  color: rgba(255,255,255,.92);
  margin: 0 0 22px;
  max-width: 560px;
  line-height: 1.7;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-hero-image {
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.page-hero-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

@media (min-width: 768px) {
  .page-hero { padding: 64px 0 72px; }
  .page-hero-grid { grid-template-columns: 1.35fr 1fr; gap: 44px; }
  .page-hero-image { aspect-ratio: 4 / 3; max-width: 100%; margin: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 12px; }
.btn-primary {
  background: linear-gradient(135deg, #ff8a00, #ffb547);
  color: #1a1a1a;
  box-shadow: 0 8px 22px rgba(255,138,0,.35);
}
.btn-primary:hover { color: #1a1a1a; box-shadow: 0 12px 28px rgba(255,138,0,.45); }
.btn-secondary {
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}
.btn-secondary:hover { color: #fff; background: rgba(255,255,255,.26); }
.btn-accent {
  background: linear-gradient(135deg, #0b5ed7, #00b8d9);
  color: #fff;
  box-shadow: 0 8px 22px rgba(11,94,215,.32);
}
.btn-accent:hover { color: #fff; }
.btn-cta {
  background: linear-gradient(135deg, #ff8a00, #ffb547);
  color: #1a1a1a;
  box-shadow: 0 6px 14px rgba(255,138,0,.28);
}
.btn-cta:hover { color: #1a1a1a; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: 36px; }
.section-tag {
  display: inline-block;
  background: rgba(11,94,215,.1);
  color: #0b5ed7;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -.02em;
}
.section-head p {
  max-width: 720px; margin: 0 auto;
  color: #44516b; font-size: 1.02rem;
}
.section-head em { color: #0b5ed7; font-style: normal; font-weight: 700; }
.section-note {
  margin-top: 28px;
  background: #fff8e6;
  border: 1px solid #ffe6a8;
  color: #6c5300;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: .94rem;
  text-align: center;
}

/* ---------- Coupon grid ---------- */
.coupon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.coupon-card {
  position: relative;
  display: flex;
  background: #fff;
  border: 1px solid #e2e9f4;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.coupon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11,31,63,.10);
  border-color: #c8d6ee;
}
.coupon-card.hot::after {
  content: "HOT";
  position: absolute; top: 12px; right: 12px;
  background: #ff3b30; color: #fff;
  font-size: .7rem; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: .1em;
}
.coupon-discount {
  flex: 0 0 110px;
  background: linear-gradient(160deg, #0b3d91, #0b5ed7 70%, #00b8d9);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 14px 8px;
}
.coupon-discount .num {
  font-size: 1.6rem; font-weight: 900; line-height: 1.1;
  letter-spacing: -.02em;
}
.coupon-discount .unit { font-size: 1rem; font-weight: 700; opacity: .9; }
.coupon-body {
  flex: 1 1 auto;
  padding: 18px 18px 18px 20px;
  display: flex; flex-direction: column;
}
.coupon-pill {
  align-self: flex-start;
  background: #eef4ff;
  color: #0b5ed7;
  font-size: .76rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.coupon-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem; font-weight: 800;
}
.coupon-body p {
  color: #44516b; font-size: .94rem;
  margin: 0 0 14px;
}
.coupon-code-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.coupon-code {
  flex: 1 1 auto;
  font-family: 'Courier New', ui-monospace, monospace;
  font-weight: 700;
  background: repeating-linear-gradient(45deg,#fff8e6 0 6px,#fff 6px 12px);
  border: 1px dashed #f0a83a;
  color: #6c4a00;
  padding: 9px 12px;
  border-radius: 8px;
  letter-spacing: .04em;
  text-align: center;
  font-size: .98rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.copy-btn {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: .9rem;
}
.copy-btn.is-copied {
  background: #1aaa55 !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(26,170,85,.32) !important;
}

/* ---------- Info grid (about) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.info-card {
  background: #fff;
  border: 1px solid #e2e9f4;
  border-radius: 14px;
  padding: 20px;
}
.info-label {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  color: #6478a1;
  background: #eef4ff;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.info-card strong {
  display: block; font-size: 1.15rem; color: #0b1f3f; font-weight: 800;
  margin-bottom: 6px; letter-spacing: -.01em;
}
.info-card p { margin: 0; color: #44516b; font-size: .95rem; }

/* ---------- How-to steps ---------- */
.howto-title {
  font-size: 1.4rem; text-align: center; margin: 24px 0 22px;
  color: #0b1f3f;
}
.howto-steps {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.howto-steps > li {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e9f4;
  border-radius: 14px;
  padding: 18px;
}
.step-num {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b5ed7, #00b8d9);
  color: #fff; font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(11,94,215,.3);
}
.howto-steps h4 { margin: 0 0 4px; font-size: 1.05rem; }
.howto-steps p { margin: 0; color: #44516b; font-size: .95rem; }
.howto-steps em { color: #0b5ed7; font-style: normal; font-weight: 700; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #0b3d91 0%, #0b5ed7 70%, #00b8d9);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(11,31,63,.18);
}
.cta-banner h3 { color: #fff; margin: 0 0 6px; font-size: 1.2rem; }
.cta-banner p { margin: 0; color: rgba(255,255,255,.9); font-size: .96rem; }
.cta-banner .btn-accent {
  background: #fff;
  color: #0b3d91;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.cta-banner .btn-accent:hover { color: #0b3d91; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid #e2e9f4;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: #c4d4f0;
  box-shadow: 0 6px 20px rgba(11,31,63,.06);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 50px 16px 18px;
  font-weight: 700; font-size: 1rem;
  color: #0b1f3f;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b5ed7;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  transition: transform .25s, background-color .25s;
}
.faq-item[open] summary::after {
  content: "−";
  background: #0b5ed7; color: #fff;
}
.faq-answer {
  padding: 0 18px 18px;
  color: #44516b; font-size: .98rem; line-height: 1.7;
}
.faq-cta {
  margin-top: 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed #c4d4f0;
  border-radius: 12px;
  padding: 16px 18px;
  color: #44516b;
}
.faq-cta a { font-weight: 700; }

/* ---------- Contact (support) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
.contact-card {
  background: #fff;
  border: 1px solid #e2e9f4;
  border-radius: 14px;
  padding: 20px;
}
.contact-label {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  color: #6478a1;
  background: #eef4ff;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.contact-card strong {
  display: block;
  font-size: 1.15rem; color: #0b1f3f; font-weight: 800;
  margin-bottom: 8px; word-break: break-all;
}
.contact-card p { margin: 0 0 8px; color: #44516b; font-size: .95rem; }
.contact-link {
  display: inline-block; margin-top: 4px; font-weight: 700;
  color: #0b5ed7;
}

.check-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-bottom: 24px;
}
.check-card {
  background: #fff;
  border: 1px solid #e2e9f4;
  border-radius: 14px;
  padding: 22px;
}
.check-card.highlight {
  background: linear-gradient(160deg, #eaf3ff, #f7faff);
  border-color: #c4d4f0;
}
.check-card h3 {
  margin: 0 0 12px; font-size: 1.1rem;
}
.check-card ul { margin: 0; padding-left: 1.2em; color: #2a3650; }
.check-card li { margin-bottom: 6px; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  background: #0b1f3f;
  color: #c8d6ee;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 48px 20px 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .logo-mark { width: 36px; height: 36px; font-size: 20px; }
.footer-name {
  font-size: 1.15rem; font-weight: 900; color: #fff;
  letter-spacing: -.02em;
}
.footer-brand p { font-size: .92rem; color: #9fb1d4; line-height: 1.6; margin: 0; }
.footer-nav h4, .footer-meta h4 {
  color: #fff; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 12px;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #c8d6ee; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-meta p { font-size: .9rem; color: #9fb1d4; margin: 0; line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  font-size: .85rem; color: #7a8db3;
  text-align: center;
}
.footer-bottom p { margin: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 30px);
  background: #0b1f3f;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 9999;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Hero with image ---------- */
.hero { display: block; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.hero-image-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
  aspect-ratio: 4 / 3;
}
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.hero-image-wrap:hover img { transform: scale(1.04); }
.hero-image-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,63,0) 50%, rgba(11,31,63,.35) 100%);
  pointer-events: none;
}

/* ---------- Section image (full-width banner) ---------- */
.section-image {
  margin: 0 0 36px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11,31,63,.12);
  aspect-ratio: 16 / 6;
  background: #e2e9f4;
}
.section-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---------- About image (side-by-side) ---------- */
.about-with-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
.about-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11,31,63,.14);
  aspect-ratio: 5 / 4;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- CTA banner with image background ---------- */
.cta-banner.has-image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner.has-image::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--cta-bg);
  background-size: cover; background-position: center;
  opacity: .35;
  z-index: -1;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .coupon-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1.4fr; padding: 56px 20px 32px; }
}

@media (min-width: 960px) {
  .coupon-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .howto-steps { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 88px 0; }
  .hero { padding: 110px 0 96px; }
  h2 { font-size: 1.9rem; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .about-with-image { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .about-with-image.image-left { grid-template-columns: 1fr 1.1fr; }
  .about-with-image.image-left .about-image { order: 0; }
  .about-with-image.image-left > :not(.about-image) { order: 1; }
  .section-image { aspect-ratio: 16 / 5; }
  .page-hero { padding: 76px 0 84px; }
  .page-hero-grid { gap: 56px; }
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid #e6ecf5;
    box-shadow: 0 8px 22px rgba(11,31,63,.08);
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
  }
  .primary-nav.is-open { max-height: 320px; }
  .primary-nav ul {
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    align-items: stretch;
  }
  .primary-nav li { border-bottom: 1px solid #f0f3f9; }
  .primary-nav li:last-child { border-bottom: 0; padding-top: 8px; }
  .primary-nav a {
    display: block; padding: 14px 4px; border-bottom: 0;
    font-size: 1rem;
  }
  .primary-nav .nav-cta {
    text-align: center; padding: 12px 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
