:root {
  scroll-behavior: smooth;
  /* Colores principales */
  --bg: #f3edea;         /* Fondo principal negro profundo */
  --card: #ffffff;       /* Fondo de tarjetas o secciones */
  --text: #000000;       /* Texto principal blanco */
  --muted: #a8a8a8;      /* Texto secundario gris claro */
  --accent: #3b82f6;     /* Azul destacado (botones, énfasis) */
  --accent-light: #57a2e8;     /* Azul destacado (botones, énfasis) */
  --link: #698dd9;       /* Azul más intenso para enlaces */
  --border: #2a2a2a;     /* Bordes sutiles y divisores */

  /* Botones */
  --btn-bg: linear-gradient(90deg, #6f96e9, #174ad5);
  --btn-text: #ffffff;
  --btn-border: #1e40af;

  /* Menú móvil */
  --menu-bg: rgba(26, 26, 26, 0.95);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:#0d1117;
    --text: #ffffff; 
    --card: #131922; 
    --text-light: #848484; 
    --accent: #10b981;
    --accent-light: #34d399;
    --accent-glow: rgba(16, 185, 129, 0.15);
  }
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  background-color: var(--bg);
  overflow: hidden;
  pointer-events: none;
}

.bg-animation::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotate(15deg);
  animation: move-grid 120s linear infinite;
}

.bg-animation::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, var(--accent-glow) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, var(--accent-glow) 0%, transparent 40%);
  filter: blur(60px);
  animation: move-glows 20s ease-in-out infinite alternate;
}

@keyframes move-grid {
  from { transform: rotate(15deg) translateY(0); }
  to { transform: rotate(15deg) translateY(50px); }
}

@keyframes move-glows {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(20px, 20px); }
}


.brand{
    color:var(--link)
}


* { box-sizing: border-box; }
html, body { margin: 0; padding: 0;   }

strong{
  color: var(--link);
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;

  
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  position: sticky;
  top: 0;
  background: rgba(11,16,32,.85);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
nav ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }

.brand { font-weight: 800; letter-spacing: .2px; }

main { padding: 2rem 0 4rem;  }

section { padding: 2rem 0; border-bottom: 1px solid var(--border); background-color: #0d0d0d00; margin-top: 20px; border-radius: 10px; padding: 20px; }

h1 { font-size: 2rem; margin: 0 0 .5rem; }
.section-title-alt { font-size: 2rem; margin: 0 0 .5rem; font-weight: bold; }
h2 { font-size: 1.6rem; margin: 0 0 .5rem; color: var(--accent-light); }
h3 { font-size: 1.15rem; margin: 1.2rem 0 .35rem; }

p { margin: .4rem 0 1rem; }
ul { margin: .25rem 0 .75rem 1.25rem; }

.hero-h1 {
  font-weight: 100;
  font-size: 5rem;
  line-height: 1;

}
.hero-h2 {
    animation: myAnim 2s ease 0s 1 normal forwards;
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1.1;
  max-width: 980px;
  text-align: center;
}
.hero { display: flex; align-items: center;  justify-content: center; min-height: 68vh; margin: 0;  background-color:#0d0d0d00; }

.hero-copy {
  max-width: 820px;
  margin: 1.2rem auto 0;
  text-align: center;
  font-size: 1.12rem;
  color: var(--text);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(820px, 100%);
  margin: 1.8rem auto 0;
}

.hero-proof div,
.value-card {
  border: 1px solid rgba(16, 185, 129, 0.22);
  background: rgba(19, 25, 34, 0.72);
  border-radius: 10px;
}

.hero-proof div {
  padding: 1rem;
  text-align: center;
}

.hero-proof strong {
  display: block;
  color: var(--accent-light);
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero-proof span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text);
  font-size: 0.88rem;
}

.kpis { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

.kpi {
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
  min-width: 220px;
  border: 1px solid var(--border);
}

.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem; align-items: center;  justify-content: center;}

.btn {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--btn-border);
}

