/* ============================================================
   ANTONELLA PIENSO — Stylesheet
   Stack: CSS3 puro · Mobile-first · Sin frameworks
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg-main:       #11100E;
  --bg-secondary:  #1A1714;
  --text-primary:  #F4EFE7;
  --text-secondary:#B8AEA2;
  --accent-burg:   #8A2F2B;
  --accent-copper: #C08A5A;
  --divider:       #332C26;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --header-h:   5rem;
  --section-py: clamp(5rem, 10vw, 9rem);
  --container:  1200px;
  --gap:        clamp(1.5rem, 3vw, 3rem);

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
ul, ol     { list-style: none; }
a          { color: inherit; text-decoration: none; }
button     { font-family: inherit; cursor: pointer; background: none; border: none; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* ── Section base ───────────────────────────────────────────── */
.section {
  padding-block: var(--section-py);
  border-top: 1px solid var(--divider);
}

.section-header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-primary);
}

.section-sub {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  max-width: 55ch;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition:
    background   0.3s var(--ease-out),
    color        0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    transform    0.2s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background:   var(--accent-burg);
  border-color: var(--accent-burg);
  color:        var(--text-primary);
}

.btn-primary:hover {
  background:   #9e3532;
  border-color: #9e3532;
  transform:    translateY(-2px);
}

.btn-outline {
  background:   transparent;
  border-color: var(--divider);
  color:        var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent-copper);
  color:        var(--accent-copper);
  transform:    translateY(-2px);
}

.btn-lg {
  padding:   1rem 3rem;
  font-size: 0.76rem;
}

.btn-text {
  display:       inline-flex;
  align-items:   center;
  gap:           0.5rem;
  font-family:   var(--font-body);
  font-size:     0.72rem;
  font-weight:   400;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:         var(--accent-copper);
  border-bottom: 1px solid transparent;
  padding-bottom:0.15rem;
  transition:    border-color 0.2s ease, gap 0.2s ease;
}

.btn-text:hover {
  border-color: var(--accent-copper);
  gap: 0.85rem;
}

.link-subtle {
  color: var(--accent-copper);
  border-bottom: 1px solid rgba(192,138,90,0.35);
  transition: border-color 0.2s ease;
}
.link-subtle:hover { border-color: var(--accent-copper); }

/* ── Reveal animations ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}

[data-reveal].revealed {
  opacity:   1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] { transition-delay: 0.10s; }
[data-reveal][data-delay="2"] { transition-delay: 0.22s; }
[data-reveal][data-delay="3"] { transition-delay: 0.36s; }
[data-reveal][data-delay="4"] { transition-delay: 0.52s; }

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  transition:
    background   0.45s var(--ease-out),
    box-shadow   0.45s var(--ease-out),
    height       0.35s var(--ease-out),
    backdrop-filter 0.45s var(--ease-out);
}

.site-header.scrolled {
  background:      rgba(17, 16, 14, 0.94);
  box-shadow:      0 1px 0 var(--divider);
  height:          4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  height:          100%;
  padding-inline:  clamp(1.25rem, 4vw, 3.5rem);
  max-width:       1400px;
  margin-inline:   auto;
}

/* Logo */
.nav-logo {
  display:        flex;
  flex-direction: column;
  line-height:    1;
  gap:            0.25rem;
}

.logo-name {
  font-family:    var(--font-display);
  font-size:      clamp(0.85rem, 1.4vw, 1.1rem);
  letter-spacing: 0.28em;
  color:          var(--text-primary);
  font-weight:    400;
  transition:     color 0.2s ease;
}

.logo-sub {
  font-size:      0.55rem;
  letter-spacing: 0.22em;
  color:          var(--text-secondary);
  text-transform: uppercase;
}

.nav-logo:hover .logo-name { color: var(--accent-copper); }

/* Desktop nav */
.nav-links {
  display:     none;
  align-items: center;
  gap:         2.5rem;
}

.nav-links a {
  font-size:      0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          var(--text-secondary);
  padding-block:  0.4rem;
  position:       relative;
  transition:     color 0.2s ease;
}

