:root {
  --ink: #102033;
  --ocean: #0ea5e9;
  --mint: #22c55e;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 18, 34, 0.92) 0%, rgba(6, 18, 34, 0.78) 42%, rgba(6, 18, 34, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 18, 34, 0.1) 0%, rgba(6, 18, 34, 0.34) 100%);
}

.nav-link,
.mobile-link,
.footer-link {
  transition: color 180ms ease;
}

.nav-link:hover,
.mobile-link:hover,
.footer-link:hover {
  color: var(--ocean);
}

.mobile-link {
  border-radius: 8px;
  padding: 0.75rem;
}

.mobile-link:hover {
  background: #eff9ff;
}

.section-band {
  scroll-margin-top: 4rem;
}

.section-kicker {
  color: var(--ocean);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.18;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.metric-box {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff9ff 0%, #effdf5 100%);
  padding: 1.25rem;
}

.metric-box strong {
  color: var(--ink);
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
}

.metric-box span {
  color: #475569;
  display: block;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.profile-visual {
  position: relative;
}

.profile-visual::before {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(74, 222, 128, 0.22));
  border-radius: 8px;
  content: '';
  inset: 1.5rem -0.75rem -0.75rem 1rem;
  position: absolute;
}

.profile-photo-shell {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  position: relative;
}

.profile-photo {
  aspect-ratio: 4 / 5;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.profile-status {
  align-items: center;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  bottom: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  color: #15803d;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  gap: 0.6rem;
  left: 1.25rem;
  padding: 0.85rem 1rem;
  position: absolute;
}

.status-dot {
  background: var(--mint);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
  height: 0.65rem;
  width: 0.65rem;
}

.profile-highlight {
  align-items: flex-start;
  background: linear-gradient(135deg, #ffffff 0%, #eff9ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 8px;
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem;
}

.profile-highlight h3 {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.profile-highlight p {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: 0.35rem;
}

.profile-action {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.profile-action.primary {
  background: var(--ocean);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(14, 165, 233, 0.2);
}

.profile-action.primary:hover {
  background: #0284c7;
}

.profile-action.secondary {
  background: #effdf5;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.profile-action.secondary:hover {
  background: #dcfce7;
  border-color: #86efac;
}

@media (max-width: 640px) {
  .profile-visual::before {
    inset: 1rem -0.5rem -0.5rem 0.75rem;
  }

  .profile-status {
    bottom: 0.75rem;
    left: 0.75rem;
  }
}

.skill-card,
.project-card,
.service-item,
.contact-form {
  border-radius: 8px;
}

.skill-card {
  border: 1px solid #dbeafe;
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.skill-card h3 {
  color: var(--ink);
  font-weight: 800;
}

.progress-track {
  background: #e2e8f0;
  border-radius: 999px;
  height: 0.55rem;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, #38bdf8, #4ade80);
  border-radius: inherit;
  height: 100%;
}

.project-card {
  border: 1px solid #dbeafe;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.project-thumb {
  aspect-ratio: 16 / 10;
  background: #eff9ff;
  overflow: hidden;
}

.project-thumb img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
  width: 100%;
}

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

.tech-pill {
  border-radius: 999px;
  background: #eff9ff;
  color: #0369a1;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
}

.service-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
}

.service-item h3 {
  font-size: 1.125rem;
  font-weight: 800;
  margin-top: 1.25rem;
}

.service-item p {
  color: #cbd5e1;
  line-height: 1.75;
  margin-top: 0.75rem;
}

.contact-line {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  min-height: 2rem;
  width: fit-content;
}

.contact-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.5rem;
  justify-content: center;
  width: 1.5rem;
}

.contact-icon svg {
  display: block;
}

.contact-form {
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

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

.contact-form label {
  color: #334155;
  display: grid;
  font-size: 0.875rem;
  font-weight: 800;
  gap: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  padding: 0.85rem 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  bottom: 1.5rem;
  box-shadow: 0 18px 40px rgba(21, 128, 61, 0.28);
  color: #ffffff;
  display: inline-flex;
  height: 3.5rem;
  justify-content: center;
  left: 1.5rem;
  position: fixed;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  width: 3.5rem;
  z-index: 60;
}

.whatsapp-float:hover {
  background: #1fbd5a;
  box-shadow: 0 22px 48px rgba(21, 128, 61, 0.34);
  transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
  outline: 4px solid rgba(37, 211, 102, 0.28);
  outline-offset: 4px;
}

.whatsapp-float svg {
  fill: currentColor;
  height: 1.75rem;
  width: 1.75rem;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1rem;
    height: 3.25rem;
    left: 1rem;
    width: 3.25rem;
  }
}

.skeleton {
  animation: pulse 1.6s ease-in-out infinite;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 37%, #e2e8f0 63%);
  background-size: 400% 100%;
  border-radius: 8px;
}

@keyframes pulse {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}