.hero-header{
  display: flex; align-items: center;  flex-direction: column; justify-content: center;
}

.btn.primary {

  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
}

.grid { display: grid; gap: 1rem; }
.grid.cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.value-card {
  padding: 1.1rem;
}

.value-card h3 {
  margin-top: 0;
  color: var(--accent-light);
}

.value-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.text{
  color: var(--text);
}

.card {
  background: var(--card);
  color: var(--text);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  cursor: pointer;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: rgba(23, 23, 23, 0.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border-radius: 16px;
  color: var(--text-light);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--accent-light);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-content { padding: 1.5rem; }
}

.modal-info h2 {
  margin-top: 0;
  color: var(--accent-light);
  font-size: 2rem;
}

.modal-meta {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-description {
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-slider-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.card-img, .parallax {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  display: block;
}

/* Slider CSS */
.slider-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}

.slider-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  gap: 0;
}

.slider-wrapper::-webkit-scrollbar {
  height: 6px;
}

.slider-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.slider-wrapper::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.slider-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

.slider-wrapper > img, 
.slider-wrapper > a {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  display: block;
}

.slider-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0; 
  display: block;
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.slider-container:hover .slider-btn {
  opacity: 1;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-btn:hover {
  background: rgba(59, 130, 246, 0.8);
}

/* Certifications Slider Specifics */
#certifications-slider .slider-image {
  height: auto;
  max-height: 400px;
  object-fit: cover;
  background: #111;
}

#certifications-slider .slider-container {
  max-width: 800px;
  margin: 2rem auto;
  border: 1px solid var(--border);
}


.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

.tag {
  padding: .25rem .5rem;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--muted);
}

.muted { color: var(--muted); }

footer { padding: 2rem 0; color: var(--muted); }

/* Listas con iconos */
.icon-list-header li { display: flex; flex-direction: row; align-items: center; padding: 5px;}
.icon-list-header img { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 0 2px var(--link)); }
.nav-links img { width: 28px; height: 28px; color: var(--link); }
.nav-links :hover{ transition: 0.3s; scale: 110%; }

i{
  width: 12px; height: 12px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 0 2px var(--link)); 
}

.icon-list, .lang-list { list-style: none; padding: 0; margin: 0; }
.icon-list li, .lang-list li { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.95rem; }
.icon-list img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 0 2px rgb(255,255,255)); }
.lang-list img { width: 20px; height: 14px; border-radius: 2px; flex-shrink: 0; }

/* Botón menú móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  z-index: 20;
}
.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Menú mobile */
.nav-links { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }



@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid.cols-2, .grid.cols-3, .value-grid, .hero-proof { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .profile-pic-wrapper{display: none;}

  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    width: 100%;
    background: var(--menu-bg);
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  .hero-h1 {
  font-weight: 100;
  font-size: 3rem;
}

.hero-h2 {
  font-weight: 700;
  font-size: 1.9rem;
}

.hero-copy {
  font-size: 1rem;
}

.neon-text {
      font-size: 2rem;
  }
.icon-list-header { display: none; }
.icon-list-header li { display: none; flex-direction: column; }

.icon-list-header img { width: 38px; height: 38px; object-fit:cover ; flex-shrink: 0; filter: drop-shadow(0 0 2px var(--link)); }
  
}


