/* ============================================================
   JOAN ALANO-SAÑO · PORTFOLIO
   ============================================================ */

:root {
  --navy:      #1B3A6B;
  --navy-dark: #122952;
  --navy-mid:  #254e96;
  --blue:      #2563EB;
  --teal:      #0891B2;
  --gold:      #F59E0B;
  --green:     #059669;
  --red:       #DC2626;
  --purple:    #7C3AED;
  --light:     #F8FAFC;
  --light-alt: #EFF6FF;
  --white:     #FFFFFF;
  --text:      #1E293B;
  --muted:     #64748B;
  --border:    #E2E8F0;
  --shadow:    0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
  --radius:    14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== UTILITIES ========== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section { padding: 90px 0; }
.section-alt { background: var(--light); }
.section-navy { background: var(--navy); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-size: .95rem; font-weight: 600;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); font-weight: 700; }
.btn-gold:hover { background: #d97706; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.logo-mark {
  width: 38px; height: 38px; background: var(--navy); color: var(--white);
  border-radius: 10px; display: grid; place-items: center;
  font-size: .85rem; font-weight: 800; letter-spacing: .03em;
}
.logo-mark.sm { width: 32px; height: 32px; font-size: .75rem; border-radius: 8px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-a {
  padding: 6px 14px; border-radius: 6px; font-size: .9rem; color: var(--muted);
  font-weight: 500; transition: all var(--transition);
}
.nav-a:hover, .nav-a.active { color: var(--navy); background: var(--light); }
.btn-hire {
  padding: 8px 20px; background: var(--navy); color: var(--white); border-radius: 50px;
  font-size: .9rem; font-weight: 600; transition: all var(--transition);
}
.btn-hire:hover { background: var(--blue); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 0 60px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--white) 0%, #EFF6FF 60%, #DBEAFE 100%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .15; pointer-events: none;
}
.hero-blob-1 {
  width: 600px; height: 600px; background: var(--navy);
  top: -150px; right: -100px;
}
.hero-blob-2 {
  width: 400px; height: 400px; background: var(--blue);
  bottom: -100px; left: -80px;
}

.hero-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}

/* Hero copy */
.avail-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  background: #DCFCE7; color: #15803D; padding: 6px 14px; border-radius: 50px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.pulse-dot {
  width: 8px; height: 8px; background: #22C55E; border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15; color: var(--navy); margin-bottom: 16px;
}
.gradient-name {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-roles { font-size: .9rem; color: var(--muted); font-weight: 500; margin-bottom: 20px; }
.hero-bio { font-size: 1.05rem; color: var(--text); max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-bio strong { color: var(--navy); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-contact-row { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; color: var(--muted); font-weight: 500;
  transition: color var(--transition);
}
.contact-chip:hover { color: var(--navy); }

/* Hero photo */
.hero-photo-side { position: relative; display: flex; justify-content: center; align-items: center; }
.photo-ring-outer, .photo-ring-inner {
  position: absolute; border-radius: 50%; border: 2px dashed;
}
.photo-ring-outer { width: 380px; height: 380px; border-color: rgba(27,58,107,.15); animation: spin 30s linear infinite; }
.photo-ring-inner { width: 310px; height: 310px; border-color: rgba(37,99,235,.2); animation: spin 20s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.photo-circle {
  width: 280px; height: 280px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  overflow: hidden; position: relative; z-index: 2;
  box-shadow: var(--shadow-xl), 0 0 0 6px var(--white), 0 0 0 8px rgba(37,99,235,.3);
}
.photo-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-initials {
  display: none; width: 100%; height: 100%;
  align-items: center; justify-content: center;
  font-size: 4rem; font-weight: 800; color: var(--white);
  font-family: 'Playfair Display', serif; letter-spacing: .05em;
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--white); padding: 12px 16px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 3; animation: floatY 4s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--navy); line-height: 1; }
.float-card small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.fc-icon { font-size: 1.4rem; }
.fc-1 { top: 10px; left: -20px; animation-delay: 0s; }
.fc-2 { bottom: 20px; right: -20px; animation-delay: 1.5s; }
.fc-3 { bottom: 100px; left: -30px; animation-delay: 0.8s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========== STATS BAR ========== */
.stats-bar { background: var(--navy); padding: 48px 0; }
.stats-row {
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--white);
  font-family: 'Playfair Display', serif; line-height: 1;
}
.stat-label { font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 500; margin-top: 6px; letter-spacing: .02em; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,.2); }

/* ========== ABOUT ========== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-left p { margin-bottom: 16px; color: var(--text); line-height: 1.75; }
.about-left p strong { color: var(--navy); }
.about-left .section-title { text-align: left; margin-bottom: 20px; }
.about-left .section-eyebrow { display: block; }

.about-achievements { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.achievement-chip {
  padding: 10px 16px; background: var(--light-alt); border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .88rem; color: var(--text); font-weight: 500;
}

.about-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid var(--border);
}
.ac-header {
  background: var(--navy); color: var(--white);
  padding: 16px 24px; font-weight: 700; font-size: .95rem; letter-spacing: .04em;
}
.ac-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.ac-metric {
  background: var(--white); padding: 24px 20px; text-align: center;
}
.acm-val {
  font-size: 2rem; font-weight: 800; color: var(--navy); font-family: 'Playfair Display', serif;
  line-height: 1; margin-bottom: 4px;
}
.acm-label { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ac-industries { padding: 20px 24px; }
.ac-ind-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.ac-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-tags span {
  padding: 4px 12px; background: var(--light); border-radius: 50px;
  font-size: .8rem; color: var(--navy); font-weight: 500;
}

/* ========== SERVICES ========== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.svc-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.3); }
.svc-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(37,99,235,.1); display: grid; place-items: center;
  margin-bottom: 20px; color: var(--icon-color, var(--blue));
  transition: background var(--transition);
}
.svc-card:hover .svc-icon-wrap { background: var(--icon-color, var(--blue)); color: var(--white); }
.svc-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.svc-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.svc-list { display: flex; flex-direction: column; gap: 7px; }
.svc-list li {
  font-size: .85rem; color: var(--text); padding-left: 16px; position: relative; font-weight: 500;
}
.svc-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}

/* ========== PORTFOLIO ========== */
.port-tabs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px; justify-content: center;
}
.tab {
  padding: 8px 20px; border-radius: 50px; font-size: .88rem; font-weight: 600;
  color: var(--muted); border: 1.5px solid var(--border);
  transition: all var(--transition); background: var(--white);
}
.tab:hover { color: var(--navy); border-color: var(--navy); }
.tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.port-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.port-item {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition);
}
.port-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.port-item.hidden { display: none; }

