/* ═══════════════════════════════════════════════════════
   MARTÍN OSTROWER — ARQUITECTO  |  styles.css
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --mid:     #1e1e1e;
  --gold:    #b89a5f;
  --gold-lt: #d4b47a;
  --white:   #f5f0eb;
  --grey:    #8a8a8a;
  --light:   #e8e2db;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;
  --ease:    cubic-bezier(.25,.46,.45,.94);
  --ease-out: cubic-bezier(0,.55,.45,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ───────────────────────────────────────── */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ── Reveal animations ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }

/* ════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4%;
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
#navbar.scrolled {
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(16px);
  padding: .9rem 4%;
  border-bottom: 1px solid rgba(184,154,95,.15);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--ff-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--gold);
}
.logo-title {
  font-size: .65rem;
  letter-spacing: .25em;
  color: var(--grey);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--light);
  position: relative;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}

/* ════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20%;
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=2000&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform .05s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.5) 50%,
    rgba(0,0,0,.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 8%;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition-delay: .1s !important;
}

.hero-title {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(4.5rem, 10vw, 9rem);
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.hero-title .line { display: block; }
.hero-title .italic { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 3rem;
  transition-delay: .3s !important;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 1rem 2.5rem;
  border-radius: 0;
  transition: background .3s, color .3s, transform .3s;
  transition-delay: .4s !important;
}
.btn-hero:hover {
  background: var(--gold-lt);
  transform: translateX(6px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  z-index: 2;
  opacity: .6;
}
.scroll-indicator span {
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ════════════════════════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════════════════════ */
section { padding: 8rem 0; }

.section-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 2.5rem;
  color: var(--white);
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
#about { background: var(--dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-body {
  color: var(--grey);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--ff-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-number::after { content: '+'; }
.stat-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: .4rem;
}

.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?w=900&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  filter: grayscale(30%);
  transition: filter .5s;
}
.about-img:hover { filter: grayscale(0); }

.about-tag {
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  background: var(--gold);
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.about-tag span {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════
   PARALLAX STRIPS
═══════════════════════════════════════════════════════ */
.parallax-strip {
  position: relative;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-bg {
  position: absolute;
  inset: -30%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

#strip1 .strip-bg {
  background-image: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=2000&auto=format&fit=crop&q=80');
}
#strip2 .strip-bg {
  background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=2000&auto=format&fit=crop&q=80');
}
#strip3 .strip-bg {
  background-image: url('https://images.unsplash.com/photo-1448630360428-65456885c650?w=2000&auto=format&fit=crop&q=80');
}

.parallax-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1;
}

.strip-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.strip-content blockquote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--white);
  max-width: 800px;
  line-height: 1.4;
}
.strip-content cite {
  display: block;
  margin-top: 1rem;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
}
.strip-big {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

/* ════════════════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════════════ */
#projects { background: var(--black); padding-bottom: 0; }
#projects .container { padding-bottom: 3rem; }

/* Full-bleed project hero cards */
.project-hero-card {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 4px;
}

.proj-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.project-hero-card:hover .proj-bg {
  transform: scale(1.04);
}

.project-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.3) 60%,
    transparent 100%
  );
  z-index: 1;
  transition: background .5s;
}
.project-hero-card:hover::before {
  background: linear-gradient(
    to right,
    rgba(0,0,0,.6) 0%,
    rgba(0,0,0,.2) 60%,
    transparent 100%
  );
}

.proj-info {
  position: absolute;
  bottom: 10%;
  left: 6%;
  z-index: 2;
  max-width: 520px;
  transform: translateY(15px);
  transition: transform .5s var(--ease);
}
.project-hero-card:hover .proj-info { transform: translateY(0); }

