:root {
  --bg-main: #0f1a1c;
  --bg-deep: #0b1416;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);

  --text-main: #f4f7f8;
  --text-soft: #c9d7df;
  --text-muted: #97aab3;

  --accent: #7FAF7B;         
  --accent-strong: #5FA8D3;   
  --accent-soft: rgba(95, 168, 211, 0.12);
  --gold: #d8d6c9;
  --blue-dot: #5FA8D3;

  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.04);
  --line-strong: rgba(95, 168, 211, 0.2);

  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;

  background: linear-gradient(
    180deg,
    #0f1a1c 0%,
    #121f22 100%
  );
}

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

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



.page-shell {
  position: relative;
  z-index: 1;
  width: min(1680px, 95%);
  margin: 0 auto;
  padding: 28px 0 56px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 28px;
  min-height: calc(100vh - 56px);
}

.sidebar-inner {
  background: rgba(255, 255, 255, 0.015);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding-right: 24px;
}

.profile-block {
  margin-bottom: 34px;
}

.profile-image {
  width: 98px;
  height: 98px;
  border-radius: 26px;
  overflow: hidden;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text-main);
  font-size: 0.92rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}

.profile-block h1 {
  font-size: 2.2rem;   /* smaller */
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.title {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1rem;
}

.intro {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.9;
  max-width: 28ch;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 12px 0 38px;
}

.sidebar-nav a {
  position: relative;
  color: rgba(244, 248, 244, 0.72);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
}

.sidebar-nav a::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
  transition: all 0.25s ease;
}

