:root {
  --bg: #fbf6ec;
  --surface: #ffffff;
  --surface-warm: #f6eedd;
  --text: #141414;
  --muted: #5d5a4e;
  --border: #111111;
  --primary: #ffd23f;
  --primary-dark: #f0b90b;
  --pink: #ff90e8;
  --blue: #7fb5ff;
  --green: #3ecf8e;
  --shadow-sm: 4px 4px 0 var(--border);
  --shadow: 6px 6px 0 var(--border);
  --shadow-lg: 10px 10px 0 var(--border);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: var(--primary);
  color: var(--text);
}

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

img {
  max-width: 100%;
}

section {
  scroll-margin-top: 96px;
}

.section-pad {
  padding: 110px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

/* Brand icon colors */
.icon-html {
  color: #e34f26;
}

.icon-css {
  color: #1572b6;
}

.icon-js {
  color: #f7df1e;
}

.icon-php {
  color: #777bb4;
}

.icon-laravel {
  color: #ff2d20;
}

.icon-bootstrap {
  color: #7952b3;
}

.icon-mysql {
  color: #4479a1;
}

.icon-git {
  color: #f05032;
}

.icon-whatsapp {
  color: #25d366;
}

.icon-instagram {
  color: #e4405f;
}

.icon-github {
  color: var(--border);
}

.icon-python {
  color: #e2d524;
}

.icon-react {
  color: #2ca0af;
}

.icon-tailwind {
  color: #439fd4;
}

/* Header */
.site-header {
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--border);
  z-index: 1000;
}

.navbar {
  min-height: 76px;
}

.brand,
.footer-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand {
  font-size: 1.45rem;
}

.brand span,
.footer-brand span {
  background: var(--primary);
  padding: 0 0.18em;
  border-radius: 8px;
}

.nav-link {
  color: var(--muted) !important;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text) !important;
}

.nav-link.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 5px;
  border-radius: 99px;
  background: var(--primary);
}

.neo-icon-btn {
  color: var(--text);
  border: 3px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 1.15rem;
}

.neo-icon-btn:focus {
  box-shadow: var(--shadow-sm);
  outline: none;
}

.nav-cta {
  min-height: 42px;
}

/* =========================
   MOBILE SIDEBAR
   ========================= */


.desktop-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Mobile toggle is hidden on desktop */
.navbar-toggler {
  display: none;
}

/* Sidebar and overlay are hidden by default */
.mobile-sidebar,
.sidebar-overlay {
  display: none;
}

/* =========================
   Reusable
   ========================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 3px solid var(--border);
  background: var(--primary);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  border-radius: 8px;
  font-size: 0.66rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display-title,
.section-title,
.service-card h3,
.project-body h3,
.contact-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.display-title {
  max-width: 880px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.98;
  margin: 0;
}

.display-title span {
  background: var(--primary);
  padding: 0 0.15em;
  border-radius: 14px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.06;
}

.hero-copy,
.section-copy,
.service-card p,
.project-body p,
.contact-copy,
.footer-copy {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 720px;
  font-size: 1rem;
}

.neo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 3px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background-color 0.2s ease;
}

.neo-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--border);
}

.neo-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--border);
}

.neo-btn-primary {
  background: var(--primary);
  color: var(--text);
}

.neo-btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text);
}

.neo-btn-light {
  background: var(--surface);
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
}

/* Profile */
.profile-wrap {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto 10px;
}

.profile-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  border: 3px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--surface-warm);
}

.availability {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 14px;
  border: 3px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.25);
}

/* Tech chips */
.tech-label {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--muted);
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-chip {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 3px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-radius: 10px;
  font-size: 1.35rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.tech-chip:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
}

.tech-chip-dark {
  background: var(--border);
}

.tech-chip::after {
  content: attr(data-tech);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px;
  border: 2px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--border);
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
  z-index: 60;
}

.tech-chip::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: var(--border);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
  z-index: 60;
}

.tech-chip:hover::after,
.tech-chip:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* About */
.section-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-intro {
  max-width: 500px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.about-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--border);
}