.proj-index {
  display: block;
  font-size: .65rem;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.proj-title {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: .5rem;
}

.proj-type {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.proj-desc {
  font-size: .9rem;
  color: rgba(245,240,235,.75);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 420px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s .1s var(--ease), transform .5s .1s var(--ease);
}
.project-hero-card:hover .proj-desc { opacity: 1; transform: translateY(0); }

.proj-year {
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--grey);
}

/* Small project grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 4px;
  padding-bottom: 0;
}

.proj-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--mid);
}

.proj-card-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease);
}
.proj-card:hover .proj-card-img { transform: scale(1.06); }

.proj-card-body {
  padding: 1.5rem;
  background: var(--mid);
}
.proj-card-body .proj-index {
  font-size: .6rem;
  margin-bottom: .5rem;
}
.proj-card-body h4 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .3rem;
}
.proj-card-body p {
  font-size: .75rem;
  color: var(--grey);
  letter-spacing: .08em;
}

/* ════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════ */
#services { background: var(--dark); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 1rem;
}

.service-item {
  padding: 3rem 2.5rem;
  background: var(--mid);
  border: 1px solid rgba(255,255,255,.04);
  transition: background .4s, transform .4s;
  position: relative;
  overflow: hidden;
}
.service-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .5s var(--ease);
}
.service-item:hover { background: #252525; transform: translateY(-4px); }
.service-item:hover::before { width: 100%; }

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-item h3 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.service-item p {
  font-size: .85rem;
  color: var(--grey);
  line-height: 1.9;
}

/* ════════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════ */
#process { background: var(--black); }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 4rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.step {
  flex: 1;
  min-width: 180px;
  padding: 0 2rem;
  position: relative;
}

.step-num {
  font-family: var(--ff-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h4 {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .75rem;
}

.step p {
  font-size: .82rem;
  color: var(--grey);
  line-height: 1.8;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  align-self: center;
  flex-shrink: 0;
  margin-top: -60px;
  opacity: .4;
}

/* ════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
#contact {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  padding: 0;
}

.contact-parallax {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-bg {
  position: absolute;
  inset: -20%;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=2000&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  opacity: .12;
  will-change: transform;
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.section-label.light { color: var(--gold); }
.section-title.light { color: var(--white); }
.contact-text > p {
  color: var(--grey);
  font-size: .9rem;
  line-height: 1.9;
  margin-bottom: 3rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  color: var(--light);
}
.info-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }
.info-item a { color: var(--gold); transition: color .3s; }
.info-item a:hover { color: var(--gold-lt); }
.info-item span { color: var(--light); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition-delay: .2s !important;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.form-group label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: .88rem;
  font-weight: 300;
  padding: .9rem 1.1rem;
  outline: none;
  transition: border-color .3s, background .3s;
  resize: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(184,154,95,.06);
}
.form-group select option { background: var(--dark); }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  align-self: flex-start;
  background: var(--gold);
  color: var(--black);
  border: none;
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.btn-submit svg { width: 16px; height: 16px; transition: transform .3s; }
.btn-submit:hover { background: var(--gold-lt); transform: translateX(4px); }
.btn-submit:hover svg { transform: translateX(4px); }

.form-success {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(184,154,95,.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .85rem;
  letter-spacing: .05em;
}

/* ════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-brand .logo-name { font-size: .75rem; }
.footer-brand .logo-title { font-size: .6rem; }

.footer-copy {
  font-size: .72rem;
  color: var(--grey);
  letter-spacing: .05em;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}
.footer-links a {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color .3s;
}
.footer-links a:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════════
   CUSTOM SCROLLBAR
═══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-image-wrap { order: -1; }
  .about-img { aspect-ratio: 16/9; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #navbar { padding: 1rem 5%; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.97);
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  .nav-links.open li a {
    font-size: 1.8rem;
    font-family: var(--ff-serif);
    letter-spacing: .05em;
    color: var(--white);
    display: block;
    padding: 1rem;
  }

  .hero-content { padding-left: 5%; padding-right: 5%; }
  .hero-title { font-size: clamp(3.5rem, 15vw, 5rem); }

  section { padding: 5rem 0; }

  .stats-row { gap: 1.5rem; flex-wrap: wrap; }

  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; align-items: flex-start; }
  .step-connector { width: 1px; height: 40px; margin: 0 2rem; background: linear-gradient(to bottom, var(--gold), transparent); }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }

  .about-tag { left: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(3rem, 16vw, 4rem); }
  .parallax-strip { height: 40vh; }
}

/* ════════════════════════════════════════════════════════
   EXPERIENCE TIMELINE
═══════════════════════════════════════════════════════ */
#experience { background: var(--black); }

.timeline {
  position: relative;
  margin-top: 4rem;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(184,154,95,.1));
}

.tl-item {
  position: relative;
  padding: 0 0 3.5rem 3rem;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-marker {
  position: absolute;
  left: -5px;
  top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--mid);
  border: 2px solid var(--grey);
  transition: border-color .3s, background .3s;
}
.tl-marker.gold {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(184,154,95,.5);
}
.tl-item:hover .tl-marker { border-color: var(--gold); }

.tl-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .6rem;
  flex-wrap: wrap;
}
.tl-period {
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--grey);
  text-transform: uppercase;
}
.tl-badge {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 20px;
  font-weight: 500;
}
.tl-badge.exp   { background: rgba(184,154,95,.15); color: var(--gold); border: 1px solid rgba(184,154,95,.3); }
.tl-badge.edu   { background: rgba(255,255,255,.06); color: var(--light); border: 1px solid rgba(255,255,255,.15); }
.tl-badge.award { background: rgba(184,154,95,.25); color: var(--gold-lt); border: 1px solid var(--gold); }

