.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 30; padding: 0.5rem 1rem; background: var(--texto); color: var(--noche); }
.skip:focus { top: 1rem; }

.section { padding: clamp(5rem, 3.5rem + 6vw, 9rem) var(--gutter) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 3rem; }
.section-head h2 { font-family: "Anybody", sans-serif; font-weight: 800; font-stretch: 92%; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 18ch; }
.section-head p { color: var(--texto-2); max-width: 30rem; }
.fine { margin-top: 1.5rem; color: var(--texto-2); font-size: 0.9375rem; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

/* Servicios en bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile { position: relative; display: flex; flex-direction: column; padding: 1.5rem; border-radius: 1.4rem; background: var(--noche-2); box-shadow: inset 0 0 0 1px rgb(238 242 241 / 0.08); overflow: hidden; }
.tile h3 { font-family: "Anybody", sans-serif; font-weight: 750; font-stretch: 95%; font-size: 1.45rem; line-height: 1.1; margin-top: auto; }
.tile p { color: var(--texto-2); margin-top: 0.5rem; max-width: 30rem; }
.tile-link { align-self: flex-start; margin-top: 1rem; padding: 0.5rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(238 242 241 / 0.25); text-decoration: none; font-weight: 700; font-size: 0.9375rem; transition: box-shadow 200ms var(--ease), background 200ms var(--ease); }
.tile-link:hover { background: var(--texto); color: var(--noche); box-shadow: none; }
.tile-web { grid-column: span 3; min-height: 25rem; }
.tile-shop { grid-column: span 3; min-height: 25rem; }
.tile-brand { grid-column: span 2; min-height: 22rem; }
.tile-kit { grid-column: span 2; min-height: 22rem; background: linear-gradient(160deg, #1d3b34, var(--noche-2) 60%); }
.tile-ai { grid-column: span 2; min-height: 22rem; }
.art { margin-bottom: 1.5rem; }

.mini-browser { position: relative; height: 12rem; border-radius: 0.8rem; background: #f3f5f3; padding: 1.6rem 1rem 1rem; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto 1fr; gap: 0.6rem; }
.mini-browser::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1rem; border-radius: 0.8rem 0.8rem 0 0; background: #dfe4e1; }
.mini-browser span { grid-column: 1 / -1; height: 0.7rem; width: 45%; border-radius: 0.4rem; background: #c9d2ce; }
.mini-browser b { grid-row: 2; border-radius: 0.6rem; background: linear-gradient(135deg, var(--cian), var(--verde)); animation: grow 4s var(--ease) infinite alternate; transform-origin: left; }
.mini-browser i { display: block; height: 0.6rem; border-radius: 0.3rem; background: #d7dfdb; }
.mini-browser i:nth-of-type(1) { grid-column: 2; grid-row: 2; align-self: start; animation: line 3s var(--ease) infinite alternate; }

.art-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.product { padding: 0.7rem; border-radius: 0.9rem; background: #f3f5f3; color: #0b1a1f; font-size: 0.8125rem; display: grid; gap: 0.2rem; }
.product span { height: 5.5rem; border-radius: 0.6rem; background: linear-gradient(135deg, #f7d58c, #e9a95a); }
.product:nth-child(2) span { background: linear-gradient(135deg, #f1e7c9, #cfb77c); }
.product em { font-style: normal; font-weight: 700; color: #1f6f5c; }
.pay { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pay i { font-style: normal; font-size: 0.75rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgb(238 242 241 / 0.1); color: var(--texto); }

.art-brand { position: relative; height: 8.5rem; }
.art-brand span { position: absolute; width: 5rem; height: 5rem; border-radius: 1.2rem; transition: transform 500ms var(--ease); }
.art-brand span:nth-child(1) { left: 0; top: 1rem; background: var(--cian); transform: rotate(-8deg); }
.art-brand span:nth-child(2) { left: 3.2rem; top: 0.4rem; background: var(--verde); transform: rotate(4deg); }
.art-brand span:nth-child(3) { left: 6.4rem; top: 1.4rem; background: var(--ambar); transform: rotate(-3deg); }
.art-brand span:nth-child(4) { left: 9.6rem; top: 0.6rem; background: var(--texto); transform: rotate(7deg); }
.art-brand b { position: absolute; left: 10.4rem; top: 1.6rem; font-family: "Anybody", sans-serif; font-size: 2.6rem; color: var(--noche); line-height: 1; }
.tile-brand:hover .art-brand span:nth-child(odd) { transform: rotate(0) translateY(-6px); }
.tile-brand:hover .art-brand span:nth-child(even) { transform: rotate(0) translateY(6px); }

.art-kit { padding: 1rem 1.1rem; border-radius: 1rem; background: rgb(11 26 31 / 0.55); box-shadow: inset 0 0 0 1px rgb(166 216 155 / 0.3); }
.art-kit p { font-size: 0.8125rem; color: var(--verde); }
.art-kit strong { font-family: "Anybody", sans-serif; font-stretch: 105%; font-size: 1.6rem; }
.art-kit ul { list-style: none; padding: 0; margin-top: 0.5rem; font-size: 0.875rem; }
.art-kit li::before { content: "✓"; color: var(--verde); margin-right: 0.5rem; }

.art-ai { display: grid; gap: 0.5rem; font-size: 0.875rem; }
.art-ai p { max-width: 85%; padding: 0.55rem 0.8rem; border-radius: 0.9rem; line-height: 1.35; }
.art-ai .q { justify-self: end; background: #1f6f5c; border-bottom-right-radius: 0.2rem; }
.art-ai .a { background: #1f3a40; border-bottom-left-radius: 0.2rem; position: relative; }
.art-ai .a::after { content: ""; display: inline-block; width: 0.45rem; height: 0.9rem; margin-left: 0.2rem; vertical-align: -0.1rem; background: var(--cian); animation: caret 1s steps(1) infinite; }

/* Planes */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 0.8rem; padding: 1.8rem; border-radius: 1.4rem; background: var(--noche-2); box-shadow: inset 0 0 0 1px rgb(238 242 241 / 0.08); }
.plan h3 { font-family: "Anybody", sans-serif; font-weight: 800; font-stretch: 100%; font-size: 1.7rem; }
.plan .who { color: var(--texto-2); }
.plan ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--tornasol); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan-featured { background: linear-gradient(170deg, #1d3d42, #12262c 70%); box-shadow: inset 0 0 0 1px rgb(79 216 235 / 0.45), 0 1.5rem 3rem -1rem rgb(79 216 235 / 0.25); }
.badge { align-self: flex-start; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgb(79 216 235 / 0.15); color: var(--cian); font-size: 0.8125rem; }

/* Trabajos */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.case { text-decoration: none; display: flex; flex-direction: column; gap: 0.6rem; }
.case:nth-child(2) { margin-top: 3rem; }
.frame { border-radius: 0.9rem; overflow: hidden; background: #f5f6f4; box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / 0.6); transition: transform 400ms var(--ease); }
.frame .browser-bar { border-radius: 0; padding: 0.5rem 0.7rem; }
.frame .url { font-size: 0.75rem; }
.frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case:hover .frame { transform: translateY(-6px) rotate(-0.6deg); }
.case h3 { font-family: "Anybody", sans-serif; font-weight: 750; font-size: 1.4rem; margin-top: 0.6rem; }
.case p { color: var(--texto-2); }
.tags { list-style: none; padding: 0; display: flex; gap: 0.4rem; }
.tags li { font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgb(238 242 241 / 0.08); }

/* Proceso */
.steps { list-style: none; padding: 0; counter-reset: paso; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 1.5rem; height: 2px; background: rgb(238 242 241 / 0.1); }
.steps::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 1.5rem; height: 2px; background: var(--tornasol); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1.2s var(--ease); }
.steps li { position: relative; z-index: 1; counter-increment: paso; padding-right: 1rem; }
.steps li::before { content: counter(paso); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--noche-2); box-shadow: inset 0 0 0 2px rgb(238 242 241 / 0.18); font-family: "Anybody", sans-serif; font-weight: 800; margin-bottom: 1.2rem; }
.steps li.seen::before { background: var(--texto); color: var(--noche); box-shadow: none; }
.steps h3 { font-family: "Anybody", sans-serif; font-weight: 750; font-size: 1.25rem; }
.steps p { color: var(--texto-2); margin-top: 0.4rem; }

/* Preguntas */
.faq-list { max-width: 52rem; display: grid; gap: 0.6rem; }
details { border-radius: 1rem; background: var(--noche-2); box-shadow: inset 0 0 0 1px rgb(238 242 241 / 0.08); }
summary { cursor: pointer; list-style: none; position: relative; padding: 1.15rem 3rem 1.15rem 1.3rem; font-weight: 700; font-size: 1.0625rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; margin-top: -0.8rem; font-size: 1.6rem; line-height: 1; color: var(--cian); transition: transform 250ms var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.3rem 1.2rem; color: var(--texto-2); }

/* Contacto */
.contact { padding-bottom: clamp(5rem, 3.5rem + 6vw, 9rem); }
.contact-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(2rem, 1rem + 4vw, 4rem); border-radius: 2rem; background: linear-gradient(135deg, #1b3a40, #12262c 55%, #2a2a1c); box-shadow: inset 0 0 0 1px rgb(238 242 241 / 0.1); overflow: hidden; }
.contact-card h2 { font-family: "Anybody", sans-serif; font-weight: 800; font-stretch: 92%; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1.02; letter-spacing: -0.02em; }
.contact-card > div > p { margin-top: 1rem; color: var(--texto-2); max-width: 30rem; }
.contact-card .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.mail { color: var(--texto); text-underline-offset: 0.3em; }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem var(--gutter) 6rem; border-top: 1px solid rgb(238 242 241 / 0.1); color: var(--texto-2); font-size: 0.875rem; }

.foot-mark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.35em; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); color: var(--texto); text-decoration: none; }
.foot-sub { font-size: max(0.8rem, 0.3em); color: var(--texto-2); letter-spacing: 0.02em; }
.foot-word { position: relative; padding-right: 0.5em; font-family: "Unbounded", sans-serif; font-weight: 700; line-height: 1; letter-spacing: -0.01em; }
.foot-ptr { position: absolute; right: -0.02em; bottom: -0.24em; width: 0.6em; height: 0.6em; animation: press 3.2s var(--ease) infinite; }
.foot-ring { position: absolute; right: 0.26em; bottom: 0.1em; width: 0.4em; height: 0.4em; border: 0.045em solid var(--cian); border-radius: 50%; opacity: 0; animation: click 3.2s var(--ease) infinite; }
.foot-mark:hover .foot-ptr, .foot-mark:focus-visible .foot-ptr { animation-duration: 1.2s; }
.foot-mark:hover .foot-ring, .foot-mark:focus-visible .foot-ring { animation-duration: 1.2s; }

