/* ==================== GLOBAL RESET & BASE ==================== */
html, body { margin: 0; padding: 0; }
body {
  overscroll-behavior: none;
  background-color: #fafaf3;
}
main > :first-child { margin-top: 0 !important; }
main > :last-child { margin-bottom: 0 !important; }
::-webkit-scrollbar { display: none; }

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container { padding-left: 3rem; padding-right: 3rem; }
}

/* Icon size helpers */
.icon-xs { font-size: 13px !important; }
.icon-sm { font-size: 15px !important; }
.icon-md { font-size: 18px !important; }
.icon-lg { font-size: 22px !important; }
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}
.material-symbols-outlined.filled { font-variation-settings: 'FILL' 1; }
.text-primary { color: #3e5641; }
.text-secondary { color: #9e5353; }
.text-muted { color: #626f63; }

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 50;
  background: rgba(250, 250, 243, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e6e8de;
  box-shadow: 0 2px 12px rgba(40, 55, 43, 0.03);
}
.header-inner {
  height: 5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .header-inner { padding: 0 3rem; }
}

.header-brand { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.brand-link {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
  transition: opacity .2s;
}
.brand-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: #e3ebd9;
  border: 1px solid #d6dad0;
  display: flex; align-items: center; justify-content: center;
  color: #3e5641;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .05em;
  transition: all .2s;
}
.brand-link:hover .brand-avatar {
  background: #3e5641;
  color: #fff;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: .875rem; font-weight: 700;
  color: #28372b; letter-spacing: -.01em;
}
@media (min-width: 1024px) { .brand-name { font-size: 1rem; } }
.brand-role {
  font-size: 11px; color: #626f63; font-weight: 500;
}

.status-pill {
  display: none;
  align-items: center; gap: .5rem;
  padding: .25rem .875rem .25rem .75rem;
  background: #f4f4ed;
  border: 1px solid #e6e8de;
  border-radius: 9999px;
}
@media (min-width: 1280px) { .status-pill { display: flex; } }

.pulse { position: relative; display: flex; width: .5rem; height: .5rem; }
.pulse-ping {
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: #3e5641;
  opacity: .75;
  animation: ping 1.5s cubic-bezier(0,0,.2,1) infinite;
}
.pulse-dot {
  position: relative;
  border-radius: 9999px;
  width: .5rem; height: .5rem;
  background: #3e5641;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.status-text { font-size: 11px; color: #3e5641; font-weight: 600; }

.main-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; gap: 0.5rem; } }
.nav-link {
  padding: .375rem .875rem;
  font-size: .75rem; font-weight: 500;
  color: #626f63;
  border-radius: 9999px;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.nav-link:hover { color: #28372b; background: #f4f4ed; }
.nav-link.active {
  background: #e3ebd9;
  color: #28372b;
  font-weight: 600;
  border: 1px solid rgba(214, 218, 208, 0.6);
}

.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .375rem .75rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e6e8de;
  font-size: 11px;
  font-weight: 700;
  color: #626f63;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .03em;
}
.lang-toggle:hover { border-color: #3e5641; }
.lang-sep { color: #d6dad0; }
.lang-option { transition: color .15s; }
.lang-option.lang-active { color: #3e5641; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: #3e5641; color: #fff;
  box-shadow: 0 4px 12px rgba(62, 86, 65, 0.15);
}
.btn-primary:hover { background: #314434; transform: translateY(-2px); }
.btn-outline {
  background: #fff; color: #28372b;
  border: 1px solid #e6e8de;
  box-shadow: 0 1px 3px rgba(40,55,43,.04);
}
.btn-outline:hover { background: #f4f4ed; }
.btn-muted {
  background: #f4f4ed; color: #626f63;
  border: 1px solid #e6e8de;
}
.btn-muted:hover { background: #fff; color: #28372b; }
.btn-secondary {
  background: #9e5353; color: #fff;
  box-shadow: 0 4px 12px rgba(158, 83, 83, 0.2);
}
.btn-secondary:hover { background: #854343; }
.btn-ghost {
  background: #fff; color: #28372b;
  border: 1px solid #e6e8de;
  padding: .5rem .875rem;
  font-size: .75rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(40,55,43,.04);
}
.btn-ghost:hover { background: #3e5641; color: #fff; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0 4rem;
  background: linear-gradient(to bottom, #fafaf3, #f7f8f1, #fafaf3);
}
@media (min-width: 1024px) { .hero { padding-top: 3.5rem; } }

.hero-blob {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(110px);
}
.hero-blob-1 { top: -8rem; left: -8rem; width: 24rem; height: 24rem; background: rgba(227,235,217,.5); }
.hero-blob-2 { top: 25%; right: 0; width: 34rem; height: 34rem; background: rgba(253,238,233,.45); }
.hero-blob-3 { bottom: 0; left: 33%; width: 28rem; height: 28rem; background: rgba(220,228,214,.4); }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem;
  background: #fff;
  border: 1px solid #e6e8de;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 700;
  color: #28372b;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 8px rgba(40,55,43,.04);
  position: relative;
  z-index: 1;
}
.hero-badge .dot {
  width: .5rem; height: .5rem; border-radius: 9999px;
  background: #3e5641;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 2rem; }
}

.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #1e2b20;
  line-height: 1.18;
  margin: 0;
}
@media (min-width: 640px) { .hero-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3rem; } }

.hero-desc {
  font-size: 1rem;
  color: #626f63;
  line-height: 1.7;
  max-width: 42rem;
  margin: 0;
}
@media (min-width: 1024px) { .hero-desc { font-size: 1.125rem; } }

.note-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem;
  background: #fff;
  border: 1px solid #e6e8de;
  border-radius: 1rem;
  max-width: 36rem;
}
.note-icon {
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background: #e3ebd9;
  display: flex; align-items: center; justify-content: center;
  color: #3e5641;
  flex-shrink: 0;
}
.note-text { font-size: .75rem; color: #626f63; line-height: 1.4; margin: 0; }
.note-strong { font-weight: 700; color: #28372b; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding-top: .25rem; }

/* Profile card */
.profile-card-wrap { position: relative; }
.profile-card {
  position: relative;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: 2.75rem;
  padding: 1.5rem;
  border: 1px solid #e6e8de;
  box-shadow: 0 12px 36px rgba(40,55,43,.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 1;
}
.profile-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: .875rem;
  border-bottom: 1px solid #e6e8de;
}
.profile-status {
  font-size: 11px; font-weight: 600;
  color: #3e5641; background: #e3ebd9;
  padding: .125rem .625rem;
  border-radius: 9999px;
}
.profile-hero {
  position: relative;
  width: 100%;
  height: 13rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e6e8de;
}
.profile-hero-img {
  width: 100%; height: 100%;
  background-image: url('photos/diyorbek_image.jpg');
  background-size: cover;
  background-position: center;
  transition: transform .7s;
}
.profile-hero:hover .profile-hero-img { transform: scale(1.05); }
.profile-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,43,32,.8), transparent 60%);
}
.profile-hero-info {
  position: absolute;
  bottom: .75rem; left: 1rem; right: 1rem;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.profile-hero-name { font-size: 1rem; font-weight: 700; color: #fff; }
.profile-hero-univ { font-size: 11px; color: #e3ebd9; }
.profile-hero-badge {
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  color: #3e5641;
}

.profile-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.mini-card {
  padding: .75rem;
  border-radius: 1rem;
  background: #f4f4ed;
  border: 1px solid #e6e8de;
  display: flex; flex-direction: column;
}
.mini-card-alt { background: rgba(227,235,217,.6); border-color: #d6dad0; }
.mini-label { font-size: 10px; color: #626f63; font-weight: 500; }
.mini-card-alt .mini-label { color: #3e5641; }
.mini-value { font-size: .75rem; font-weight: 700; color: #28372b; margin-top: .125rem; }

.profile-footer {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .75rem; padding-top: .25rem;
  border-top: 1px solid #e6e8de;
  color: #626f63;
}
.profile-link {
  color: #3e5641; font-weight: 600;
  display: flex; align-items: center; gap: .25rem;
  text-decoration: none;
}
.profile-link:hover { text-decoration: underline; }

/* ==================== METRICS ==================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }

.metric-card {
  padding: 1.25rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid #e6e8de;
  transition: border-color .2s;
}
.metric-card:hover { border-color: rgba(62,86,65,.4); }
.metric-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .5rem;
}
.metric-label { font-size: .75rem; font-weight: 600; color: #626f63; }
.metric-value {
  font-size: 1.5rem; font-weight: 800;
  color: #1e2b20;
}
@media (min-width: 1024px) { .metric-value { font-size: 1.875rem; } }
.metric-sub { font-size: .75rem; color: #626f63; margin: .25rem 0 0; line-height: 1.4; }

/* ==================== SECTIONS ==================== */
.section { padding: 4rem 0; background: #fafaf3; position: relative; }
.section-alt {
  padding: 4rem 0;
  background: #f7f8f1;
  border-top: 1px solid #e6e8de;
  border-bottom: 1px solid #e6e8de;
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.eyebrow {
  display: flex; align-items: center; gap: .375rem;
  font-size: .75rem; font-weight: 700;
  color: #3e5641;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.eyebrow-plain {
  display: block;
  font-size: .75rem; font-weight: 700;
  color: #3e5641;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e2b20;
  margin: 0;
  line-height: 1.25;
}
@media (min-width: 640px) { .section-title { font-size: 1.875rem; } }

.section-desc {
  font-size: .875rem;
  color: #626f63;
  line-height: 1.6;
  max-width: 28rem;
  margin: 0;
}

/* ==================== ABOUT ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-card {
  border-radius: 2.75rem;
  background: #fff;
  border: 1px solid #e6e8de;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow .2s;
}
.about-card:hover { box-shadow: 0 4px 16px rgba(40,55,43,.06); }

.about-card-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.about-icon {
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.about-icon-secondary { background: #fdeee9; border: 1px solid #f5dad4; color: #9e5353; }
.about-icon-primary { background: #e3ebd9; border: 1px solid #d6dad0; color: #3e5641; }

.about-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e2b20;
  margin: 0 0 .5rem;
}
.about-card-desc {
  font-size: .875rem;
  color: #626f63;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.feature-box {
  padding: .875rem;
  border-radius: 1rem;
  background: #fafaf3;
  border: 1px solid #e6e8de;
}
.feature-title { display: block; font-size: .75rem; font-weight: 700; margin-bottom: .25rem; }
.feature-text { font-size: .75rem; color: #626f63; line-height: 1.4; }

.tag-row {
  padding-top: 1rem;
  border-top: 1px solid #e6e8de;
  display: flex; flex-wrap: wrap; gap: .5rem;
}

/* Tags */
.tag {
  display: inline-flex; align-items: center;
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag-primary { background: #e3ebd9; color: #3e5641; }
.tag-secondary { background: #fdeee9; color: #9e5353; }
.tag-plain { background: #f4f4ed; color: #28372b; font-weight: 500; }
.tag-outline { background: #fff; border: 1px solid #e6e8de; color: #3e5641; }

.perspective-banner {
  margin-top: 1.5rem;
  border-radius: 2.75rem;
  background: #fff;
  border: 1px solid #e6e8de;
  padding: 1.5rem;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem;
}
.perspective-items {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
}
.perspective-item { display: flex; align-items: center; gap: .5rem; }
.perspective-strong { font-size: .75rem; font-weight: 600; color: #28372b; }
.perspective-soft { font-size: .75rem; color: #626f63; }
.perspective-cta {
  display: flex; align-items: center; gap: .5rem;
  color: #3e5641; font-size: .75rem; font-weight: 700;
}
.dot-primary { width: .5rem; height: .5rem; border-radius: 9999px; background: #3e5641; }

/* ==================== TIMELINE ==================== */
.timeline { position: relative; }
.timeline-line {
  position: absolute;
  left: 1rem;
  top: 1rem; bottom: 1rem;
  width: 2px;
  background: #e6e8de;
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  .timeline-line { left: 50%; }
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .timeline-item { flex-direction: row; align-items: flex-start; }
}

.timeline-card {
  width: 100%;
  padding-left: 3rem;
}
@media (min-width: 768px) {
  .timeline-card { width: 50%; padding: 0; }
  .timeline-left { padding-right: 2.5rem; text-align: right; }
  .timeline-right { padding-left: 2.5rem; text-align: left; }
}
.timeline-card-inner {
  padding: 1.25rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid #e6e8de;
  transition: border-color .2s;
}
.timeline-card-inner:hover { border-color: rgba(62,86,65,.4); }
.timeline-title { font-size: 1rem; font-weight: 700; color: #1e2b20; margin: 0; }
.timeline-org { font-size: .75rem; font-weight: 600; color: #3e5641; margin-bottom: .5rem; }
.timeline-desc { font-size: .75rem; color: #626f63; line-height: 1.55; margin: 0; }

.timeline-dot {
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  transform: translateX(-50%);
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background: #fff;
  border: 2px solid #3e5641;
  display: flex; align-items: center; justify-content: center;
  color: #3e5641;
  z-index: 1;
}
.timeline-dot-secondary { border-color: #9e5353; color: #9e5353; }
@media (min-width: 768px) {
  .timeline-dot { left: 50%; }
}

.timeline-date {
  padding-left: 3rem;
  padding-top: .5rem;
}
@media (min-width: 768px) {
  .timeline-date { width: 50%; padding: 1.5rem 0 0; }
  .timeline-date.timeline-left { padding-right: 2.5rem; text-align: right; }
  .timeline-date.timeline-right { padding-left: 2.5rem; }
}

.chip {
  display: inline-block;
  padding: .375rem .875rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid #e6e8de;
  color: #626f63;
}
.chip-light {
  background: #f4f4ed;
  color: #626f63;
}

/* ==================== PORTFOLIO ==================== */
.portfolio-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .portfolio-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* Fixed filter - wraps properly */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  padding: .375rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e6e8de;
  box-shadow: 0 1px 3px rgba(40,55,43,.04);
  max-width: 100%;
}
@media (max-width: 640px) {
  .portfolio-filter {
    border-radius: 1.5rem;
    width: 100%;
    justify-content: center;
  }
}
.filter-btn {
  padding: .375rem 1rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 500;
  color: #626f63;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  white-space: nowrap;
}
.filter-btn:hover { color: #28372b; }
.filter-btn.active {
  background: #3e5641;
  color: #fff;
  font-weight: 600;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio-item {
  border-radius: 2.75rem;
  background: #fff;
  border: 1px solid #e6e8de;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow .2s, border-color .2s;
}
.portfolio-item:hover {
  box-shadow: 0 4px 16px rgba(40,55,43,.06);
}
.portfolio-item.hidden-item { display: none !important; }

.portfolio-item-wide {
  grid-column: 1 / -1;
}

.portfolio-item-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.portfolio-stack { font-size: 11px; font-weight: 600; color: #626f63; }
.portfolio-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2b20;
  margin: 0 0 .5rem;
  transition: color .2s;
}
.portfolio-item:hover .portfolio-title { color: #3e5641; }
.portfolio-title-lg { font-size: 1.125rem; }
.portfolio-desc { font-size: .75rem; color: #626f63; line-height: 1.6; margin-bottom: 1.5rem; }

.portfolio-item-footer {
  padding-top: .875rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid #e6e8de;
}
.portfolio-meta { font-size: 11px; color: #626f63; }
.portfolio-link {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .75rem; font-weight: 700;
  color: #3e5641;
  text-decoration: none;
}
.portfolio-link:hover { text-decoration: underline; }

.portfolio-pub-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .portfolio-pub-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.portfolio-pub-copy { max-width: 48rem; }
.portfolio-pub-tags {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .625rem;
  flex-wrap: wrap;
}

/* ==================== CREDENTIALS ==================== */
.resume-banner {
  border-radius: 2.75rem;
  background: #f7f8f1;
  border: 1px solid #e6e8de;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .resume-banner { flex-direction: row; }
}
.resume-banner-copy { display: flex; align-items: center; gap: 1rem; }
.resume-icon {
  width: 3rem; height: 3rem;
  border-radius: 1rem;
  background: #e3ebd9;
  color: #3e5641;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.resume-title { font-size: 1rem; font-weight: 700; color: #1e2b20; margin: 0; }
.resume-sub { font-size: .75rem; color: #626f63; margin: .125rem 0 0; }

.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .certs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .certs-grid { grid-template-columns: repeat(4, 1fr); } }

.cert-card {
  padding: 1.25rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid #e6e8de;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: border-color .2s;
}
.cert-card:hover { border-color: rgba(62,86,65,.4); }
.cert-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  background: #f4f4ed;
  color: #3e5641;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .75rem;
}
.cert-icon-secondary { color: #9e5353; }
.cert-title { font-size: .75rem; font-weight: 700; color: #1e2b20; margin: 0 0 .25rem; }
.cert-issuer { font-size: 11px; color: #626f63; margin-bottom: .75rem; }
.cert-view {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: 10px; font-weight: 700;
  color: #3e5641;
}
.cert-view-secondary { color: #9e5353; }

/* ==================== CONTACT ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 5fr 7fr; }
}

.contact-info { display: flex; flex-direction: column; justify-content: space-between; }
.contact-desc {
  font-size: .875rem; color: #626f63;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.contact-list { display: flex; flex-direction: column; gap: .75rem; }
.contact-item {
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e6e8de;
  display: flex; align-items: flex-start; gap: .875rem;
}
.contact-item-btn {
  align-items: flex-start;
  justify-content: space-between;
}
.contact-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon-primary { background: #e3ebd9; color: #3e5641; }
.contact-icon-secondary { background: #fdeee9; color: #9e5353; }
.contact-label {
  font-size: 10px; color: #626f63;
  text-transform: uppercase; font-weight: 600;
  display: block;
}
.contact-value { font-size: .75rem; font-weight: 700; color: #28372b; }
.contact-link { color: #3e5641; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }

.copy-btn {
  background: transparent;
  border: none;
  color: #626f63;
  cursor: pointer;
  padding: .25rem;
  transition: color .15s;
}
.copy-btn:hover { color: #28372b; }

.contact-map {
  margin-top: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  height: 9rem;
  background: #fff;
  border: 1px solid #e6e8de;
  position: relative;
}
.contact-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* Contact form */
.contact-form-card {
  border-radius: 2.75rem;
  background: #fff;
  border: 1px solid #e6e8de;
  padding: 2rem;
}
.form-title { font-size: 1.25rem; font-weight: 700; color: #1e2b20; margin: 0 0 .25rem; }
.form-sub { font-size: .75rem; color: #626f63; margin-bottom: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; gap: .375rem; }
.form-label { font-size: 11px; font-weight: 600; color: #626f63; }
.form-input {
  padding: .75rem 1rem;
  border-radius: 1rem;
  background: #fafaf3;
  border: 1px solid #e6e8de;
  color: #28372b;
  font-size: .75rem;
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
  width: 100%;
}
.form-input::placeholder { color: rgba(98,111,99,.6); }
.form-input:focus { border-color: #3e5641; }
.form-textarea { resize: none; }

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .5rem;
}
.form-secure { font-size: 11px; color: #626f63; }

.form-status {
  padding: .75rem;
  border-radius: 1rem;
  font-size: .75rem;
  font-weight: 600;
  text-align: center;
}
.form-status.hidden { display: none; }
.form-status.success { background: #dcfce7; color: #15803d; display: block; }
.form-status.error { background: #fee2e2; color: #b91c1c; display: block; }

/* ==================== FOOTER ==================== */
.site-footer {
  width: 100%;
  background: #f4f4ed;
  border-top: 1px solid #e6e8de;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand { display: flex; flex-direction: column; gap: .625rem; }
.footer-brand-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
}
.footer-soft { font-size: .75rem; color: #626f63; }
.footer-desc { font-size: .75rem; color: #626f63; line-height: 1.6; max-width: 28rem; margin: 0; }

.footer-socials { display: flex; gap: .625rem; padding-top: .25rem; }
.social-btn {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e6e8de;
  display: flex; align-items: center; justify-content: center;
  color: #626f63;
  text-decoration: none;
  transition: all .2s;
}
.social-btn:hover {
  color: #3e5641;
  border-color: #3e5641;
  transform: translateY(-2px);
}

.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col-title { font-size: .75rem; font-weight: 700; color: #1e2b20; }
.footer-nav { display: flex; flex-direction: column; gap: .375rem; }
.footer-nav a {
  font-size: .75rem; color: #626f63;
  text-decoration: none;
  transition: color .15s;
}
.footer-nav a:hover { color: #28372b; }

.footer-contact { display: flex; flex-direction: column; gap: .375rem; font-size: .75rem; color: #626f63; }
.footer-link { color: #3e5641; font-weight: 600; text-decoration: none; padding-top: .25rem; }
.footer-link:hover { text-decoration: underline; }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e6e8de;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom-left { flex-direction: row; text-align: left; }
}
.footer-bottom-left p { font-size: .75rem; color: #626f63; margin: 0; }
.footer-note { font-size: 11px; color: rgba(98,111,99,.8); }
.footer-sep { display: none; color: #d6dad0; }
@media (min-width: 640px) { .footer-sep { display: inline; } }

.scroll-top {
  display: flex; align-items: center; gap: .25rem;
  padding: .375rem .75rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e6e8de;
  font-size: .75rem;
  font-weight: 600;
  color: #626f63;
  text-decoration: none;
  transition: all .2s;
}
.scroll-top:hover { color: #28372b; }