/* ============================================================
   Navneet Raj — Portfolio
   Light · modern · professional · dual-profile (Developer / Creative)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #f4f5fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --border: rgba(22, 18, 58, 0.09);
  --border-strong: rgba(22, 18, 58, 0.16);

  --text: #15122e;
  --muted: #5f5a7d;
  --faint: #9591ad;

  /* Developer palette (default) — indigo → cyan */
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --accent-grad: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --accent-soft: rgba(79, 70, 229, 0.12);
  --shadow: 0 18px 40px rgba(40, 32, 110, 0.14);
  --shadow-soft: 0 8px 24px rgba(40, 32, 110, 0.09);

  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Creative palette — violet → rose */
body.is-creative {
  --accent: #8b3df0;
  --accent-2: #f43f73;
  --accent-grad: linear-gradient(135deg, #8b3df0 0%, #f43f73 100%);
  --accent-soft: rgba(139, 61, 240, 0.12);
  --shadow: 0 18px 40px rgba(150, 35, 110, 0.15);
  --shadow-soft: 0 8px 24px rgba(150, 35, 110, 0.10);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42vw 42vw at 10% 6%, var(--accent-soft), transparent 60%),
    radial-gradient(38vw 38vw at 92% 14%, rgba(6, 182, 212, 0.08), transparent 60%),
    radial-gradient(44vw 44vw at 82% 96%, var(--accent-soft), transparent 60%),
    var(--bg);
  transition: background 0.6s var(--ease);
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.is-hidden { display: none !important; }

/* Smooth image fade-in for faster perceived loading */
.media-fade {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.media-fade.loaded { opacity: 1; }

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
}

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  color: var(--muted);
  max-width: 540px;
  margin: 13px auto 0;
  font-size: 15px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.3s var(--ease), border-color 0.25s var(--ease), color 0.3s;
}

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 12px 26px var(--accent-soft);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px var(--accent-soft); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }

/* ============================================================
   Hero — full background image
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, var(--accent) -12%, transparent 52%),
    linear-gradient(0deg, rgba(15, 12, 40, 0.82) 2%, rgba(15, 12, 40, 0.12) 52%, transparent 78%);
  opacity: 0.9;
  transition: background 0.6s var(--ease);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px 84px;
  color: #fff;
}

/* Profile switcher */
.profile-switch {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
}

.profile-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  transition: color 0.3s, background 0.3s var(--ease);
}
.profile-switch button.active {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  margin-bottom: 18px;
}
.hero-badge .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.32);
}

.hero h1 {
  font-size: clamp(38px, 7.5vw, 78px);
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.22);
}

.hero .role { font-size: clamp(17px, 2.6vw, 24px); font-weight: 600; margin-bottom: 14px; }
.hero .role .chip {
  background: var(--accent-grad);
  padding: 3px 13px;
  border-radius: 9px;
  color: #fff;
}

.hero .lead {
  max-width: 520px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-chips a, .hero-chips span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; padding: 8px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.hero-chips a:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); }

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: center;
}

.about-media { position: relative; }
.about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}
.about-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.about-img:hover img { transform: scale(1.05); }

.sticker {
  position: absolute;
  top: 14px; left: 14px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--accent-grad);
  color: #fff;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.about-text h3 { font-size: 25px; margin-bottom: 13px; }
.about-text p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }

.skills-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--faint);
  margin: 20px 0 10px;
}

.skills { display: flex; flex-wrap: wrap; gap: 9px; }
.skills span {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease), color 0.2s, border-color 0.2s;
}
.skills span:hover { transform: translateY(-3px); color: var(--accent); border-color: var(--accent); }

.about-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }
.about-meta .item small {
  display: block; color: var(--faint); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 1px;
}
.about-meta .item strong { font-size: 15px; }

.socials { display: flex; gap: 11px; margin-top: 24px; }
.socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 17px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease), background 0.3s, color 0.3s;
}
.socials a:hover { transform: translateY(-4px); background: var(--accent-grad); color: #fff; }

/* ============================================================
   Cards grid (projects / videos)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }

.project-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #11102a; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.06); }

.project-tag {
  position: absolute; top: 13px; left: 13px;
  padding: 6px 13px; font-size: 11.5px; font-weight: 700;
  border-radius: 999px; background: var(--accent-grad); color: #fff;
  box-shadow: var(--shadow-soft); z-index: 2;
}

.project-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.project-body h4 { font-size: 19px; margin-bottom: 8px; }
.project-body p { color: var(--muted); font-size: 14px; margin-bottom: 16px; flex: 1; }

.project-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.project-stack span {
  font-size: 11.5px; padding: 5px 11px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent); font-weight: 600;
}

.project-links { display: flex; gap: 16px; }
.project-links a, .project-links button {
  font-size: 13.5px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  transition: gap 0.2s var(--ease);
}
.project-links a:hover, .project-links button:hover { gap: 10px; }

/* Video card specifics */
.video-card .project-thumb { aspect-ratio: 3 / 4; cursor: pointer; }
.video-card .play {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background: linear-gradient(transparent 40%, rgba(15, 12, 40, 0.55));
  transition: background 0.3s;
}
.video-card:hover .play { background: linear-gradient(rgba(15,12,40,.2), rgba(15, 12, 40, 0.6)); }
.video-card .play i {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  font-size: 22px;
  padding-left: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s var(--ease);
}
.video-card:hover .play i { transform: scale(1.12); }

/* ============================================================
   Certifications
   ============================================================ */
/* Developer: icon tiles */
.cert-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.cert-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.cert-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cert-tile .ic {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--accent-grad);
  color: #fff; font-size: 24px;
  margin-bottom: 16px;
}
.cert-tile h4 { font-size: 17px; margin-bottom: 6px; }
.cert-tile p { font-size: 13.5px; color: var(--muted); }