.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 10; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25d366; color: #0b2b17; box-shadow: 0 0.6rem 1.5rem rgb(0 0 0 / 0.4); transition: transform 200ms var(--ease); }
.wa-float:hover { transform: scale(1.08); }

@keyframes press { 0%, 62%, 100% { transform: translate(0, 0); } 68% { transform: translate(-0.04em, -0.04em) scale(0.9); } }
@keyframes click { 0%, 64% { transform: scale(0.4); opacity: 0; } 70% { opacity: 0.85; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes grow { from { transform: scaleX(0.55); } to { transform: scaleX(1); } }
@keyframes line { from { width: 40%; } to { width: 90%; } }
@keyframes caret { 50% { opacity: 0; } }

@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-web, .tile-shop { grid-column: span 2; }
  .tile-brand, .tile-kit { grid-column: span 1; }
  .tile-ai { grid-column: span 2; }
  .plan-grid, .work { grid-template-columns: 1fr; }
  .case:nth-child(2) { margin-top: 0; }
  .plan-featured { margin-top: 2.5rem; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before, .steps::after { display: none; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile-web, .tile-shop, .tile-brand, .tile-kit, .tile-ai { grid-column: 1; min-height: 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .foot-ring { animation: none; opacity: 0.7; }
}

/* Preguntas en dos columnas en pantallas anchas */
@media (min-width: 961px) {
  .faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
  .faq .section-head { grid-template-columns: 1fr; position: sticky; top: 2rem; }
}
@media (max-width: 560px) {
    }

/* Asistente de contacto */
.interest { border: 0; padding: 0; margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.interest legend { width: 100%; margin-bottom: 0.7rem; font-weight: 700; }
.interest label { position: relative; padding: 0.55rem 1rem; border-radius: 999px; background: rgb(238 242 241 / 0.07); box-shadow: inset 0 0 0 1px rgb(238 242 241 / 0.15); cursor: pointer; font-size: 0.9375rem; transition: background 200ms var(--ease); }
.interest input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.interest label:has(input:checked) { background: var(--texto); color: var(--noche); font-weight: 700; box-shadow: none; }
.interest label:has(input:focus-visible) { outline: 3px solid var(--cian); outline-offset: 2px; }
.composer { display: grid; gap: 0.7rem; padding: 1.4rem; border-radius: 1.3rem; background: rgb(11 26 31 / 0.6); box-shadow: inset 0 0 0 1px rgb(238 242 241 / 0.12); }
.composer > label { font-weight: 700; }
.composer textarea { width: 100%; resize: vertical; min-height: 9rem; padding: 0.9rem 1rem; border: 0; border-radius: 0.9rem; background: #1f3a40; color: var(--texto); font: inherit; line-height: 1.5; }
.composer textarea:focus-visible { outline: 3px solid var(--cian); outline-offset: 2px; }
.send { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.send .btn svg { flex: none; }
.hint { font-size: 0.875rem; color: var(--texto-2); }
