/* ==========================================================================
   MATÍAS MAURICIO PERUZZI — EXECUTIVE DOSSIER
   Design System: Corporate, Editorial, Minimalist, Precision
   Dual Theme System: Light (Default) / Dark (Selectable)
   ========================================================================== */

:root,
:root[data-theme="light"] {
  --bg: #F8FAFC;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-light: rgba(0, 0, 0, 0.06);

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #1E293B;

  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --accent-light: rgba(29, 78, 216, 0.08);
  --accent-border: rgba(29, 78, 216, 0.25);

  --header-bg: rgba(255, 255, 255, 0.92);
  --hero-grad-start: rgba(241, 245, 249, 0.8);
  --hero-grad-end: rgba(248, 250, 252, 0);

  --success: #059669;
  --success-light: rgba(5, 150, 105, 0.1);
  --success-text: #065F46;

  --whatsapp: #16A34A;
  --whatsapp-hover: #15803D;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

:root[data-theme="dark"] {
  --bg: #0C111D;
  --bg-elevated: #131B2E;
  --bg-card: #162035;
  --bg-subtle: #1C2742;
  
  --border: #1F2E4D;
  --border-strong: #2D416B;
  --border-light: rgba(255, 255, 255, 0.08);

  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-light: #CBD5E1;

  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-light: rgba(37, 99, 235, 0.12);
  --accent-border: rgba(37, 99, 235, 0.35);

  --header-bg: rgba(12, 17, 29, 0.88);
  --hero-grad-start: rgba(19, 27, 46, 0.4);
  --hero-grad-end: rgba(12, 17, 29, 0);

  --success: #10B981;
  --success-light: rgba(16, 185, 129, 0.12);
  --success-text: #34D399;

  --whatsapp: #25D366;
  --whatsapp-hover: #20BD5A;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Global Icon Styling */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: currentColor;
}

/* ==================== NAVBAR & HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

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

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

.brand-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

.brand-title {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn-header-cta:hover {
  background: var(--accent-hover);
}

/* Header Actions Wrapper */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 600;
  transition: all 0.15s ease;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: var(--bg-subtle);
}

.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: inline-block;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: inline-block;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger-btn:focus-visible {
  outline: 2px solid var(--accent);
}

/* Mobile Navigation Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  z-index: 899;
}

.mobile-menu.open {
  display: block;
}

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

.mobile-nav-list .nav-link {
  font-size: 1rem;
  padding: 8px 0;
  display: block;
  border-bottom: 1px solid var(--border);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-muted);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 56px;
  align-items: center;
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--success-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--success-text);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--success);
}

.hero-headline {
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.18;
}

.hero-subhead {
  font-size: 1.15rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 660px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Profile Photo Card */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.photo-container {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.profile-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.profile-card-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 12px;
}

.profile-meta-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  font-family: var(--font-mono);
}

/* ==================== METRICS STRIP ==================== */
.metrics-section {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  border-left: 2px solid var(--border-strong);
  padding-left: 18px;
}

.metric-card:first-child {
  border-left-color: var(--accent);
}

.metric-number {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-title {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==================== SECTION LAYOUT ==================== */
.section {
  padding: 64px 0;
}

.section-bordered {
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 40px;
  max-width: 720px;
}

.section-header-centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.section-lead {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==================== 4-COLUMN SKILLS GRID (FIX COMPLETO) ==================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.skill-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.skill-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.skill-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.skill-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.skill-pill {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}

/* ==================== BUSINESS UNITS GRID ==================== */
.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.unit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.unit-card:hover {
  border-color: var(--border-strong);
}

.unit-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.unit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.unit-title-group h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.unit-subtitle {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.unit-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.unit-highlights {
  list-style: none;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.unit-highlights li {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.unit-highlights li svg {
  color: var(--accent);
}

/* ==================== TIMELINE ==================== */
.timeline-list {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 18px;
  width: 1px;
  background: var(--border-strong);
}

.timeline-entry {
  position: relative;
  padding-left: 52px;
  margin-bottom: 36px;
}

.timeline-entry:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 12px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.timeline-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.timeline-box-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-dates {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 600;
}

.timeline-org {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.timeline-bullets {
  list-style: none;
}

.timeline-bullets li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.timeline-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border-strong);
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  background: var(--bg-elevated);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 52px;
  align-items: start;
}

.contact-summary h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.channel-item:hover {
  border-color: var(--border-strong);
  background: var(--bg-subtle);
}

.channel-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.channel-item:hover .channel-icon-box {
  color: var(--accent);
}

.channel-info-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.channel-info-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.social-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

/* Contact Form Card */
.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.form-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-panel-lead {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.field-group {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.field-input, .field-textarea, .field-select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.15s ease;
}

.field-input:focus, .field-textarea:focus, .field-select:focus {
  outline: none;
  border-color: var(--accent);
}

.field-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-feedback {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 14px;
  display: none;
}

.form-feedback.success {
  background: var(--success-light);
  color: var(--success-text);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: block;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: block;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
}

.footer-copy {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-disclaimer {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==================== WHATSAPP INTERACTIVE WIDGET ==================== */
.wa-floating-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.wa-trigger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
  position: relative;
}

.wa-trigger-btn:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.05);
}

.wa-online-indicator {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  background: #10B981;
  border: 2px solid var(--bg);
  border-radius: 50%;
}

.wa-card-modal {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 330px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-card-modal.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-card-header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.wa-card-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.wa-card-location {
  font-size: 0.72rem;
  color: #34D399;
  font-family: var(--font-mono);
}

.wa-card-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.wa-card-close:hover {
  color: var(--text-primary);
}

.wa-card-body {
  padding: 16px;
  background: var(--bg);
}

.wa-prompt-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.wa-card-form input, .wa-card-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 8px 10px;
  font-size: 0.82rem;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.wa-card-form textarea {
  height: 64px;
  resize: none;
}

.wa-card-form input:focus, .wa-card-form textarea:focus {
  outline: none;
  border-color: var(--whatsapp);
}

.wa-submit-action {
  width: 100%;
  background: var(--whatsapp);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.wa-submit-action:hover {
  background: var(--whatsapp-hover);
}

/* ==================== RESPONSIVE RULES (MOBILE-FIRST ADAPTATION) ==================== */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .units-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .profile-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .desktop-nav, .btn-header-cta {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero-headline {
    font-size: 2.1rem;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .social-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .wa-card-modal {
    width: calc(100vw - 32px);
    right: -8px;
  }
}
