/* Mahad Rizwan — Notion-inspired portfolio */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --bg-muted: #f1f1ef;
  --text: #37352f;
  --text-muted: #6b6b67;
  --border: #e9e9e7;
  --border-strong: #d3d1cb;
  --accent: #2383e2;
  --accent-soft: #e7f3ff;
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 15, 15, 0.06);
  --shadow-hover: 0 8px 24px rgba(15, 15, 15, 0.08);
  --radius: 16px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*,
*::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;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section--soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-heading p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}

.btn--primary {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: #000;
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: #fff;
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  background: var(--bg-muted);
}

.btn--ghost {
  color: var(--text-muted);
}

.btn--ghost:hover {
  color: var(--text);
  background: var(--bg-muted);
}

/* Navbar */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav__logo {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 0.2s;
}

.nav__brand:hover .nav__logo {
  transform: scale(1.05);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav__links a {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.nav__links a:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.nav__cta {
  display: none;
}

.nav__toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  gap: 4px;
}

.nav__toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem 0 1.25rem;
}

.nav__mobile.open {
  display: block;
}

.nav__mobile a {
  display: block;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.nav__mobile a:hover {
  background: var(--bg-muted);
}

.nav__mobile .btn {
  width: 100%;
  margin-top: 0.5rem;
}

@media (min-width: 1024px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 7.5rem 0 4rem;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #f7f6f3 0%, #ffffff 55%);
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero__subtitle {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 34rem;
}

.hero__intro {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.sticker {
  position: absolute;
  font-size: 1.75rem;
  user-select: none;
  animation: float 5s ease-in-out infinite;
  opacity: 0.85;
  pointer-events: none;
}

.sticker--1 {
  top: 6rem;
  right: 6%;
}

.sticker--2 {
  bottom: 5rem;
  left: 4%;
  animation-delay: 1.2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.workspace-card {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
}

.workspace-card__glow {
  position: absolute;
  inset: -1rem;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--bg-soft), rgba(231, 243, 255, 0.45), var(--bg-muted));
  z-index: -1;
}

.workspace-card__panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.workspace-card__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--r {
  background: #ff5f57;
}

.dot--y {
  background: #febc2e;
}

.dot--g {
  background: #28c840;
}

.workspace-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.workspace-card__profile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 14px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.workspace-card__profile small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.workspace-card__profile h2 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.workspace-card__profile p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.workspace-rows {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.5rem;
}

.workspace-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(247, 246, 243, 0.85);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  transition: background 0.2s;
}

.workspace-row:hover {
  background: var(--bg-muted);
}

.workspace-row span:nth-child(2) {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
}

.meta-pill {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
}

.workspace-note {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  border: 1px dashed var(--border-strong);
  background: rgba(231, 243, 255, 0.5);
  border-radius: 12px;
  padding: 0.75rem;
}

.workspace-note strong {
  display: block;
  font-size: 0.8rem;
}

.workspace-note span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.card-sticker {
  position: absolute;
  font-size: 1.5rem;
  animation: float 5s ease-in-out infinite;
}

.card-sticker--pin {
  top: -0.75rem;
  right: -0.35rem;
}

.card-sticker--check {
  left: -0.65rem;
  bottom: 2.5rem;
  display: none;
}

@media (min-width: 640px) {
  .card-sticker--check {
    display: block;
  }

  .avatar {
    width: 6rem;
    height: 6rem;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }

  .sticker {
    display: block;
  }
}

@media (max-width: 1023px) {
  .sticker {
    display: none;
  }
}

/* About */
.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about__photo-wrap {
  position: relative;
}

.about__photo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  background: var(--bg-muted);
}

.about__badge {
  position: absolute;
  right: 0.5rem;
  bottom: -1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
}

.about__badge small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.about__badge strong {
  font-size: 0.875rem;
}

.about__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.about__card p + p {
  margin-top: 1rem;
  color: var(--text-muted);
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.interest-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

/* Cards grid */
.cards-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Projects */
.project-card {
  overflow: hidden;
  padding: 0;
}

.project-card__mock {
  margin: 1rem 1rem 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.project-card__mock-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(233, 233, 231, 0.8);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
}

.project-card__mock-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.project-card__rows {
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.5);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  box-shadow: var(--shadow-sm);
}

