/* AppInnova visual direction: warm editorial layouts and product-led examples. */
:root { --ai-ink: #17263d; --ai-orange: #ee692c; --ai-teal: #267d9e; --ai-muted: #6b7380; --ai-line: #e8e9ec; }
body { font-family: "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ai-container { width: min(1240px, calc(100% - 96px)); }
.ai-header { background: #fffefaed; border-color: #ecebe7; }
.nav-wrap { height: 92px; }
.ai-logo { width: 210px; }
.nav-wrap nav { gap: 24px; }
.nav-wrap nav > a { font-size: 12px; }
.ai-btn { border-radius: 7px; padding: 17px 24px; font-size: 13px; background: #ed682e; box-shadow: 0 7px 18px #ec69251c; }
.ai-btn:hover { background: #d95520; }
.marketing h1, .marketing h2, .marketing h3 { font-family: inherit; }
.marketing h2 { font-size: 43px; font-weight: 700; line-height: 1.18; letter-spacing: -1.8px; }
.eyebrow { font-size: 10px; letter-spacing: 1.5px; color: #d66433; }
.ai-section { padding-block: 100px; }
.v2-hero { overflow: hidden; background: #fbf8f2; position: relative; }
.v2-hero::after { content: ''; width: 180px; height: 180px; position: absolute; top: -95px; right: 20%; border: 1px solid #e5dfd4; border-radius: 50%; pointer-events: none; }
.v2-hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; min-height: 740px; align-items: center; gap: 30px; padding-block: 55px 65px; }
.v2-hero-copy { position: relative; z-index: 2; }
.v2-hero-copy .hero-eyebrow { color: #7f7a6c; letter-spacing: 1.7px; font-size: 10px; margin-bottom: 26px; }
.hero-eyebrow i { background: #ef783b; box-shadow: 0 0 0 5px #f8e7d9; }
.v2-hero h1 { font-size: clamp(64px, 6.05vw, 87px); font-weight: 750; letter-spacing: -5px; line-height: 1.02; margin-bottom: 26px; }
.v2-hero h1 > span { color: #ed682e; position: relative; white-space: nowrap; }
.v2-hero-copy > p { font-size: 16px; max-width: 465px; line-height: 1.8; color: #73777e; }
.hero-price { display: flex; align-items: center; gap: 20px; position: relative; width: fit-content; margin: 28px 0; padding: 0 30px 0 0; }
.hero-price > div > span { font-size: 9px; font-weight: 700; letter-spacing: 2px; display: block; color: #a56b49; margin-bottom: 0; }
.hero-price strong { display: block; font-size: 79px; line-height: 1; font-weight: 700; letter-spacing: -5px; color: #17263d; }
.hero-price sup { font-size: 37px; top: -.65em; margin-right: 4px; font-weight: 500; }
.hero-price > p { margin: 17px 0 0; border-left: 1px solid #d9d6ce; padding-left: 20px; display: flex; flex-direction: column; line-height: 1.9; font-size: 12px; }
.hero-price p b { font-size: 16px; color: #26384c; font-weight: 650; }
.price-spark { color: #e5ad67; font-size: 43px; font-weight: 400; position: absolute; right: -34px; top: 4px; transform: rotate(12deg); }
.v2-hero .hero-actions { margin-top: 28px; gap: 22px; flex-direction: row; align-items: center; }
.v2-hero .hero-actions .ai-btn { gap: 18px; }
.v2-platforms { display: flex; align-items: center; gap: 15px; margin-top: 28px; font-size: 11px; }
.v2-platforms > span { color: #8c8a86; font-size: 9px; margin-right: 3px; }
.v2-platforms b { color: #5c6068; font-weight: 600; }
.v2-platforms i { color: #c4bcb1; font-style: normal; font-size: 9px; }
.hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid #e5e0d7; color: #7f7d77; font-size: 11px; }
.hero-bottom span::before { content: '✓'; margin-right: 8px; color: #ca7d4c; }
.showcase { position: relative; height: 610px; min-width: 0; isolation: isolate; }
.showcase-halo { position: absolute; border-radius: 50%; background: #f2e7d7; width: 540px; height: 540px; top: 20px; left: 0; z-index: -1; }
.halo-small { width: 380px; height: 380px; background: #eaddc9; top: 100px; left: 75px; }
.app-device { position: absolute; border: 7px solid #263240; border-radius: 38px; box-shadow: 14px 24px 45px #2c281528; background: #fff; padding: 14px 15px 12px; overflow: hidden; color: #1d2b39; }
.food-device { width: 265px; height: 535px; left: 30px; top: 36px; transform: rotate(-7deg); z-index: 3; }
.clinic-device { width: 232px; height: 476px; right: -2px; top: 78px; transform: rotate(9deg); z-index: 1; background: #fbfdfc; }
.device-notch { position: absolute; background: #263240; border-radius: 20px; width: 83px; height: 19px; left: 50%; top: 8px; transform: translateX(-50%); }
.device-status { display: flex; justify-content: space-between; font-size: 8px; font-weight: 650; padding-bottom: 22px; }
.food-top, .clinic-top { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; }
.food-top small, .clinic-top small { display: block; color: #9a9792; font-size: 7px; font-weight: 400; margin-top: 2px; }
.restaurant-mark { font-size: 26px; color: #f0783e; font-weight: 800; font-family: Georgia, serif; }
.restaurant-mark > span { color: #293a4c; }
.bag-icon { margin-left: auto; background: #f9ede2; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; color: #e28045; }
.bag-icon .ai-icon { width: 15px; height: 15px; }
.food-greeting { font-size: 8px; color: #a7a19a; margin-top: 21px; }
.food-greeting h3 { font-size: 25px; line-height: 1.13; letter-spacing: -.9px; margin-top: 6px; color: #273746; }
.food-search { background: #f7f4f0; border-radius: 7px; padding: 8px 11px; font-size: 16px; color: #a3a19b; margin-top: 16px; line-height: 1; }
.food-search > span { font-size: 8px; margin-left: 6px; vertical-align: middle; }
.food-categories { display: flex; gap: 8px; margin-top: 14px; font-size: 8px; color: #9a968e; }
.food-categories > span { padding: 6px 12px; border-radius: 6px; }
.food-categories .selected { background: #ee773f; color: #fff; }
.food-product { margin-top: 13px; position: relative; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #f1ece6; }
.food-product > img { width: 100%; height: 110px; object-fit: cover; display: block; }
.food-popular { position: absolute; top: 9px; left: 9px; background: #fffffff0; color: #ad7045; border-radius: 4px; padding: 5px; font-size: 5px; letter-spacing: .5px; }
.food-product > div { padding: 11px; position: relative; }
.food-product h4 { font-size: 11px; font-weight: 700; margin: 0 0 4px; }
.food-product p { font-size: 7px; margin: 0 0 8px; }
.food-product strong { font-size: 15px; }
.food-product strong small { font-size: 7px; color: #9a9791; font-weight: 400; }
.add-food { position: absolute; right: 11px; bottom: 10px; background: #ee773f; color: #fff; border-radius: 5px; width: 24px; height: 24px; text-align: center; font-size: 19px; }
.device-action { background: #ed773f; color: #fff; border-radius: 7px; padding: 10px 12px; display: flex; justify-content: space-between; font-size: 9px; margin-top: 13px; font-weight: 600; }
.device-tabbar { display: flex; justify-content: space-around; font-size: 15px; margin-top: 12px; color: #b6aea6; }
.device-tabbar > span:first-child { color: #e17a45; }
.clinic-symbol { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #fff; background: #579b94; font-size: 24px; font-weight: 500; }
.clinic-greeting { font-size: 9px; color: #97aaa5; margin-top: 25px; }
.clinic-greeting h3 { color: #2b655e; font-size: 24px; letter-spacing: -.7px; line-height: 1.2; margin-top: 6px; }
.doctor-portrait { background: #e4f0e9; border-radius: 12px; height: 118px; margin-top: 13px; overflow: hidden; position: relative; }
.doctor-portrait > svg { width: 150px; height: 125px; position: absolute; right: 5px; bottom: -5px; }
.doctor-portrait > span { position: absolute; font-size: 60px; color: #bbdad0; top: 12px; left: 8px; }
.appointment-title { margin-top: 20px; font-size: 9px; font-weight: 600; display: flex; justify-content: space-between; }
.appointment-title span { color: #8eaaa0; font-size: 7px; }
.appointment { padding: 11px 0 0; display: flex; align-items: center; gap: 10px; }
.appointment > b { text-align: center; background: #e8f2eb; color: #4b8d7f; padding: 5px 10px; border-radius: 7px; font-size: 19px; line-height: 1.2; }
.appointment b small { display: block; font-size: 6px; letter-spacing: 1px; }
.appointment > span { font-size: 9px; font-weight: 650; }
.appointment span small { display: block; font-size: 7px; font-weight: 400; color: #9aaba5; margin-top: 4px; }
.teal-action { background: #468c7f; margin-top: 19px; }
.floating-label { position: absolute; z-index: 5; background: #fff; padding: 12px 17px; border: 1px solid #f3efea; box-shadow: 0 12px 28px #46331c0c; font-size: 11px; color: #35444c; font-weight: 600; border-radius: 10px; display: flex; align-items: center; gap: 10px; }
.label-own { top: 8px; left: 130px; transform: rotate(2deg); }
.label-own .ai-icon { color: #328571; background: #e4f2e9; border-radius: 50%; width: 23px; height: 23px; padding: 4px; }
.label-order { right: -15px; bottom: 15px; padding: 15px 18px; transform: rotate(-3deg); }
.label-order small { display: block; font-size: 8px; font-weight: 400; color: #909790; margin-top: 4px; }
.order-icon { width: 34px; height: 34px; background: #f9eadb; color: #d18950; border-radius: 9px; display: grid; place-items: center; }
.order-icon .ai-icon { width: 21px; height: 21px; }
.order-dot { width: 7px; height: 7px; border-radius: 50%; background: #75ab81; margin-left: 10px; }
.showcase-caption { position: absolute; bottom: -16px; left: 35px; font-size: 8px; color: #a49b8c; letter-spacing: .2px; }
.client-section { padding-block: 70px 65px; }
.client-heading { text-align: center; }
.client-heading .eyebrow { color: #99999a; font-size: 8px; margin-bottom: 12px; letter-spacing: 1.8px; }
.client-heading h2 { font-size: 25px; letter-spacing: -.6px; margin: 0; }
.client-heading p { font-size: 12px; color: #8d9198; margin: 12px 0 0; }
.client-logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; align-items: center; margin-top: 30px; }
.client-logo { margin: 0; min-width: 0; height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.client-logo img { width: 100%; max-width: 165px; height: 90px; object-fit: contain; }
.client-logo figcaption { font-size: 7px; color: #92979c; text-align: center; margin-top: 8px; }
.client-sutem img, .client-rojos-sushi img { max-width: 85px; height: 80px; }
.client-conago img { max-width: 90px; height: 80px; }
.client-torre-medica { background: #223e54; border-radius: 8px; height: 86px; padding: 4px 8px; }
.client-torre-medica img { height: 61px; width: 100%; object-fit: cover; object-position: center 45%; }
.client-torre-medica figcaption { color: #c2d1df; font-size: 6px; margin-top: 0; }
.client-liquidapromos img { object-fit: cover; height: 83px; object-position: center 48%; }
.industry-section { background: #f6f7f9; }
.industry-section .section-heading { margin-bottom: 45px; }
.section-heading > p { font-size: 14px; max-width: 320px; }
.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.industry-card { background: #fff; border: 1px solid #e6e8ec; border-radius: 16px; text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; color: inherit; }
.industry-card:hover { color: inherit; transform: translateY(-5px); box-shadow: 0 20px 35px #1c293e0a; }
.industry-visual { height: 285px; overflow: hidden; position: relative; }
.restaurant-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.visual-category { position: absolute; left: 25px; top: 22px; font-size: 8px; letter-spacing: 1px; font-weight: 650; padding: 9px 11px; border-radius: 5px; background: #fffffff0; color: #5e625e; z-index: 1; }
.mini-order { position: absolute; bottom: 20px; right: 22px; background: #fff; border-radius: 9px; padding: 12px 15px; display: flex; align-items: center; gap: 10px; box-shadow: 0 7px 20px #352c1320; }
.mini-order > .ai-icon { background: #e9f5ee; color: #57986b; border-radius: 50%; padding: 4px; width: 28px; height: 28px; }
.mini-order > span { font-size: 11px; font-weight: 650; }
.mini-order small { display: block; font-size: 8px; color: #8e9791; font-weight: 400; margin-top: 3px; }
.mini-order b { font-size: 20px; color: #dda272; margin-left: 20px; }
.industry-copy { padding: 32px; }
.industry-copy .eyebrow { font-size: 8px; letter-spacing: 1.3px; margin-bottom: 14px; }
.industry-copy h3 { font-size: 31px; letter-spacing: -1.3px; line-height: 1.2; }
.industry-copy > p { font-size: 13px; margin-block: 16px 25px; max-width: 420px; }
.industry-link { font-size: 12px; font-weight: 650; display: flex; justify-content: space-between; align-items: center; padding-top: 19px; border-top: 1px solid #edeef1; }
.industry-link .ai-icon { width: 19px; height: 19px; }
.medical-visual { background: #e2eeeb; }
.medical-graphic { position: relative; width: 100%; height: 100%; background: radial-gradient(circle at 10% 100%,#c5ddd5,transparent 70%); }
.medical-cross { position: absolute; font-size: 220px; line-height: 1; left: 12px; bottom: -14px; font-weight: 600; color: #b5d5cb; transform: rotate(-9deg); }
.calendar-preview { position: absolute; width: 255px; height: 225px; top: 47px; left: 50%; transform: translateX(-42%) rotate(7deg); padding: 20px; background: #fff; border-radius: 13px; box-shadow: 0 14px 25px #2e554219; }
.calendar-preview header { display: flex; justify-content: space-between; font-size: 12px; color: #4e7068; }
.calendar-dow, .calendar-dates { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px 7px; text-align: center; font-size: 8px; color: #879d96; }
.calendar-dow { margin-top: 20px; margin-bottom: 10px; font-weight: 650; }
.calendar-dates span { display: grid; place-items: center; height: 22px; }
.calendar-dates .day-selected { background: #378f78; border-radius: 50%; color: #fff; }
.mini-appointment { position: absolute; left: 35px; bottom: 21px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; box-shadow: 0 5px 20px #1f594f15; border-radius: 9px; transform: rotate(-5deg); }
.mini-appointment > span { background: #e2f3e8; color: #519679; padding: 5px 9px; border-radius: 50%; }
.mini-appointment > div { font-size: 11px; font-weight: 650; }
.mini-appointment small { display: block; font-size: 8px; color: #8e9e97; font-weight: 400; margin-top: 3px; }
.medical-card .eyebrow { color: #3f8e79; }
.other-industries { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 32px 0 0; }
.other-industries > span { font-size: 10px; color: #9a9fa8; max-width: 115px; }
.other-industries a { display: inline-flex; gap: 10px; align-items: center; font-size: 11px; font-weight: 600; text-decoration: none; }
.other-industries .ai-icon { color: #8b96a6; width: 17px; height: 17px; }
.other-industries a:hover { color: var(--ai-orange); }
.operation-section .feature { padding: 31px; background: #fff; }
.operation-section .feature-icon { width: 49px; height: 49px; }
.features-grid { border-radius: 13px; }
.feature p { font-size: 13px; }
.v2-brand-band { background: #172b45; padding: 85px 0; color: #fff; overflow: hidden; }
.v2-brand-band .custom-grid { gap: 80px; }
.v2-brand-band .eyebrow { color: #e9b78b; }
.v2-brand-band h2 { font-size: 39px; }
.v2-brand-band p { color: #aebdce; font-size: 14px; margin-top: 22px; }
.v2-brand-band .ai-btn { margin-top: 20px; }
.brand-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; transform: rotate(-3deg); }
.bento-main { grid-column: 1 / -1; padding: 30px; border: 1px solid #ffffff25; border-radius: 13px; background: #ffffff08; position: relative; }
.bento-brand { font-size: 52px; letter-spacing: -2.5px; font-weight: 700; color: #ffdfbb; }
.bento-brand > span { font-size: 18px; vertical-align: top; margin-left: 5px; }
.color-dots { display: flex; gap: 8px; margin-top: 20px; }
.color-dots i { width: 20px; height: 20px; border-radius: 50%; background: #e99b60; }
.color-dots i:nth-child(2) { background: #f2dfbd; }
.color-dots i:nth-child(3) { background: #89b6ac; }
.color-dots i:nth-child(4) { background: #8eaccc; }
.bento-main p { font-size: 11px; margin: 20px 0 0; }
.bento-small { border: 1px solid #ffffff25; border-radius: 10px; padding: 22px; background: #ffffff08; }
.bento-small b { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.7px; color: #e8eef6; }
.bento-small > span { font-size: 9px; display: block; margin-top: 8px; color: #a3b4c9; }
.main-price { background: #fcf7f1; border-color: #edc49f; }
.price-card { padding: 40px; border-radius: 14px; }
.price-tag { color: #9d6938; background: #f4e5d3; }
.price-card .eyebrow { color: #c17d49; }
.price { margin-block: 30px; }
.price strong { font-size: 80px; font-weight: 700; letter-spacing: -5px; }
.price > span { color: #9e876f; }
.included .ai-icon { color: #c18352; }
.enterprise-price { background: #f7f9fc; border-color: #e3e7ee; }
.enterprise-price .eyebrow { color: #7f8d9f; }
.enterprise-price .included .ai-icon { color: #71859b; }
.enterprise-price .quote-price { font-size: 45px; }
.enterprise-price .outline { border-color: #c3cdda; }
.faq-section { background: #f7f8fa; }
.cta-section { background: #fbf0e3; border: 0; padding: 55px; }
.cta-section h2 { font-size: 35px; }
.cta-section .eyebrow { color: #b57e4b; }
.ai-footer { background: #f9fafc; }
.page-hero h1 { font-weight: 700; font-size: 65px; }
.page-hero h1 em { color: #e16c36; }
.additional-solutions { margin-top: 30px; grid-template-columns: repeat(3,1fr); }
.additional-solutions h2 { font-size: 25px; }
.additional-solutions .solution-card { padding: 28px; }
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding-block: 30px 45px; }
.detail-hero h1 { font-size: 66px; line-height: 1.03; letter-spacing: -3px; }
.detail-hero h1 em { font-style: normal; color: #e87740; }
.detail-hero > div > p { max-width: 475px; margin: 24px 0; }
.detail-hero .back-link { margin-bottom: 30px; }
.detail-price { font-size: 13px; color: #7f7e78; margin: 20px 0 28px; display: flex; gap: 10px; align-items: baseline; }
.detail-price strong { font-size: 45px; color: #27374a; letter-spacing: -2px; }
.detail-visual { overflow: hidden; padding: 20px; background: #faf3e9; border-radius: 20px; }
.clinic-detail { background: #edf5f1; }
.clinic-detail .food-device { left: -50px; opacity: .35; transform: rotate(-12deg) scale(.85); z-index: 0; }
.clinic-detail .clinic-device { right: 90px; transform: rotate(6deg) scale(1.13); z-index: 3; }
.clinic-detail .showcase-halo { background: #e2eee6; }
.clinic-detail .halo-small { background: #cfe3d7; }
.clinic-detail .label-order { display: none; }
.clinic-detail .label-own { top: 10px; left: 70px; }
.industry-detail > .pricing-grid { width: calc(100% - 48px); }
#soluciones, #comercios, #entregas { scroll-margin-top: 110px; }
@media(min-width:1450px) {
 .v2-hero-grid { min-height: 800px; }
 .showcase { transform: scale(1.04); }
}
@media(max-width:1150px) {
 .ai-container { width: calc(100% - 64px); }
 .nav-wrap nav { gap: 18px; }
 .ai-logo { width: 185px; }
 .v2-hero-grid { min-height: 660px; gap: 20px; }
 .v2-hero h1 { font-size: 70px; }
 .v2-hero-copy > p { font-size: 14px; }
 .v2-hero .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
 .showcase { height: 550px; }
 .food-device { left: 0; transform: rotate(-7deg) scale(.92); transform-origin: left center; }
 .clinic-device { right: -25px; top: 80px; transform: rotate(9deg) scale(.9); transform-origin: right center; }
 .showcase-halo { width: 430px; height: 430px; }
 .halo-small { width: 330px; height: 330px; left: 50px; }
 .label-own { left: 65px; top: 12px; }
 .label-order { right: -20px; bottom: 0; }
 .showcase-caption { bottom: -30px; left: 0; font-size: 7px; }
 .marketing h2 { font-size: 36px; }
 .industry-copy h3 { font-size: 28px; }
 .client-logos { gap: 18px; }
 .client-logo figcaption { font-size: 6px; }
 .other-industries { gap: 13px; flex-wrap: wrap; }
 .other-industries > span { flex-basis: 100%; max-width: none; }
 .v2-brand-band .custom-grid { gap: 45px; }
 .bento-brand { font-size: 43px; }
 .detail-hero h1 { font-size: 58px; }
 .clinic-detail .clinic-device { right: 45px; }
 .client-torre-medica img { object-fit: contain; }
}
@media(max-width:900px) {
 .nav-wrap { height: 78px; }
 .nav-wrap nav { top: 78px; }
 .v2-hero-grid { grid-template-columns: 1fr 1fr; gap: 0; padding-top: 45px; padding-bottom: 55px; }
 .v2-hero h1 { font-size: 58px; letter-spacing: -3.4px; }
 .v2-hero-copy .hero-eyebrow { font-size: 8px; letter-spacing: 1px; }
 .v2-hero-copy > p { font-size: 13px; max-width: 320px; }
 .hero-price strong { font-size: 66px; }
 .hero-price { gap: 13px; }
 .hero-price > p { padding-left: 13px; font-size: 10px; }
 .hero-price p b { font-size: 13px; }
 .price-spark { font-size: 30px; right: -5px; top: -3px; }
 .showcase { height: 475px; }
 .food-device { transform: rotate(-7deg) scale(.75); top: 0; }
 .clinic-device { transform: rotate(9deg) scale(.75); top: 45px; }
 .label-own { font-size: 8px; left: 30px; top: 4px; padding: 8px 12px; }
 .label-order { padding: 9px 12px; font-size: 9px; bottom: 0; }
 .label-order small { font-size: 6px; }
 .order-icon { width: 27px; height: 27px; }
 .showcase-halo { width: 340px; height: 340px; top: 60px; }
 .halo-small { width: 260px; height: 260px; top: 100px; }
 .showcase-caption { bottom: -20px; font-size: 6px; }
 .v2-platforms { gap: 10px; font-size: 9px; }
 .v2-platforms > span { font-size: 7px; }
 .hero-bottom { font-size: 9px; }
 .client-logos { grid-template-columns: repeat(4,1fr); gap: 22px; }
 .client-logo figcaption { font-size: 7px; }
 .client-heading h2 { font-size: 25px; }
 .client-section { padding-block: 55px; }
 .industry-visual { height: 240px; }
 .industry-copy { padding: 25px; }
 .industry-copy h3 { font-size: 25px; }
 .calendar-preview { width: 220px; height: 200px; padding: 15px; }
 .calendar-dow { margin-top: 16px; }
 .calendar-dates { gap: 3px; }
 .mini-appointment { left: 15px; bottom: 10px; }
 .visual-category { left: 16px; font-size: 6px; }
 .marketing h2 { font-size: 31px; }
 .industry-section .section-heading p { max-width: 240px; }
 .brand-bento { gap: 10px; }
 .bento-main { padding: 25px; }
 .bento-small { padding: 17px; }
 .bento-small b { font-size: 20px; }
 .bento-small > span { font-size: 8px; }
 .additional-solutions { grid-template-columns: 1fr 1fr; }
 .detail-hero { gap: 20px; }
 .detail-visual { padding: 5px; }
 .detail-hero h1 { font-size: 46px; }
 .detail-hero .showcase { height: 500px; }
 .detail-hero .label-own { left: 10px; }
 .clinic-detail .clinic-device { right: 20px; transform: rotate(6deg) scale(.9); }
}
@media(max-width:650px) {
 .ai-container { width: calc(100% - 40px); }
 .nav-wrap { height: 76px; }
 .ai-logo { width: 180px; }
 .nav-wrap nav { top: 76px; }
 .v2-hero-grid { display: flex; flex-direction: column; gap: 25px; padding-top: 40px; padding-bottom: 30px; }
 .v2-hero-copy { width: 100%; }
 .v2-hero h1 { font-size: clamp(53px, 11vw, 69px); letter-spacing: -3px; margin-bottom: 20px; }
 .v2-hero-copy .hero-eyebrow { font-size: 8px; margin-bottom: 22px; }
 .v2-hero-copy > p { max-width: 390px; font-size: 14px; }
 .hero-price { margin: 20px 0; gap: 20px; }
 .hero-price strong { font-size: 74px; }
 .hero-price > p { padding-left: 20px; font-size: 11px; }
 .hero-price p b { font-size: 14px; }
 .price-spark { right: -25px; font-size: 35px; }
 .v2-hero .hero-actions { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 24px; }
 .v2-hero .hero-actions .ai-btn { font-size: 12px; }
 .v2-hero .hero-actions .text-link { justify-content: center; font-size: 12px; }
 .v2-platforms { justify-content: center; margin-top: 22px; font-size: 10px; gap: 12px; }
 .v2-platforms > span { font-size: 8px; }
 .showcase { width: min(380px, 100%); height: 470px; margin-inline: auto; }
 .food-device { left: 5px; top: -5px; transform: rotate(-7deg) scale(.76); }
 .clinic-device { right: -10px; top: 25px; transform: rotate(9deg) scale(.73); }
 .showcase-halo { width: 350px; height: 350px; left: 0; top: 60px; }
 .halo-small { width: 260px; height: 260px; left: 50px; top: 110px; }
 .label-own { left: 70px; top: 6px; font-size: 8px; }
 .label-order { right: 0; bottom: 5px; }
 .showcase-caption { bottom: -13px; left: 8px; font-size: 6px; }
 .hero-bottom { justify-content: center; flex-wrap: wrap; gap: 10px 15px; font-size: 8px; padding-block: 25px 20px; }
 .hero-bottom > span:last-child { flex-basis: 100%; text-align: center; }
 .hero-bottom span::before { margin-right: 4px; }
 .ai-section { padding-block: 60px; }
 .marketing h2 { font-size: 30px; letter-spacing: -1.1px; }
 .section-heading > p { font-size: 13px; }
 .client-section { padding-block: 45px; }
 .client-heading .eyebrow { font-size: 7px; letter-spacing: 1px; }
 .client-heading h2 { font-size: 22px; }
 .client-heading p { font-size: 11px; max-width: 270px; margin-inline: auto; }
 .client-logos { grid-template-columns: repeat(3,1fr); gap: 15px 12px; margin-top: 23px; }
 .client-logo { height: 100px; }
 .client-logo img { height: 65px; }
 .client-logo figcaption { font-size: 6px; line-height: 1.5; }
 .client-sutem img, .client-rojos-sushi img { max-width: 65px; height: 65px; }
 .client-conago img { max-width: 65px; }
 .client-torre-medica { height: 80px; padding: 5px; }
 .client-torre-medica img { height: 53px; object-fit: cover; }
 .client-torre-medica figcaption { font-size: 5px; }
 .client-liquidapromos { grid-column: 2; }
 .client-liquidapromos img { height: 65px; }
 .industry-grid { grid-template-columns: 1fr; gap: 22px; }
 .industry-visual { height: 245px; }
 .industry-section .section-heading > p { max-width: none; }
 .industry-copy { padding: 26px; }
 .industry-copy h3 { font-size: 28px; }
 .industry-copy > p { font-size: 13px; }
 .industry-link { font-size: 11px; }
 .visual-category { font-size: 7px; }
 .calendar-preview { width: 235px; height: 205px; }
 .mini-appointment { left: 25px; bottom: 15px; }
 .other-industries { flex-direction: column; align-items: stretch; gap: 0; padding-top: 25px; }
 .other-industries > span { font-size: 10px; margin-bottom: 15px; }
 .other-industries > a { padding: 15px 0; border-bottom: 1px solid #e2e6ec; font-size: 12px; }
 .operation-section .feature { padding: 22px 17px; }
 .operation-section .feature-icon { width: 42px; height: 42px; }
 .operation-section .section-heading > .text-link { margin-top: 20px; }
 .operation-section .feature p { font-size: 12px; }
 .v2-brand-band { padding-block: 60px; }
 .v2-brand-band .custom-grid { gap: 45px; }
 .v2-brand-band h2 { font-size: 31px; }
 .v2-brand-band p { font-size: 13px; }
 .brand-bento { max-width: 390px; width: 100%; margin: auto; transform: rotate(-2deg); }
 .bento-main { padding: 25px; }
 .bento-brand { font-size: 46px; }
 .bento-main p { font-size: 10px; }
 .bento-small { padding: 20px; }
 .bento-small b { font-size: 23px; }
 .price-card { padding: 28px; }
 .price strong { font-size: 74px; }
 .enterprise-price .quote-price { font-size: 38px; }
 .cta-section { padding: 32px 24px; }
 .cta-section h2 { font-size: 27px; }
 .page-hero h1 { font-size: 42px; }
 .additional-solutions { grid-template-columns: 1fr; }
 .detail-hero { grid-template-columns: 1fr; padding-bottom: 15px; }
 .detail-hero h1 { font-size: 50px; }
 .detail-hero > div > p { font-size: 14px; }
 .detail-visual { padding: 10px; margin-top: 20px; }
 .detail-hero .showcase { height: 475px; }
 .detail-hero .label-own { left: 60px; }
 .clinic-detail .clinic-device { right: 35px; top: 40px; transform: rotate(6deg) scale(.95); }
 .clinic-detail .food-device { left: -40px; transform: rotate(-12deg) scale(.65); }
 .clinic-detail .label-own { left: 40px; }
}
@media(prefers-reduced-motion: reduce) { .industry-card { transition: none; } }
/* Keep the offer and device previews readable on very narrow screens. */
.food-device { height: 557px; }
.clinic-device { height: 496px; }
@media(max-width:380px) {
 .v2-hero h1 { font-size: 43px; letter-spacing: -2.4px; }
 .hero-price { gap: 12px; padding-right: 0; }
 .hero-price strong { font-size: 65px; }
 .hero-price > p { padding-left: 12px; font-size: 10px; }
 .hero-price p b { font-size: 12px; white-space: nowrap; }
 .price-spark { display: none; }
 .v2-platforms { gap: 8px; }
 .food-device { left: -4px; transform: rotate(-7deg) scale(.67); }
 .clinic-device { right: -14px; transform: rotate(9deg) scale(.63); }
 .showcase { height: 435px; }
 .label-own { left: 38px; }
 .label-order { right: -7px; font-size: 8px; bottom: 4px; }
 .label-order small { font-size: 6px; }
 .showcase-halo { width: 280px; height: 280px; }
 .halo-small { width: 220px; height: 220px; left: 30px; }
 .detail-hero h1 { font-size: 43px; }
 .clinic-detail .clinic-device { right: 14px; transform: rotate(6deg) scale(.85); }
}
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Contact submission: accessible native dialog with sending/success/error states. */
.contact-status { border: 1px solid #e7e9ed; border-radius: 22px; width: min(460px, calc(100% - 36px)); padding: 0; color: #17263d; background: #fff; box-shadow: 0 30px 100px #111f3b33; max-height: calc(100dvh - 40px); overflow: auto; }
.contact-status::backdrop { background: #13233d80; backdrop-filter: blur(5px); }
.contact-status-content { padding: 42px 34px 30px; text-align: center; }
.contact-status-icon { width: 80px; height: 80px; margin: 0 auto 26px; border-radius: 50%; background: #fff1e6; color: #ed682e; display: grid; place-items: center; }
.contact-status-icon svg { width: 46px; height: 46px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.contact-status .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 12px; }
.contact-status h2 { font-size: 27px; font-weight: 700; letter-spacing: -.8px; line-height: 1.25; margin-bottom: 14px; }
.contact-status p { font-size: 14px; color: #6b7380; line-height: 1.8; margin: 0; overflow-wrap: anywhere; }
.contact-status .status-close { width: 100%; margin-top: 26px; }
.contact-status [hidden] { display: none !important; }
.status-footnote { display: block; font-size: 10px; line-height: 1.7; color: #98a0aa; border-top: 1px solid #eef0f3; padding-top: 20px; margin-top: 26px; }
.status-spinner circle { opacity: .18; }
.status-spinner { animation: contact-spin 1s linear infinite; }
.status-success, .status-error { display: none; }
[data-state="success"] .contact-status-icon { color: #258369; background: #e8f5ee; }
[data-state="error"] .contact-status-icon { color: #c05a43; background: #fcf0ec; }
[data-state="success"] .status-spinner, [data-state="error"] .status-spinner { display: none; }
[data-state="success"] .status-success, [data-state="error"] .status-error { display: block; }
#contact-form button:disabled { opacity: .65; cursor: wait; transform: none; }
@keyframes contact-spin { to { transform: rotate(360deg); } }
@media(max-width:480px) { .contact-status-content { padding: 32px 24px 24px; } .contact-status h2 { font-size: 24px; } }
@media(prefers-reduced-motion:reduce) { .status-spinner { animation: none; } }

/* Marketing site typography and product preview */
:root { --ai-ink: #15243a; --ai-orange: #af3e1e; --ai-muted: #536174; }
.ai-container { width: min(1160px, calc(100% - 64px)); }
.ai-header { background: #fff; }
.nav-wrap { height: 76px; }
.nav-wrap nav > a { font-size: 14px; }
.ai-logo { width: 184px; height: auto; }
.ai-btn { background: #af3e1e; color: #fff; box-shadow: none; }
.ai-btn:hover { background: #913017; }
.ai-btn.light { background: #fff; color: #15243a; }
.ai-btn.light:hover { background: #f1f4f7; color: #15243a; }
.text-link { color: #9d3417; }
:where(.ai-header, .marketing, .ai-footer) :focus-visible { outline: 3px solid #2872ac; outline-offset: 4px; }
.marketing h2 { font-size: clamp(1.85rem, 4vw, 2.65rem); letter-spacing: -.04em; }
.ai-section { padding-block: clamp(52px, 7vw, 88px); }
.page-hero h1, .detail-hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -.045em; text-wrap: balance; }
.flex-hero { background: #f7f8fa; border-bottom: 1px solid #e2e7ee; }
.flex-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 76px); padding-block: clamp(56px, 8vw, 110px); }
.flex-hero .flex-kicker { color: #9d3417; font-size: .875rem; font-weight: 700; margin: 0 0 18px; }
.flex-hero h1 { font-size: clamp(2.75rem, 4.5vw, 4.3rem); line-height: 1.06; font-weight: 720; letter-spacing: -.055em; margin: 0 0 22px; }
.flex-desktop-break { display: none; }
.flex-hero .flex-lead { max-width: 43ch; font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: #536174; line-height: 1.62; margin: 0 0 26px; }
.flex-actions, .flex-more { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.flex-actions a, .flex-more a { min-height: 44px; }
.flex-facts { display: flex; gap: 20px 35px; border-top: 1px solid #dbe2eb; margin: 30px 0 0; padding-top: 20px; }
.flex-facts dt { font-size: .8rem; font-weight: 500; color: #536174; }
.flex-facts dd { font-size: .95rem; font-weight: 700; margin: 3px 0 0; }
.flex-preview { min-width: 0; margin: 0; }
.flex-preview-stage { position: relative; min-height: clamp(290px, 34vw, 438px); border-radius: 12px; background: #15243a; overflow: hidden; }
.flex-preview figcaption { color: #536174; font-size: .8rem; margin-top: 10px; }
.flex-console { position: absolute; inset: 10% 17% 21% 7%; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #dce3eb; }
.flex-console-bar { padding: 9px 12px; display: flex; gap: 8px; align-items: center; border-bottom: 1px solid #dce3eb; font-size: .75rem; font-weight: 700; }
.flex-console-mark { display: grid; place-items: center; width: 24px; height: 24px; background: #edf2f7; border-radius: 5px; }
.flex-console-mark .ai-icon { width: 14px; height: 14px; }
.flex-console-label { margin-left: auto; font-size: .65rem; color: #536174; }
.flex-console-body { padding: clamp(12px, 2vw, 25px); }
.flex-console-overline { display: block; color: #536174; font-size: .7rem; }
.flex-console-body > strong { display: block; margin: 4px 0 12px; font-size: clamp(1rem, 1.8vw, 1.4rem); }
.flex-order { width: 71%; display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid #dce3eb; font-size: clamp(.54rem, .9vw, .72rem); }
.flex-order b { color: #286652; font-weight: 650; }
.flex-phone { position: absolute; right: 5%; bottom: 8%; width: 34%; min-width: 112px; max-width: 174px; display: grid; gap: 7px; background: #fff; border: 4px solid #26384e; border-radius: 16px; padding: 10px; box-shadow: 0 12px 26px #0a142c60; font-size: .75rem; }
.flex-phone-header { font-weight: 750; }
.flex-phone img { width: 100%; height: auto; border-radius: 5px; }
.flex-phone-price { color: #536174; font-size: .66rem; }
.flex-phone-button { background: #af3e1e; color: #fff; border-radius: 4px; padding: 6px 3px; text-align: center; font-size: .6rem; }
.client-section { padding-block: 42px; }
.client-heading { text-align: left; }
.marketing .client-heading h2 { font-size: 1.25rem; letter-spacing: -.02em; }
.client-logo figcaption { font-size: .72rem; color: #536174; }
.client-torre-medica figcaption { color: #fff; }
.flex-home .section-heading { align-items: end; }
.flex-home .section-heading > h2 { max-width: 23ch; }
.flex-industry { min-width: 0; background: #fff; border: 1px solid #dee5ed; border-radius: 10px; overflow: hidden; }
.flex-industry > img, .flex-appointment { display: block; width: 100%; height: clamp(146px, 20vw, 220px); object-fit: cover; }
.flex-industry-copy { padding: clamp(20px, 3vw, 32px); }
.flex-industry-copy h3 { font-size: 1.45rem; margin: 0 0 10px; }
.flex-industry-copy p { color: #536174; max-width: 52ch; }
.flex-appointment { display: grid; align-content: center; justify-items: center; background: #eaf1f4; }
.flex-appointment > div { display: flex; align-items: center; gap: 10px; color: #536174; font-size: .8rem; }
.flex-appointment strong { display: block; font-size: 1.1rem; color: #15243a; }
.flex-appointment-icon { display: grid; place-items: center; width: 42px; height: 42px; background: #fff; color: #286652; border-radius: 8px; }
.flex-appointment-time { margin-top: 12px; font-size: .85rem; color: #286652; font-weight: 700; }
.flex-more { margin: 22px 0 0; }
.flex-process { background: #15243a; color: #fff; }
.flex-process-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding-block: 48px; }
.flex-process h2 { color: #fff; margin: 0 0 10px; }
.flex-process p { color: #d9e3f0; max-width: 59ch; margin: 0; }
@media (min-width: 1100px) { .flex-desktop-break { display: initial; } }
@media (max-width: 900px) {
    .nav-wrap nav { top: 100%; }
    .menu-toggle { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
}
@media (max-width: 767px) {
    .ai-container { width: calc(100% - 40px); }
    .flex-hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 42px; }
    .flex-hero h1 { max-width: 15ch; }
    .flex-home .section-heading { align-items: start; }
    .flex-order { width: 72%; }
    .whatsapp-float { right: 14px; bottom: 14px; }
}

/* ==========================================================================
   Capa final: tipografía legible, componentes sobrios y contacto por WhatsApp
   ========================================================================== */
:root { --wa: #25d366; --wa-ink: #0e7a41; --ai-line: #e1e6ed; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* Texto de lectura: nada por debajo de 15px */
.feature p, .section-heading > p, .flex-industry-copy p, .price-card > p, .included li,
.ai-faq details p, .cta-section p, .solution-card p, .process-list p, .about-copy p,
.plain-list li, .two-col p, .contact-info p, .contact-note p, .scope-note { font-size: 1rem; line-height: 1.65; color: #4a586b; }
.page-hero > p, .detail-hero > div > p { font-size: 1.125rem; line-height: 1.6; color: #4a586b; max-width: 62ch; }
.ai-faq summary { font-size: 1.0625rem; }
.fine-print { font-size: .875rem; line-height: 1.55; color: #5d6a7c; }
.back-link { font-size: .875rem; color: #5d6a7c; }
.marketing h3 { letter-spacing: -.015em; }
.eyebrow { font-size: .8125rem; letter-spacing: .04em; color: #5d6a7c; font-weight: 600; }

/* Navegación */
.nav-wrap nav > a { font-size: .9375rem; font-weight: 550; }
.nav-wrap nav > a:not(.ai-btn) { color: #33415a; }
.nav-wrap nav > a:hover, .nav-wrap nav > a[aria-current] { color: #9d3417; }
.nav-wrap nav > a[aria-current]:not(.ai-btn) { box-shadow: inset 0 -2px 0 #af3e1e; }

/* Botones */
.ai-btn { gap: 10px; padding: 14px 22px; font-size: .9375rem; font-weight: 600; border-radius: 6px; transition: background-color .15s, border-color .15s; }
.ai-btn:hover { transform: none; }
.ai-btn.small { padding: 10px 16px; }
.ai-btn.outline { background: #fff; border-color: #c4cdd9; color: #15243a; }
.ai-btn.outline:hover { background: #f3f5f8; border-color: #9aa7b8; color: #15243a; }
.ai-btn.whatsapp { background: var(--wa-ink); color: #fff; }
.ai-btn.whatsapp:hover { background: #0a6234; color: #fff; }
.ai-btn .wa-glyph { width: 20px; height: 20px; }
.ai-btn.wa-outline .wa-glyph { color: #1faa59; }
.text-link { font-size: .9375rem; gap: 8px; }

/* Hero */
.flex-hero { background: #fff; }
.flex-hero .flex-kicker { font-weight: 600; }
.flex-facts dt { font-size: .875rem; }
.flex-facts dd { font-size: 1rem; }
.flex-facts dd a { color: inherit; text-decoration: underline; text-decoration-color: #b9c3d0; text-underline-offset: 3px; }
.flex-facts dd a:hover { color: #9d3417; }
.flex-preview-stage { border-radius: 10px; }

/* Clientes: una franja discreta, sin recuadros */
.client-section { padding-block: 36px 44px; border-bottom: 1px solid var(--ai-line); }
.marketing .client-heading h2 { font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: #5d6a7c; }
.client-logos { margin-top: 20px; }
.client-logo figcaption { font-size: .75rem; line-height: 1.35; color: #5d6a7c; }
.client-torre-medica { background: #15243a; border-radius: 6px; }

/* Funciones: íconos de un solo tono */
.features-grid { border-radius: 10px; border-color: var(--ai-line); }
.feature { border-color: var(--ai-line); }
.marketing .feature-icon { width: 44px; height: 44px; border-radius: 8px; background: #eef2f6; color: #15243a; margin-bottom: 18px; }
.feature h3 { font-size: 1.125rem; }
.solution-card small { font-size: .8125rem; color: #5d6a7c; }

/* Tarjetas por giro */
.industry-section { background: #f5f7fa; }
.flex-industry { border-color: var(--ai-line); border-radius: 10px; }
.flex-appointment { background: #e9eef3; }

/* Precios */
.price-card { border-radius: 10px; }
.main-price { background: #fff; border: 2px solid #15243a; }
.enterprise-price { background: #fff; border-color: var(--ai-line); }
.price > span { color: #5d6a7c; font-size: .9375rem; }
.included .ai-icon, .enterprise-price .included .ai-icon { color: var(--wa-ink); }
.price-card h3 { font-size: 1.25rem; }

/* FAQ */
.faq-section { background: #f5f7fa; }

/* Llamado final */
.cta-section { background: #15243a; border: 0; border-radius: 12px; padding: clamp(28px, 5vw, 56px); gap: 28px 40px; flex-wrap: wrap; }
.marketing .cta-section h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.cta-section p { color: #cfd9e6; margin: 10px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-section .ai-btn.whatsapp { background: var(--wa); color: #08361d; }
.cta-section .ai-btn.whatsapp:hover { background: #3be07a; color: #08361d; }
.cta-section .ai-btn.outline { background: transparent; border-color: #5b6b82; color: #fff; }
.cta-section .ai-btn.outline:hover { background: #22344f; border-color: #8696ad; color: #fff; }

/* Contacto */
.contact-info .ai-btn.whatsapp { margin-top: 6px; }
.contact-note { background: #f5f7fa; border-radius: 8px; }
.inquiry-form { border-radius: 10px; border-color: var(--ai-line); }
.inquiry-form label { font-size: .9375rem; font-weight: 600; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { font-size: 1rem; background: #fff; border-color: #c4cdd9; }
.inquiry-form :is(input, textarea, select):focus { outline: 2px solid #2872ac; outline-offset: 1px; border-color: #2872ac; }

/* Pie de página */
.ai-footer { background: #f5f7fa; padding-top: 56px; }
.footer-grid { grid-template-columns: 1.3fr .8fr .8fr 1.1fr; gap: 40px; }
.footer-grid h2 { font-size: .9375rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin-bottom: 14px; }
.footer-intro p { font-size: .9375rem; line-height: 1.6; max-width: 34ch; color: #4a586b; }
.footer-grid a:not(.footer-phone):not(.ai-btn) { font-size: .9375rem; color: #33415a; margin-block: 0; padding-block: 6px; }
.footer-grid a:not(.ai-btn):hover { color: #9d3417; text-decoration: underline; }
.footer-contact .ai-btn { display: inline-flex; margin-bottom: 10px; }
.footer-bottom { font-size: .875rem; color: #5d6a7c; }

/* Botón flotante de WhatsApp */
.whatsapp-float { right: 22px; bottom: 22px; gap: 0; padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
.whatsapp-float:hover { background: none; }
.whatsapp-float .wa-glyph { position: relative; box-sizing: content-box; width: 32px; height: 32px; padding: 14px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 6px 20px #0b3d2240, 0 1px 3px #0b3d2230; transition: transform .15s; }
.whatsapp-float:hover .wa-glyph { transform: scale(1.06); }
.whatsapp-float::after { content: ''; position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--wa); animation: wa-ring 2.6s ease-out infinite; pointer-events: none; }
.whatsapp-float > span { margin-right: 12px; padding: 9px 14px; border-radius: 6px; background: #fff; color: #15243a; font-size: .875rem; font-weight: 600; border: 1px solid var(--ai-line); box-shadow: 0 4px 14px #15243a1f; white-space: nowrap; }
.whatsapp-float:focus-visible { outline: 3px solid #2872ac; outline-offset: 4px; border-radius: 34px; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }

@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
    .whatsapp-float > span { display: none; }
    .nav-wrap nav > a[aria-current]:not(.ai-btn) { box-shadow: none; }
    .nav-wrap nav > a { font-size: 1rem; }
}
@media (max-width: 767px) {
    .whatsapp-float { right: 16px; bottom: 16px; }
    .whatsapp-float .wa-glyph { width: 30px; height: 30px; padding: 13px; }
    .whatsapp-float::after { width: 56px; height: 56px; }
    .cta-actions, .cta-actions .ai-btn { width: 100%; }
    .flex-actions .ai-btn { flex: 1 1 auto; }
    .ai-footer { padding-bottom: 72px; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float::after { animation: none; opacity: 0; } .whatsapp-float .wa-glyph { transition: none; } }
/* Logo en blanco: el fondo oscuro va solo detrás de la imagen */
.client-torre-medica, .client-torre-medica:is(*) { background: none; padding: 0; height: 116px; border-radius: 0; }
.client-torre-medica img { background: #15243a; border-radius: 6px; padding: 6px 10px; height: 68px; max-width: 150px; object-fit: contain; }
.client-torre-medica figcaption { color: #5d6a7c; font-size: .75rem; margin-top: 8px; }
@media (max-width: 650px) { .client-torre-medica { height: 100px; } .client-torre-medica img { height: 56px; } }
.footer-grid a.ai-btn.whatsapp { display: inline-flex; color: #fff; font-size: .9375rem; margin: 0 0 10px; padding: 12px 18px; }
.footer-grid a.ai-btn.whatsapp:hover { color: #fff; text-decoration: none; }
.marketing .fine-print { font-size: .875rem; line-height: 1.55; color: #5d6a7c; }
/* Páginas interiores */
.marketing .scope-note { font-size: .9375rem; line-height: 1.6; color: #5d6a7c; text-align: left; max-width: 70ch; margin-inline: 0; }
.additional-solutions h2, .marketing .solution-card h2 { font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.25; }
.about-statement { background: #15243a; border: 0; border-radius: 10px; }
.about-statement > span { color: #b8c5d6; font-size: .8125rem; letter-spacing: .04em; }
.marketing .about-statement h2 { color: #fff; }
.process-number { color: #9aa7b8; }
.detail-visual, .clinic-detail { background: #eef2f6; border-radius: 12px; }
.showcase-halo, .clinic-detail .showcase-halo { background: #e2e8f0; }
.halo-small, .clinic-detail .halo-small { background: #d5dde8; }
.detail-price { font-size: 1rem; color: #4a586b; }
.soft-section { background: #f5f7fa; }
.client-torre-medica img { padding: 0; object-fit: cover; object-position: center 45%; width: 100%; }

/* ==========================================================================
   Soluciones: una sección por giro con su vista de producto
   ========================================================================== */
.sol-hero { padding-bottom: 0; }
.sol-nav { display: flex; flex-wrap: wrap; gap: 0 30px; margin-top: 36px; border-bottom: 1px solid var(--ai-line); }
.sol-nav a { padding: 14px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: .9375rem; font-weight: 600; color: #33415a; text-decoration: none; }
.sol-nav a:hover { color: #9d3417; border-bottom-color: #af3e1e; }
.sol-row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: clamp(44px, 6vw, 84px); border-bottom: 1px solid var(--ai-line); scroll-margin-top: 80px; }
.sol-row:last-child { border-bottom: 0; }
.sol-row:nth-child(even) .sv { order: 2; }
.marketing .sol-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.03em; margin: 0 0 14px; }
.sol-copy > p { font-size: 1.0625rem; line-height: 1.65; color: #4a586b; max-width: 48ch; margin: 0; }
.sol-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.sol-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; line-height: 1.5; color: #22314a; }
.sol-list .ai-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--wa-ink); }
.sol-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.sol-note { font-size: .9375rem; color: #5d6a7c; }
.sol-note::before { content: '·'; margin-right: 22px; color: #9aa7b8; }

/* Vistas de producto: todo se mide en em para que escalen como una imagen */
.sv { margin: 0; min-width: 0; }
.sv figcaption { margin-top: 10px; font-size: .8125rem; color: #5d6a7c; }
.sv-stage { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 12px; background: #eef2f6; container-type: inline-size; --acc: #af3e1e; }
.sv-clinic .sv-stage { --acc: #1f6f5c; }
.sv-shop .sv-stage { --acc: #3b4fb8; }
.sv-delivery .sv-stage { --acc: #0f6e8c; }
.sv-enterprise .sv-stage { --acc: #15243a; }
.sv-ui { position: absolute; inset: 0; font-size: 11px; font-size: min(2.25cqw, 13px); line-height: 1.35; color: #15243a; }
.sv-ui b { font-weight: 650; }
.sv-phone { position: absolute; left: 8%; top: 9%; bottom: -10%; width: 39%; display: flex; flex-direction: column; gap: .75em; padding: 1.2em 1em; background: #fff; border: .4em solid #1c2c44; border-radius: 2em; box-shadow: 0 1.4em 3em #15243a24; }
.sv-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .7em; border-bottom: 1px solid #e6ebf1; }
.sv-top b { font-size: 1.05em; }
.sv-top span, .sv-label, .sv-panel-head span { font-size: .85em; color: #66748a; }
.sv-phone img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .5em; }
.sv-item-title b, .sv-item-title span { display: block; }
.sv-item-title b { font-size: 1.1em; }
.sv-item-title span { font-size: .9em; color: #66748a; }
.sv-price { display: flex; justify-content: space-between; align-items: center; }
.sv-price b { font-size: 1.25em; }
.sv-stepper { display: inline-flex; align-items: center; gap: .7em; padding: .2em .6em; border: 1px solid #d5dce6; border-radius: 2em; font-weight: 650; }
.sv-stepper i { font-style: normal; color: #66748a; }
.sv-btn { display: block; padding: .75em .5em; border-radius: .45em; background: var(--acc); color: #fff; text-align: center; font-weight: 650; }
.sv-lines > div { display: flex; justify-content: space-between; gap: .5em; padding: .6em 0; border-top: 1px solid #e6ebf1; }
.sv-lines b { font-weight: 600; }
.sv-panel { position: absolute; right: 6%; top: 15%; width: 43%; padding: 1.1em 1.2em .5em; background: #fff; border: 1px solid #dce3eb; border-radius: .6em; box-shadow: 0 .8em 2em #15243a14; }
.sv-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: .6em; margin-bottom: .7em; }
.sv-panel-head b { font-size: 1.1em; }
.sv-rows > div { display: flex; justify-content: space-between; align-items: center; gap: .6em; padding: .65em 0; border-top: 1px solid #e6ebf1; }
.sv-rows span { min-width: 0; }
.sv-rows b, .sv-table b { flex-shrink: 0; padding: .2em .6em; border-radius: 2em; font-size: .85em; font-weight: 650; color: var(--acc); background: color-mix(in srgb, var(--acc) 11%, #fff); white-space: nowrap; }
.sv-ui b.is-done { color: #4b5a70; background: #edf1f5; }
.sv-ui b.is-wait { color: #8a5a00; background: #fbf1dc; }
.sv-toast { position: absolute; right: 6%; bottom: 11%; width: 43%; display: flex; align-items: center; gap: .8em; padding: .8em 1em; background: #fff; border: 1px solid #dce3eb; border-radius: .6em; box-shadow: 0 .8em 2em #15243a14; }
.sv-toast .ai-icon { width: 2.4em; height: 2.4em; padding: .55em; border-radius: .5em; color: var(--acc); background: color-mix(in srgb, var(--acc) 11%, #fff); }
.sv-toast span { font-size: .9em; color: #66748a; }
.sv-toast b { display: block; font-size: 1.1em; color: #15243a; }
/* Consultorio */
.sv-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35em; }
.sv-days span { padding: .5em 0; border: 1px solid #dfe5ec; border-radius: .5em; text-align: center; font-size: .8em; color: #66748a; }
.sv-days b { display: block; font-size: 1.35em; color: #15243a; }
.sv-days .is-on, .sv-slots .is-on { background: var(--acc); border-color: var(--acc); color: #fff; }
.sv-days .is-on b { color: #fff; }
.sv-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; }
.sv-slots span { padding: .5em 0; border: 1px solid #dfe5ec; border-radius: .4em; text-align: center; font-weight: 600; }
.sv-slots .is-off { color: #a7b1c0; background: #f4f6f9; text-decoration: line-through; }
.sv-summary { padding: .7em .8em; border-radius: .5em; background: #f4f6f9; }
.sv-summary span, .sv-summary b { display: block; }
.sv-summary span { font-size: .85em; color: #66748a; }
/* Comercio */
.sv-chips { display: flex; gap: .4em; }
.sv-chips span { padding: .3em .8em; border: 1px solid #dfe5ec; border-radius: 2em; font-size: .85em; color: #4b5a70; }
.sv-chips .is-on { background: #15243a; border-color: #15243a; color: #fff; }
.sv-cart > div { display: flex; align-items: center; gap: .7em; padding: .65em 0; border-bottom: 1px solid #e6ebf1; }
.sv-cart i { display: grid; place-items: center; width: 1.9em; height: 1.9em; flex-shrink: 0; border-radius: .4em; background: color-mix(in srgb, var(--acc) 11%, #fff); color: var(--acc); font-style: normal; font-weight: 700; font-size: .9em; }
.sv-cart span { flex: 1; min-width: 0; font-weight: 600; }
.sv-cart small { display: block; font-size: .85em; font-weight: 400; color: #66748a; }
.sv-total { display: flex; justify-content: space-between; align-items: baseline; }
.sv-total b { font-size: 1.35em; }
.sv-panel-tall { top: 10%; }
.sv-figure { display: flex; align-items: baseline; gap: .7em; }
.sv-figure b { font-size: 1.9em; letter-spacing: -.03em; }
.sv-figure span { color: #66748a; }
.sv-chart { display: flex; align-items: flex-end; gap: .5em; height: 7.5em; margin: .9em 0 1em; }
.sv-chart span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .35em; font-size: .8em; color: #66748a; }
.sv-chart i { width: 100%; height: calc(var(--h) * .82); border-radius: .25em .25em 0 0; background: color-mix(in srgb, var(--acc) 28%, #fff); }
.sv-chart span:nth-child(6) i { background: var(--acc); }
/* Entregas */
.sv-eta { padding: .8em .9em; border-radius: .5em; background: color-mix(in srgb, var(--acc) 9%, #fff); }
.sv-eta span, .sv-eta b { display: block; }
.sv-eta span { font-size: .85em; color: #4b5a70; }
.sv-eta b { font-size: 1.6em; letter-spacing: -.02em; color: var(--acc); }
.sv-steps { list-style: none; margin: .3em 0 .2em; padding: 0; }
.sv-steps li { position: relative; padding: 0 0 1.15em 1.9em; }
.sv-steps li:last-child { padding-bottom: 0; }
.sv-steps li::before { content: ''; position: absolute; left: 0; top: .15em; width: .95em; height: .95em; border-radius: 50%; border: .18em solid #c5cedb; background: #fff; box-sizing: border-box; }
.sv-steps li:not(:last-child)::after { content: ''; position: absolute; left: .42em; top: 1.2em; bottom: -.05em; width: .12em; background: #d9e0e9; }
.sv-steps .is-done::before { border-color: var(--acc); background: var(--acc); }
.sv-steps .is-done::after { background: var(--acc); }
.sv-steps .is-now::before { border-color: var(--acc); box-shadow: 0 0 0 .3em color-mix(in srgb, var(--acc) 18%, #fff); }
.sv-steps b, .sv-steps span { display: block; }
.sv-steps span { font-size: .85em; color: #66748a; }
.sv-steps li:not(.is-done):not(.is-now) b { color: #8a96a8; font-weight: 600; }
/* Empresa: ventana de un sistema web */
.sv-window { position: absolute; left: 7%; top: 11%; right: -5%; bottom: -8%; display: grid; grid-template-columns: 22% 1fr; overflow: hidden; background: #fff; border: 1px solid #d5dce6; border-radius: .7em; box-shadow: 0 1.4em 3em #15243a24; }
.sv-side { display: flex; flex-direction: column; gap: .2em; padding: 1.2em .8em; background: #15243a; color: #b9c5d6; }
.sv-side b { margin: 0 .5em 1em; color: #fff; }
.sv-side span { padding: .5em .6em; border-radius: .4em; }
.sv-side .is-on { background: #26395a; color: #fff; }
.sv-main { padding: 1.3em 1.5em; min-width: 0; }
.sv-main .sv-panel-head { align-items: center; margin-bottom: 1em; }
.sv-main .sv-panel-head b { font-size: 1.25em; }
.sv-sync { display: inline-flex; align-items: center; gap: .4em; padding: .3em .8em; border: 1px solid #cfe3d8; border-radius: 2em; background: #f1f8f4; color: #1f6f5c !important; white-space: nowrap; }
.sv-sync .ai-icon { width: 1.1em; height: 1.1em; }
.sv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; margin-bottom: 1.1em; }
.sv-kpis div { padding: .8em 1em; border: 1px solid #e1e6ed; border-radius: .5em; }
.sv-kpis span { display: block; font-size: .85em; color: #66748a; }
.sv-kpis b { font-size: 1.7em; letter-spacing: -.02em; }
.sv-table > div { display: grid; grid-template-columns: 1fr 1.3fr 1.1fr 1.2fr; align-items: center; gap: .6em; padding: .65em 0; border-top: 1px solid #e6ebf1; }
.sv-table .sv-thead { border-top: 0; font-size: .85em; color: #66748a; padding-top: 0; }
.sv-table b { justify-self: start; }
.sv-enterprise .sv-table b:not(.is-done):not(.is-wait) { color: #1c4f8f; background: #e8f0fa; }

@media (max-width: 860px) {
    .sol-row { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .sol-row:nth-child(even) .sv { order: 0; }
    .sol-nav { gap: 0 22px; }
}
@media (max-width: 560px) {
    .sol-nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
    .sol-nav a { white-space: nowrap; }
    .sol-note::before { display: none; }
}
.sv-phone { left: 6%; width: 38%; }
.sv-panel, .sv-toast { right: 4.5%; width: 47.5%; }
.sv-rows span { white-space: nowrap; }
.sv-main { padding-right: 3.6em; }

/* Vistas de producto dentro de las tarjetas del inicio y en las páginas por giro */
.flex-industry .sv-stage { aspect-ratio: 4 / 3; border-radius: 0; border-bottom: 1px solid var(--ai-line); }
.flex-industry .sv figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.flex-industry { position: relative; }
.detail-hero { gap: clamp(32px, 5vw, 72px); padding-block: clamp(32px, 5vw, 64px); }
@media (max-width: 650px) { .detail-hero .sv { margin-top: 8px; } }

/* ==========================================================================
   Páginas interiores: módulos, comparación, clientes y nosotros
   ========================================================================== */
.page-hero { padding-block: clamp(32px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.back-link { margin-bottom: clamp(20px, 3vw, 36px); }
.back-link:hover { color: #9d3417; }
.detail-hero .flex-actions { margin-top: 26px; }
.marketing .section-heading > h2 { max-width: 24ch; }
.flex-more { font-size: 1rem; color: #4a586b; }

/* Módulos: tabla editorial en lugar de tarjetas con ícono */
.spec-list { border-bottom: 1px solid var(--ai-line); }
.spec-head, .spec { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr) minmax(0, 1.15fr); gap: 10px 44px; }
.spec-head { padding-bottom: 12px; font-size: .8125rem; color: #5d6a7c; }
.spec { align-items: start; padding: 26px 0; border-top: 1px solid var(--ai-line); }
.spec h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.25rem; }
.spec h3 .ai-icon { width: 22px; height: 22px; color: #6b788b; }
.spec p { margin: 0; font-size: 1rem; line-height: 1.6; color: #4a586b; }
.spec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9375rem; line-height: 1.5; color: #22314a; }
.spec li { position: relative; padding-left: 16px; }
.spec li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: #9aa7b8; }
.spec-list.is-compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; border-bottom: 0; }
.is-compact .spec { display: block; padding: 22px 0 28px; }
.is-compact .spec h3 { margin-bottom: 8px; font-size: 1.125rem; }

/* Dos bloques: app y panel */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.duo article { padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--ai-line); border-radius: 10px; }
.duo h3 { font-size: 1.375rem; margin: 0 0 10px; }
.duo p { margin: 0; font-size: 1rem; line-height: 1.65; color: #4a586b; }
.duo .sol-list { margin-bottom: 0; }

/* Comparación de planes */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ai-line); font-size: 1rem; line-height: 1.5; }
.compare thead th { font-size: 1.125rem; font-weight: 700; border-bottom: 2px solid #15243a; }
.compare thead td { border-bottom: 2px solid #15243a; }
.compare tbody th { width: 32%; padding-left: 0; font-weight: 600; color: #22314a; }
.compare td { color: #4a586b; }
.compare :is(th, td):nth-child(2) { background: #f5f7fa; }
.compare tbody tr:first-child td { font-weight: 650; color: #15243a; }
.compare .ai-icon { width: 20px; height: 20px; color: var(--wa-ink); }
.compare-no { color: #7b8798; }
.pricing-grid { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.enterprise-icon { display: none; }
.faq-layout > div > p { max-width: 34ch; font-size: 1rem; line-height: 1.65; color: #4a586b; }

/* Clientes: cuadrícula grande */
.client-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ai-line); border-left: 1px solid var(--ai-line); }
.client-wall .client-logo, .client-next { height: auto; min-height: 210px; padding: 28px 18px 22px; border-right: 1px solid var(--ai-line); border-bottom: 1px solid var(--ai-line); border-radius: 0; }
.client-wall .client-logo { justify-content: center; gap: 16px; grid-column: auto; }
.client-wall .client-logo img { width: auto; max-width: min(190px, 100%); height: 96px; object-fit: contain; }
.client-wall .client-torre-medica img { width: 170px; height: 84px; object-fit: cover; }
.client-wall .client-logo figcaption { margin: 0; font-size: .9375rem; font-weight: 600; line-height: 1.35; color: #22314a; }
.client-next { display: flex; flex-direction: column; justify-content: center; gap: 8px; background: #15243a; color: #cfd9e6; text-decoration: none; padding-inline: 26px; }
.client-next span { font-size: 1rem; }
.client-next b { display: inline-flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 650; color: #fff; }
.client-next .ai-icon { width: 19px; height: 19px; }
.client-next:hover { background: #1d3150; color: #fff; }

/* Columnas de texto con filete superior */
.tri-cols, .principles { display: grid; gap: 0 40px; }
.tri-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.principles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tri-cols article, .principles article { padding-top: 22px; border-top: 2px solid #15243a; }
.tri-cols h3, .principles h3 { font-size: 1.1875rem; margin: 0 0 8px; }
.tri-cols p, .principles p { margin: 0 0 16px; font-size: 1rem; line-height: 1.6; color: #4a586b; }
.principles p { margin-bottom: 0; }

/* Nosotros */
.fact-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 32px; margin: clamp(28px, 4vw, 44px) 0 0; padding: 22px 0; border-block: 1px solid var(--ai-line); }
.fact-strip dt { font-size: .875rem; font-weight: 500; color: #5d6a7c; }
.fact-strip dd { margin: 4px 0 0; font-size: 1.0625rem; font-weight: 700; }
.page-hero:has(.fact-strip) { padding-bottom: 0; }
.about-row { border-bottom: 0; }
.about-row .sv { order: 2; }
.about-row .sol-copy > p + p { margin-top: 14px; }
.about-row .sol-actions { margin-top: 24px; }

/* Cómo funciona */
.process-list { max-width: none; }
.process-list li { gap: clamp(20px, 5vw, 64px); padding: clamp(26px, 4vw, 40px) 0; }
.process-list li:last-child { border-bottom: 1px solid var(--ai-line); }
.process-number { min-width: 2.2ch; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 650; letter-spacing: -.03em; color: #15243a; }
.marketing .process-list h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 8px; }
.process-list .eyebrow { margin-bottom: 6px; color: #9d3417; }

@media (max-width: 900px) {
    .spec-head { display: none; }
    .spec { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0; }
    .spec ul { margin-top: 4px; }
    .spec-list.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
    .client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
    .tri-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-row .sv { order: 0; }
}
@media (max-width: 650px) {
    .duo, .pricing-grid { grid-template-columns: minmax(0, 1fr); }
    .client-wall .client-logo, .client-next { min-height: 170px; padding: 20px 12px 16px; }
    .client-wall .client-logo img { height: 72px; }
    .client-wall .client-torre-medica img { width: 130px; height: 66px; }
    .client-wall .client-liquidapromos { grid-column: auto; }
    .compare th, .compare td { padding: 14px 14px; }
}
@media (max-width: 480px) {
    .spec-list.is-compact, .principles { grid-template-columns: minmax(0, 1fr); }
}
.marketing .fine-print, .inquiry-form .fine-print { font-size: .875rem !important; line-height: 1.55 !important; }
.marketing .scope-note { font-size: .9375rem !important; margin-top: 22px; }
.price { flex-wrap: wrap; gap: 4px 10px; }
.price-from { flex-basis: 100%; }
@media (max-width: 650px) {
    .compare { min-width: 0; table-layout: fixed; }
    .compare th, .compare td { padding: 12px 10px; font-size: .9375rem; overflow-wrap: anywhere; }
    .compare tbody th { width: 34%; }
    .compare thead th { font-size: 1rem; }
}
@media (max-width: 650px) {
    .compare th, .compare td { padding: 12px 8px; font-size: .875rem; overflow-wrap: break-word; hyphens: auto; }
    .compare tbody th { width: 37%; padding-left: 0; }
    .compare thead th { font-size: .9375rem; }
}

/* ==========================================================================
   Inicio: cabecera con banner animado, franja de clientes y secciones nuevas
   ========================================================================== */
.ai-header { transition: box-shadow .2s; }
.ai-header.is-scrolled { box-shadow: 0 8px 24px #15243a12; }

.home-hero { background: #fff; overflow-x: clip; border-bottom: 1px solid var(--ai-line); }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.home-hero-copy { align-self: center; padding-block: clamp(48px, 7vw, 96px); }
.home-kicker { margin: 0 0 18px; font-size: .9375rem; font-weight: 600; color: #9d3417; }
.home-hero h1 { margin: 0 0 22px; font-size: clamp(2.6rem, 4.4vw, 4.1rem); line-height: 1.05; font-weight: 720; letter-spacing: -.05em; text-wrap: balance; }
.home-lead { max-width: 42ch; margin: 0 0 28px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: #4a586b; }
.home-hero .flex-facts { flex-wrap: wrap; gap: 16px 32px; }

/* Banner: bloque marino que llega al borde derecho de la ventana */
.hero-banner { --bleed: max(0px, (100vw - min(1160px, 100vw - 64px)) / 2); position: relative; margin-right: calc(var(--bleed) * -1); padding: clamp(20px, 3vw, 36px) var(--bleed) clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 40px); background: #15243a; border-radius: 0 0 0 20px; color: #fff; }
.hero-banner::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-banner-inner { position: relative; max-width: 640px; }
.hero-tabs { display: flex; gap: 4px 26px; border-bottom: 1px solid #ffffff24; }
.hero-tabs button { position: relative; padding: 10px 0 14px; border: 0; background: none; font: inherit; font-size: .9375rem; font-weight: 600; color: #a9b8cc; cursor: pointer; transition: color .15s; }
.hero-tabs button:hover { color: #fff; }
.hero-tabs button[aria-selected="true"] { color: #fff; }
.hero-tabs button::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.is-playing .hero-tabs button[aria-selected="true"]::after { animation: tab-progress 6s linear both; }
.hero-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 2px; }
.hero-slides { display: grid; margin-top: 8px; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .35s; }
.hero-banner .sv-stage { background: none; border-radius: 0; aspect-ratio: 5 / 4.1; }
.hero-banner .sv figcaption { margin-top: 6px; color: #a9b8cc; }
.hero-banner .sv-phone { border-color: #0b1626; box-shadow: 0 1.6em 3.4em #00000059; }
.hero-banner .sv-panel, .hero-banner .sv-toast { border-color: transparent; box-shadow: 0 1em 2.4em #00000040; }

/* Entrada de cada pieza al mostrarse un ejemplo */
.hero-slide.is-active .sv-phone { animation: rise-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.is-active .sv-panel { animation: side-in .7s .12s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.is-active .sv-toast { animation: pop-in .5s 1.1s cubic-bezier(.2, .9, .3, 1.2) both; }
.hero-slide.is-active .sv-chart i { transform-origin: bottom; animation: grow-bar .7s .4s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.is-active .sv-rows > div { animation: fade-up .5s both; }
.hero-slide.is-active .sv-rows > div:nth-child(1) { animation-delay: .35s; }
.hero-slide.is-active .sv-rows > div:nth-child(2) { animation-delay: .45s; }
.hero-slide.is-active .sv-rows > div:nth-child(3) { animation-delay: .55s; }
.sv-steps .is-now::before { animation: now-pulse 2s ease-out infinite; }
.home-hero-copy > * { animation: fade-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.home-hero-copy > :nth-child(2) { animation-delay: .06s; }
.home-hero-copy > :nth-child(3) { animation-delay: .12s; }
.home-hero-copy > :nth-child(4) { animation-delay: .18s; }
.home-hero-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(2.5em); } to { opacity: 1; transform: none; } }
@keyframes side-in { from { opacity: 0; transform: translateX(2em); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(.8em) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes now-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 45%, transparent); } 100% { box-shadow: 0 0 0 .7em transparent; } }

/* Aparición al hacer scroll (solo si el script lo activa) */
.will-reveal { opacity: 0; transform: translateY(18px); }
.will-reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }

/* Franja de clientes en movimiento */
.logo-band { padding-block: 34px 40px; border-bottom: 1px solid var(--ai-line); }
.marketing .logo-band h2 { margin: 0 0 22px; font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: #5d6a7c; }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 42s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { display: block; flex-shrink: 0; }
.logo-item img { display: block; width: auto; max-width: 180px; height: 62px; object-fit: contain; }
.logo-item.client-torre-medica img, .logo-item.client-liquidapromos img { width: 150px; object-fit: cover; object-position: center 46%; padding: 0; }
.logo-item.client-torre-medica img { background: #15243a; border-radius: 6px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }

/* Lista de soluciones: filas grandes que funcionan como enlace */
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #15243a; }
.sector-list a { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) auto 28px; align-items: center; gap: 12px 32px; padding: 26px 12px; margin-inline: -12px; border-bottom: 1px solid var(--ai-line); color: inherit; text-decoration: none; transition: background-color .2s, padding .25s cubic-bezier(.2, .7, .2, 1); }
.sector-name { font-size: clamp(1.35rem, 2.3vw, 1.85rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.sector-text { font-size: 1rem; line-height: 1.55; color: #4a586b; }
.sector-note { font-size: .9375rem; color: #5d6a7c; white-space: nowrap; }
.sector-go { display: grid; place-items: center; color: #9aa7b8; transition: transform .25s cubic-bezier(.2, .7, .2, 1), color .2s; }
.sector-go .ai-icon { width: 22px; height: 22px; }
.sector-list a:hover { background: #f5f7fa; padding-left: 24px; color: inherit; }
.sector-list a:hover .sector-name { color: #9d3417; }
.sector-list a:hover .sector-go { transform: translateX(6px); color: #9d3417; }

/* Demo: la app con el nombre y el color del visitante */
.brand-demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.brand-demo-copy > p:not(.fine-print) { max-width: 44ch; font-size: 1.0625rem; line-height: 1.65; color: #4a586b; margin: 0 0 26px; }
.brand-field { margin-bottom: 22px; }
.brand-field > label, .brand-field > span { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 600; }
.brand-field input { width: min(100%, 340px); padding: 12px 14px; font: inherit; font-size: 1rem; color: #15243a; background: #fff; border: 1px solid #c4cdd9; border-radius: 6px; }
.brand-field input:focus { outline: 2px solid #2872ac; outline-offset: 1px; border-color: #2872ac; }
.brand-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-swatches button { width: 40px; height: 40px; padding: 0; border: 3px solid #f5f7fa; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #c4cdd9; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.brand-swatches button:hover { transform: scale(1.08); }
.brand-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px #15243a; }
.brand-demo .sv-stage { background: #e6ebf1; }
.brand-demo .sv-stage * { transition: background-color .3s, color .3s, border-color .3s; }
.sv-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-top span { flex-shrink: 0; margin-left: .6em; }

/* Módulos junto al panel */
.home-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-panel-lead { margin: 12px 0 22px; font-size: 1.0625rem; line-height: 1.6; color: #4a586b; }
.home-panel .spec-list.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-bottom: 22px; border-bottom: 1px solid var(--ai-line); }
.home-panel .is-compact .spec { padding: 18px 0 20px; }
.home-panel .is-compact .spec p { font-size: .9375rem; }

/* Proceso en cuatro pasos */
.home-process { padding-block: clamp(56px, 7vw, 96px); background: #15243a; color: #fff; }
.marketing .home-process h2 { color: #fff; margin: 0; }
.home-process .text-link { color: #fff; }
.home-process .text-link:hover { color: #f3b08f; }
.step-row { position: relative; list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step-row::before { content: ''; position: absolute; left: 0; right: 0; top: 20px; height: 1px; background: #42567a; transform-origin: left; }
.step-row.will-reveal { opacity: 1; transform: none; }
.step-row.will-reveal::before { transform: scaleX(0); }
.step-row.is-in::before { transform: scaleX(1); transition: transform 1.2s cubic-bezier(.3, .6, .2, 1) .15s; }
.step-row li { position: relative; }
.step-n { display: grid; place-items: center; width: 41px; height: 41px; margin-bottom: 20px; border: 1px solid #7c8fae; border-radius: 50%; background: #15243a; font-weight: 700; }
.marketing .step-row h3 { margin: 0 0 8px; font-size: 1.125rem; color: #fff; }
.step-row p { margin: 0; font-size: .9375rem; line-height: 1.6; color: #c3cfde; }

/* Detalles al pasar el cursor */
.ai-btn .ai-icon, .text-link .ai-icon { transition: transform .2s cubic-bezier(.2, .7, .2, 1); }
.ai-btn:hover .ai-icon:not(.wa-glyph), .text-link:hover .ai-icon { transform: translateX(3px); }
.price-card { transition: border-color .2s, box-shadow .2s; }
.price-card:hover { box-shadow: 0 14px 34px #15243a12; }
.ai-faq summary { transition: color .15s; }
.ai-faq summary:hover { color: #9d3417; }

@media (max-width: 960px) {
    .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .home-hero-copy { padding-block: 40px 36px; }
    .hero-banner { margin-inline: calc(var(--side, 32px) * -1); padding: 22px var(--side, 32px) 22px; border-radius: 0; }
    .hero-banner-inner { margin-inline: auto; }
    .brand-demo, .home-panel { grid-template-columns: minmax(0, 1fr); }
    .sector-list a { grid-template-columns: minmax(0, 1fr) 28px; gap: 4px 16px; padding-block: 20px; }
    .sector-text, .sector-note { grid-column: 1; }
    .sector-go { grid-column: 2; grid-row: 1 / span 3; }
    .step-row { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .step-row::before { left: 20px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: top; }
    .step-row.will-reveal::before { transform: scaleY(0); }
    .step-row.is-in::before { transform: scaleY(1); }
    .step-row li { padding-left: 62px; min-height: 42px; }
    .step-n { position: absolute; left: 0; top: 0; margin: 0; }
}
@media (max-width: 767px) {
    .hero-banner { --side: 20px; }
    .hero-tabs { gap: 4px 20px; overflow-x: auto; scrollbar-width: none; }
    .hero-tabs button { white-space: nowrap; }
    .logo-track { gap: 48px; }
    .logo-item img { height: 50px; max-width: 140px; }
    .logo-item.client-torre-medica img, .logo-item.client-liquidapromos img { width: 120px; }
    @keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }
    .home-panel .spec-list.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .home-hero-copy > *, .hero-slide.is-active .sv-phone, .hero-slide.is-active .sv-panel, .hero-slide.is-active .sv-toast, .hero-slide.is-active .sv-chart i, .hero-slide.is-active .sv-rows > div, .sv-steps .is-now::before, .is-playing .hero-tabs button[aria-selected="true"]::after { animation: none; }
    .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 28px 48px; padding-inline: 20px; }
    .logo-item[aria-hidden="true"] { display: none; }
    .logo-marquee { -webkit-mask-image: none; mask-image: none; }
    .hero-slide, .hero-slide.is-active, .sector-list a, .sector-go, .ai-btn .ai-icon, .text-link .ai-icon { transition: none; }
}
.hero-banner .sv-phone { border-color: #2e4265; }
.home-hero .home-kicker { color: #9d3417; }
.logo-item.client-torre-medica img, .logo-item.client-liquidapromos img { height: 62px; max-width: none; }
@media (max-width: 767px) { .logo-item.client-torre-medica img, .logo-item.client-liquidapromos img { height: 50px; } }

/* ==========================================================================
   Banner del inicio: escena completa (teléfono al frente, panel web hasta el borde)
   ========================================================================== */
.hero-banner { --pr: var(--bleed); display: flex; flex-direction: column; min-height: clamp(540px, 45vw, 680px); padding: clamp(18px, 2.2vw, 28px) var(--pr) 0 clamp(20px, 3vw, 44px); overflow: hidden; }
.hero-banner-inner { max-width: none; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.hero-tabs button { font-size: 1rem; padding-bottom: 15px; }
.hero-slides { flex: 1; min-height: 0; margin: clamp(14px, 1.8vw, 24px) calc(var(--pr) * -1) 0 0; }
.hero-slide { display: grid; min-height: 0; }
.sv-scene { height: 100%; }
.hero-banner .sv-scene .sv-stage { height: 100%; aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
.sv-scene .sv-ui { font-size: 11px; font-size: clamp(8.5px, 1.85cqw, 13.5px); }
/* Tinte del color de cada giro detrás de la escena */
.sv-scene .sv-stage::before { content: ''; position: absolute; left: -12%; top: 8%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 55%, #6f8fc4) 0%, transparent 100%); opacity: .34; pointer-events: none; }

.sv-tag { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: .55em; font-size: .92em; font-weight: 600; color: #d6e0ed; white-space: nowrap; }
.sv-tag::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .28em #ffffff2e; }
.sv-tag-app { left: .2em; top: 2.5em; }
.sv-tag-panel { left: 17.6em; top: .2em; }

.sv-scene .sv-phone { left: 0; top: 5.2em; bottom: -3em; width: 17em; z-index: 2; border-color: #2e4265; box-shadow: 0 1.6em 3.6em #0000006b; }
.sv-scene .sv-window { left: 14.4em; top: 2.9em; right: -3em; bottom: -2em; grid-template-columns: 11.2em minmax(0, 1fr); border: 0; border-radius: .8em; box-shadow: 0 1.4em 3.4em #00000052; }
.sv-scene .sv-side { padding: 1.3em .8em 1.3em 3.4em; background: #f1f4f8; color: #56647a; }
.sv-scene .sv-side b { margin: 0 .6em 1em; color: #15243a; }
.sv-scene .sv-side .is-on { background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--acc); font-weight: 650; }
.sv-scene .sv-main { padding: 1.4em 5em 1.4em 1.6em; }
.sv-scene .sv-main .sv-panel-head { margin-bottom: 1em; }
.sv-scene .sv-main .sv-panel-head b { font-size: 1.3em; }
.sv-scene .sv-kpis { max-width: 40em; }
.sv-scene .sv-kpis div:first-child b { color: var(--acc); }
.sv-scene .sv-chart { height: 6.5em; max-width: 40em; margin: 0 0 1em; }
.sv-scene .sv-rows { max-width: 46em; }
.sv-scene .sv-toast { right: 2.2em; top: .6em; bottom: auto; width: auto; min-width: 17.5em; z-index: 3; border: 0; box-shadow: 0 1em 2.6em #00000059; }

.hero-slide.is-active .sv-window { animation: side-in .75s .08s cubic-bezier(.2, .7, .2, 1) both; }
.hero-slide.is-active .sv-tag { animation: fade-up .5s .5s both; }
.hero-slide.is-active .sv-kpis > div { animation: fade-up .5s both; }
.hero-slide.is-active .sv-kpis > div:nth-child(1) { animation-delay: .25s; }
.hero-slide.is-active .sv-kpis > div:nth-child(2) { animation-delay: .32s; }
.hero-slide.is-active .sv-kpis > div:nth-child(3) { animation-delay: .39s; }
.hero-slide.is-active .sv-rows > div:nth-child(n+4) { animation-delay: .62s; }

@media (max-width: 960px) {
    .hero-banner { --pr: var(--side, 32px); min-height: 0; padding: 20px var(--pr) 0; }
    .hero-slides { height: clamp(330px, 62vw, 520px); flex: none; }
}
@media (max-width: 600px) {
    .sv-scene .sv-window { grid-template-columns: minmax(0, 1fr); left: 12.5em; }
    .sv-scene .sv-side { display: none; }
    .sv-scene .sv-main { padding-left: 6em; padding-right: 4em; }
    .sv-scene .sv-phone { width: 16em; }
    .sv-tag-panel { left: 19em; }
    .sv-scene .sv-toast { right: 1.2em; top: auto; bottom: 1.6em; min-width: 0; }
    .hero-tabs button { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active .sv-window, .hero-slide.is-active .sv-tag, .hero-slide.is-active .sv-kpis > div { animation: none; }
}
.sv-scene .sv-main { padding-right: 6.4em; }
.sv-scene .sv-toast { top: -.5em; }
@media (max-width: 600px) { .sv-scene .sv-main { padding-right: 4.6em; } .sv-scene .sv-toast { top: auto; } }
.hero-banner-inner { width: 100%; margin-inline: 0; }
@media (max-width: 960px) { .hero-banner-inner { margin-inline: 0; } .hero-slides { height: clamp(330px, 58vw, 540px); } }
