/* ========== Tokens ========== */
:root {
  --paper: #f4f3ec;
  --ink: #1b1b1b;
  --ink-soft: rgba(27, 27, 27, .62);
  --grid: rgba(0, 0, 0, .06);
  --lime: #d4f04f;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .95;
}
h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); text-align: center; text-wrap: balance; }

/* ========== Shared ========== */
.wallpaper {
  background: url("assets/wallpaper.svg") center / cover no-repeat, #7f9fc4;
}
.glass {
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  background: #fff; border-radius: 10px;
  font-size: .78rem; font-weight: 600; color: var(--ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
  transform: rotate(-3deg);
  margin-bottom: 18px;
}
[hidden] { display: none !important; }
.tag-dot { width: 14px; height: 14px; border-radius: 5px; background: var(--c); display: inline-block; }
.glass-tag { background: rgba(255, 255, 255, .85); }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 14px;
  background: #fff;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12), 0 0 0 1px rgba(0, 0, 0, .04);
  transform: rotate(-2deg);
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 16px 30px rgba(0, 0, 0, .16); }
.btn:focus-visible, .dock a:focus-visible, summary:focus-visible, .window:focus-visible {
  outline: 3px solid #2f6fe0; outline-offset: 3px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px var(--gutter) 150px;
  color: #fff;
  overflow: hidden;
}
.wordmark {
  position: absolute; top: 60px; left: 50%; translate: -50% 0;
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem;
}
.wordmark.dark { position: static; translate: none; color: var(--ink); }

.hero-inner { position: relative; text-align: center; margin-top: 8vh; }

