@charset "UTF-8";
/* Huerca Studio — opción B: oscuro, Bricolage Grotesque, botones píldora.
   Escala tipográfica áurea: 16 · 26 · 42 · 68 · 110 · 178 */
:root {
  --ink: #141414;
  --paper: #FFFFFF;
  --mist: #E1E1E1;
  --ph: #3A3A3A;
  --line-soft: #6B6B6B;
  --branding: #2DD975;
  --editorial: #FE4949;
  --packaging: #FF8700;
  --arte: #008EFF;
  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --wrap: 1360px;
  --pad: 40px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--paper); }
a:hover { color: var(--mist); }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--arte); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tipografía */
.h-giant { margin: 0; font-size: clamp(56px, 12.4vw, 178px); line-height: 0.9; font-weight: 800; letter-spacing: -0.01em; }
.h-xl { margin: 0; font-size: clamp(42px, 7.6vw, 110px); line-height: 0.92; font-weight: 800; letter-spacing: -0.005em; }
.h-l { margin: 0; font-size: clamp(34px, 4.7vw, 68px); line-height: 1; font-weight: 800; }
.h-m { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; }
.lead { margin: 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; }
.muted { color: var(--mist); }
.label { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mist); }

/* Header */
.site-header { border-bottom: 2px solid var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--paper); }
.logo-word { display: flex; align-items: center; font-weight: 800; font-size: 26px; line-height: 1; }
.logo-sub { font-style: italic; font-weight: 700; font-size: 12px; margin-top: 2px; }
.nav { display: flex; flex-wrap: wrap; gap: 42px; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.nav a { text-decoration: none; padding: 12px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; color: var(--paper); }

/* Botones píldora */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--paper); background: transparent; color: var(--paper); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-primary { background: var(--paper); color: var(--ink); font-size: 26px; font-weight: 800; padding: 16px 42px; }
.btn-primary:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }

/* Secciones */
.section { padding-top: 110px; padding-bottom: 110px; border-top: 2px solid var(--paper); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 26px; margin-bottom: 68px; }
.link-more { font-size: 26px; font-weight: 800; }

/* Hero */
.hero { padding-top: 68px; padding-bottom: 110px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-bottom: 42px; }
.hero-meta span:last-child { text-align: right; }
.hero-meta span:nth-child(2) { text-align: center; }
.hero h1 { margin-bottom: 68px; }
.svc-list { border-top: 2px solid var(--paper); }
.svc-row { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto 42px; gap: 26px; align-items: center; padding: 26px 16px; border-bottom: 2px solid var(--paper); text-decoration: none; color: var(--paper); transition: background .15s, color .15s; }
.svc-row:hover { background: #1E1E1E; color: var(--svc); }
.svc-name { display: flex; align-items: center; gap: 26px; font-size: clamp(34px, 4.7vw, 68px); font-weight: 800; line-height: 1; }
.svc-name .dot { width: 26px; height: 26px; }
.svc-short { max-width: 340px; text-align: right; }
.arrow { font-size: 42px; text-align: right; }
.nose { display: grid; grid-template-columns: minmax(0, 1fr) auto 42px; gap: 26px; align-items: center; padding: 26px 42px; margin-top: 26px; background: var(--paper); color: var(--ink); border-radius: 999px; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.nose:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); transform: scale(1.015); }
.nose .arw { display: inline-block; transition: transform .2s; }
.nose:hover .arw { transform: translateX(12px); }
.nose-title { font-size: clamp(34px, 4.7vw, 68px); font-weight: 800; line-height: 1; }