.tl-title {
  font-family: var(--ff-serif);
  font-size: 1.55rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .3rem;
  line-height: 1.2;
}
.tl-org {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.tl-desc {
  font-size: .88rem;
  color: var(--grey);
  line-height: 1.85;
  max-width: 680px;
}
.tl-desc em { color: var(--light); font-style: italic; }
.tl-desc strong { color: var(--gold-lt); font-weight: 400; }

.tl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  max-width: 680px;
}
.tl-list li {
  font-size: .87rem;
  color: var(--grey);
  line-height: 1.7;
  padding-left: 1.2rem;
  position: relative;
}
.tl-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .75rem;
}

/* ════════════════════════════════════════════════════════
   SKILLS SECTION
═══════════════════════════════════════════════════════ */
#services { background: var(--dark); }

.skills-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.skills-cat {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: .02em;
}

/* Skill bars */
.skill-bars { display: flex; flex-direction: column; gap: 1.4rem; }

.skill-bar { display: flex; flex-direction: column; gap: .5rem; }

.sb-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sb-label > span:first-child {
  font-size: .82rem;
  color: var(--light);
  letter-spacing: .05em;
}
.sb-tag {
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,154,95,.3);
  padding: .1rem .5rem;
  border-radius: 10px;
}

.sb-track {
  height: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 1px;
  overflow: hidden;
}
.sb-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--gold), var(--gold-lt));
  border-radius: 1px;
  transition: width 1.2s cubic-bezier(.25,.46,.45,.94);
}

/* Service mini cards */
.service-items-mini { display: flex; flex-direction: column; gap: 1.8rem; }

.svc-mini {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.svc-mini svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: .2rem;
}
.svc-mini h4 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .3rem;
}
.svc-mini p {
  font-size: .82rem;
  color: var(--grey);
  line-height: 1.75;
}

/* Extra row: languages + awards */
.extra-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 2px;
}

.extra-card {
  background: var(--mid);
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,.04);
}
.extra-card .section-label { margin-bottom: 1.5rem; display: block; }

.lang-list { display: flex; flex-direction: column; gap: 1.25rem; }
.lang-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-flag { font-size: 1.6rem; }
.lang-item strong {
  display: block;
  font-size: .88rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: .15rem;
}
.lang-item span {
  font-size: .78rem;
  color: var(--grey);
}

.awards-list { display: flex; flex-direction: column; gap: 1.5rem; }
.award-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.award-icon {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: .1rem;
}
.award-item strong {
  display: block;
  font-size: .88rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: .2rem;
}
.award-item span {
  font-size: .78rem;
  color: var(--grey);
  line-height: 1.6;
}

/* Responsive skills */
@media (max-width: 900px) {
  .skills-block { grid-template-columns: 1fr; gap: 3rem; }
  .extra-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .timeline { padding-left: 1.5rem; }
  .tl-item { padding-left: 2rem; }
}

/* ── Cursor glow effect ──────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(184,154,95,.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  mix-blend-mode: screen;
}