.about-card-accent {
  background: var(--primary);
}

.about-card-blue {
  background: var(--blue);
}

.about-card-pink {
  background: var(--pink);
}

.about-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  margin-top: 36px;
  margin-bottom: 10px;
}

.about-card p {
  color: rgba(20, 20, 20, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

.card-number {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.55;
}

.card-icon {
  font-size: 1.55rem;
  color: var(--text);
}

/* Cards */
.neo-card {
  border: 3px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.neo-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--border);
}

.service-card {
  padding: 26px;
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: var(--text);
  border: 3px solid var(--border);
  box-shadow: 3px 3px 0 var(--border);
  font-size: 1.2rem;
}

.service-index,
.project-meta {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  font-weight: 700;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

/* Skills */
.skill-panel {
  height: 100%;
  padding: 26px;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.skill-panel-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  font-weight: 700;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.skill-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 140px;
  padding: 20px 14px;
  border: 3px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.skill-badge:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
}

.skill-badge i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}

.skill-badge-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.skill-badge-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.project-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 3px solid var(--border);
  background: var(--surface-warm);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.35s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.project-image span {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 34px;
  padding: 7px 9px;
  text-align: center;
  border: 3px solid var(--border);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--border);
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 700;
}

.project-body {
  padding: 22px;
}

.project-body h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin: 8px 0 10px;
}

.project-body p {
  margin-bottom: 18px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-tags span {
  padding: 6px 10px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Project-PopUp */
/* Project-PopUp */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(17, 17, 17, 0.58);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.project-modal-box {
  position: relative;
  z-index: 2;

  width: min(100%, 640px);
  max-height: 85vh;

  overflow: hidden;

  background: var(--surface);

  border: 3px solid var(--border);
  border-radius: 18px;

  box-shadow: var(--shadow-lg);

  transform: translateY(30px) scale(0.96);
  opacity: 0;
}

.project-modal-content {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow-y: auto;
}

.project-modal-image {
  position: relative;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  background: var(--surface-warm);
  border-bottom: 3px solid var(--border);
  overflow: hidden;
}

.project-modal-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Gallery navigation */

.project-gallery-btn {
  position: absolute;
  top: 50%;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  transform: translateY(-50%);

  background: var(--surface);

  border: 3px solid var(--border);
  border-radius: 50%;

  box-shadow: var(--shadow-sm);

  font-size: 1rem;

  cursor: pointer;

  z-index: 5;

  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}

.project-gallery-btn:hover {
  box-shadow: 6px 6px 0 var(--border);
}

.project-gallery-btn:active {
  box-shadow: 0 0 0 var(--border);
}

.project-gallery-prev {
  left: 16px;
}

.project-gallery-next {
  right: 16px;
}

.project-gallery-prev:hover {
  transform: translate(-2px, -50%);
}

.project-gallery-next:hover {
  transform: translate(2px, -50%);
}

/* Counter */

.project-gallery-counter {
  position: absolute;

  top: 16px;
  left: 16px;

  padding: 7px 10px;

  background: var(--surface);

  border: 3px solid var(--border);
  border-radius: 8px;

  box-shadow: var(--shadow-sm);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;

  z-index: 5;
}

/* Dots */

.project-gallery-dots {
  position: absolute;

  left: 50%;
  bottom: 18px;

  display: flex;
  align-items: center;
  gap: 7px;

  transform: translateX(-50%);

  z-index: 5;
}

.project-gallery-dot {
  width: 9px;
  height: 9px;

  padding: 0;

  border: 2px solid var(--surface);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.45);

  cursor: pointer;

  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.project-gallery-dot.active {
  width: 26px;

  border-radius: 999px;

  background: var(--primary);

  transform: scale(1.05);
}

@media (max-width: 767.98px) {
  .project-modal-image {
    height: 260px;
    min-height: 260px;
    border-bottom: 3px solid var(--border);
  }

  .project-gallery-btn {
    width: 40px;
    height: 40px;
  }

  .project-gallery-prev {
    left: 10px;
  }

  .project-gallery-next {
    right: 10px;
  }

  .project-gallery-counter {
    top: 10px;
    left: 10px;
  }

  .project-gallery-dots {
    bottom: 12px;
  }
}

.project-modal-info {
  display: flex;
  flex-direction: column;

  padding: 28px 28px;

  overflow-y: auto;
}

.project-modal-meta {
  display: inline-block;

  color: var(--muted);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-modal-info h2 {
  margin: 12px 0 16px;

  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;

  letter-spacing: -0.05em;
}

.project-modal-info p {
  margin: 0;

  color: var(--muted);

  font-size: 0.94rem;
  line-height: 1.8;
}

.project-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 24px;
}

.project-modal-tag {
  padding: 6px 10px;

  background: var(--bg);

  border: 2px solid var(--border);
  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-modal-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 16px;

  color: var(--muted);

  background: var(--surface);

  border: 2px dashed var(--border);
  border-radius: 12px;

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.project-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: auto;
  padding-top: 30px;
}

.project-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;

  z-index: 10;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  padding: 0;

  color: var(--text);

  background: var(--surface);

  border: 3px solid var(--border);
  border-radius: 50%;

  box-shadow: var(--shadow-sm);

  cursor: pointer;

  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}

.project-modal-close:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
}