/* Acerca de / metodología */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; }
.about-grid > div { grid-column: span 8; display: flex; flex-direction: column; gap: 42px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.steps li { display: flex; flex-direction: column; gap: 16px; border-top: 2px solid var(--paper); padding-top: 26px; }
.step-num { font-size: 68px; font-weight: 800; line-height: 1; }
.anim-slot { margin-top: 68px; aspect-ratio: 16 / 9; border: 2px dashed var(--line-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 26px; }
.anim-slot[hidden] { display: none; }

/* Tarjetas de proyecto (siempre 1:1) */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 26px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--paper); }
.card-img { aspect-ratio: 1 / 1; background: var(--ph); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-title { font-size: 26px; font-weight: 800; line-height: 1.1; }
.card-svc { font-weight: 700; }
.skeleton .card-img { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.state { padding: 68px 0; font-size: 26px; color: var(--mist); margin: 0; }
.state[hidden] { display: none; }

/* Servicios */
.svc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.svc-card { display: flex; flex-direction: column; gap: 16px; border-top: 10px solid var(--svc); padding-top: 26px; text-decoration: none; color: var(--paper); }
.svc-block { border-top: 10px solid var(--svc); padding: 42px 0 110px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 42px 26px; }
section[id] { scroll-margin-top: 26px; }
.svc-block .main { grid-column: span 6; display: flex; flex-direction: column; gap: 26px; }
.svc-block .side { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 16px; }
.deliv { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--paper); }
.deliv li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-size: 26px; font-weight: 700; }
.deliv li span { font-size: 16px; color: var(--mist); }

/* Clientes */
.logos { overflow: hidden; }
.logos-track { display: flex; gap: 26px; width: max-content; animation: logos 40s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(-50%); } }
.logo-tile { flex: none; width: 260px; height: 160px; border-radius: 26px; background: #2A2A2A; display: flex; align-items: center; justify-content: center; padding: 26px; text-decoration: none; color: var(--paper); font-weight: 700; text-align: center; }
.logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* CTA */
.cta { background: var(--paper); color: var(--ink); }
.cta a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 42px; padding-top: 110px; padding-bottom: 110px; color: var(--ink); text-decoration: none; }
.cta a:hover { color: var(--ink); }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.site-footer span { display: flex; gap: 26px; flex-wrap: wrap; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 42px; border-bottom: 2px solid var(--paper); margin-bottom: 42px; }

/* Proyecto */
.project-meta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; border-top: 2px solid var(--paper); padding-top: 26px; }
.project-meta dl { grid-column: span 4; margin: 0; display: flex; flex-direction: column; gap: 26px; }
.project-meta dd { margin: 0; font-size: 26px; font-weight: 800; }
.project-meta .desc { grid-column: 6 / span 7; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; padding-bottom: 110px; }
.gallery figure { margin: 0; grid-column: span 12; background: var(--ph); }
.gallery figure.r-wide { grid-column: span 12; }
.gallery figure.r-port { grid-column: span 6; }
.gallery figure.r-sq { grid-column: span 4; }
.gallery figure.r-tall { grid-column: span 3; }
.gallery img, .gallery video { width: 100%; height: auto; }
.gallery figcaption { padding: 10px 0; background: var(--ink); color: var(--mist); }
.next { display: block; border-top: 2px solid var(--paper); text-decoration: none; }
.next .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 26px; padding-top: 68px; padding-bottom: 68px; }