/* Creative: clickable certificate images */
.cert-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.cert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.cert-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.cert-card .frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef0f7;
}
.cert-card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.cert-card:hover .frame img { transform: scale(1.05); }
.cert-card .frame .zoom {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.92);
  color: var(--accent); font-size: 14px;
  opacity: 0; transform: translateY(-6px); transition: 0.3s var(--ease);
}
.cert-card:hover .frame .zoom { opacity: 1; transform: translateY(0); }
.cert-card .meta { padding: 18px 20px; }
.cert-card .meta h4 { font-size: 16.5px; margin-bottom: 5px; }
.cert-card .meta p { font-size: 13px; color: var(--muted); }

/* ============================================================
   Gallery (masonry)
   ============================================================ */
.gallery-grid { column-count: 4; column-gap: 14px; }
@media (max-width: 1080px) { .gallery-grid { column-count: 3; } }
@media (max-width: 720px) { .gallery-grid { column-count: 2; column-gap: 10px; } }

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  border: 3px solid #fff;
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .ov {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background: rgba(20, 16, 50, 0.34);
  color: #fff; font-size: 20px;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .ov { opacity: 1; }

/* ============================================================
   Universal modal (image + video)
   ============================================================ */
.modal {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  justify-content: center; align-items: center;
  background: rgba(15, 12, 40, 0.7);
  backdrop-filter: blur(12px);
  padding: 24px;
}
.modal.open { display: flex; }
.modal-stage {
  max-width: min(94vw, 1000px);
  max-height: 88vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.modal-stage img,
.modal-stage video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius);
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  background: #000;
}
.modal-cap { color: #fff; font-weight: 600; font-size: 16px; text-align: center; }
.modal-close {
  position: absolute; top: 22px; right: 26px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 24px; border-radius: 50%;
  background: #fff; border: none; color: var(--text);
  cursor: pointer; transition: background 0.2s, transform 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }

/* ============================================================
   Timeline (Experience + Education)
   ============================================================ */
.timeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.timeline-col h3 {
  font-size: 21px; margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
}
.timeline-col h3 i { color: var(--accent); }
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--accent), transparent);
}
.tl-item { position: relative; padding: 0 0 24px 6px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 5px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-grad);
  border: 3px solid var(--bg-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.tl-item .when {
  font-size: 11.5px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.tl-item h4 { font-size: 16.5px; margin: 4px 0 2px; }
.tl-item .where { font-size: 13.5px; color: var(--muted); margin-bottom: 5px; }
.tl-item p { font-size: 13.5px; color: var(--muted); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; align-items: start; }
.contact-info h3 { font-size: 24px; margin-bottom: 12px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.contact-info .row { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.contact-info .row .ic {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent); font-size: 17px;
}
.contact-info .row small { display: block; color: var(--faint); font-size: 11.5px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text); font: inherit; font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-note { margin-top: 13px; font-size: 13.5px; text-align: center; min-height: 18px; }
.form-note.ok { color: #15a34a; }
.form-note.err { color: #e11d6b; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { margin-top: 36px; background: var(--bg-2); border-top: 1px solid var(--border); }
.footer-container {
  max-width: var(--maxw); margin: 0 auto;
  padding: 50px 24px 24px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
}
.footer-brand h2 { font-size: 23px; margin-bottom: 11px; }
.footer-brand h2 span { color: var(--accent); }
.footer-brand p { color: var(--muted); max-width: 320px; font-size: 14px; margin-bottom: 16px; }
.footer-col h3 { font-size: 14.5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--muted); font-size: 13.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center; padding: 20px 24px;
  color: var(--faint); font-size: 13px;
}

/* ============================================================
   Floating bottom navigation
   ============================================================ */
.bottom-nav {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%); z-index: 1000;
  display: flex; align-items: center; gap: 5px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.bottom-nav a {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 9px 15px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.bottom-nav a i { font-size: 17px; }
.bottom-nav a:hover { color: var(--accent); }
.bottom-nav a.active { color: #fff; background: var(--accent-grad); }
.bottom-nav .nav-cta {
  flex-direction: row; gap: 8px; font-size: 14px;
  padding: 12px 20px; color: #fff; background: var(--accent-grad);
  box-shadow: var(--shadow-soft);
}
.bottom-nav .nav-cta:hover { color: #fff; transform: translateY(-2px); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .about-grid, .contact-grid, .timeline-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 340px; margin: 0 auto; }
  .timeline-grid { gap: 8px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 18px; }
  .hero-inner { padding-bottom: 70px; }
  .profile-switch button { padding: 9px 14px; font-size: 13px; }
  .footer-container { grid-template-columns: 1fr; gap: 26px; }
  .bottom-nav { width: calc(100% - 22px); justify-content: space-between; gap: 2px; padding: 6px; }
  .bottom-nav a { padding: 8px 9px; }
  .bottom-nav a span.label { display: none; }
  .bottom-nav .nav-cta { padding: 10px 15px; }
  .bottom-nav .nav-cta span.label { display: inline; }
}