.project-modal-close:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--border);
}

@media (max-width: 767.98px) {
  .project-modal {
    padding: 14px;
  }

  .project-modal-box {
    width: 100%;
    max-height: 92vh;

    border-radius: 14px;
  }

  .project-modal-content {
    max-height: 92vh;
  }

  .project-modal-info {
    padding: 28px 20px;
  }

  .project-modal-info h2 {
    font-size: 2rem;
  }

  .project-modal-actions {
    margin-top: 24px;
  }

  .project-modal-actions .neo-btn {
    width: 100%;
  }
}

/* Contact */
.contact-section {
  min-height: auto;
  display: flex;
  align-items: center;
}

.contact-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  align-items: end;
  gap: 50px;
  padding: clamp(30px, 6vw, 70px);
  border: 3px solid var(--border);
  border-radius: 20px;
  background: var(--primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.eyebrow-dark {
  background: var(--surface);
}

.contact-title {
  position: relative;
  z-index: 2;
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 1;
}

.contact-title span {
  display: inline-block;
  margin-top: 10px;
  padding: 0 0.18em;
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-copy {
  max-width: 650px;
  color: rgba(20, 20, 20, 0.8);
}

.contact-actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 17px 18px;
  border: 3px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.contact-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--border);
}

.contact-cta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-cta i {
  font-size: 1.1rem;
}

.contact-cta.whatsapp i:first-child {
  color: #25d366;
}

.contact-cta.instagram i:first-child {
  color: #e4405f;
}

/* Footer */
.site-footer {
  border-top: 3px solid var(--border);
  background: var(--surface);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto auto;
  gap: clamp(32px, 6vw, 80px);
  padding: 56px 0 44px;
}

.footer-brand {
  display: inline-block;
  font-size: 1.8rem;
}

.footer-copy {
  max-width: 380px;
  margin-bottom: 18px;
  font-size: 0.84rem;
}

.footer-availability {
  position: static;
  transform: none;
}

.footer-col-label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav a {
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition:
    transform 0.15s ease,
    color 0.15s ease;
}

.footer-nav a:hover {
  transform: translateX(4px);
  color: var(--muted);
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 3px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 1.25rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.footer-social-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--border);
}