/* Formulario */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 68px 26px; padding-top: 68px; padding-bottom: 110px; }
.contact-grid > .intro { grid-column: span 5; display: flex; flex-direction: column; gap: 42px; }
.contact-grid > .form-col { grid-column: 7 / span 6; }
.f { display: flex; flex-direction: column; gap: 26px; }
.f-field { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.f-field input[type=text], .f-field input[type=email], .f-field input[type=tel], .f-field input[type=url], .f-field input[type=number], .f-field input[type=date], .f-field select, .f-field textarea { font: inherit; font-size: 22px; font-weight: 400; padding: 10px 0; background: transparent; border: none; border-bottom: 2px solid var(--paper); color: var(--paper); border-radius: 0; }
.f-field select option { color: var(--ink); }
.f-field textarea { font-size: 16px; resize: vertical; min-height: 120px; }
.f-field input::placeholder, .f-field textarea::placeholder { color: #9A9A9A; }
[aria-invalid="true"] { border-bottom-color: var(--editorial) !important; }
.f-err { margin: 0; color: #FF8A8A; font-weight: 600; }
.f-err[hidden] { display: none; }
.f-help { margin: 0; color: var(--mist); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: none; margin: 0; padding: 0; }
.chips legend { font-weight: 600; margin-bottom: 16px; padding: 0; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 2px solid var(--paper); border-radius: 999px; cursor: pointer; font-weight: 600; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip:has(input:checked) { background: var(--paper); color: var(--ink); }
.chip:has(input:focus-visible) { outline: 3px solid var(--arte); outline-offset: 3px; }
.thanks { border-top: 10px solid var(--branding); padding-top: 26px; display: flex; flex-direction: column; gap: 16px; }

/* Test */
.test-main { max-width: 1040px; margin: 0 auto; padding: 68px var(--pad) 110px; min-height: 60vh; }
.test-main section { display: flex; flex-direction: column; gap: 42px; }
.test-main h1:focus { outline: none; }
.bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.bars span { height: 6px; border-radius: 999px; background: var(--ph); }
.bars span.on { background: var(--paper); }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-size: clamp(18px, 2vw, 26px); font-weight: 600; padding: 18px 32px; min-height: 44px; border-radius: 999px; border: 2px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer; transition: background .15s, color .15s; }
.opt:hover, .opt[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta span:last-child { text-align: left; }
  .svc-row { grid-template-columns: 42px minmax(0, 1fr) 32px; }
  .svc-short { display: none; }
  .nose { grid-template-columns: minmax(0, 1fr) 32px; padding: 22px 28px; }
  .nose-text { display: none; }
  .about-grid > div, .svc-block .main, .svc-block .side, .project-meta dl, .project-meta .desc, .contact-grid > .intro, .contact-grid > .form-col { grid-column: 1 / -1; }
  .steps, .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure.r-port, .gallery figure.r-sq, .gallery figure.r-tall { grid-column: span 6; }
  .nav { gap: 26px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
}
@media (max-width: 560px) {
  .grid-3, .steps, .svc-cards { grid-template-columns: 1fr; }
  .gallery figure.r-port, .gallery figure.r-sq, .gallery figure.r-tall { grid-column: span 12; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track, .skeleton .card-img { animation: none; }
  * { transition: none !important; }
}
/* Celular */
@media (max-width: 600px) {
  .site-header .wrap { flex-wrap: nowrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .logo-word { font-size: 22px; }
  .logo-word svg { width: 26px; height: 21px; }
  .logo-sub { font-size: 11px; }
  .nav { flex-wrap: nowrap; gap: 14px; font-size: 12px; letter-spacing: 0.02em; }
  .nav a { padding: 14px 0; }
  .hero { padding-top: 42px; padding-bottom: 68px; }
  .hero-meta { display: none; }
  .hero h1 { margin-bottom: 42px; }
  .svc-row { grid-template-columns: 26px minmax(0, 1fr) 28px; gap: 14px; padding: 20px 4px; }
  .svc-name { gap: 14px; font-size: 30px; }
  .svc-name .dot { width: 16px; height: 16px; }
  .arrow { font-size: 28px; }
  .nose { grid-template-columns: minmax(0, 1fr) 28px; padding: 18px 26px; margin-top: 20px; }
  .nose-title { font-size: 30px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .section-head { margin-bottom: 42px; gap: 16px; }
  .link-more { font-size: 18px; }
  .step-num { font-size: 52px; }
  .anim-slot { margin-top: 42px; }
  .grid-3, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .card { gap: 8px; }
  .card-title { font-size: 17px; }
  .card-svc { font-size: 14px; }
  .deliv li { font-size: 20px; padding: 12px 0; }
  .svc-block { padding: 32px 0 68px; gap: 32px; }
  .btn { padding: 12px 20px; }
  .btn-primary { font-size: 20px; padding: 14px 32px; }
  .filters { gap: 8px; padding-bottom: 32px; margin-bottom: 32px; }
  .filters .btn { padding: 10px 16px; font-size: 14px; }
  .project-meta dd { font-size: 22px; }
  .gallery { gap: 12px; padding-bottom: 68px; }
  .next .wrap { padding-top: 42px; padding-bottom: 42px; }
  .contact-grid { padding-top: 42px; padding-bottom: 68px; gap: 42px; }
  .f-field input[type=text], .f-field input[type=email], .f-field input[type=tel], .f-field select { font-size: 18px; }
  .test-main { padding-top: 42px; padding-bottom: 68px; }
  .test-main section { gap: 28px; }
  .opt { padding: 16px 22px; }
  .cta a { padding-top: 68px; padding-bottom: 68px; gap: 20px; }
  .logo-tile { width: 200px; height: 124px; border-radius: 20px; }
  .site-footer .wrap { flex-direction: column; gap: 10px; }
}
@media (max-width: 370px) {
  .nav { gap: 10px; font-size: 11px; }
  .logo-word { font-size: 20px; }
}

/* Logo del header */
.logo-img { display: block; height: 46px; width: auto; }
@media (max-width: 600px) { .logo-img { height: 34px; } }
@media (max-width: 370px) { .logo-img { height: 30px; } }

/* Menú hamburguesa (celular) */
.menu-btn { display: none; }
@media (max-width: 600px) {
  .site-header { position: relative; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; background: #FFFFFF; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; flex-direction: column; gap: 0; padding: 8px 20px 26px; background: var(--ink); border-bottom: 2px solid #FFFFFF; font-size: 34px; font-weight: 800; letter-spacing: 0; text-transform: none; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid #3A3A3A; }
  .nav a:last-child { border-bottom: 0; }
}

/* Filosofía: Maslow + Marcas */
.maslow { width: 100%; margin-top: 68px; border-collapse: collapse; }
.maslow caption { text-align: left; padding-bottom: 26px; }
.maslow thead th { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mist); padding: 0 0 16px; border-bottom: 2px solid var(--paper); }
.maslow thead th:first-child { text-align: right; }
.maslow thead th:last-child { text-align: left; }
.maslow td, .maslow th { padding: 16px 0; vertical-align: middle; }
.maslow tbody tr { border-bottom: 1px solid #3A3A3A; }
.maslow .m-h { width: 32%; text-align: right; }
.maslow .m-b { width: 32%; text-align: left; }
.maslow .m-h strong, .maslow .m-b strong { display: block; font-size: 20px; font-weight: 800; }
.maslow .m-h span, .maslow .m-b span { display: block; color: var(--mist); }
.maslow .m-need { width: 36%; padding-left: 26px; padding-right: 26px; text-align: center; }
.maslow .m-need span { display: inline-block; box-sizing: border-box; min-width: 200px; white-space: nowrap; padding: 12px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: 0.04em; }
.quote { margin: 110px 0 0; font-size: clamp(34px, 4.7vw, 68px); line-height: 1.05; font-weight: 400; }
.quote strong { font-weight: 800; }
@media (max-width: 760px) {
  .maslow thead { display: none; }
  .maslow, .maslow tbody, .maslow tr { display: block; }
  .maslow tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 20px 0; }
  .maslow td, .maslow th { padding: 0; width: auto; text-align: left; }
  .maslow .m-need { grid-column: 1 / -1; grid-row: 1; padding: 0; text-align: left; }
  .maslow .m-need span { min-width: 0; width: auto !important; }
  .maslow .m-h::before, .maslow .m-b::before { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mist); margin-bottom: 4px; }
  .maslow .m-h::before { content: "Humanos"; }
  .maslow .m-b::before { content: "Marcas"; }
  .maslow .m-h strong, .maslow .m-b strong { font-size: 17px; }
  .quote { margin-top: 68px; }
}

/* Filosofía */
.philo-text { font-weight: 500; line-height: 1.12; }
.anim-maslow { margin-top: 68px; }
.anim-maslow .maslow { margin-top: 0; }

/* Acerca de y Filosofía a todo lo ancho */
#acerca .about-grid > div, #filosofia .about-grid > div { grid-column: 1 / -1; }

/* Maslow celular: alineación */
@media (max-width: 760px) {
  .maslow .m-h, .maslow .m-b, .maslow .m-need { text-align: left; width: auto; }
  .maslow caption { display: block; width: auto; white-space: nowrap; }
  .maslow tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .maslow .m-h, .maslow .m-b { min-width: 0; overflow-wrap: anywhere; }
  .maslow, .maslow tbody, .maslow tr { width: 100%; max-width: 100%; box-sizing: border-box; }
  .maslow tr { column-gap: 12px; }
  .maslow .m-h strong, .maslow .m-b strong { font-size: 16px; }
}
