.studio-home .site-header { background: #f8f7ef; border-bottom: 1px solid #d7dbcf; color: #15392c; }
.studio-home .site-header .brand > span:last-child { color: #47713f; }
.studio-home .site-header .brand-mark i { background: #395e37; }
.studio-home .site-header .main-nav a { color: #344e40; }
.studio-home .site-header .nav-cta { background: #183e30; color: #fffef5 !important; border-radius: 2rem; padding-inline: 1.2rem; }
.studio-home .site-header .menu-toggle { color: #234536; border-color: #aab7a6; }
.channel-hero {
  color: #f9faef;
  background: linear-gradient(100deg, #102b22f2 8%, #102b22d9 41%, #102a21cf 70%, #102b22eb),
    url('/assets/apaneca-estudio.webp') center 48% / cover, #102c22;
  border-bottom: 1px solid #284637;
}
.channel-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: 1fr auto auto 1fr;
  align-items: center;
  column-gap: clamp(1.65rem, 4.2vw, 4.4rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}
.channel-intro { grid-area: 2 / 1; }
.channel-layout > #channel-reel { grid-area: 1 / 2 / 5; }
.channel-actions { grid-area: 3 / 1; }
.channel-intro .eyebrow { color: #d1e6be; font-size: .72rem; letter-spacing: .125em; }
.channel-intro h1 { font-size: clamp(3.9rem, 6.5vw, 6.35rem); line-height: .98; letter-spacing: -.07em; margin: 1.05rem 0 1.35rem; }
.channel-intro em { display: block; font-family: "Baskerville", "Palatino Linotype", Georgia, serif; font-style: italic; font-weight: 500; color: #dcf2ab; letter-spacing: -.065em; }
.channel-description { max-width: 37ch; color: #e0e8db; font-size: clamp(1.03rem, 1.35vw, 1.2rem); line-height: 1.53; }
.channel-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.4rem; margin-top: 1.65rem; }
.channel-actions a { display: inline-flex; gap: .7rem; align-items: center; justify-content: center; min-height: 44px; font-weight: 670; font-size: .96rem; }
.channel-primary { color: #173327; background: #d7efab; padding: .75rem 1.2rem; border-radius: 3rem; }
.channel-primary:hover { background: #edffd0; }
.channel-secondary { color: #f3f5e9; text-decoration: underline; text-decoration-color: #91a293; text-underline-offset: .33em; }
.channel-actions a:focus-visible { outline-color: #e7ffb7; }
.channel-fallback { padding: 2rem; border-radius: 1.2rem; color: #173a2c; background: #f1f2e6; }
.channel-fallback p { margin-top: .7rem; }
.showcase { color: #173a2c; background: #f6eee0; border-bottom: 1px solid #d6ccba; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(2rem,5.2vw,5.2rem); padding-block: clamp(2.5rem,5vw,4.8rem); }
.showcase-intro > .eyebrow { display: flex; align-items: center; gap: .65rem; color: #4c614e; font-size: .72rem; letter-spacing: .1em; }
.studio-signal { display: inline-block; width: 1.6rem; height: 2px; background: #5d7d46; }
.showcase-intro h2 { font-size: clamp(2.9rem, 5.2vw, 5rem); line-height: .99; letter-spacing: -.065em; max-width: 14ch; margin: .85rem 0 1.2rem; text-wrap: balance; }
.showcase-intro em { display: block; color: #4b713f; font-family: "Baskerville", "Palatino Linotype", Georgia, serif; font-weight: 500; font-style: italic; letter-spacing: -.065em; }
.showcase-intro #hero-detail { color: #435647; max-width: 42ch; font-size: clamp(1rem,1.55vw,1.16rem); line-height: 1.55; }
.studio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; margin: 1.4rem 0; }
.studio-actions > * { display: inline-flex; justify-content: center; gap: .6rem; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 700; }
.studio-actions > a { padding: .7rem 1.15rem; border-radius: 2rem; background: #1a4533; color: #fafcf4; }
.studio-actions > a:hover { background: #295a42; }
.studio-actions > button { color: #274f3b; background: transparent; border: 0; padding: .45rem .1rem; text-decoration: underline; text-underline-offset: .25em; }
.showcase-work { min-width: 0; padding: clamp(1rem,2.4vw,2.1rem); background: radial-gradient(ellipse at 0 0,#365641,transparent 68%),#18362a; border: 1px solid #45624e; border-radius: 1.65rem; color: #fffef4; box-shadow: 0 20px 44px -29px #273e2d80; scroll-margin-top: 1rem; }
.showcase-picker { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin: 0 .25rem .6rem; }
.showcase-picker label { font-weight: 650; font-size: .9rem; }
.live-route { display: flex; gap: .5rem; list-style: none; padding: 0 .15rem; margin: .45rem 0 .8rem; }
.live-route li { display: flex; flex: 1; align-items: center; gap: .45rem; font-size: .72rem; color: #ccdbcb; }
.live-route li::after { content: ''; flex: 1; height: 2px; background: linear-gradient(to right,#c9eb9d 50%,#708a76 50%); background-size: 200% 100%; background-position: 100% 0; transition: background-position .32s ease-out; }
.live-route li.is-past::after { background-position: 0 0; }
.live-route li[aria-current] { color: #daffac; font-weight: 740; }
.showcase-picker select { min-width: 0; max-width: 62%; border: 1px solid #82978a; border-radius: .6rem; padding: .48rem .55rem; background: #20382c; color: #fcfdf9; }
.showcase .sector-panel { border: 1px solid #cbd6c8; border-radius: 1.15rem; box-shadow: 0 12px 32px #0b150e35; color: var(--ink); }
.showcase .sector-chat-header { background: #253e32; min-height: 3.8rem; }
.showcase .sector-chat { min-height: 10rem; max-height: min(32vh,17rem); background: #edf2e9; }
.showcase .sector-bubble { animation: chat-appear .2s ease-out; }
.showcase .sector-change { display: none; }
.showcase .sector-demo-tag { display: inline-block !important; }
.showcase .sector-option:first-child { background: #e6f1da; }
.showcase .sector-options button, .showcase-picker select { min-height: 44px; }
.showcase .sector-chat-status:not(:empty)::before { content: ''; display: inline-block; width: .52rem; height: .52rem; border-radius: 50%; margin-right: .4rem; background: #5b8956; animation: status-pulse .9s ease-in-out infinite alternate; }
.showcase .sector-team { margin-top: .6rem; }
.showcase .sector-team-header { min-height: 3rem; }
.showcase .sector-ticket { background: #f5f7ef; }
.showcase .sector-team-footer { display: none; }
.own-product { border-bottom: 1px solid #809486; margin-top: .45rem; }
.own-product summary { cursor: pointer; padding: .8rem .25rem; color: #e2f3d2; font-weight: 650; }
.own-product form { display: grid; grid-template-columns: 1.4fr 1fr; gap: .8rem; margin: .4rem 0 1rem; }
.own-product label { display: grid; gap: .4rem; font-size: .87rem; }
.own-product input { min-width: 0; width: 100%; border: 1px solid #abb9ac; border-radius: .55rem; padding: .62rem; background: #fcfdf9; color: var(--ink); }
.own-product form button { grid-column: 1/-1; justify-self: start; }
#sample-preview { margin: 0 0 1rem; padding: 1rem; background: #f3f6ed; color: var(--ink); border-radius: .7rem; }
.sample-question { font-size: .85rem; color: #405543; }
#sample-answer { white-space: pre-line; overflow-wrap: anywhere; margin: .6rem 0 1rem; }
#sample-activate,.service-demo-link { text-decoration: underline; text-underline-offset: .22em; font-weight: 650; }
.service-demo-link { display: inline-block; color: #345b38; }
@keyframes chat-appear { from { opacity: .45; transform: translateY(3px); } }
@keyframes status-pulse { to { opacity: .35; } }
@media(max-width:780px) {
  .channel-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: .85rem; padding-block: 1.1rem 1.4rem; }
  .channel-layout > .channel-intro, .channel-layout > #channel-reel, .channel-layout > .channel-actions { grid-area: auto; }
  .channel-intro h1 { font-size: clamp(2.8rem, 8.9vw, 4.1rem); margin: .47rem 0 .6rem; }
  .channel-intro em { display: inline; }
  .channel-description { font-size: .97rem; line-height: 1.4; max-width: 55ch; }
  .channel-actions { margin-top: 0; gap: .45rem 1.05rem; }
  .channel-actions a { font-size: .87rem; }
  .channel-hero { background-position: center, 58% 24%; }
  .studio-home .main-nav { background: #f8f7ef; }
  .showcase-grid { grid-template-columns: minmax(0,1fr); padding-block: 1.4rem 2rem; gap: 1rem; }
  .showcase-intro h2 { max-width: 17ch; font-size: clamp(2.55rem,8.6vw,4rem); margin: .55rem 0 .75rem; }
  .showcase-intro em { display: inline; }
  .showcase-intro #hero-detail { font-size: .96rem; line-height: 1.38; max-width: 48ch; }
  .studio-actions { margin: .85rem 0 0; }
  .studio-actions > * { font-size: .88rem; }
  .showcase-work { padding: .75rem; border-radius: 1.2rem; }
  .showcase .sector-chat { min-height: 7rem; max-height: min(31vh,15rem); }
  .showcase .sector-compose input { font-size: 1rem; }
}
.services { background: #f7f7f0; }
@media (max-width:620px) and (max-height:700px) {
  .studio-home .header-inner { min-height: 3.25rem; }
  .channel-layout { padding-top: .7rem; gap: .6rem; }
  .channel-intro .eyebrow { display: none; }
  .channel-intro h1 { margin: 0 0 .3rem; font-size: clamp(2.2rem, 9vw, 3rem); }
}
@media (max-width:350px) and (max-height:610px) {
  .channel-layout > .channel-intro { display: contents; }
  .channel-intro h1 { grid-row: 1; margin: 0; }
  .channel-layout > #channel-reel { grid-row: 2; }
  .channel-description { grid-row: 3; }
  .channel-layout > .channel-actions { grid-row: 4; }
}
.product-heading { grid-template-columns: 1.2fr .8fr; }
.product-heading h2 { max-width: 13ch; }
.product-shelf { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.product-story { display: flex; flex-direction: column; min-width: 0; border: 1px solid #cfd6cb; border-radius: 1.2rem; overflow: hidden; background: #fffefa; }
.product-scene { display: grid; place-items: center; padding: 2.2rem 1.3rem; isolation: isolate; position: relative; overflow: hidden; }
@media (min-width:781px) { .product-scene { min-height: 14rem; } }
.food-story .product-scene { background: repeating-linear-gradient(90deg,transparent 0 22px,#ffffff38 22px 44px), repeating-linear-gradient(0deg,#e6c5a5 0 22px,#f4d8b9 22px 44px); }
.appointment-story .product-scene { background: linear-gradient(135deg, #f1e7ee, #d8bed4); }
.appointment-story .product-scene::before { content: ''; position: absolute; inset: 20% -10% -65% 24%; border: 1px solid #b69db3; border-radius: 50%; z-index: -1; box-shadow: 0 0 0 16px #ffffff2e,0 0 0 32px #ffffff20; }
.workshop-story .product-scene { background-color: #d3e3df; background-image: linear-gradient(#92aea54d 1px, transparent 1px),linear-gradient(90deg,#92aea54d 1px,transparent 1px); background-size: 17px 17px; }
.sample-sheet { width: min(100%,14.5rem); padding: .9rem 1rem; background: #fffdf7; color: #22382c; box-shadow: 0 7px 14px #28352824; transition: transform .25s ease-out; }
.sample-sheet small { display: block; font-size: .68rem; text-transform: uppercase; font-weight: 700; letter-spacing: .075em; }
.sample-sheet strong { display: block; font-size: clamp(1.16rem,1.8vw,1.54rem); line-height: 1.13; letter-spacing: -.045em; padding: .55rem 0 .8rem; }
.sample-sheet span { display: flex; justify-content: space-between; gap: .4rem; border-top: 1px dashed #acb9a9; padding-top: .55rem; font-size: .79rem; }
.kitchen-sheet { transform: rotate(-3deg); border-bottom: .26rem dotted #d8b996; font-family: ui-monospace, Consolas, monospace; }
.appointment-sheet { transform: rotate(2deg); border-left: .35rem solid #805676; border-radius: .5rem; }
.workshop-sheet { transform: rotate(-2deg); border-top: .35rem solid #466b60; }
.product-story:focus-within .sample-sheet { transform: translateY(-3px) rotate(0deg); }
@media (hover:hover) { .product-story:hover .sample-sheet { transform: translateY(-3px) rotate(0deg); } }
.product-description { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
.product-description h3 { font-size: clamp(1.22rem,2vw,1.6rem); letter-spacing: -.045em; }
.product-description p { color: var(--muted); line-height: 1.55; margin: .55rem 0 .8rem; }
.product-description a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-top: 1px solid var(--edge); padding-top: .55rem; margin-top: auto; color: #28533a; font-weight: 730; }
.product-description a:hover { text-decoration: underline; text-underline-offset: .2em; }
.other-products { display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; margin-top: 1rem; }
.other-products a { display: inline-flex; align-items: center; min-height: 44px; }
.enterprise-capabilities { margin-top: 1.1rem; border-block: 1px solid #c9d3c4; }
.enterprise-capabilities summary { cursor: pointer; font-size: 1.09rem; padding-block: 1.1rem; font-weight: 700; }
.enterprise-capabilities > p { max-width: 70ch; line-height: 1.6; color: var(--muted); margin-bottom: 1rem; }
.enterprise-capabilities > a { margin-block: 1rem; }
.report-demo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.8rem; padding: clamp(1rem,3vw,2.2rem); margin-block: .3rem 1.3rem; color: #f0f5eb; background: #263f33; border-radius: 1rem; }
.report-demo h3 { font-size: clamp(1.5rem,2.7vw,2.4rem); max-width: 17ch; line-height: 1.07; letter-spacing: -.055em; }
.report-demo > div p { margin-top: .75rem; line-height: 1.5; max-width: 43ch; }
.sales-sample { padding: 1rem; background: #f7faef; color: #1d3327; border-radius: .7rem; }
.sales-sample figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .3rem; font-weight: 730; margin-bottom: .9rem; }
.sales-sample small { color: #4d6054; font-weight: 500; }
.sales-sample div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem .6rem; margin: .55rem 0; font-size: .9rem; }
.closing-days { display: flex; flex-wrap: wrap; padding: 0; margin: 1rem 0 0; border: none; gap: .45rem; }
.closing-days legend { padding: 0; margin-bottom: .45rem; font-size: .83rem; }
.closing-days label { display: inline-flex; gap: .4rem; min-height: 44px; align-items: center; padding: .4rem .65rem; border: 1px solid #9baa9c; border-radius: .45rem; cursor: pointer; }
.closing-days label:has(:checked) { color: #21322a; background: #e3f4d1; border-color: #e3f4d1; }
.closing-days input { accent-color: #446641; }
.closing-bar { grid-column: 1/-1; display: block; overflow: hidden; border-radius: .3rem; height: .48rem; background: #dfe7d8; }
.closing-bar::before { content: ''; display: block; height: 100%; background: #567e57; transform-origin: left; transform: scaleX(var(--share)); transition: transform .35s ease-out; }
@media(prefers-reduced-motion:reduce) { .closing-bar::before { transition: none; } }
.sales-sample p { margin-top: .75rem; font-size: .9rem; line-height: 1.45; }
@media (max-width:780px) {
  .product-heading, .product-shelf, .report-demo { grid-template-columns: minmax(0,1fr); }
  .product-heading { gap: .8rem; }
  .product-heading h2 { max-width: 100%; }
  .product-scene { padding: 1.5rem; }
  .product-description { padding: 1rem; }
}
@media (prefers-reduced-motion:reduce) {
  .product-story .sample-sheet { transition: none; }
  .product-story:hover .sample-sheet, .product-story:focus-within .sample-sheet { transform: none; }
}
@media(prefers-reduced-motion:reduce) {
  .showcase *, .showcase *::before { animation: none !important; transition: none !important; }
}