.nav-links a::after {
  content:          '';
  position:         absolute;
  inset-inline:     0;
  bottom:           0;
  height:           1px;
  background:       var(--accent-copper);
  transform:        scaleX(0);
  transform-origin: left;
  transition:       transform 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { color: var(--accent-copper) !important; }

/* Hamburger */
.menu-toggle {
  display:         flex;
  flex-direction:  column;
  justify-content: space-between;
  width:           1.5rem;
  height:          0.9rem;
  padding:         0;
  z-index:         200;
  position:        relative;
}

.hline {
  display:          block;
  width:            100%;
  height:           1px;
  background:       var(--text-primary);
  transition:       transform 0.35s var(--ease), opacity 0.25s ease;
  transform-origin: center;
}

.menu-toggle.is-open .hline:nth-child(1) { transform: translateY(0.45rem) rotate(45deg); }
.menu-toggle.is-open .hline:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open .hline:nth-child(3) { transform: translateY(-0.45rem) rotate(-45deg); }

/* Mobile nav overlay */
.nav-links.nav-open {
  display:        flex;
  flex-direction: column;
  position:       fixed;
  inset:          0;
  background:     var(--bg-main);
  align-items:    center;
  justify-content:center;
  gap:            2.5rem;
  z-index:        150;
}

.nav-links.nav-open a {
  font-size:      1.6rem;
  letter-spacing: 0.15em;
  color:          var(--text-secondary);
}

.nav-links.nav-open a::after { display: none; }

.nav-links.nav-open a:hover { color: var(--text-primary); }

@media (min-width: 1024px) {
  .nav-links    { display: flex; }
  .menu-toggle  { display: none; }
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  position:    relative;
  min-height:  100vh;
  min-height:  100svh;
  display:     flex;
  align-items: center;
  justify-content: center;
  overflow:    hidden;
}

/* No-media version: subtle warmth */
.hero:not(.hero--media) {
  background:
    radial-gradient(ellipse 90% 60% at 25% 55%, rgba(138, 47, 43, 0.09) 0%, transparent 70%),
    radial-gradient(ellipse 70% 90% at 75% 25%, rgba(192, 138, 90, 0.05) 0%, transparent 70%),
    var(--bg-main);
}

.hero-bg {
  position: absolute;
  inset:    0;
  z-index:  0;
}

.hero-img,
.hero-video {
  width:           100%;
  height:          100%;
  object-fit:      cover;
  object-position: center center;
}

.hero-overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    160deg,
    rgba(17,16,14,0.25) 0%,
    rgba(17,16,14,0.55) 55%,
    rgba(17,16,14,0.92) 100%
  );
}

.hero-content {
  position:   relative;
  z-index:    2;
  text-align: center;
  padding:    clamp(2rem, 5vw, 4rem);
  padding-top:calc(var(--header-h) + 2rem);
  max-width:  900px;
  width:      100%;
}

.hero-label {
  font-size:      0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color:          var(--accent-copper);
  margin-bottom:  1.75rem;
}

.hero-title {
  font-family:    var(--font-display);
  font-size:      clamp(3.8rem, 13vw, 10.5rem);
  font-weight:    300;
  line-height:    0.93;
  letter-spacing: 0.07em;
  color:          var(--text-primary);
  margin-bottom:  1.5rem;
  display:        flex;
  flex-direction: column;
  align-items:    center;
}

.hero-tagline {
  font-size:      0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color:          var(--text-secondary);
  margin-bottom:  2.25rem;
}

.hero-quote {
  font-family:   var(--font-display);
  font-size:     clamp(1rem, 2.5vw, 1.4rem);
  font-style:    italic;
  font-weight:   300;
  color:         var(--text-secondary);
  max-width:     50ch;
  margin-inline: auto;
  margin-bottom: 3rem;
  line-height:   1.6;
}

.hero-actions {
  display:         flex;
  gap:             1rem;
  justify-content: center;
  flex-wrap:       wrap;
}

.hero-scroll {
  position:  absolute;
  bottom:    2.5rem;
  left:      50%;
  transform: translateX(-50%);
  z-index:   2;
  display:   flex;
  align-items: center;
  justify-content: center;
}

.scroll-line {
  display:    block;
  width:      1px;
  height:     3.5rem;
  background: linear-gradient(to bottom, transparent, rgba(184, 174, 162, 0.5));
  animation:  scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.75); transform-origin: top; }
  60%      { opacity: 0.7;  transform: scaleY(1);    transform-origin: top; }
}

/* ════════════════════════════════════════════════════════════
   SOBRE MÍ
════════════════════════════════════════════════════════════ */
.sobre-inner {
  display:     grid;
  grid-template-columns: 1fr;
  gap:         var(--gap);
  align-items: start;
}

