* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


:root {
  --blue:        #3B6EF5;
  --blue-dark:   #2a57d6;
  --blue-light:  #e8effe;
  --text:        #0d0d14;
  --text-muted:  #6b7280;
  --bg:          #ffffff;
  --bg-secondary:#f7f8fc;
  --border:      #e5e7eb;
  --nav-h:       64px;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(59,110,245,.12);
}

html.dark {
  --text:        #f1f5f9;
  --text-muted:  #94a3b8;
  --bg:          #0f1117;
  --bg-secondary:#1a1d27;
  --border:      #2a2d3a;
  --blue-light:  #1e2a4a;
}


html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-gutter: stable;
}

section { scroll-margin-top: calc(var(--nav-h) + 16px); }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background .3s, color .3s;
}

a { text-decoration: none; color: inherit; }


header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon svg { width: 20px; height: 20px; fill: #fff; }


.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}

.nav-links a:hover { color: var(--blue); }


.theme-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: background .2s;
}

.theme-btn:hover { background: var(--bg-secondary); }
.theme-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

.icon-moon { display: block; }
.icon-sun  { display: none; }
html.dark .icon-moon { display: none; }
html.dark .icon-sun  { display: block; }


.btn-contact {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 9px 20px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}

.btn-contact:hover { background: var(--blue-dark); transform: translateY(-1px); }


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s, opacity .35s, background .3s;
}


#sidebar-toggle { display: none; }

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity .35s;
}

.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 100%;
  background: var(--bg);
  z-index: 99;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .3s;
  box-shadow: 4px 0 32px rgba(0,0,0,.12);
}

#sidebar-toggle:checked ~ .sidebar-overlay { opacity: 1; pointer-events: all; }
#sidebar-toggle:checked ~ .sidebar         { transform: translateX(0); }


#sidebar-toggle:checked ~ header .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#sidebar-toggle:checked ~ header .hamburger span:nth-child(2) { opacity: 0; }
#sidebar-toggle:checked ~ header .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}

.sidebar-close {
  position: absolute;
  top: 18px; right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
}

label.sidebar-close-label {
  position: absolute;
  top: 18px; right: 16px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav li a {
  display: block;
  padding: 12px 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background .2s, color .2s;
}

.sidebar-nav li a:hover { background: var(--blue-light); color: var(--blue); }

.sidebar-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.sidebar-theme-label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.sidebar-contact {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 13px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background .2s;
}

.sidebar-contact:hover { background: var(--blue-dark); }


main { padding-top: var(--nav-h); }

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 40px;
  position: relative;
}


.hero::before {
  content: '';
  position: absolute;
  right: 260px;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 120px;
  background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .6;
  pointer-events: none;
}


.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}


.welcome-line {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}


.hero-title {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, sans-serif;
  font-weight: 800;
  font-size: clamp(2.3rem, 2.2vw, 1.75rem);
  line-height: 1.6;
  color: var(--text);
}


.hero-intro-line {
  display: block;
  white-space: nowrap;
}


.hero-tagline {
  display: block;
  margin-top: 4px;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.5;
}


#typed-word {
  color: var(--blue);
  font-weight: 800;
  display: inline-block;
  min-width: 10ch;
  text-align: left;
}

.cursor {
  color: var(--blue);
  font-weight: 400;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-explore {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-explore:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,110,245,.25);
}

.btn-create {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn-create:hover { background: var(--blue-light); transform: translateY(-2px); }


.hero-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(59,110,245,.15);
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.hero-image-wrap:hover img { transform: scale(1.04); }


.hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: .9rem;
}

.hero-placeholder svg { width: 48px; height: 48px; stroke: var(--blue); opacity: .5; }


.hero-label {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

html.dark .hero-label { background: rgba(26,29,39,.85); color: var(--text); }

.hero-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}


.dots {
  display: flex;
  gap: 6px;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
}

.dot.active { background: var(--blue); width: 18px; border-radius: 10px; }


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }


@media (max-width: 991px) {
  .hero-title        { font-size: 1.6rem; }
  .hero-intro-line   { white-space: normal; }
  .hero-tagline {font-size: 1.2rem;}
}

@media (max-width: 767px) {
  .nav-links,
  .btn-contact { display: none; }

  .theme-btn { display: flex; }
  .hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 32px;
  }

  .hero::before { display: none; }

  .hero-text       { order: -1; }
  .hero-image-wrap { order: 0; }

  .hero-title        { font-size: 1.7rem; }
  .hero-intro-line   { white-space: normal; }
  .hero-tagline {font-size: 1.3rem;}
}


@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem; }
  .hero-tagline {font-size: 1.1rem;}
  .btn-explore, .btn-create { padding: 12px 22px; font-size: .88rem; }
}


.about {
  background: var(--bg-secondary);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 60px;
}


.about-image-col {
  display: flex;
  justify-content: center;
}

.about-img-wrap {
  position: relative;
  width: 320px;
  height: 400px;
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  display: block;
  box-shadow: 0 12px 48px rgba(59, 110, 245, .18);
}


.rotating-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 115px;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin360 10s linear infinite;
}

.badge-text {
  font-size: 21px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  fill: var(--text);
  letter-spacing: 1.5px;
}

