/* =========================================================
   Nini — Portfolio
   Brand: Pink #ff2d75 / Black #0d0d0d, flat, no gradients
   ========================================================= */

:root {
  --black: #0d0d0d;
  --black-soft: #161616;
  --black-alt: #1c1c1c;
  --pink: #ff2d75;
  --pink-dark: #d81a5e;
  --cream: #f7f5f2;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-on-dark-muted: #9a9a9a;
  --border-light: #e7e3df;
  --border-dark: #2a2a2a;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --max-width: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-dark);
}

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

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 110px 0;
}

.section--dark {
  background: var(--black);
  color: var(--cream);
}

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--white);
}

.section--tight {
  padding: 70px 0;
}

.section-head {
  max-width: 620px;
  margin: 0 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--pink);
  display: inline-block;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--dark .section-head p {
  color: var(--text-on-dark-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--black-soft);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-3px);
}

.section--dark .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.section--dark .btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* =========================
   Header / Nav
   ========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 26px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  padding: 14px 0;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  position: relative;
  color: var(--text-on-dark-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Hero
   ========================= */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 190px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 60px solid var(--black-alt);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  color: var(--white);
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--pink);
}

.hero-role {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--text-on-dark-muted);
  margin-bottom: 26px;
  min-height: 2.2em;
}

.hero-role .cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--pink);
  margin-left: 4px;
  vertical-align: -0.15em;
  animation: blink 0.9s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-desc {
  color: var(--text-on-dark-muted);
  max-width: 480px;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 420px;
  animation: float 5s ease-in-out infinite;
}

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

.hero-stats-strip {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stats-strip div {
  border-left: 2px solid var(--pink);
  padding-left: 14px;
}

.hero-stats-strip strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.6rem;
  color: var(--white);
}

.hero-stats-strip span {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
}

/* =========================
   Reveal animations
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-left.in-view { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right.in-view { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* =========================
   About preview / page
   ========================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: stretch;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--pink);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 16px 30px rgba(255, 45, 117, 0.35);
}

.about-media-badge strong {
  display: block;
  font-size: 1.6rem;
}

.about-media-badge span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-body p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 28px 0 32px;
}

.about-facts li {
  font-size: 0.92rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.about-facts b {
  color: var(--pink);
  font-weight: 700;
  margin-right: 6px;
}

/* =========================
   Services
   ========================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(13, 13, 13, 0.08);
  border-color: var(--pink);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--black);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  transition: transform 0.35s var(--ease);
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.05);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-num {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--border-light);
  font-size: 2.4rem;
  float: right;
}

/* =========================
   Stats counter
   ========================= */

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item strong {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--pink);
  display: block;
}

.stat-item span {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================
   Projects
   ========================= */

.project-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border-light);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.filter-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card.hidden-item {
  display: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.15) 55%, rgba(13,13,13,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-tag {
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.project-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.project-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transform: translateY(-10px) scale(0.8);
  opacity: 0;
  transition: all 0.4s var(--ease);
}

.project-card:hover .project-arrow {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* note: linear-gradient above is a neutral black-to-transparent scrim for
   text legibility, not a color/brand gradient */

/* =========================
   Skills / timeline (about page)
   ========================= */

.skills-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.skills-block--single {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.skill-row {
  margin-bottom: 22px;
}

.skill-row-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.skill-row-head span:last-child {
  color: var(--pink);
}

.skill-track {
  height: 8px;
  background: var(--border-light);
  border-radius: 999px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0%;
  background: var(--pink);
  border-radius: 999px;
  transition: width 1.4s var(--ease);
}

.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  padding-bottom: 36px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pink);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--pink);
}

.timeline-date {
  color: var(--pink);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* =========================
   Newsletter / CTA band
   ========================= */

.cta-band {
  background: var(--pink);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 520px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: 999px;
  padding: 6px;
  max-width: 420px;
  width: 100%;
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-size: 0.92rem;
  outline: none;
}

.newsletter-form button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.25s ease;
}

.newsletter-form button:hover {
  background: var(--black-soft);
}

.form-note {
  font-size: 0.8rem;
  margin-top: 10px;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-note.show { opacity: 0.9; }

/* =========================
   Contact page
   ========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-dark);
}

.contact-info-card .service-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.contact-info-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p, .contact-info-card a {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.25s var(--ease);
}

.social-row a:hover {
  background: var(--pink);
  border-color: var(--pink);
  transform: translateY(-4px);
}

.contact-form {
  background: var(--black-soft);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-field input,
.form-field textarea {
  background: var(--black);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--pink);
}

.form-error {
  color: var(--pink);
  font-size: 0.78rem;
  min-height: 16px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(255, 45, 117, 0.12);
  border: 1px solid var(--pink);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  font-size: 0.92rem;
}

.form-success.show { display: flex; }

/* =========================
   Page header banner (inner pages)
   ========================= */

.page-banner {
  background: var(--black);
  color: var(--white);
  padding: 170px 0 80px;
  text-align: center;
}

.page-banner .eyebrow {
  justify-content: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
}

.breadcrumb {
  margin-top: 18px;
  color: var(--text-on-dark-muted);
  font-size: 0.88rem;
}

.breadcrumb span {
  color: var(--pink);
}

/* =========================
   Footer
   ========================= */

.site-footer {
  background: var(--black);
  color: var(--text-on-dark-muted);
  padding: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--pink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

/* =========================
   Lightbox (project preview)
   ========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 500;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  max-width: 900px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 26px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--border-dark);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.lightbox-close:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* =========================
   Back to top
   ========================= */

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  z-index: 150;
  box-shadow: 0 10px 24px rgba(255, 45, 117, 0.35);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .skills-block,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }

  .footer-grid { gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transition: right 0.4s var(--ease);
    box-shadow: -20px 0 40px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .section { padding: 76px 0; }
  .hero { padding-top: 150px; }

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

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
  }

  .page-banner { padding: 140px 0 60px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .about-facts { grid-template-columns: 1fr; }
}