@media (min-width: 768px) {
  .sobre-inner {
    grid-template-columns: 1fr 1.45fr;
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
  }
}

.sobre-media { position: relative; }

.sobre-foto,
.sobre-placeholder {
  width:      100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display:    block;
}

.sobre-foto {
  filter: grayscale(15%) contrast(1.05);
}

.sobre-placeholder {
  background: var(--bg-secondary);
  border:     1px solid var(--divider);
  display:    flex;
  align-items: center;
  justify-content: center;
  position:   relative;
  overflow:   hidden;
}

.sobre-placeholder::before {
  content:  '';
  position: absolute;
  inset:    0;
  background: radial-gradient(ellipse at 50% 30%, rgba(192,138,90,0.07) 0%, transparent 70%);
}

.sobre-monogram {
  font-family:    var(--font-display);
  font-size:      7rem;
  font-weight:    300;
  letter-spacing: 0.25em;
  color:          var(--divider);
  position:       relative;
  z-index:        1;
  user-select:    none;
}

.sobre-content {
  display:        flex;
  flex-direction: column;
  gap:            1.5rem;
}

.sobre-text {
  font-size:   clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.9;
  color:       var(--text-secondary);
  font-weight: 300;
}

/* ════════════════════════════════════════════════════════════
   REEL
════════════════════════════════════════════════════════════ */
.section-reel {
  background: var(--bg-secondary);
}

/* Wrapper del video: fondo negro, centra el contenido */
.reel-wrapper {
  display:         flex;
  justify-content: center;
  background:      #000;
  border:          1px solid var(--divider);
}

.reel-embed {
  position:    relative;
  padding-top: 56.25%;
  background:  #000;
  overflow:    hidden;
}

.reel-embed iframe {
  position: absolute;
  inset:    0;
  width:    100%;
  height:   100%;
}

/* Video vertical (9:16) centrado — evita colapso antes de cargar metadata */
.reel-video {
  display:      block;
  width:        auto;
  max-width:    min(100%, 480px);
  max-height:   82vh;
  aspect-ratio: 9 / 16;
  margin:       0 auto;
  background:   #000;
}

.reel-placeholder {
  aspect-ratio: 16 / 9;
  background:   #0a0908;
  border:       1px solid var(--divider);
  display:      flex;
  align-items:  center;
  justify-content: center;
  max-height:   70vh;
}

.reel-ph-inner {
  text-align: center;
  padding:    2rem;
}

.reel-play-icon {
  width:   4rem;
  height:  4rem;
  color:   var(--accent-copper);
  opacity: 0.5;
  margin:  0 auto 1.5rem;
}

.reel-ph-text {
  font-family:    var(--font-display);
  font-size:      clamp(1.2rem, 3vw, 1.8rem);
  font-style:     italic;
  color:          var(--text-secondary);
  margin-bottom:  0.75rem;
}

.reel-ph-sub {
  font-size: 0.85rem;
  color:     var(--text-secondary);
}

/* ════════════════════════════════════════════════════════════
   FORMACIÓN — Timeline
════════════════════════════════════════════════════════════ */
.timeline {
  position:   relative;
  max-width:  680px;
  padding-left: 1rem;
}

.timeline::before {
  content:    '';
  position:   absolute;
  left:       0;
  top:        0.6rem;
  bottom:     1.5rem;
  width:      1px;
  background: linear-gradient(to bottom, var(--accent-copper), var(--divider));
}

.timeline-item {
  position:       relative;
  padding-left:   2.5rem;
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content:       '';
  position:      absolute;
  left:          -0.375rem;
  top:           0.55rem;
  width:         0.75rem;
  height:        0.75rem;
  border-radius: 50%;
  background:    var(--bg-main);
  border:        1px solid var(--accent-copper);
  box-shadow:    0 0 12px rgba(192,138,90,0.35);
  transition:    box-shadow 0.3s ease;
}

.timeline-item:hover::before {
  box-shadow: 0 0 20px rgba(192,138,90,0.55);
}

.timeline-year {
  display:        block;
  font-size:      0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color:          var(--accent-copper);
  margin-bottom:  0.5rem;
}

.timeline-title {
  font-family:   var(--font-display);
  font-size:     clamp(1.4rem, 3vw, 2.1rem);
  font-weight:   400;
  color:         var(--text-primary);
  line-height:   1.2;
  margin-bottom: 0.35rem;
}

.timeline-inst {
  color:       var(--text-secondary);
  font-size:   0.875rem;
  font-weight: 300;
}