.footer-stack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.footer-stack-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-stack .tech-chip {
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 26px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.footer-top-btn {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.66rem;
}

/* Motion helpers */
.gsap-reveal,
.gsap-fade,
.gsap-scale {
  visibility: hidden;
}

/* =========================
   MOBILE SIDEBAR
   ========================= */

@media (max-width: 991.98px) {

  /*
    Mobile header
    Keep existing navbar appearance.
    Only hide desktop controls and show sidebar toggle.
  */

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .navbar-toggler {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    margin-left: auto;

    color: var(--text);
    background: var(--surface);

    border: 3px solid var(--border);
    border-radius: 10px;

    box-shadow: var(--shadow-sm);

    padding: 0;

    font-size: 1.1rem;
    line-height: 1;

    cursor: pointer;

    transition:
      transform 0.14s ease,
      box-shadow 0.14s ease;
  }

  .navbar-toggler:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--border);
  }

  .navbar-toggler:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--border);
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: var(--shadow-sm);
  }

  /* Sidebar overlay */

  .sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100dvh;

    background: rgba(17, 17, 17, 0.45);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    z-index: 1090;
  }

  /* Sidebar */

  .mobile-sidebar {
    display: block;

    position: fixed;
    top: 0;
    right: 0;

    width: min(88vw, 390px);
    height: 100dvh;

    background: var(--bg);

    box-shadow: -10px 0 0 var(--border);

    z-index: 1100;

    overflow-y: auto;
    overscroll-behavior: contain;

    visibility: visible;
  }

  /* Sidebar header */

  .sidebar-header {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 20px;

    background: var(--surface);

    border-bottom: 3px solid var(--border);
  }

  .sidebar-header .brand {
    display: inline-block;
    font-size: 1.35rem;
  }

  .sidebar-close {
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    padding: 0;

    font-size: 1rem;
  }

  /* Sidebar content */

  .sidebar-content {
    min-height: calc(100dvh - 76px);

    display: flex;
    flex-direction: column;

    padding: 28px 20px;
  }

  .sidebar-label {
    display: block;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
  }

  /* Sidebar links */

  .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .sidebar-link {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 12px;

    min-height: 58px;

    padding: 13px 14px;

    background: var(--surface);

    border: 3px solid var(--border);
    border-radius: 10px;

    box-shadow: var(--shadow-sm);

    color: var(--text);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
      transform 0.14s ease,
      box-shadow 0.14s ease,
      background-color 0.2s ease;
  }

  .sidebar-link > span {
    color: var(--muted);

    font-size: 0.65rem;
    font-weight: 700;
  }

  .sidebar-link > i {
    font-size: 0.9rem;
  }

  .sidebar-link:hover,
  .sidebar-link.active {
    background: var(--primary);

    transform: translate(-2px, -2px);

    box-shadow: 6px 6px 0 var(--border);
  }

  /* Sidebar bottom */

  .sidebar-bottom {
    margin-top: auto;
    padding-top: 28px;
  }

  .sidebar-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .sidebar-status > span {
    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--green);

    box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.2);
  }

  .sidebar-cta {
    width: 100%;
  }

  /* Existing responsive styles */

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 36px;
  }

  .contact-box {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-actions {
    max-width: 520px;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 78px 0;
  }

  .display-title {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .neo-btn {
    width: 100%;
  }

  .profile-wrap {
    width: min(100%, 320px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: 220px;
  }

  .contact-box {
    padding: 26px;
    box-shadow: 8px 8px 0 var(--border);
  }

  .contact-title {
    font-size: clamp(2.7rem, 13vw, 4.7rem);
  }

  .footer-stack {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  /* Sidebar mobile sizing */

  .mobile-sidebar {
    width: min(90vw, 370px);
  }

  .sidebar-content {
    padding: 24px 18px;
  }

  .sidebar-header {
    padding: 16px 18px;
  }
}

@media (max-width: 480px) {
  .mobile-sidebar {
    width: 92vw;
  }

  .sidebar-header {
    padding-inline: 16px;
  }

  .sidebar-content {
    padding-inline: 16px;
  }

  .sidebar-link {
    min-height: 55px;
    padding: 12px;
  }
}

@media (max-width: 420px) {
  .neo-btn {
    width: 100%;
  }

  .tech-chip {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .availability {
    font-size: 0.6rem;
    padding: 8px 11px;
  }

  .mobile-sidebar {
    width: 94vw;
  }

  .sidebar-link {
    grid-template-columns: 28px 1fr auto;
    gap: 10px;

    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}