.mock-row::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  flex-shrink: 0;
}

.mock-row span:first-of-type {
  flex: 1;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status {
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
}

.status--red {
  background: #ffe2dd;
}

.status--blue {
  background: #e7f3ff;
}

.status--green {
  background: #e8f5e9;
}

.status--yellow {
  background: #fdecc8;
}

.status--purple {
  background: #e8deee;
}

.mock--study {
  background: #fdecc8;
}

.mock--crm {
  background: #e7f3ff;
}

.mock--business {
  background: #e8deee;
}

.mock--personal {
  background: #e8f5e9;
}

.project-card__body {
  padding: 1rem 1.35rem 1.35rem;
}

.project-card__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.project-card__title h3 {
  margin: 0;
  font-size: 1.05rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.tag-row span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

/* Skills */
.skills-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.skills-panel__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.15rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  border-radius: 8px;
  border: 1px solid;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s;
}

.skill-tag:hover {
  transform: scale(1.03);
}

.skill-tag:nth-child(6n + 1) {
  background: #e7f3ff;
  border-color: #cde4f7;
}

.skill-tag:nth-child(6n + 2) {
  background: #e8f5e9;
  border-color: #c9e6cb;
}

.skill-tag:nth-child(6n + 3) {
  background: #fdecc8;
  border-color: #f3d9a0;
}

.skill-tag:nth-child(6n + 4) {
  background: #f5e0e9;
  border-color: #e8c4d4;
}

.skill-tag:nth-child(6n + 5) {
  background: #e8deee;
  border-color: #d5c6e0;
}

.skill-tag:nth-child(6n) {
  background: #ffe2dd;
  border-color: #f5c5bc;
}

/* Education */
.timeline {
  position: relative;
  max-width: 42rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1px;
  background: var(--border-strong);
  display: none;
}

.timeline__item {
  position: relative;
  margin-bottom: 1rem;
}

.timeline__dot {
  display: none;
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  place-items: center;
  font-size: 1rem;
  z-index: 1;
}

.timeline__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}

.timeline__card:hover {
  box-shadow: var(--shadow-md);
}

.timeline__step {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.timeline__card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.timeline__card .school {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.timeline__card .detail {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.timeline__pill {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

@media (min-width: 640px) {
  .timeline::before {
    display: block;
  }

  .timeline__item {
    padding-left: 3.5rem;
  }

  .timeline__dot {
    display: grid;
  }
}

/* Process */
.process-card {
  position: relative;
}

.process-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.process-card__top span:first-child {
  font-size: 1.5rem;
}

.process-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.process-arrow {
  display: none;
  position: absolute;
  top: 2rem;
  right: -0.65rem;
  color: var(--border-strong);
  font-size: 1.1rem;
  z-index: 1;
}

@media (min-width: 1024px) {
  .process-arrow {
    display: block;
  }
}

/* Testimonials */
.quote-card {
  display: flex;
  flex-direction: column;
}

.quote-card__emoji {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.quote-card blockquote {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.quote-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.quote-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.875rem;
}

.quote-avatar--1 {
  background: #e7f3ff;
}

.quote-avatar--2 {
  background: #e8f5e9;
}

.quote-avatar--3 {
  background: #fdecc8;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 700;
  display: block;
}

.quote-card footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Contact */
.contact-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
}

.contact-panel__main {
  padding: 2rem;
}

.contact-panel__main h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 22rem;
  line-height: 1.2;
}

.contact-panel__main > p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 28rem;
}

.contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  word-break: break-all;
}

.contact-panel__side {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 2rem;
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.contact-step {
  display: flex;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(247, 246, 243, 0.85);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.contact-step strong {
  display: block;
  font-size: 0.875rem;
}

.contact-step span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .contact-panel__main {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-panel {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .contact-panel__side {
    border-top: none;
    border-left: 1px solid var(--border);
  }

  .contact-panel__main {
    padding: 3rem;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__brand p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 22rem;
}

.footer__right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__email {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer__email:hover {
  text-decoration: underline;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__right {
    align-items: flex-end;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