.sidebar-nav a:hover {
  color: var(--text-main);
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-nav a:hover::before {
  width: 48px;
  background: var(--accent);
}

.sidebar-meta {
  display: grid;
  gap: 24px;
  margin-bottom: auto;
}

.mini-card {
  position: relative;
  background: transparent;
  padding: 10px 12px;
  border-radius: 18px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.mini-card:hover {
  transform: translateY(-2px);
}

.mini-card:hover::after {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.04);
}

.mini-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mini-label::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.mini-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.mini-card small {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  border-radius: 50%;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.social-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 74px;
  padding-top: 4px;
}

.hero-card {
  padding-top: 4px;
  max-width: 760px;   
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-card h2 {
  font-size: 2.5rem;   
  line-height: 1.25;
  max-width: 640px;    
}

.hero-text {
  color: var(--text-soft);
  max-width: 600px;   
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
  max-width: 760px;
}

.stat-card {
  position: relative;
  background: transparent;
  border-radius: 20px;
  padding: 12px 14px;
  transition: transform 0.25s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-card:hover::after {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.04);
}

.stat-card h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
}

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

.content-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-title {
  font-size: 2rem;
  letter-spacing: -0.05em;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
}

.card {
  background: transparent;
  padding: 0;
}

.about-card p,
.resume-card p,
.contact-text {
  max-width: 800px;
  color: var(--text-soft);
  line-height: 1.9;
}

.about-card p + p,
.resume-card p + p {
  margin-top: 16px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.skill-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.skill-pill:hover {
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.skill-pill:hover::after {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.04);
}

.projects-section {
  overflow: hidden;
  padding-top: 8px;
}

.projects-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.projects-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
}

.projects-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.projects-title span {
  font-size: 1.6rem;
  color: var(--text-soft);
  font-weight: 700;
}

.slider-controls {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.slider-arrow {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(8, 15, 18, 0.92);
  color: var(--text-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.slider-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.slider-arrow:hover {
  transform: translateY(-2px);
  background: rgba(18, 28, 34, 0.96);
  color: var(--accent);
}

.slider-arrow:hover::after {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.05);
}

.projects-slider {
  width: 100%;
}

.projects-viewport {
  overflow: hidden;
  width: 100%;
}

.projects-track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.project-card {
  position: relative;
  flex: 0 0 calc(50% - 14px);
  min-width: calc(50% - 14px);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(5, 10, 14, 0.82);
  transition: transform 0.3s ease, background 0.3s ease;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.project-card:hover {
  transform: translateY(-6px);
  background: rgba(8, 14, 18, 0.94);
}

.project-card:hover::after {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.015);
  box-shadow: 0 0 0 1px rgba(134, 239, 172, 0.05);
}

.project-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  background: #0d1a16;
  transition: transform 0.35s ease;
}

.project-card:hover .project-image {
  transform: scale(1.02);
}

.project-content {
  padding: 28px 24px 24px;
  background: rgba(5, 7, 10, 0.96);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card h3 {
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
}

.project-type {
  color: var(--text-soft);
  font-size: 1rem;
  margin: 0;
}

.project-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.project-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--text-main);
  opacity: 0.9;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.project-links a:hover {
  transform: translateY(-2px);
  opacity: 1;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot.active {
  width: 34px;
  background: var(--blue-dot);
}

.contact-clean {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-email {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-email a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.contact-email a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.btn-primary {
  background: var(--accent-strong);
  color: #062814;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(74, 222, 128, 0.18);
}

.btn-secondary {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  color: var(--text-main);
  border-color: var(--accent);
}

.btn:hover::after {
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---------- Single page layouts ---------- */

.single-page-shell {
  grid-template-columns: minmax(0, 1280px);
  justify-content: center;
  width: min(94%, 1400px);
}

.single-page-content {
  padding-top: 2rem;
}

.inquiry-hero,
.thank-you-card {
  text-align: left;
}

.inquiry-hero {
  max-width: 980px;
}

.inquiry-title {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 22px;
}

.work-with-me-page {
  padding-bottom: 3rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 2.5rem;
  align-items: start;
}

.work-copy {
  display: grid;
  gap: 1.25rem;
}

.work-card {
  background: rgba(17, 34, 27, 0.58);
  border: 1px solid rgba(132, 173, 144, 0.14);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

.work-card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #f3f7f3;
}

.work-card ul,
.work-card ol {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(232, 240, 233, 0.82);
  line-height: 1.8;
  font-size: 1rem;
}

.project-form {
  background: rgba(10, 20, 16, 0.74);
  border: 1px solid rgba(132, 173, 144, 0.14);
  border-radius: 28px;
  padding: 2.25rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-field label {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: #eef6ef;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(145, 184, 154, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f8f5;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  font: inherit;
  font-size: 1rem;
  min-height: 56px;
  caret-color: #f5f8f5;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--text-soft) 50%),
    linear-gradient(135deg, var(--text-soft) 50%, transparent 50%),
    rgba(255, 255, 255, 0.04);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 3rem;
  color: #f5f8f5;
}

.form-field select option {
  background: #0d1914;
  color: #f5f8f5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(221, 231, 223, 0.45);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(153, 197, 163, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
  color: #f5f8f5;
}

.form-field textarea {
  resize: vertical;
  min-height: 170px;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #f5f8f5 !important;
  transition: background-color 9999s ease-in-out 0s;
}


@media (max-width: 1320px) {
  .page-shell {
    width: min(96%, 100%);
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 36px;
  }

  .hero-card h2 {
    font-size: clamp(2.8rem, 5vw, 5rem);
  }
}

@media (max-width: 1100px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sidebar {
    position: relative;
    top: 0;
    min-height: auto;
  }

  .sidebar-inner {
    min-height: auto;
    padding: 0;
  }

  .intro {
    max-width: 60ch;
  }

  .content {
    gap: 54px;
  }
}

@media (max-width: 960px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .projects-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .project-image {
    height: 250px;
  }

  .projects-track {
    gap: 22px;
  }

  .slider-dots {
    display: none;
  }
}

@media (max-width: 700px) {
  .single-page-content {
    padding-top: 0.5rem;
  }

  .project-form {
    padding: 1.4rem;
  }

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

@media (max-width: 680px) {
  .page-shell {
    width: 100%;
    padding: 18px 12px 40px;
  }

  .profile-block h1 {
    font-size: 2.25rem;
  }

  .hero-card h2 {
    font-size: 2.45rem;
  }

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

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

  .btn-secondary {
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-content {
    padding: 22px;
  }

  .cursor-light {
    width: 220px;
    height: 220px;
  }
}


/* ---------- About page ---------- */

.portfolio-page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.portfolio-page .content-section {
  width: 100%;
  margin: 0 0 64px;
  gap: 18px;
}

.portfolio-page .profile-block {
  max-width: 520px;
  margin: 0;
}

.portfolio-page .profile-image {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  margin-bottom: 24px;
}

.portfolio-page .profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-page h1 {
  font-size: 3.25rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.portfolio-page .title {
  font-size: 1rem;
  margin-bottom: 20px;
}

.portfolio-page .intro {
  max-width: 33ch;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.portfolio-page .section-heading {
  margin-bottom: 18px;
}

.portfolio-page .section-title {
  font-size: 1.9rem;
  margin: 0;
}

.portfolio-page .skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 720px;
}

.portfolio-page .skill-pill {
  padding: 10px 16px;
  border-radius: 999px;
}

.portfolio-page .resume-card,
.portfolio-page .contact-clean,
.portfolio-page .card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.portfolio-page .resume-card p,
.portfolio-page .contact-text {
  max-width: 720px;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .portfolio-page {
    max-width: 100%;
    padding: 48px 20px 72px;
  }

  .portfolio-page h1 {
    font-size: 2.45rem;
  }

  .portfolio-page .intro {
    max-width: 100%;
  }

  .portfolio-page .section-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 480px) {
  .portfolio-page {
    padding: 36px 16px 56px;
  }

  .portfolio-page h1 {
    font-size: 2rem;
  }

  .portfolio-page .profile-image {
    width: 68px;
    height: 68px;
  }
}
.logo-wrap {
  margin-bottom: 1rem;
}

.logo-img {
  width: 120px;   /* smaller than 140 */
  height: auto;
  display: block;
  border-radius: 50%;

  box-shadow: 0 0 25px rgba(0, 255, 200, 0.2);
}

.profile-block {
  margin-bottom: 28px;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 800px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
}

.offer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 20px;
}

.offer-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.offer-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.offer-grid {
  margin-top: 20px;
}

.offer-card {
  transition: transform 0.2s ease, border 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  border: 1px solid rgba(95, 168, 211, 0.3);
}

@media (max-width: 768px) {
  .page-shell {
    width: 100%;
    padding: 16px;
    gap: 24px;
  }

  .content {
    gap: 40px;
  }

  .hero-card h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section-title,
  .projects-title {
    font-size: 1.6rem;
  }

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

  .project-card h3 {
    font-size: 1.4rem;
  }

  .project-image {
    height: 220px;
  }

  .sidebar-nav a {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .logo-img {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .page-shell {
    padding: 12px;
  }

  .profile-block h1 {
    font-size: 1.8rem;
  }

  .hero-card h2 {
    font-size: 1.75rem;
  }

  .hero-text,
  .intro,
  .contact-text {
    font-size: 0.95rem;
  }

  .project-content {
    padding: 18px;
  }

  .project-card h3 {
    font-size: 1.2rem;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
  }
}

html {
  scroll-behavior: smooth;
}

.about-projects {
  margin-top: 60px;
}