/* ========================================
   eSimVora – Main Stylesheet
   ======================================== */

/* ── CSS Variables ─────────────────────── */
:root {
  --primary:        #14b8a6;
  --primary-dark:   #0f9488;
  --primary-light:  #ccfbf1;
  --secondary:      #6366f1;
  --accent:         #f59e0b;
  --danger:         #ef4444;
  --success:        #22c55e;
  --warning:        #f97316;

  --bg:             #ffffff;
  --bg-alt:         #f8fafc;
  --surface:        #ffffff;
  --border:         #e2e8f0;
  --text:           #1e293b;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;

  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow:         0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.12);
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;

  --nav-height:     64px;
  --container:      1200px;

  --font:           'Inter', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg:             #0f172a;
  --bg-alt:         #1e293b;
  --surface:        #1e293b;
  --border:         #334155;
  --text:           #f1f5f9;
  --text-muted:     #94a3b8;
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Container ─────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.25rem; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; border: none;
  transition: all .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn:active { transform: none; }
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline  { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-danger   { background: var(--danger); color: #fff; }
.btn-ghost    { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }
.btn-sm  { padding: .35rem .85rem; font-size: .8rem; }
.btn-lg  { padding: .75rem 2rem; font-size: 1rem; }
.btn-xl  { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-group { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ── Badges ──────────────────────────────── */
.badge {
  display: inline-block; padding: .2rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; background: var(--bg-alt); color: var(--text-muted);
}
.badge-green  { background: #dcfce7; color: #166534; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-orange { background: #fff7ed; color: #9a3412; }
.badge-blue   { background: #eff6ff; color: #1d4ed8; }
.badge-purple { background: #f5f3ff; color: #6d28d9; }
.badge-teal   { background: #ccfbf1; color: #0f766e; }
.badge-info   { background: #e0f2fe; color: #0369a1; }
.badge-gray   { background: var(--bg-alt); color: var(--text-muted); }
.badge-completed, .badge-paid { background: #dcfce7; color: #166534; }
.badge-processing { background: #eff6ff; color: #1d4ed8; }
.badge-pending { background: #fff7ed; color: #9a3412; }
.badge-failed, .badge-permanently-failed { background: #fee2e2; color: #991b1b; }
.badge-refunded { background: #f5f3ff; color: #6d28d9; }

/* ── Form Controls ──────────────────────── */
.form-control {
  display: block; width: 100%; padding: .55rem .85rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text);
  font-size: .9rem; transition: border-color .2s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,184,166,.1); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: .4rem; font-size: .875rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; }

/* ── Alerts ──────────────────────────────── */
.alert { padding: .85rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1rem; border-left: 4px solid; font-size: .875rem; }
.alert-success { background: #f0fdf4; border-color: var(--success); color: #166534; }
.alert-error   { background: #fef2f2; border-color: var(--danger); color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: var(--accent); color: #92400e; }
.alert-info    { background: #eff6ff; border-color: var(--secondary); color: #1e40af; }

/* ── Card ──────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  overflow: hidden;
}
.card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
}
.card-header h3 { font-size: 1rem; margin: 0; }
.card-body { padding: 1.5rem; }

/* ── Navigation ────────────────────────── */
.site-topbar {
  background: var(--primary); color: #fff;
  font-size: .8rem; padding: .4rem 0;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.topbar-left { display: flex; gap: 1.25rem; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-right a { color: rgba(255,255,255,.8); font-size: .8rem; }
.topbar-right a:hover { color: #fff; }

.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--surface); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.nav-inner {
  height: var(--nav-height); display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}
.nav-logo img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  padding: .5rem .85rem; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; color: var(--text);
  transition: background .2s;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: .3rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + .5rem); left: 0; min-width: 160px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: .4rem 0; display: none; z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: .5rem 1rem; font-size: .85rem; color: var(--text); }
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--primary); }

/* ── Hero ─────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 60%, #14b8a6 100%);
  padding: 6rem 0 4rem; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto 2rem; }
.hero-search {
  background: var(--surface); border-radius: 999px;
  display: flex; align-items: center; max-width: 560px; margin: 0 auto;
  padding: .4rem .4rem .4rem 1.25rem; box-shadow: var(--shadow-lg);
}
.hero-search input { flex: 1; border: none; background: transparent; font-size: .95rem; color: var(--text); }
.hero-search input:focus { outline: none; }
.hero-search button { border-radius: 999px; }
.hero-badges { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); padding: .4rem 1rem; border-radius: 999px; font-size: .8rem; }

/* ── Section Layout ─────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: .5rem; }
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: .8rem; font-weight: 600; padding: .25rem .85rem; border-radius: 999px; margin-bottom: .75rem; }

/* ── Destination Grid ────────────────────── */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.dest-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; text-align: center; transition: all .25s; position: relative;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.dest-flag { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.dest-name { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.dest-packages { color: var(--text-muted); font-size: .8rem; margin-bottom: 1rem; }
.dest-price { font-weight: 700; color: var(--primary); }

/* ── Package Card ────────────────────────── */
.package-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; background: var(--surface); position: relative;
  transition: all .25s;
}
.package-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.package-card.featured { border-color: var(--primary); }
.package-card.featured::before { content: 'Best Value'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; }
.pkg-badges { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pkg-name { font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; }
.pkg-specs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.pkg-spec { text-align: center; padding: .5rem; background: var(--bg-alt); border-radius: var(--radius-sm); }
.pkg-spec-label { font-size: .7rem; color: var(--text-muted); display: block; }
.pkg-spec-value { font-weight: 700; font-size: .95rem; }
.pkg-price { font-size: 1.75rem; font-weight: 800; color: var(--primary); text-align: center; margin: 1rem 0; }
.pkg-price small { font-size: .8rem; color: var(--text-muted); }

/* ── Table ────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.table th { padding: .75rem 1rem; background: var(--bg-alt); font-weight: 600; text-align: left; border-bottom: 2px solid var(--border); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.table td { padding: .85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-alt); }

/* ── Pagination ──────────────────────────── */
.pagination { display: flex; gap: .4rem; justify-content: center; padding: 1.5rem 0; flex-wrap: wrap; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-size: .875rem; font-weight: 500; transition: all .2s;
}
.page-link:hover, .page-link.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Footer ────────────────────────────── */
.site-footer { background: #0f172a; color: rgba(255,255,255,.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand img { height: 36px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 1rem; }
.footer-payment-icons { display: flex; gap: .5rem; }
.footer-payment-icons img { height: 24px; opacity: .6; }
.social-links { display: flex; gap: .75rem; margin-top: 1rem; }
.social-links a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.social-links a:hover { background: var(--primary); }

/* ── Page Hero ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0f172a, #134e4a);
  padding: 4rem 0 3rem; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1rem; }

/* ── Search bar ─────────────────────────── */
.search-bar-full {
  max-width: 600px; margin: 2rem auto 0;
  display: flex; gap: .5rem;
}
.search-bar-full input { flex: 1; padding: .7rem 1rem; border-radius: var(--radius-sm); border: none; font-size: .95rem; }
.search-bar-full button { border-radius: var(--radius-sm); }

/* ── Package row (partial) ───────────────── */
.pkg-row {
  display: grid; align-items: center;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 1rem; padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pkg-row:last-child { border-bottom: none; }
.pkg-row:hover { background: var(--bg-alt); }
.pkg-row-flag { font-size: 1.5rem; }
.pkg-row-info strong { font-weight: 600; font-size: .95rem; }
.pkg-row-info span { color: var(--text-muted); font-size: .8rem; }
.pkg-row-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }

/* ── How it works ────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step-card { text-align: center; }
.step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p { color: var(--text-muted); font-size: .875rem; }

/* ── FAQ Accordion ───────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; padding: 1.25rem 0;
  background: transparent; border: none; color: var(--text);
  font-size: .95rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center;
}
.faq-question .faq-icon { font-size: 1.25rem; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 0 1.25rem; color: var(--text-muted); line-height: 1.7; }

/* ── Checkout ────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.checkout-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.checkout-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.order-summary .summary-row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .875rem; }
.order-summary .summary-total { font-weight: 800; font-size: 1.1rem; border-top: 2px solid var(--border); margin-top: .5rem; padding-top: .75rem; }

/* ── Auth pages ──────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); padding: 2rem; }
.auth-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2.5rem; width: 100%; max-width: 440px; }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo img { height: 40px; }
.auth-divider { text-align: center; margin: 1.5rem 0; color: var(--text-muted); font-size: .8rem; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.google-btn { display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%; padding: .65rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-weight: 500; font-size: .9rem; cursor: pointer; transition: background .2s; }
.google-btn:hover { background: var(--bg-alt); }

/* ── Legal pages ─────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 3rem 0; }
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; color: var(--text); }
.legal-content p, .legal-content li { color: var(--text-muted); line-height: 1.8; margin-bottom: .75rem; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; }

/* ── Blog ─────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 1.25rem; }
.blog-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-card-body h3 { font-size: 1rem; margin-bottom: .5rem; }
.blog-card-body p { color: var(--text-muted); font-size: .875rem; }

/* ── Gift card ───────────────────────────── */
.gift-card-preview {
  background: linear-gradient(135deg, #14b8a6, #6366f1);
  border-radius: var(--radius-lg); color: #fff; padding: 2rem;
  min-height: 180px; position: relative; overflow: hidden;
}
.gift-card-preview::before { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: rgba(255,255,255,.08); border-radius: 50%; }

/* ── Review stars ────────────────────────── */
.review-stars { color: #f59e0b; font-size: 1rem; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.review-card .reviewer-info { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ── Bottom mobile nav ────────────────────── */
.mobile-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: .5rem 0; z-index: 500;
}
.mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; font-size: .7rem; color: var(--text-muted); flex: 1; padding: .25rem 0; }
.mobile-bottom-nav a.active { color: var(--primary); }

/* ── Device page ─────────────────────────── */
.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.device-brand-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.device-brand-name { font-weight: 700; font-size: 1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.device-model-list li { padding: .35rem 0; border-bottom: 1px solid var(--border); font-size: .875rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem; }
.device-model-list li:last-child { border-bottom: none; }
.device-badge { font-size: .68rem; padding: .15rem .5rem; border-radius: 999px; font-weight: 600; }
.esim-badge { background: #ccfbf1; color: #0f766e; }
.qr-badge { background: #eff6ff; color: #1d4ed8; }
.device-search-bar { max-width: 560px; margin: 2rem auto; display: flex; gap: .75rem; }
.device-search-bar input { flex: 1; }
.device-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.info-box { background: var(--bg-alt); padding: 2rem; border-radius: var(--radius); }

/* ── Utilities ────────────────────────────── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--text-muted); }
.text-bold    { font-weight: 700; }
.text-green   { color: var(--success); }
.text-red     { color: var(--danger); }
.text-primary { color: var(--primary); }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.py-4 { padding: 1rem 0; }
.d-block { display: block; }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.empty-state { text-align: center; padding: 3rem 2rem; }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.prose { line-height: 1.8; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .two-col-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 60px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pkg-row { grid-template-columns: auto 1fr; }
  .pkg-row-price, .pkg-row .btn-group { grid-column: 1/-1; }
}
