/* ==========================================================================
   QBO STUDIO - ISRAEL RÍOS PORTFOLIO (ULTRA-MODERN CLEAN LIGHT THEME)
   Fonts: Space Grotesk, Plus Jakarta Sans, JetBrains Mono
   Strict Aesthetic: Pristine White, Deep Obsidian Type, Soft Diffused Micro-Shadows
   Zero Retro Brackets, High-End Double-Bezel Card Architecture
   ========================================================================== */

:root {
  /* Color Palette - Crisp Light & Slate Obsidian */
  --bg-light: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-card-accent: #f0fdf4;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  /* Premium Accents */
  --accent-primary: #0f172a;
  --accent-primary-hover: #1e293b;
  --accent-wa: #16a34a;
  --accent-wa-hover: #15803d;
  --accent-indigo: #4f46e5;
  --accent-emerald: #059669;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #94a3b8;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.08);
  --shadow-glow-emerald: 0 12px 32px -8px rgba(16, 185, 129, 0.2);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-light);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Sticky */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-name-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-header-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--accent-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-header-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 160px 0 100px 0;
  background: radial-gradient(circle at 50% 0%, rgba(241, 245, 249, 0.8) 0%, rgba(255, 255, 255, 1) 70%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Modern Pill Badge (NO BRACKETS) */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.5);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
}

.text-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  background: var(--accent-wa);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow-emerald);
  transition: all var(--transition-fast);
}

.btn-wa-hero:hover {
  background: var(--accent-wa-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -8px rgba(22, 163, 74, 0.35);
  color: #ffffff;
}

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-ghost-hero:hover {
  background: var(--bg-surface);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Double-Bezel Profile Visual Card */
.hero-visual-card {
  position: relative;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.hero-visual-inner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
}

.profile-avatar-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text-main);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.profile-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.profile-info p {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-emerald);
  font-weight: 700;
}

.stat-pills-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
}

/* Sections General */
.section-padding {
  padding: 110px 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-indigo);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Founders / About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.about-grid-single {
  max-width: 860px;
  margin: 0 auto;
}

.card-bezel {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 10px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-bezel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-inner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.card-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.btn-linkedin-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: #0077b5;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 24px;
  width: fit-content;
  transition: all var(--transition-fast);
}

.btn-linkedin-pill:hover {
  background: #005885;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
  color: #ffffff;
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.6;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card-light {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.service-card-light:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-num-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-indigo);
  background: #e0e7ff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 20px;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Portfolio Section */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.portfolio-card-light {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.portfolio-card-light:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image-wrapper {
  background: #f8fafc;
  border-right: 1px solid var(--border-light);
  padding: 24px;
  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.mockup-frame {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-url {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-preview-container {
  overflow: hidden;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border: 1px solid var(--border-light);
  border-top: none;
  background: #ffffff;
  height: 280px;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card-light:hover .portfolio-img {
  transform: scale(1.04);
}

.portfolio-card-content {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rubro-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.portfolio-link-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);

}

.portfolio-link-indicator .arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.portfolio-card-light:hover .portfolio-link-indicator .arrow-icon {
  transform: translate(2px, -2px);
  background: var(--text-main);
  color: #ffffff;
}

/* Process Section */
.process-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-card-light {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.process-card-light:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text-main);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact Section - High-End Redesign */
.contact-cta-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, rgba(248, 250, 252, 0) 70%), var(--bg-surface);
}

.cta-box-light {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  box-shadow: 0 24px 48px -12px rgba(99, 102, 241, 0.08), 0 4px 16px -4px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-box-light .pill-badge {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.cta-box-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-emerald));
  border-radius: 0 0 6px 6px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-actions-dual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-email-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-email-light:hover {
  background: #ffffff;
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-location-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.country-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-light);
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.country-pill:hover {
  color: var(--accent-indigo);
  border-color: var(--accent-indigo);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Mobile Nav Drawer */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all var(--transition-fast);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 999;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-card-light {
    grid-template-columns: 1fr;
  }
  .portfolio-image-wrapper {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .process-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav, .header-actions {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-grid-5 {
    grid-template-columns: 1fr;
  }
  .cta-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   CIRCULAR PHOTO MASK & CV EXPERIENCE STYLES
   ========================================================================== */

.avatar-mask-container {
  display: inline-flex;
  position: relative;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.15);
  flex-shrink: 0;
}

.profile-photo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  border: 4px solid #ffffff;
  display: block;
  background-color: #f1f5f9;
}

.profile-photo-hero-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  border: 4px solid #ffffff;
  display: block;
  background-color: #f1f5f9;
}

/* Experience & CV Section */
.cv-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.exp-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.exp-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.exp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.exp-company {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.exp-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-indigo);
  background: #e0e7ff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.exp-role {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 12px;
}

.exp-body {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Education & Skills sidebar */
.cv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-box-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.education-item {
  margin-bottom: 16px;
}

.education-item:last-child {
  margin-bottom: 0;
}

.edu-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.edu-institution {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.skills-full-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  grid-column: 1 / -1;
  margin-top: 12px;
  width: 100%;
}

.skill-tags-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  width: 100%;
}

.skill-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.skill-item-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  transition: all var(--transition-fast);
  width: 100%;
}

.skill-item-card:hover {
  background: #ffffff;
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.skill-icon {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .skill-tags-grid {
    grid-template-columns: 1fr;
  }
}

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

/* ==========================================================================
   CLIENTS / BRANDS MARQUEE CAROUSEL STYLES
   ========================================================================== */

.marquee-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.marquee-header {
  text-align: center;
  margin-bottom: 32px;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 20px;
  position: relative;
  width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  animation: scroll-marquee 35s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.client-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.client-brand-pill:hover {
  background: #ffffff;
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.client-brand-pill .brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-indigo);
}

/* Platzi Courses List */
.platzi-courses-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.platzi-courses-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.platzi-courses-list li a:hover {
  background: #ffffff;
  color: var(--accent-indigo);
  border-color: var(--accent-indigo);
  transform: translateX(4px);
}

/* Redesigned Featured Bio Card (No Repeated Photo) */
.about-featured-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.about-featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-indigo), var(--accent-emerald));
}

.about-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.about-bio-text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-top: 28px;
  border-top: 1px dashed var(--border-light);
}

.about-highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.highlight-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-indigo);
  line-height: 1;
}

@media (max-width: 768px) {
  .about-featured-card {
    padding: 28px 24px;
  }
}