@keyframes myAnim {
	0% {
		opacity: 0;
		transform: translateX(-50px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes myAnim2 {
	0% {
		opacity: 0;
		transform: translateX(-50px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}




.sobremi{
  display: flex;
  align-items: center;  
  flex-direction: row; 
  justify-content: center;
  width: 100%;
  gap: 30px;
}

.profile-pic-wrapper { 
    margin: 0;
    min-width: 40%;
    border-radius: 100%; 
    overflow: hidden; 
} 

.profile-pic { 
  margin-top: -20px;
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}


.experience-section {
padding: 4rem 1rem;
margin: 0 auto;
}


.section-title {
font-size: 2rem;
font-weight: 600;
text-align: left;
margin-bottom: 3rem;
}


.timeline {
position: relative;
margin-left: 1.5rem;
border-left: 2px solid #e0e0e0;
}


.timeline-item {
position: relative;
margin-bottom: 2.5rem;
padding-left: 1.5rem;
}


.timeline-dot {
position: absolute;
left: -7px;
top: 0.4rem;
width: 12px;
height: 12px;
background: #4f46e5;
border-radius: 50%;
}


.timeline-content h3 {
font-size: 1.1rem;
margin-bottom: 0.3rem;
font-weight: 600;
}


.timeline-content .date {
font-size: 0.9rem;
margin-bottom: 0.6rem;
}


.timeline-content p {
color: var(--text-light);
line-height: 1.5;
margin-bottom: 0.8rem;
}


.tags {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
padding: 0;
list-style: none;
}


.tags li {
background: #f3f4f6;
color: #374151;
font-size: 0.8rem;
padding: 0.3rem 0.6rem;
}


@media (max-width: 600px) {
.experience-section {
padding: 3rem 1rem;
}
.timeline {
margin-left: 1rem;
}
}

    .responsibilities{margin:8px 0 0;padding-left:18px}
    .responsibilities li{margin:6px 0;color:var(--text)}



    .hero-header h1, .hero-header h2 {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.hero-header.visible h1,
.hero-header.visible h2 {
  opacity: 1;
  transform: translateY(0);
}

.btn.primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.icon-list-header li {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.icon-list-header li.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline & Experience Section */
.experience-timeline {
  position: relative;
  padding: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  box-shadow: 0 0 15px var(--accent-glow);
  z-index: 1;
}

.timeline-item {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  width: 64px;
  height: 64px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--accent-glow);
  flex-shrink: 0;
  position: relative;
}

.timeline-dot img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}

.timeline-dot img.company-logo {
  width: 42px;
  height: 42px;
  filter: none;
}

.experience-card {
  background: rgba(23, 23, 23, 0.4);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  padding: 1.8rem;
  border-radius: 16px;
  width: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.experience-card h3 {
  margin: 0;
  color: var(--accent-light);
  font-size: 1.3rem;
  font-weight: 600;
}

.experience-card .company {
  color: var(--text);
  font-weight: 500;
  margin: 0.3rem 0;
}

.experience-card .date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.experience-card .description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.experience-card .tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-light);
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

@media (max-width: 600px) {
  .timeline-line { left: 15px; }
  .timeline-dot { width: 32px; height: 32px; }
  .timeline-dot img,
  .timeline-dot img.company-logo { width: 22px; height: 22px; border-radius: 6px; }
  .timeline-item { gap: 1rem; }
}

.btn.primary:hover {
  box-shadow: 0 0 15px rgba(0,123,255,0.7);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Armónico-inspired visual system */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #111111;
  --text-light: #6b6b6b;
  --text-muted: #6b6b6b;
  --muted: #6b6b6b;
  --accent: #111111;
  --accent-light: #111111;
  --accent-glow: transparent;
  --link: #111111;
  --border: #111111;
  --btn-bg: transparent;
  --btn-text: #111111;
  --btn-border: #111111;
  --menu-bg: #ffffff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #ffffff;
    --card: #ffffff;
    --text: #111111;
    --text-light: #6b6b6b;
    --text-muted: #6b6b6b;
    --muted: #6b6b6b;
    --accent: #111111;
    --accent-light: #111111;
    --accent-glow: transparent;
  }
}

html,
body {
  background: #ffffff;
}

body {
  font-family: var(--sans);
  color: var(--text);
}

.bg-animation {
  display: none;
}

a {
  color: #111111;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

strong {
  color: inherit;
}

.hero-h2 strong {
  font-weight: 400;
}

.wrap {
  max-width: 1180px;
  padding: 0 24px;
}

header {
  position: static;
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid #111111;
}

nav {
  height: 65px;
}

nav ul {
  gap: 2rem;
}

.brand {
  color: #111111;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.nav-links a {
  color: #111111;
  font-size: 14px;
  font-weight: 400;
}

.nav-links :hover {
  scale: 1;
}

main {
  padding: 0 0 5rem;
}

section {
  margin-top: 0;
  padding: 40px 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
}

.about-compact {
  padding: 28px 0 32px;
  border-bottom: 1px solid #111111;
}

.hero {
  min-height: auto;
  justify-content: flex-start;
  padding: 52px 0 32px;
}

.hero > div,
.hero-header {
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b6b6b;
  margin: 0 0 1rem;
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #111111;
  margin-bottom: 0.5rem;
}

.hero-h2 {
  max-width: 680px;
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: left;
  color: #6b6b6b;
}

.hero-h2 strong {
  color: #111111;
  font-weight: 400;
}

.hero-copy {
  max-width: 560px;
  margin: 0.9rem 0 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  color: #6b6b6b;
}

.hero-proof {
  width: min(780px, 100%);
  margin: 1.6rem 0 0;
  gap: 0;
  border: 1px solid #111111;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-proof div {
  border: 0;
  border-right: 1px solid #111111;
  border-radius: 0;
  background: #ffffff;
  padding: 1rem 1.2rem;
  text-align: left;
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: #111111;
}

.hero-proof span {
  color: #6b6b6b;
  font-size: 0.8rem;
}

.btns {
  justify-content: flex-start;
  margin: 1.4rem 0;
}

.hero-btns {
  margin: 1.4rem 0 0;
}

.btn {
  border: 1px solid #111111;
  border-radius: 0;
  padding: 10px 20px;
  color: #111111;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn.primary {
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  padding: 10px 24px;
}

.btn.primary:hover,
.card:hover,
.experience-card:hover {
  transform: none;
  box-shadow: none;
}

h1,
h2,
h3,
.section-title,
.section-title-alt {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #111111;
}

h2,
.section-title,
.section-title-alt {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: #6b6b6b;
}

.value-grid,
.grid {
  gap: 1px;
}

.about-compact .value-grid {
  border: 1px solid #111111;
}

.about-compact .value-card {
  border: 0;
  border-right: 1px solid #111111;
}

.about-compact .value-card:last-child {
  border-right: 0;
}

.about-compact .value-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.about-compact .value-card p {
  font-size: 0.88rem;
  margin: 0;
}

.value-card,
.card,
.experience-card {
  background: #ffffff;
  border: 1px solid #111111;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.value-card {
  padding: 1.4rem;
}

.value-card h3,
.experience-card h3,
.modal-info h2 {
  color: #111111;
}

.value-card p,
.experience-card .description,
.experience-card .company,
.experience-card .date {
  color: #6b6b6b;
}

.card {
  padding: 0;
  overflow: hidden;
}

.card h3,
.card p,
.card .tags {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.card p:last-child {
  padding-bottom: 1rem;
}

.slider-container,
.slider-image,
.card-img,
.parallax {
  border-radius: 0;
}

.slider-image {
  height: 260px;
  border-bottom: 1px solid #111111;
}

.slider-btn {
  opacity: 1;
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
  border-radius: 0;
}

.slider-btn:hover {
  background: #111111;
  color: #ffffff;
}

.tag {
  background: transparent;
  color: #111111;
  border: 1px solid #111111;
  border-radius: 0;
  text-transform: lowercase;
}

.timeline-line {
  background: #111111;
  box-shadow: none;
}

.timeline-dot {
  background: #ffffff;
  border: 1px solid #111111;
  border-radius: 0;
  box-shadow: none;
}

.timeline-dot img,
.timeline-dot img.company-logo {
  border-radius: 0;
}

.modal-content {
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
  border-radius: 0;
  box-shadow: none;
}

.modal {
  background: rgba(255, 255, 255, 0.9);
}

.modal-slider-container {
  border: 1px solid #111111;
  border-radius: 0;
}

#certifications-slider .slider-container {
  border: 1px solid #111111;
}

footer {
  border-top: 1px solid #111111;
}

@media (max-width: 850px) {
  .nav-links {
    background: #ffffff;
    border-top: 1px solid #111111;
  }

  .menu-toggle span {
    background: #111111;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 0;
  }

  .hero-proof div {
    border-bottom: 1px solid #111111;
  }

  .hero-proof div:nth-child(odd) {
    border-right: 1px solid #111111;
  }

  .hero-proof div:nth-child(even) {
    border-right: 0;
  }

  .about-compact .value-card {
    border-right: 0;
    border-bottom: 1px solid #111111;
  }

  .about-compact .value-card:last-child {
    border-bottom: 0;
  }
}

/* ── Section lead ── */
.section-lead {
  font-size: 1.1rem;
  color: #6b6b6b;
  max-width: 780px;
  margin: 0 0 2.5rem;
  line-height: 1.65;
}

/* ── Python/Automation section ── */
.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  border: 1px solid #111111;
  margin-bottom: 1.5rem;
}

.auto-card {
  padding: 1.8rem;
  background: #ffffff;
  border: 0;
}

.auto-card:nth-child(1),
.auto-card:nth-child(2) {
  border-bottom: 1px solid #111111;
}

.auto-card:nth-child(odd) {
  border-right: 1px solid #111111;
}

.auto-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.auto-card h3 {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.1rem;
  font-family: var(--serif);
  font-weight: 400;
}

.auto-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #6b6b6b;
  line-height: 1.6;
}

.automation-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ── Skills section ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.skill-card {
  border: 1px solid #111111;
  padding: 1.6rem;
  background: #ffffff;
}

.skill-highlight {
  grid-column: 1 / -1;
  background: #f9f9f9;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.skill-icon-lg {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.skill-card-header h3 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
}

.skill-level {
  font-size: 0.78rem;
  color: #6b6b6b;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Languages section ── */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lang-card {
  border: 1px solid #111111;
  padding: 1.6rem;
}

.lang-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.lang-header img {
  width: 32px;
  height: 22px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #ddd;
}

.lang-header strong {
  display: block;
  font-size: 1rem;
  color: #111111;
}

.lang-level {
  display: block;
  font-size: 0.78rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.1rem;
}

.lang-bar {
  height: 3px;
  background: #e5e5e5;
  margin-bottom: 1rem;
}

.lang-bar-fill {
  height: 100%;
  background: #111111;
}

.lang-detail {
  font-size: 0.88rem;
  color: #6b6b6b;
  line-height: 1.6;
  margin: 0;
}

/* ── Reppy card enhancements ── */
.card-body {
  padding: 1.1rem;
}

.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6b6b;
  border: 1px solid #bbb;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.6rem;
}

.card-lead {
  font-size: 0.95rem;
  color: #6b6b6b;
  margin: 0.3rem 0 0.8rem;
  line-height: 1.55;
}

.card-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.8rem 0;
}

.card-highlights li {
  font-size: 0.85rem;
  color: #444;
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.card-highlights li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #aaa;
}

.card-links {
  margin: 0.8rem 0 0;
  font-size: 0.88rem;
}

/* ── Timeline dot links ── */
.timeline-dot a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: opacity 0.2s;
}

.timeline-dot a:hover {
  opacity: 0.75;
  text-decoration: none;
}

/* ── Responsive adjustments ── */
@media (max-width: 900px) {
  .automation-grid { grid-template-columns: 1fr; }
  .auto-card:nth-child(odd) { border-right: 0; }
  .auto-card:nth-child(1),
  .auto-card:nth-child(2),
  .auto-card:nth-child(3) { border-bottom: 1px solid #111111; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-highlight { grid-column: 1; }
  .lang-grid { grid-template-columns: 1fr; }
}