/* Tarjeta de presentación: se expande al pasar el cursor (o con clic/tap y teclado) */
.status-wrap { --w: min(400px, calc(100vw - 2 * var(--gutter))); position: relative; width: var(--w); height: 62px; margin: 0 auto 8vh; z-index: 5; }
.status {
  position: absolute; inset: 0 0 auto 0; text-align: left; overflow: hidden;
  border-radius: 20px; background: rgba(30, 50, 80, .34);
  transition: background .3s, box-shadow .3s;
}
.status.open { background: rgba(24, 42, 72, .58); box-shadow: 0 18px 40px rgba(10, 25, 50, .35); }
.status-head {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px 10px 10px;
  background: none; border: 0; text-align: left; color: inherit;
}
.status-head:focus-visible { outline: 3px solid #fff; outline-offset: -3px; border-radius: 20px; }
.status-txt { display: block; min-width: 0; }
.status strong { display: block; font-size: .8rem; letter-spacing: .01em; line-height: 1.25; }
.status-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.status.open .status-more { grid-template-rows: 1fr; }
.status-inner { overflow: hidden; padding: 0 18px; opacity: 0; transition: opacity .25s, padding .35s; }
.status.open .status-inner { opacity: 1; padding: 4px 18px 18px; }
.status-inner p { font-size: .88rem; line-height: 1.5; font-weight: 500; }
.status-inner .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chips span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: .7rem; font-weight: 600; }
.status-inner a { display: inline-block; font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.avail { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 600; color: #e5ffe9; }
.avail i { width: 7px; height: 7px; border-radius: 50%; background: #34c75a; box-shadow: 0 0 0 3px rgba(52, 199, 90, .3); }
.avatar {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #ffb457, #ff6b8b); font-size: .7rem; font-weight: 700;
}
.hero h1 {
  font-size: clamp(2.6rem, 8.4vw, 6.6rem); max-width: 12ch; margin-inline: auto; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(20, 40, 70, .35);
}

.sticker {
  position: absolute;
  padding: 7px 14px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  border-radius: 10px; font-size: .78rem; font-weight: 600;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
  rotate: var(--r);
  animation: bob 5s ease-in-out infinite;
}
.s1 { left: -2%; top: 58%; }
.s2 { right: 2%; top: 6%; animation-delay: -1.5s; }
.s3 { right: 8%; bottom: -16%; animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ========== Paper ========== */
.paper {
  position: relative;
  padding-bottom: 60px;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 96px 96px;
  overflow: hidden;
}
.section {
  position: relative; z-index: 1;
  max-width: 1080px; margin-inline: auto;
  padding: clamp(80px, 12vw, 140px) var(--gutter) 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.lead { max-width: 560px; margin: 22px 0 26px; font-size: 1.12rem; font-weight: 500; color: #333; }
.dash { display: inline-block; width: 42px; height: 2px; background: var(--ink); vertical-align: middle; margin: 0 2px; }

/* Notes (paper cards with pin + folded corner) */
.note {
  position: relative;
  rotate: var(--r);
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .12));
  transition: rotate .3s, transform .3s;
}
.note:hover { rotate: 0deg; transform: translateY(-6px); }
.note-body {
  position: relative; background: #fff; border-radius: 20px;
  padding: 26px 26px 24px; text-align: left; height: 100%;
}
.note-body::before { /* pin */
  content: ""; position: absolute; top: 14px; left: 14px;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a8a, #d63b3b);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.note-body::after { /* folded corner */
  content: ""; position: absolute; top: 0; right: 0; width: 46px; height: 46px;
  border-top-right-radius: 20px;
  background: linear-gradient(225deg, var(--paper) 50%, var(--lime) 50%);
  box-shadow: -3px 3px 6px rgba(0, 0, 0, .12);
}
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  width: 100%; margin-top: clamp(60px, 9vw, 110px);
}
.stats .note-body { padding-top: 40px; }
.stats strong { font-family: var(--display); font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stats h3 { margin: 14px 0 6px; font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.stats p { font-size: .88rem; color: var(--ink-soft); }

/* Services */
.service-list { width: 100%; max-width: 780px; margin-top: 40px; display: grid; gap: 14px; }
.service-list li {
  display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 18px 22px; border-radius: 18px; background: var(--bg);
  transition: transform .25s;
}
.service-list li:nth-child(odd) { rotate: -.6deg; }
.service-list li:nth-child(even) { rotate: .6deg; }
.service-list li:hover { transform: translateX(6px) scale(1.01); }
.ic {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--ic); color: #fff; font-family: var(--display); font-weight: 800; font-size: .9rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .12);
}
.service-list h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
.service-list p { font-size: .9rem; color: var(--ink-soft); margin-top: 2px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; width: 100%; margin-top: 50px; }
.review-grid header { display: flex; align-items: center; gap: 10px; margin: 8px 40px 22px 18px; }
.ava { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c); font-size: .72rem; font-weight: 700; }
.review-grid b { display: block; font-size: .9rem; }
.review-grid small { color: var(--ink-soft); font-size: .72rem; }
blockquote { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.05; }
.stars { color: #f5b301; letter-spacing: 3px; margin: 14px 0; }
.review-grid p { font-size: .9rem; color: var(--ink-soft); }

/* FAQ */
.faq-list { width: 100%; max-width: 640px; margin-top: 44px; display: grid; gap: 12px; }
details {
  background: var(--bg); border-radius: 14px; rotate: var(--r); text-align: left;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .06), 0 10px 20px rgba(0, 0, 0, .06);
  transition: rotate .25s;
}
details[open] { rotate: 0deg; }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 22px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; font-size: .95rem; color: #333; max-width: 52ch; }

/* Doodles */
.doodles span { position: absolute; z-index: 0; }
.d-leaf { left: 3%; width: 90px; height: 70px; border: 3px solid var(--lime); border-radius: 100% 0 100% 0; rotate: 15deg; }
.d-zig { left: 12%; width: 60px; height: 24px; background: repeating-linear-gradient(135deg, #f7a6b5 0 6px, transparent 6px 12px); border-radius: 4px; rotate: -8deg; }
.d-square { right: 12%; width: 20px; height: 20px; background: #4fb0ff; rotate: 40deg; border-radius: 3px; }
.d-drops { right: 5%; width: 80px; height: 30px; background: radial-gradient(circle at 12px 10px, #7aa7ff 8px, transparent 9px) 0 0 / 30px 30px repeat-x; }

/* ========== Projects ========== */
.projects {
  padding: clamp(80px, 11vw, 140px) var(--gutter) 200px;
  display: flex; flex-direction: column; align-items: center;
}
.projects h2 { color: #1b1b1b; text-shadow: 0 1px 0 rgba(255, 255, 255, .15); max-width: 12ch; }
.project-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 44px; margin-top: 70px; width: 100%;
}
.project-grid .window { flex: 0 1 300px; min-width: 0; }
.window {
  position: relative; display: block; padding: 0 0 12px; text-align: left; border: 0;
  background: #f7f7f4; border-radius: 16px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, .25);
  rotate: var(--r);
  transition: rotate .3s, transform .3s;
}
.window:hover { rotate: 0deg; transform: translateY(-10px); }
.window .bar { display: flex; gap: 6px; padding: 12px 14px 10px; }
.window .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.window .bar i:nth-child(2) { background: #febc2e; }
.window .bar i:nth-child(3) { background: #28c840; }
.window .clip { /* paperclip */
  position: absolute; top: -20px; left: 50%; width: 22px; height: 46px; translate: -50% 0;
  border: 3px solid #6f5bff; border-radius: 12px 12px 12px 12px; clip-path: inset(0 0 40% 0);
  rotate: 8deg;
}
.window .thumb {
  position: relative; display: grid; place-items: center; margin: 0 12px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .55), transparent 45%),
    linear-gradient(160deg, var(--c2), var(--c1));
}
.thumb.has-poster { background: var(--poster) center 22% / cover no-repeat, #222; }
/* Insignia de idioma del video */
.vlang {
  position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; border-radius: 999px; color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(16, 24, 40, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.vlang svg { width: 13px; height: 13px; }
.has-poster .play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; }
.has-poster .play::after { margin-left: 3px; border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
.avatar, .wc-ava { position: relative; overflow: hidden; }
.avatar img, .wc-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb em {
  position: absolute; left: 14px; bottom: 10px; font-family: var(--display); font-style: normal; font-weight: 800;
  font-size: 2.6rem; letter-spacing: -.04em; text-transform: uppercase; color: rgba(255, 255, 255, .85);
}
.play {
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2); transition: transform .25s;
  display: grid; place-items: center;
}
.play::after { content: ""; margin-left: 4px; border-left: 16px solid #1b1b1b; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.window:hover .play { transform: scale(1.12); }
.meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 16px 4px; }
.meta b { font-family: var(--display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.meta small { font-size: .68rem; color: var(--ink-soft); text-align: right; }

/* ========== Contact ========== */
.contact { background: #eef07a; padding: 20px 20px 0; }
.contact-card {
  position: relative; max-width: 1200px; margin: 0 auto; min-height: 520px; border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 60px 24px; color: #fff; gap: 18px;
  background: linear-gradient(rgba(20, 40, 74, .5), rgba(20, 40, 74, .18)), url("assets/wallpaper.svg") center / cover no-repeat, #7f9fc4;
}
.contact-card h2 { max-width: 14ch; text-shadow: 0 2px 22px rgba(10, 25, 50, .45); }
.contact-card > p { text-shadow: 0 1px 12px rgba(10, 25, 50, .45); }
.contact-card p { font-weight: 500; opacity: .95; }
.btn-light { color: var(--ink); margin-top: 8px; }
.footer {
  max-width: 1200px; margin: 0 auto; padding: 36px 8px 120px;
  display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer small { flex-basis: 100%; color: var(--ink-soft); }

/* ========== Dock ========== */
/* Como en macOS: el ancho/alto real del icono cambia (--s), así los vecinos se apartan y nunca se superponen */
.dock {
  position: fixed; z-index: 50; left: 50%; bottom: 14px; translate: -50% 0;
  display: flex; align-items: flex-end; gap: 10px; height: 74px; padding: 9px 12px; border-radius: 24px;
  background: rgba(255, 255, 255, .26);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.dock a {
  --s: 56px; position: relative; flex: none; width: var(--s); height: var(--s);
  transition: width .1s ease-out, height .1s ease-out;
}
.dock svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .28)); }
.dock a.bounce { animation: bounce .8s cubic-bezier(.3, .6, .4, 1); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 25% { transform: translateY(-22px); } 50% { transform: translateY(0); } 70% { transform: translateY(-9px); } }
.dock a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(20, 20, 20, .75);
}
.tip {
  position: absolute; bottom: 100%; left: 50%; translate: -50% 0; margin-bottom: 12px; white-space: nowrap;
  padding: 5px 12px; border-radius: 9px; background: rgba(44, 44, 46, .88); color: #fff; font-size: .74rem; font-weight: 600;
  backdrop-filter: blur(10px); box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.dock a:hover .tip, .dock a:focus-visible .tip { opacity: 1; }

/* ========== Barra de menú macOS ========== */
.menubar {
  position: fixed; z-index: 60; inset: 0 0 auto 0; height: 30px; padding: 0 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(244, 243, 236, .58); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  font-size: .78rem; font-weight: 500; color: var(--ink);
}
.mb-left, .mb-right { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mb-logo svg { display: block; width: 15px; height: 15px; }
.mb-app { font-weight: 800; }
.mb-nav { display: flex; gap: 4px; }
.mb-nav a, .mb-app { padding: 2px 8px; border-radius: 5px; }
.mb-nav a:hover, .mb-app:hover { background: rgba(0, 0, 0, .09); }
.mb-ic { height: 12px; width: auto; }
.mb-clock { font-variant-numeric: tabular-nums; white-space: nowrap; text-transform: capitalize; }
.lang { display: flex; gap: 2px; padding: 2px; border-radius: 7px; background: rgba(0, 0, 0, .07); }
.lang button {
  border: 0; background: none; padding: 1px 8px; border-radius: 5px; font-size: .7rem; font-weight: 700; letter-spacing: .03em;
}
.lang button:hover { background: rgba(0, 0, 0, .09); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:focus-visible, .mb-nav a:focus-visible, .mb-app:focus-visible, .mb-logo:focus-visible { outline: 2px solid #2f6fe0; outline-offset: 1px; }

/* ========== Cursor creativo: visor de cámara + destellos ========== */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cur-dot, .cur-ring, .cur-label { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .2s; }
.has-cursor.cur-on .cur-dot, .has-cursor.cur-on .cur-ring { opacity: 1; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cur-ring { width: 0; height: 0; mix-blend-mode: difference; }
.cur-in {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), width .3s, height .3s, margin .3s;
  animation: cur-idle 6s linear infinite;
}
.cur-in i { position: absolute; width: 10px; height: 10px; border: 0 solid #fff; }
.cur-in i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.cur-in i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.cur-in i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.cur-in i:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }
@keyframes cur-idle { 50% { rotate: 8deg; } }
.cur-ring.is-link .cur-in { transform: scale(1.5) rotate(45deg); }
.cur-ring.is-play .cur-in { transform: scale(2.1); }
.cur-ring.is-down .cur-in { transform: scale(.7); }
.cur-label {
  padding: 4px 11px; border-radius: 999px; background: #fff; color: var(--ink);
  font: 800 .68rem/1 var(--display); letter-spacing: .08em; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); white-space: nowrap;
  translate: 22px 22px; scale: .6; transition: opacity .2s, scale .25s;
}
.cur-label.show { opacity: 1; scale: 1; }
.cur-trail { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }

/* ========== Video modal ========== */
.video-modal {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 420px); width: 100%;
  overflow: visible;
}
.video-modal::backdrop { background: rgba(10, 10, 15, .72); backdrop-filter: blur(4px); }
.video-wrap {
  aspect-ratio: 9 / 16; max-height: 86vh; margin-inline: auto; border-radius: 18px; overflow: hidden; background: #111; color: #fff;
  display: grid; place-items: center; text-align: center; padding: 24px; font-size: .9rem;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-wrap.embed { aspect-ratio: auto; height: min(94vh, 740px); max-height: none; padding: 0; background: #fff; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Indicador de que el video se abre en Instagram */
.vsrc {
  position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  color: #fff; background: rgba(16, 24, 40, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.vsrc svg { width: 15px; height: 15px; }
.close {
  position: absolute; top: -14px; right: -6px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: #fff; font-size: 1.4rem; line-height: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

/* ========== Escritorio del inicio (iconos de herramientas) ========== */
.desk { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.desk > * { pointer-events: auto; }
.desk-cap {
  position: absolute; top: 74px; right: clamp(14px, 2.6vw, 40px);
  padding: 4px 12px; border-radius: 999px; background: rgba(30, 50, 80, .34);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.desk-tools {
  position: absolute; top: 108px; right: clamp(10px, 2.2vw, 34px); margin: 0; padding: 0; list-style: none;
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); direction: rtl; gap: 4px 2px;
}
.dicon {
  --sz: 58px; direction: ltr; width: 94px; padding: 6px 4px 5px; border-radius: 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: #fff; font-size: .72rem; font-weight: 600; line-height: 1.15; text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
  user-select: none; transition: background .15s;
  animation: dpop .5s cubic-bezier(.3, 1.5, .5, 1) backwards; animation-delay: calc(.35s + var(--i) * 70ms);
}
.dicon:hover { background: rgba(255, 255, 255, .14); }
.dicon.sel { background: rgba(255, 255, 255, .24); }
.dicon .art {
  position: relative; width: var(--sz); height: var(--sz); border-radius: 22.4%;
  background: linear-gradient(160deg, var(--a), var(--b));
  box-shadow: 0 6px 12px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s;
}
.dicon:hover .art { transform: translateY(-3px); }
.dicon .art svg {
  position: absolute; inset: 0; width: 100%; height: 100%; fill: none;
  stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
}
.dicon .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.dicon .art.has-img { background: none; box-shadow: none; }
.dicon .art.has-img svg { display: none; }
.dicon .lbl { padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.dicon.sel .lbl { background: #2f6df6; text-shadow: none; }
@keyframes dpop { from { opacity: 0; transform: scale(.6) translateY(10px); } }

/* Tablet / móvil: los iconos pasan a una franja compacta sobre el dock */
@media (max-width: 900px) {
  .hero { height: 100svh; min-height: 720px; padding: 122px var(--gutter) 310px; }
  .hero-inner { margin-top: 0; }
  .status-wrap { margin-bottom: 4vh; }
  .desk-cap { top: auto; bottom: 268px; right: auto; left: 50%; translate: -50% 0; }
  .desk-tools {
    top: auto; bottom: 96px; right: auto; left: 50%; translate: -50% 0; width: min(calc(100% - 20px), 460px);
    direction: ltr; grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(5, 1fr); gap: 2px;
  }
  .dicon { --sz: 44px; width: auto; font-size: .6rem; gap: 4px; padding: 4px 1px; }
  .dicon .lbl { padding: 0 3px; }
}

/* ========== Redes ========== */
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; width: 100%; max-width: 820px; margin-top: 44px; }
.wcard {
  background: #f7f7f4; border-radius: 16px; text-align: left; overflow: hidden; rotate: var(--r);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .16);
  transition: rotate .3s, transform .3s;
}
.wcard:hover { rotate: 0deg; transform: translateY(-6px); }
.wc-bar { display: flex; align-items: center; padding: 11px 14px; border-bottom: 1px solid rgba(0, 0, 0, .06); font-size: .72rem; color: var(--ink-soft); }
.wc-bar .dots { display: flex; gap: 6px; }
.wc-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.wc-bar .dots i:nth-child(2) { background: #febc2e; }
.wc-bar .dots i:nth-child(3) { background: #28c840; }
.wc-bar b { margin: 0 auto; padding-right: 39px; font-weight: 600; }
.wc-body { padding: 20px; }
.wc-head { display: flex; gap: 14px; align-items: flex-start; }
.wc-ava {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; font: 800 1rem var(--display);
}
.wc-head h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.wc-head p { font-size: .85rem; color: var(--ink-soft); margin-top: 4px; }
.wc-links { display: grid; gap: 10px; margin-top: 20px; }
.soc {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .07); transition: transform .2s, box-shadow .2s;
}
.soc svg { width: 26px; height: 26px; flex: none; }
.soc[data-net="instagram"] svg { color: #d6249f; }
.soc[data-net="tiktok"] svg { color: #111; }
.soc-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.soc-t b { font-size: .92rem; }
.soc-h { font-size: .78rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.soc[href]:hover { transform: translateX(4px); box-shadow: 0 0 0 2px var(--ink); }
.soc:not([href]) { opacity: .55; }

/* ========== Datos de contacto ========== */
.contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: 780px; margin-top: 22px; text-align: left; }
.cinfo {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px;
  background: #fff; color: var(--ink); rotate: var(--r); box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
}
.ci-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.ci-value { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ci-value:hover { text-decoration: underline; text-underline-offset: 4px; }
.ci-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip-btn {
  padding: 6px 14px; border-radius: 999px; border: 0; background: #f0efe8; color: var(--ink);
  font-size: .78rem; font-weight: 700; transition: background .2s;
}
.chip-btn:hover { background: var(--lime); }
.chip-btn:focus-visible, .soc:focus-visible, .ci-value:focus-visible { outline: 3px solid #2f6fe0; outline-offset: 2px; }
.foot-contact { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: .85rem; font-weight: 600; }
.foot-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ========== Reveal ========== */
.reveal {
  opacity: 0; translate: 0 28px;
  transition: opacity .7s ease, translate .7s ease, rotate .3s ease, transform .3s ease, box-shadow .25s;
}
.reveal.in { opacity: 1; translate: 0 0; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .stats, .review-grid { grid-template-columns: 1fr; max-width: 420px; }
  .social-grid, .contact-info { grid-template-columns: 1fr; max-width: 440px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .s1 { left: 2%; top: auto; bottom: -24%; }
  .s2 { right: -3%; top: 40%; }
  .s3 { right: 2%; bottom: -24%; }
  .d-leaf, .d-zig, .d-drops { display: none; }
  .mb-nav, .mb-wifi { display: none; }
}
@media (max-width: 600px) {
  .project-grid { grid-template-columns: minmax(0, 300px); gap: 50px; }
  .service-list li { align-items: flex-start; padding: 16px; }
  .dock { gap: 6px; height: 66px; }
  .dock a { --s: 48px; }
  .mb-left { gap: 8px; }
  .mb-right { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticker, .cur-in, .dicon { animation: none; }
  .reveal { opacity: 1; translate: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