.timeline-detail {
  font-family:  var(--font-display);
  font-size:    0.95rem;
  font-style:   italic;
  color:        var(--accent-copper);
  margin-top:   0.25rem;
  opacity:      0.8;
}

/* ════════════════════════════════════════════════════════════
   PROYECTOS
════════════════════════════════════════════════════════════ */
.section-proyectos { background: var(--bg-secondary); }

.projects-grid {
  display:    grid;
  grid-template-columns: 1fr;
  gap:        1px;
  background: var(--divider);
  border:     1px solid var(--divider);
}

@media (min-width: 600px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
  background:  var(--bg-secondary);
  padding:     clamp(1.75rem, 3vw, 2.75rem);
  position:    relative;
  overflow:    hidden;
  transition:  background 0.35s var(--ease-out);
}

.project-card::before {
  content:          '';
  position:         absolute;
  left:             0;
  top:              0;
  bottom:           0;
  width:            2px;
  background:       var(--accent-copper);
  transform:        scaleY(0);
  transform-origin: bottom;
  transition:       transform 0.5s var(--ease-out);
}

.project-card:hover { background: rgba(138, 47, 43, 0.06); }

.project-card:hover::before { transform: scaleY(1); }

.project-tipo {
  font-size:      0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color:          var(--accent-copper);
  margin-bottom:  0.85rem;
}

.project-title {
  font-family:   var(--font-display);
  font-size:     clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight:   400;
  font-style:    italic;
  color:         var(--text-primary);
  line-height:   1.2;
  margin-bottom: 0.8rem;
}

.project-meta {
  color:       var(--text-secondary);
  font-size:   0.82rem;
  font-weight: 300;
  line-height: 1.6;
}

.project-detail {
  color:      var(--text-secondary);
  font-size:  0.82rem;
  font-style: italic;
  margin-top: 0.75rem;
  opacity:    0.7;
}

/* ════════════════════════════════════════════════════════════
   HABILIDADES
════════════════════════════════════════════════════════════ */
.skills-grid {
  display:   flex;
  flex-wrap: wrap;
  gap:       0.65rem;
}

.skill-chip {
  display:        inline-block;
  padding:        0.55rem 1.25rem;
  border:         1px solid var(--divider);
  font-size:      0.78rem;
  letter-spacing: 0.05em;
  font-weight:    300;
  color:          var(--text-secondary);
  transition:     border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  user-select:    none;
}

.skill-chip:hover {
  border-color: var(--accent-copper);
  color:        var(--text-primary);
  background:   rgba(192,138,90,0.05);
}

/* ════════════════════════════════════════════════════════════
   GALERÍA
════════════════════════════════════════════════════════════ */
.section-galeria { background: var(--bg-secondary); }

.gallery-grid {
  display:    grid;
  grid-template-columns: repeat(2, 1fr);
  gap:        3px;
  background: var(--divider);
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  position:     relative;
  aspect-ratio: 3 / 4;
  overflow:     hidden;
  background:   var(--bg-main);
  cursor:       pointer;
}

.gallery-item--empty { cursor: default; }

.gallery-item img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
  transition: transform 0.8s var(--ease-out);
}

.gallery-item:not(.gallery-item--empty):hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position:   absolute;
  inset:      0;
  background: rgba(17,16,14,0);
  display:    flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.gallery-overlay span {
  font-family:    var(--font-display);
  font-size:      0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color:          var(--text-primary);
  opacity:        0;
  transform:      translateY(8px);
  transition:     opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(17,16,14,0.48);
}

.gallery-item:hover .gallery-overlay span {
  opacity:   1;
  transform: translateY(0);
}

/* Empty placeholder cell */
.gallery-empty-inner {
  width:           100%;
  height:          100%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--font-display);
  font-size:       2rem;
  font-weight:     300;
  letter-spacing:  0.1em;
  color:           var(--divider);
  background:      var(--bg-main);
  user-select:     none;
}

/* ════════════════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════════════════ */
.lightbox {
  position:        fixed;
  inset:           0;
  background:      rgba(17,16,14,0.97);
  z-index:         300;
  display:         flex;
  align-items:     center;
  justify-content: center;
  opacity:         0;
  pointer-events:  none;
  transition:      opacity 0.3s var(--ease-out);
  overscroll-behavior: none;
}

.lightbox.active {
  opacity:        1;
  pointer-events: all;
}