.badge-emoji {
  position: relative;
  z-index: 1;
  font-size: 1.9rem;
  line-height: 1;
  background: var(--bg);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(59,110,245,.15);
}

@keyframes spin360 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.about-heading {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--text);
  margin-top: -6px;
}

.about-bio {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
}


.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow .2s, transform .2s;
}

.stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.stat-icon {
  font-size: 1.3rem;
  color: var(--blue);
  font-weight: 700;
  font-family: monospace;
}

.stat-card strong {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}

.stat-card p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.4;
}


.about-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tools-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  min-width: 72px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  cursor: default;
}

.tool-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(59, 110, 245, .12);
  transform: translateY(-2px);
}

.tool-item svg {
  width: 28px;
  height: 28px;
}

.tool-item span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

html.dark .tool-item svg path[fill="#181717"] {
  fill: #ffffff;
}

html.dark .tool-item svg path[fill="#21759B"] {
  fill: #4a9fc4;
}


@media (max-width: 767px) {
  .about {
    padding: 60px 20px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  
  .about-image-col { order: 1; }

  .about-img-wrap {
    width: 290px;
    height: 350px;
    margin: 0 auto;
  }

  .rotating-badge {
    bottom: -22px;
    left: -18px;
    width: 95px;
    height: 95px;
  }

  .badge-text  { font-size: 17px; }
  .badge-emoji { font-size: 1.5rem; width: 44px; height: 44px; }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stat-card { padding: 12px 10px; }
}


@media (max-width: 480px) {
  .about-img-wrap {
    width: 230px;
    height: 290px;
  }

  .rotating-badge {
    bottom: -18px;
    left: -14px;
    width: 80px;
    height: 80px;
  }

  .badge-text  { font-size: 15px; }
  .badge-emoji { font-size: 1.2rem; width: 38px; height: 38px; }

  .about-heading { font-size: 1.6rem; }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tools-grid { gap: 8px; }

  .tool-item {
    padding: 10px 12px;
    min-width: 62px;
  }

  .tool-item svg { width: 24px; height: 24px; }
}


.services {
  background: var(--bg);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}


.services-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.services-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.services-heading {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--text);
}

.services-subtext {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(59, 110, 245, .14);
  transform: translateY(-4px);
  border-color: var(--blue);
}


.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}


.service-title {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.service-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}


.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s;
}

.service-link:hover { gap: 10px; }

.service-link span {
  transition: transform .2s;
}

.service-link:hover span { transform: translateX(3px); }


@media (max-width: 767px) {
  .services {
    padding: 60px 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .services-inner { gap: 40px; }
}


@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-heading { font-size: 1.6rem; }

  .service-card { padding: 22px 18px; }
}


.portfolio {
  background: var(--bg-secondary);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

.portfolio-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}


.portfolio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.portfolio-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.portfolio-heading {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--text);
}

.portfolio-subtext {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}


.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  cursor: pointer;
}

.portfolio-card:hover {
  box-shadow: 0 8px 32px rgba(59, 110, 245, .15);
  transform: translateY(-4px);
}


.portfolio-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-secondary);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.06);
}


.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(59, 110, 245, .08);
  opacity: 0;
  transition: opacity .3s;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}


.portfolio-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--bg);
  gap: 10px;
}

.portfolio-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portfolio-title {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.portfolio-tag {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
}


.portfolio-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .2s, color .2s;
  text-decoration: none;
}

.portfolio-arrow svg {
  width: 36px;
  height: 36px;
}

.portfolio-card:hover .portfolio-arrow {
  transform: rotate(45deg);
  color: var(--blue-dark);
}


.portfolio-cta {
  display: flex;
  justify-content: center;
}


@media (max-width: 767px) {
  .portfolio {
    padding: 60px 20px;
  }

  .portfolio-inner { gap: 40px; }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}


@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portfolio-heading { font-size: 1.6rem; }
}



.contact {
  background: var(--bg);
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.contact-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-heading {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--text);
}

.contact-subtext {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}


.form-input {
  width: 100%;
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 110, 245, .1);
}

.form-textarea {
  min-height: 160px;
  line-height: 1.6;
}


.form-submit-row {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, transform .15s, gap .2s;
}

.btn-submit:hover {
  background: var(--blue);
  transform: translateY(-2px);
  gap: 12px;
}


.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Footer logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}

/* Copyright text */
.footer-copy {
  font-size: .85rem;
  color: var(--text-muted);
  text-align: center;
  flex: 1;
}

/* Social icons row */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.social-link:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-2px);
}

.social-link svg {
  width: 17px;
  height: 17px;
}


@media (max-width: 767px) {
  .contact {
    padding: 60px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-copy { flex: none; }
}


@media (max-width: 480px) {
  .contact-heading { font-size: 1.6rem; }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .form-submit-row { justify-content: stretch; }
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--blue-dark);
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(59,110,245,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .2s, box-shadow .2s;
  z-index: 60;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(59,110,245,.35);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

@media (max-width: 480px) {
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1200px) {
  .scroll-top {
    right: 32px;
    bottom: 32px;
  }
}



/* SITE PROTECTION */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.portfolio-arrow {
  pointer-events: all;
}

.portfolio-card img {
  pointer-events: all;
}