.pi-preview {
  background: #F0F4FF; padding: 28px; min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pi-info { padding: 24px; }
.pi-cat {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
}
.pi-cat.ops { background: #DBEAFE; color: #1D4ED8; }
.pi-cat.ecom { background: #D1FAE5; color: #065F46; }
.pi-cat.mkt { background: #FEF3C7; color: #92400E; }
.pi-cat.web { background: #EDE9FE; color: #5B21B6; }

.pi-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pi-info p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.pi-info p strong { color: var(--navy); }
.pi-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pi-tags span {
  padding: 3px 10px; background: var(--light); border-radius: 50px;
  font-size: .75rem; color: var(--text); font-weight: 500;
}

/* ======================================================
   PORTFOLIO MOCKUPS (CSS Art)
   ====================================================== */

/* --- SOP Document --- */
.mock-doc {
  background: var(--white); border-radius: var(--radius-sm); padding: 14px;
  width: 100%; max-width: 260px; box-shadow: var(--shadow-md);
  border-top: 4px solid var(--navy);
}
.md-header { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.md-logo-sq { width: 28px; height: 28px; background: var(--navy); border-radius: 4px; flex-shrink: 0; }
.md-line { height: 6px; background: #CBD5E1; border-radius: 3px; margin-bottom: 5px; }
.md-line.lg { width: 90%; }
.md-line.sm { width: 55%; }
.md-line.short { width: 60%; }
.md-line { width: 100%; }
.md-section-bar { height: 8px; background: var(--navy); border-radius: 2px; margin: 10px 0 8px; width: 40%; }
.md-lines { display: flex; flex-direction: column; gap: 4px; }
.md-steps { display: flex; flex-direction: column; gap: 6px; }
.md-step { display: flex; align-items: center; gap: 6px; }
.ms-num { width: 16px; height: 16px; background: var(--blue); color: var(--white); border-radius: 50%; font-size: .55rem; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.ms-bar { height: 5px; background: #CBD5E1; border-radius: 3px; flex: 1; }
.ms-bar.short { flex: 0.6; }

/* --- Spreadsheet --- */
.mock-sheet {
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden;
  width: 100%; max-width: 300px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); font-size: .7rem;
}
.ms-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; border-bottom: 1px solid var(--border); }
.ms-row:last-child { border-bottom: none; }
.header-row { background: var(--navy); }
.total-row { background: #F0F4FF; }
.ms-cell { padding: 6px 8px; color: var(--text); }
.ms-cell.hd { color: var(--white); font-weight: 700; font-size: .65rem; }
.ms-cell.green { color: var(--green); font-weight: 600; }
.ms-cell.orange { color: #D97706; font-weight: 600; }
.ms-cell.muted { color: var(--muted); }
.ms-cell.bold { font-weight: 700; color: var(--navy); }
.badge-paid, .badge-pending, .badge-acc {
  display: inline-block; padding: 1px 6px; border-radius: 50px; font-size: .6rem; font-weight: 700;
}
.badge-paid { background: #D1FAE5; color: #065F46; }
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-acc { background: #DBEAFE; color: #1D4ED8; }

/* --- KPI Dashboard --- */
.mock-dash {
  background: var(--white); border-radius: var(--radius-sm); padding: 14px;
  width: 100%; max-width: 260px; box-shadow: var(--shadow-md);
}
.md-title { font-size: .7rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.md-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.md-kpi { text-align: center; padding: 8px 4px; background: var(--light); border-radius: var(--radius-sm); }
.kpi-val { font-size: 1.1rem; font-weight: 800; line-height: 1; }
.kpi-val.navy { color: var(--navy); }
.kpi-val.green { color: var(--green); }
.kpi-val.gold { color: var(--gold); }
.kpi-lbl { font-size: .58rem; color: var(--muted); font-weight: 600; margin-top: 3px; }
.md-barchart { display: flex; align-items: flex-end; gap: 6px; height: 60px; padding-top: 8px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; height: 100%; justify-content: flex-end; }
.bar-fill { width: 100%; background: var(--navy); border-radius: 3px 3px 0 0; min-height: 4px; transition: height .4s; }
.bar-lbl { font-size: .5rem; color: var(--muted); font-weight: 600; }

/* --- Amazon Listing --- */
.mock-amazon {
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden;
  width: 100%; max-width: 300px; box-shadow: var(--shadow-md);
}
.az-bar { background: #131921; display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.az-logo { color: #FF9900; font-size: .8rem; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.az-searchbar { flex: 1; height: 22px; background: var(--white); border-radius: 3px; }
.az-body { display: flex; gap: 10px; padding: 12px; }
.az-img { width: 80px; height: 80px; background: var(--light); border-radius: 4px; flex-shrink: 0; border: 1px solid var(--border); }
.az-info { flex: 1; }
.az-t1, .az-t2 { height: 6px; background: #CBD5E1; border-radius: 3px; margin-bottom: 4px; }
.az-t1 { width: 100%; }
.az-t2.short { width: 70%; margin-bottom: 8px; }
.az-stars { font-size: .62rem; color: #C45500; margin-bottom: 4px; }
.az-stars em { color: var(--muted); font-style: normal; }
.az-price { font-size: .85rem; font-weight: 700; color: #0F1111; margin-bottom: 3px; }
.az-prime { font-size: .6rem; color: #007185; font-weight: 700; margin-bottom: 6px; }
.az-bullet-lines { display: flex; flex-direction: column; gap: 3px; }
.az-bl { height: 4px; background: #E2E8F0; border-radius: 2px; }
.az-bl.short { width: 70%; }

/* --- PPC Dashboard --- */
.mock-ppc {
  background: var(--white); border-radius: var(--radius-sm); padding: 14px;
  width: 100%; max-width: 280px; box-shadow: var(--shadow-md);
}
.ppc-header { font-size: .68rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.ppc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.ppc-kpi { text-align: center; padding: 8px 4px; background: var(--light); border-radius: var(--radius-sm); }
.pk-lbl { font-size: .58rem; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.pk-val { font-size: .9rem; font-weight: 800; color: var(--navy); }
.pk-val.improved { color: var(--green); }
.pk-val.good { color: var(--blue); }
.ppc-chart-wrap { overflow: hidden; border-radius: 4px; }
.ppc-svg { width: 100%; height: 55px; display: block; }

/* --- Orders --- */
.mock-orders {
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden;
  width: 100%; max-width: 300px; box-shadow: var(--shadow-md);
}
.ord-header { background: var(--navy); color: var(--white); padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; }
.ord-header span { font-size: .72rem; font-weight: 700; }
.ord-count { background: var(--gold); color: var(--navy-dark); padding: 2px 8px; border-radius: 50px; font-size: .62rem; font-weight: 700; }
.ord-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.ord-row:last-of-type { border-bottom: none; }
.or-id { font-size: .66rem; font-family: monospace; color: var(--muted); flex: 1; }
.or-dest { font-size: .68rem; color: var(--text); flex: 1; }
.or-badge { font-size: .6rem; font-weight: 700; padding: 2px 7px; border-radius: 50px; }
.or-badge.shipped { background: #DBEAFE; color: #1D4ED8; }
.or-badge.delivered { background: #D1FAE5; color: #065F46; }
.or-badge.processing { background: #FEF3C7; color: #92400E; }
.ord-footer { font-size: .65rem; color: var(--green); font-weight: 600; text-align: center; padding: 6px; background: #F0FDF4; }

/* --- Social Grid --- */
.mock-social {
  width: 100%; max-width: 220px;
}
.soc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sg-post {
  aspect-ratio: 1; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sg-inner { padding: 8px; width: 100%; }
.sg-bar { height: 4px; background: rgba(255,255,255,.6); border-radius: 2px; margin-bottom: 4px; }
.sg-bar.w { background: rgba(255,255,255,.8); }
.sg-bar.short { width: 60%; }
.sg-icon { font-size: 1.4rem; }
.sg-num { font-size: .9rem; font-weight: 800; color: var(--white); }

/* --- Automation Flow --- */
.mock-flow {
  background: var(--white); border-radius: var(--radius-sm); padding: 14px;
  width: 100%; max-width: 240px; box-shadow: var(--shadow-md);
}
.flow-title { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.flow-nodes { display: flex; flex-direction: column; align-items: center; gap: 0; }
.fn-node {
  width: 100%; padding: 7px 10px; border-radius: 6px;
  font-size: .66rem; font-weight: 600; text-align: center;
}
.fn-node.trigger { background: #DBEAFE; color: #1D4ED8; }
.fn-node.action { background: #EDE9FE; color: #5B21B6; }
.fn-node.condition { background: #FEF3C7; color: #92400E; }
.fn-node.success { background: #D1FAE5; color: #065F46; }
.fn-arrow { font-size: .8rem; color: var(--muted); line-height: 1.4; }

/* --- Browser / Website --- */
.mock-browser {
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden;
  width: 100%; max-width: 300px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.mb-bar { background: #F1F5F9; padding: 7px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.mb-dots { display: flex; gap: 4px; }
.mb-dots span { width: 8px; height: 8px; border-radius: 50%; }
.mb-url { flex: 1; background: var(--white); border-radius: 50px; padding: 2px 10px; font-size: .56rem; color: var(--muted); border: 1px solid var(--border); }
.mb-body { padding: 10px; }
.mb-nav { height: 8px; background: var(--navy); border-radius: 3px; margin-bottom: 8px; }
.mb-hero { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.mbh-left { flex: 1; }
.mbh-h1 { height: 10px; background: var(--navy); border-radius: 3px; margin-bottom: 4px; width: 80%; }
.mbh-sub { height: 5px; background: #CBD5E1; border-radius: 3px; margin-bottom: 6px; }
.mbh-btn { height: 14px; width: 50px; background: var(--blue); border-radius: 50px; }
.mbh-circle { width: 50px; height: 50px; background: linear-gradient(135deg, var(--navy), var(--blue)); border-radius: 50%; flex-shrink: 0; }
.mb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mbc { height: 30px; background: var(--light); border-radius: 4px; }

/* --- Multi-App Workflow --- */
.mock-workflow {
  background: var(--white); border-radius: var(--radius-sm); padding: 14px;
  width: 100%; max-width: 280px; box-shadow: var(--shadow-md);
}
.wf-title { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.wf-row { display: flex; align-items: center; gap: 6px; justify-content: center; margin-bottom: 8px; }
.wf-app {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: var(--app-bg); color: var(--white); padding: 8px 6px;
  border-radius: var(--radius-sm); font-size: .9rem; min-width: 56px;
}
.wf-app span { font-size: .55rem; font-weight: 700; }
.wf-arr { font-size: .8rem; color: var(--muted); font-weight: 700; }
.wf-result { text-align: center; padding: 7px; background: #D1FAE5; border-radius: var(--radius-sm); font-size: .65rem; color: #065F46; margin-top: 4px; }
.wf-result strong { font-weight: 800; }

/* --- WordPress Admin --- */
.mock-wp {
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden;
  width: 100%; max-width: 300px; box-shadow: var(--shadow-md);
}
.wp-admin-bar { background: #23282D; display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.wpa-logo { width: 18px; height: 18px; background: #3858E9; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; font-weight: 800; color: var(--white); flex-shrink: 0; }
.wpa-title { font-size: .6rem; color: #ccc; font-weight: 600; flex: 1; }
.wpa-right { width: 16px; height: 16px; background: #3C434A; border-radius: 50%; }
.wp-body { display: flex; }
.wp-sidebar { width: 55px; background: #2C3338; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.wps-item { height: 6px; background: rgba(255,255,255,.2); border-radius: 2px; }
.wps-item.active { background: #2271B1; }
.wps-item.short { width: 60%; }
.wp-content { flex: 1; padding: 10px; }
.wpc-header { height: 8px; background: var(--navy); border-radius: 3px; margin-bottom: 10px; width: 60%; }
.wpc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.wpcg-card { padding: 8px 6px; background: var(--light); border-radius: 4px; text-align: center; }
.wpc-icon { font-size: .8rem; }
.wpc-stat { font-size: .52rem; font-weight: 700; color: var(--navy); margin-top: 2px; }

/* ========== SKILLS ========== */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.skill-group {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.sg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sg-emoji { font-size: 1.3rem; }
.sg-head h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud span {
  padding: 5px 12px; background: var(--light); border-radius: 50px;
  font-size: .82rem; color: var(--text); font-weight: 500;
  border: 1px solid var(--border); transition: all var(--transition);
}
.tag-cloud span:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ========== EXPERIENCE / TIMELINE ========== */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 0; }
.tl-marker { display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.tl-dot {
  width: 16px; height: 16px; background: var(--navy); border-radius: 50%;
  border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--navy);
  flex-shrink: 0; position: relative; z-index: 1;
}
.tl-line { flex: 1; width: 2px; background: var(--border); margin-top: 4px; }
.tl-card {
  background: var(--white); border-radius: var(--radius); padding: 24px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  margin-bottom: 24px; margin-left: 24px;
  transition: all var(--transition);
}
.tl-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(27,58,107,.25); }
.tl-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tl-date { font-size: .78rem; font-weight: 700; color: var(--blue); background: var(--light-alt); padding: 2px 10px; border-radius: 50px; }
.tl-industry { font-size: .72rem; color: var(--muted); font-weight: 500; }
.tl-role { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.tl-company { font-size: .9rem; color: var(--blue); font-weight: 600; margin-bottom: 12px; font-style: italic; }
.tl-bullets { display: flex; flex-direction: column; gap: 6px; }
.tl-bullets li { font-size: .88rem; color: var(--text); padding-left: 14px; position: relative; line-height: 1.5; }
.tl-bullets li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; font-size: .75rem; top: 1px; }

/* ========== CONTACT ========== */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start;
}
.contact-left .section-eyebrow.light { color: rgba(255,255,255,.7); }
.contact-left .section-title.light { color: var(--white); }
.contact-desc { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.7; margin-bottom: 32px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 40px; height: 40px; background: rgba(255,255,255,.1); border-radius: 10px;
  display: grid; place-items: center; color: var(--white); flex-shrink: 0;
}
.ci-label { font-size: .72rem; color: rgba(255,255,255,.6); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }
.ci-val { font-size: .9rem; color: var(--white); font-weight: 500; }
a.ci-val:hover { color: var(--gold); }

.contact-form {
  background: var(--white); border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow-xl);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .9rem; color: var(--text);
  transition: border-color var(--transition); resize: vertical;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-success {
  display: none; margin-top: 14px; padding: 12px 16px; background: #D1FAE5;
  color: #065F46; border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; text-align: center;
}

/* ========== FOOTER ========== */
.footer { background: var(--navy-dark); padding: 40px 0; }
.footer-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-title { font-size: .78rem; color: rgba(255,255,255,.6); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy);
  color: var(--white); box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--blue); transform: translateY(-3px); }

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-right { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-photo-side { justify-content: center; }
  .hero-btns, .hero-contact-row { justify-content: center; }
  .hero-bio { margin-left: auto; margin-right: auto; }
  .avail-badge { display: inline-flex; }
  .photo-ring-outer { width: 300px; height: 300px; }
  .photo-ring-inner { width: 240px; height: 240px; }
  .photo-circle { width: 220px; height: 220px; }
  .fc-1 { top: -10px; left: 10px; }
  .fc-2 { bottom: 0; right: 10px; }
  .fc-3 { display: none; }

  .tl-item { grid-template-columns: 1fr; }
  .tl-marker { display: none; }
  .tl-card { margin-left: 0; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: center; justify-content: center;
    gap: 24px; transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-a { font-size: 1.1rem; }
  .btn-hire { padding: 12px 28px; font-size: 1rem; }
  .hamburger { display: flex; }

  .section { padding: 60px 0; }
  .stats-row { gap: 32px; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 2.2rem; }
  .port-tabs { gap: 6px; }
  .tab { padding: 6px 14px; font-size: .8rem; }
  .float-card { display: none; }
  .photo-ring-outer, .photo-ring-inner { display: none; }
}