.lb-img-wrap {
  max-width:  90vw;
  max-height: 90vh;
  display:    flex;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width:  90vw;
  max-height: 88vh;
  object-fit: contain;
  user-select: none;
  display:    block;
}

.lb-close {
  position:    absolute;
  top:         1.25rem;
  right:       1.25rem;
  color:       var(--text-secondary);
  font-size:   1.5rem;
  width:       2.75rem;
  height:      2.75rem;
  border:      1px solid var(--divider);
  display:     flex;
  align-items: center;
  justify-content: center;
  transition:  border-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.lb-close:hover {
  border-color: var(--accent-copper);
  color:        var(--accent-copper);
}

.lb-nav {
  position:    absolute;
  top:         50%;
  transform:   translateY(-50%);
  color:       var(--text-secondary);
  width:       3rem;
  height:      3rem;
  border:      1px solid var(--divider);
  display:     flex;
  align-items: center;
  justify-content: center;
  font-size:   1rem;
  transition:  border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lb-prev { left:  1.25rem; }
.lb-next { right: 1.25rem; }

.lb-nav:hover {
  border-color: var(--accent-copper);
  color:        var(--accent-copper);
  background:   rgba(192,138,90,0.08);
}

/* ════════════════════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════════════════════ */
.contacto-inner {
  display: grid;
  gap:     clamp(3.5rem, 7vw, 6rem);
}

@media (min-width: 900px) {
  .contacto-inner {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
    gap:         clamp(3rem, 6vw, 8rem);
  }
}

.contacto-desc {
  margin-top:  1rem;
  color:       var(--text-secondary);
  font-size:   clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.75;
}

.contacto-list {
  display:    flex;
  flex-direction: column;
  gap:        1px;
  background: var(--divider);
  border:     1px solid var(--divider);
}

.contacto-item {
  display:          grid;
  grid-template-columns: 2.5rem 7rem 1fr;
  align-items:      center;
  gap:              1.25rem;
  padding:          1.25rem 1.5rem;
  background:       var(--bg-main);
  transition:       background 0.2s ease;
}

a.contacto-item:hover { background: var(--bg-secondary); }

.contacto-item--static { cursor: default; }

.ci-icon {
  color:   var(--accent-copper);
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-icon svg {
  width:  1.1rem;
  height: 1.1rem;
}

.ci-label {
  font-size:      0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--text-secondary);
  font-weight:    400;
}

.ci-value {
  font-family: var(--font-display);
  font-size:   clamp(0.95rem, 1.8vw, 1.1rem);
  color:       var(--text-primary);
  font-weight: 400;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
  background:  var(--bg-secondary);
  border-top:  1px solid var(--divider);
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-inner {
  display:        flex;
  flex-direction: column;
  gap:            1.75rem;
  margin-bottom:  2.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items:    center;
    justify-content:space-between;
    flex-wrap:      wrap;
    gap:            1.5rem;
  }
}

.footer-logo {
  font-family:    var(--font-display);
  font-size:      0.95rem;
  letter-spacing: 0.25em;
  color:          var(--text-secondary);
  transition:     color 0.2s ease;
}

.footer-logo:hover { color: var(--text-primary); }

.footer-nav {
  display:  flex;
  flex-wrap:wrap;
  gap:      1.25rem 2rem;
}

.footer-nav a {
  font-size:      0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          var(--text-secondary);
  transition:     color 0.2s ease;
}

.footer-nav a:hover { color: var(--text-primary); }

.footer-social {
  display: flex;
  gap:     0.75rem;
}

.footer-social a {
  width:   2.25rem;
  height:  2.25rem;
  border:  1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  color:       var(--text-secondary);
  transition:  border-color 0.2s ease, color 0.2s ease;
}

.footer-social a svg {
  width:  1rem;
  height: 1rem;
}

.footer-social a:hover {
  border-color: var(--accent-copper);
  color:        var(--accent-copper);
}

.footer-copy {
  font-size:   0.65rem;
  letter-spacing: 0.08em;
  color:       var(--divider);
  border-top:  1px solid var(--divider);
  padding-top: 1.5rem;
}

/* ── Focus styles ───────────────────────────────────────────── */
:focus-visible {
  outline:        1px solid var(--accent-copper);
  outline-offset: 3px;
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:   0.01ms !important;
    transition-duration:  0.01ms !important;
    scroll-behavior:      auto !important;
  }

  [data-reveal] {
    opacity:   1 !important;
    transform: none !important;
  }
}
