/* Hoja visual maestra: composicion, texturas y componentes de Levante Digital. */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--paper); background: var(--ink); --focus-color: var(--surface); }
.nav-shell { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-header .brand { width: 196px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.brand-letters { display: none; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { padding-block: 16px; font-size: 15px; line-height: 1; }
.main-nav a:hover { color: var(--surface); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 640px; min-height: clamp(600px, calc(100svh - 80px), 800px); color: var(--paper); background: var(--ink); --focus-color: var(--surface); }
.hero-picture, .hero-picture img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-picture { z-index: -2; }
.hero-picture img { object-fit: cover; object-position: center; }
.hero::after { content: ''; z-index: -1; background: radial-gradient(ellipse at center, rgb(3 12 16 / .72), rgb(3 12 16 / .46)); }
.hero-content { text-align: center; padding-block: 96px 112px; }
.hero-kicker { margin: 0 0 24px; color: var(--surface); font-size: 15px; letter-spacing: -.02em; }
.hero h1 { max-width: 900px; margin: 0 auto 24px; font-size: 66px; font-weight: 300; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 span { display: block; }
.hero-description { max-width: 525px; margin: 0 auto; font-size: 20px; line-height: 1.4; letter-spacing: -.02em; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.hero-actions .text-link { font-size: 15px; }
.hero-foot { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: space-between; gap: 24px; color: rgb(255 255 255 / .7); font-size: 12px; letter-spacing: .025em; }
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; }
.services-heading .small-label { margin-bottom: 24px; }
.services-heading h2 { max-width: 400px; }
.services-heading > p:last-child { max-width: 390px; margin-top: 24px; color: var(--muted); }
.services-list > .button { display: none; }
.service-selector { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-bottom: 24px; }
.service-selector button { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); text-align: left; font-size: 12px; cursor: pointer; }
.service-selector button span { font-size: 14px; }
.service { border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service summary { display: grid; grid-template-columns: 24px minmax(0,1fr) 16px; align-items: start; gap: 16px; padding: 24px 16px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.service-number { padding-top: 5px; font-size: 12px; }
.service h3 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 300; letter-spacing: -.025em; }
.service-toggle::before { content: '+'; font-size: 24px; line-height: 1; }
.service[open] .service-toggle::before { content: '\2212'; }
.service-body { padding: 0 24px 24px 56px; font-size: 16px; }
.service-body p { margin: 0 0 16px; }
.service-body .text-link { font-size: 14px; }
.service-price { color: var(--muted); }
.service-links { display: flex; flex-wrap: wrap; gap: 16px; }
.service-context { margin-top: 48px; }
.service-context-intro { max-width: 680px; margin-bottom: 32px; font-size: 20px; line-height: 1.4; }
.context-fold { border-top: 1px solid var(--line); }
.context-fold:last-child { border-bottom: 1px solid var(--line); }
.context-fold > summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding-block: 16px; list-style: none; cursor: pointer; font-size: 17px; }
.context-fold > summary span { font-size: 24px; font-weight: 300; transition: transform .2s; }
.context-fold[open] > summary span { transform: rotate(45deg); }
.context-fold > section { padding-block: 24px 40px; }
.context-fold .wrap, .context-fold .wrap.wrap { width: 100%; max-width: none; }
.context-fold .section-title { font-size: 32px; margin-bottom: 24px; }
.context-fold .small-label { margin-bottom: 16px; }
.problems-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.about-location { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.about-location .icon { width: 16px; }
.problems-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.problems-intro h2 { font-size: 32px; }
.problems-intro p { margin: 0; color: var(--muted); }
.problem-grid, .values-grid, .method-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.problem-grid article, .values-grid article, .method-grid li { position: relative; padding: 24px 16px; border: 1px solid var(--line); }
.values-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 24px; }
:is(.problem-grid,.values-grid,.method-grid) h3 { margin: 24px 0 16px; font-size: 20px; font-weight: 400; line-height: 1.25; }
:is(.problem-grid,.values-grid,.method-grid) p { margin: 0; font-size: 15px; }
:is(.problem-grid,.method-grid) > * > span { font-size: 12px; }
.value-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1; }
.values .button-light { background: var(--ink); color: var(--paper); }
.work.wrap { width: 100%; max-width: none; padding-inline: max(48px, calc((100% - 1200px)/2)); color: var(--paper); background: var(--ink); --focus-color: var(--surface); --line: rgb(255 255 255 / .22); --muted: #c9c9c9; }
.section-heading-center { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; align-items: end; margin-bottom: 48px; }
.section-heading-center .small-label { grid-column: 1/-1; margin-bottom: 0; color: var(--surface); }
.section-heading-center h2 { margin: 0; }
.section-heading-center > p:last-child { max-width: 440px; margin: 0; color: var(--muted); font-size: 17px; }
.portfolio-formats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-bottom: 24px; }
.format-card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 88px; border: 1px solid var(--line); padding: 16px; color: inherit; background: transparent; cursor: pointer; text-align: left; }
.format-number { font-size: 11px; opacity: .75; }
.format-title { font-size: 17px; line-height: 1.1; }
.format-copy, .format-action { display: none; }
.portfolio-panels { margin-bottom: 48px; }
.format-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 24px; border: 1px solid var(--line); }
.format-panel-copy h3 { margin: 16px 0; font-size: 28px; font-weight: 300; letter-spacing: -.025em; }
.format-panel-copy p:last-child { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.format-panel-assets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.format-panel-assets figure { margin: 0; }
.format-panel-assets figure img { width: 100%; height: 200px; object-fit: contain; background: #282828; }
.format-panel-assets figcaption { margin-top: 8px; font-size: 11px; color: var(--muted); }
.reels-preview, .web-preview, .case-links { grid-column: 1/-1; min-height: 200px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 24px; background: #292929; }
.reels-preview .icon { width: 24px; height: 24px; }
.reels-preview p { font-size: 20px; margin: 0; }
.reels-preview > span { color: var(--muted); font-size: 13px; }
.web-asset-placeholder p { margin: 12px 0; font-size: 24px; font-weight: 300; }
.web-asset-placeholder > span:last-child { font-size: 13px; color: var(--muted); }
.case-links a { display: flex; width: 100%; justify-content: space-between; padding-block: 8px; border-bottom: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 24px; align-items: start; }
.project { min-width: 0; border: 1px solid var(--line); }
.project-image { position: relative; aspect-ratio: 1080/1352; width: 100%; overflow: hidden; background: #292929; }
.carousel { cursor: pointer; touch-action: pan-y pinch-zoom; }
.carousel-viewport, .carousel-track { width: 100%; height: 100%; }
.carousel-track { position: relative; list-style: none; margin: 0; padding: 0; }
.carousel-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .3s ease; }
.carousel-slide.is-active { visibility: visible; opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; }
.carousel-button { position: absolute; top: 0; bottom: 0; width: 35%; border: 0; background: transparent; cursor: pointer; z-index: 2; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-button:focus-visible { outline-offset: -5px; }
.carousel-counter { position: absolute; bottom: 16px; left: 16px; margin: 0; padding: 6px 10px; background: var(--ink); color: var(--paper); font-size: 11px; pointer-events: none; }
.project-caption { padding: 24px; }
.project-caption .small-label { font-size: 11px; margin-bottom: 12px; }
.project-caption h3 { margin: 0 0 16px; font-size: 32px; font-weight: 300; letter-spacing: -.025em; }
.project-description { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.project-details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; list-style: none; cursor: pointer; border-top: 1px solid var(--line); font-size: 14px; }
.project-detail { padding-block: 16px 0; font-size: 15px; }
.project-detail p { margin-top: 0; }
.project-detail a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: underline; text-underline-offset: 4px; }
.work-grid .project:nth-child(3) { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.work-grid .project:nth-child(3) .project-image { aspect-ratio: auto; min-height: 360px; height: 100%; }
.image-placeholder { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: var(--ink); background: var(--surface); }
.placeholder-number, .placeholder-caption { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.post-stack { margin: auto; }
.post-stack > span { display: none; }
.post-stack > div { display: flex; flex-direction: column; align-items: center; gap: 16px; font-size: 48px; font-weight: 300; }
.post-stack .placeholder-icon { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1; }
.brand-strip { margin-top: 80px; padding: 32px 24px; color: var(--ink); background: linear-gradient(rgb(255 255 255 / .93),rgb(255 255 255 / .93)), url('textures/tejido-claro.webp') center/cover; --line: #E0E0E0; --focus-color: var(--ink); }
.brand-strip > p { text-align: center; margin-bottom: 32px; }
.brand-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; align-items: center; }
.brand-grid a { min-width: 0; min-height: 100px; padding: 16px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.brand-grid img { max-width: 180px; width: 100%; height: auto; max-height: 72px; object-fit: contain; }
.brand-grid .brand-cachito { width: 44px; height: 64px; }
.brand-grid .brand-nayah { width: 90px; }
.brand-grid a > span { font-size: 20px; }
.brand-grid a:last-child { background: var(--ink); color: var(--paper); }
.editorial-band { position: relative; isolation: isolate; color: var(--ink); background: var(--paper); }
.editorial-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(255 255 255 / .83),rgb(255 255 255 / .83)), url('textures/arena-estriada.webp') center/cover; filter: grayscale(1); }
.editorial-inner { position: relative; padding-block: 80px; }
.editorial-inner h2 { position: relative; z-index: 1; max-width: 800px; margin: 32px 0 24px; font-size: clamp(36px,4.8vw,64px); font-weight: 300; line-height: 1.05; letter-spacing: -.035em; }
.editorial-inner > p:last-of-type { position: relative; z-index: 1; max-width: 600px; margin-bottom: 0; font-size: 17px; }
.editorial-wave { position: absolute; bottom: 40px; right: 0; width: 240px; height: auto; filter: brightness(0); opacity: .1; }
.contact { position: relative; color: var(--paper); background: linear-gradient(rgb(31 31 31 / .92),rgb(31 31 31 / .96)), url('textures/saten-carbon.webp') center/cover; --focus-color: var(--surface); --muted: #c9c9c9; --line: rgb(255 255 255 / .22); }
.contact-inner { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); align-items: start; gap: 80px; }
.contact-copy { position: sticky; top: 128px; }
.contact-copy > .small-label { color: var(--surface); }
.contact-copy h2 { margin-top: 24px; }
.contact-copy > p:not(.small-label) { margin-top: 24px; max-width: 400px; font-size: 17px; color: var(--muted); }
.contact-options { margin-block: 32px; scroll-margin-top: 112px; --choice-fill: var(--surface); --choice-ink: var(--ink); }
.contact-options h3 { font-size: 24px; font-weight: 300; }
.contact-options > p { margin-block: 12px 24px; font-size: 16px; }
.contact-options-grid { display: grid; gap: 12px; }
.contact-choice { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; min-width: 0; min-height: 104px; width: 100%; padding: 16px; border: 1px solid var(--line); background: transparent; color: inherit; text-align: left; transition: background .2s,color .2s,border-color .2s; }
.contact-choice > span:first-child { display: grid; gap: 8px; }
.contact-choice strong { font-size: 18px; font-weight: 400; line-height: 1.3; }
.contact-choice > span:first-child > span { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; opacity: .8; }
.contact-choice > span[aria-hidden] { font-size: 24px; font-weight: 300; }
.contact-choice:is(:hover,:focus-visible,:active):not(:disabled) { background: var(--choice-fill); color: var(--choice-ink); border-color: currentColor; }
.contact-choice:disabled { opacity: .6; cursor: not-allowed; }
.contact .contact-options { --choice-fill: var(--paper); }
.contact-signature { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.contact-signature img { width: 196px; height: auto; }
.contact-signature span { max-width: 300px; font-size: 13px; color: var(--muted); }
.contact-more { margin-top: 80px; }
.contact-more .method-heading { margin-bottom: 32px; }
.contact-more .method-grid p { color: var(--muted); }
.contact-more .faq-list summary { color: var(--paper); }
.contact-more .faq-list details[open] { background: transparent; }
.contact-more .faq-list p { color: var(--muted); }
.faq-list summary > span[aria-hidden] { display: none; }
.project-overview { padding: 32px; color: var(--paper); background: var(--ink); --focus-color: var(--surface); --line: rgb(255 255 255 / .22); --muted: #c9c9c9; }
.project-overview .brand-strip { --line: #E0E0E0; }
.booking-page { max-width: 1120px; grid-template-columns: minmax(0,1fr) minmax(0,620px); gap: 48px; }
.booking-context { margin-top: 0; padding-top: 24px; text-align: left; }
.booking-context .contact-options { margin-top: 0; }
.booking-context a.contact-choice { display: grid; }
.booking-context a { display: inline-flex; align-items: center; min-height: 48px; }
.footer.wrap { width: 100%; max-width: none; padding: 48px max(48px,calc((100% - 1200px)/2)) 24px; color: var(--paper); background: var(--ink); --focus-color: var(--surface); --muted: #c9c9c9; --line: rgb(255 255 255 / .22); }
.footer-top { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 48px; padding-bottom: 48px; }
.footer-brand { display: block; width: 196px; margin-bottom: 24px; }
.footer-top p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-top nav { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 14px; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-contact .text-link { font-size: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer a:hover { color: var(--surface); }
:is(.nav-shell,.services-grid,.contact-inner,.section-heading-center,.format-panel,.work-grid,.footer-top,.problem-grid,.values-grid,.method-grid,.brand-grid) > * { min-width: 0; }
@media (max-width: 1000px) {
  .services-grid, .contact-inner { gap: 48px; }
  .section-heading-center { gap: 24px 48px; }
  .hero h1 { font-size: 60px; }
  .problem-grid, .method-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .format-title { font-size: 15px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; border: 0; padding: 12px 0 12px 12px; background: transparent; color: inherit; min-width: 48px; min-height: 48px; cursor: pointer; font-size: 14px; }
  .menu-lines { width: 20px; display: flex; flex-direction: column; gap: 5px; }
  .menu-lines i { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] .menu-lines i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .menu-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { position: absolute; display: none; top: 100%; left: 0; right: 0; padding: 24px 48px 32px; background: var(--ink); border-top: 1px solid rgb(255 255 255 / .2); }
  .main-nav[data-open='true'] { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .main-nav a { padding-block: 16px; font-size: 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-heading { max-width: 580px; }
  .services-heading h2, .services-heading > p:last-child { max-width: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .contact-copy h2 { max-width: 500px; }
  .contact-copy > p:not(.small-label) { max-width: 550px; }
  .contact-signature { display: none; }
  .booking-page { grid-template-columns: minmax(0,1fr); max-width: 620px; }
  .booking-context { padding-top: 0; }
  .call-booking { max-width: 600px; width: 100%; margin-inline: auto; }
  .format-panel { gap: 24px; }
  .brand-grid { gap: 8px; }
  .brand-grid a { padding: 8px; }
  .brand-grid a > span { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1/-1; }
}
@media (max-width: 640px) {
  .nav-shell { min-height: 72px; gap: 24px; }
  .site-header .brand { width: 112px; }
  .site-header .brand-full { display: none; }
  .site-header .brand-letters { display: block; }
  .main-nav { padding-inline: 24px; }
  .hero { min-height: 620px; min-height: max(600px,calc(100svh - 72px)); }
  .hero::after { background: rgb(3 12 16 / .77); }
  .hero-content { padding-block: 80px 104px; }
  .hero-kicker { margin-bottom: 24px; font-size: 13px; }
  .hero h1 { max-width: 420px; margin-bottom: 24px; font-size: clamp(36px,11.2vw,42px); line-height: 1; letter-spacing: -.035em; }
  .hero h1 span:last-child { max-width: 270px; margin-inline: auto; }
  .hero-description { max-width: 260px; font-size: 16px; line-height: 1.4; }
  .hero-actions { flex-direction: column; gap: 24px; margin-top: 32px; }
  .hero-foot { bottom: 24px; font-size: 10px; gap: 16px; }
  .hero-foot > span:first-child { display: none; }
  .hero-foot > span:last-child { margin-inline: auto; }
  .services-grid { gap: 32px; }
  .service-selector { gap: 8px; }
  .service-selector button { padding: 12px 8px; }
  .service-selector button span { font-size: 12px; }
  .service summary { grid-template-columns: 20px minmax(0,1fr) 16px; gap: 12px; padding: 24px 8px; }
  .service h3 { font-size: 22px; }
  .service-body { padding: 0 16px 24px 40px; }
  .service-context { margin-top: 32px; }
  .service-context-intro { font-size: 18px; }
  .context-fold > summary { font-size: 16px; }
  .context-fold .section-title, .problems-intro h2 { font-size: 28px; }
  .problems-intro { grid-template-columns: 1fr; gap: 24px; }
  .problem-grid, .values-grid, .method-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem-grid article, .values-grid article, .method-grid li { padding: 24px; }
  .work.wrap { padding-inline: 24px; }
  .section-heading-center { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .portfolio-formats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .format-card { padding: 12px; min-height: 80px; }
  .format-title { font-size: 14px; }
  .format-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px; }
  .format-panel-copy h3 { font-size: 26px; }
  .format-panel-assets figure img { height: 160px; }
  .format-panel-assets { gap: 8px; }
  .portfolio-panels { margin-bottom: 32px; }
  .project-overview { padding: 24px 16px; }
  .work-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-grid .project:nth-child(3) { grid-column: auto; display: block; }
  .work-grid .project:nth-child(3) .project-image { aspect-ratio: 4/5; min-height: 0; }
  .project-caption { padding: 24px 16px; }
  .project-caption h3 { font-size: 28px; }
  .brand-strip { margin-top: 48px; padding: 32px 16px; }
  .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .brand-grid a { padding: 8px; }
  .brand-grid img { max-width: 130px; }
  .brand-grid .brand-cachito { width: 36px; }
  .editorial-inner { padding-block: 64px; }
  .editorial-inner h2 { font-size: 40px; margin-top: 24px; }
  .editorial-wave { width: 160px; bottom: 24px; }
  .contact-copy h2 { font-size: 36px; }
  .contact-inner { gap: 32px; }
  .contact-more { margin-top: 48px; }
  .footer.wrap { padding: 48px 24px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-top nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
