/* RC11: public editorial design, scoped to the two public identities. */
.story-page{--story-gutter:32px;--story-space:88px;--story-h2:38px;--story-copy:18px;--story-paper:#f7f4ed;--story-accent:#123d49;--story-muted:#435b61}
.story-barbearia{--story-paper:#141414;--story-accent:#c49a5a;--story-muted:#dbcdbb;--story-h2:38px}
.story-page .story-wrap{width:min(1280px,calc(100% - 2 * var(--story-gutter)))}
.story-page .story-section{padding-block:var(--story-space);scroll-margin-top:96px}
.story-page h2{font-size:clamp(28px,4vw,var(--story-h2));line-height:1.14;letter-spacing:-.035em}
.story-page .story-section-head>p:not(.story-kicker),.story-page .od-hero-copy>p:nth-of-type(2),.story-page .im-hero-copy>p:not(.story-kicker,.story-demo-note){font-size:var(--story-copy);line-height:1.6}
.story-page .story-btn{min-height:48px;padding:12px 19px;transition:background-color 180ms,color 180ms,border-color 180ms,transform 180ms,box-shadow 180ms}
.story-page .story-btn:hover{transform:translateY(-2px);box-shadow:0 7px 16px #0002}
.story-page .story-header{transition:box-shadow 200ms,background-color 200ms;z-index:15}
.story-page .story-header.is-scrolled{box-shadow:0 7px 24px #101c2420}
.story-page .story-nav{height:80px;min-height:80px;padding:0;gap:16px}
.story-barbearia .story-nav{height:76px;min-height:76px}
.story-page .story-nav .story-desktop-nav{display:flex;flex:1;justify-content:center;flex-wrap:nowrap;gap:clamp(12px,1.3vw,24px);min-width:0}
.story-page .story-desktop-nav>a{white-space:nowrap;font-size:.81rem}
.story-page .story-nav-cta{white-space:nowrap;flex:none}
.story-page .story-mobile-menu{display:none}
.story-page .story-header .story-mobile-menu summary{cursor:pointer;min-height:48px;display:flex;align-items:center;gap:7px;list-style:none;font-size:.84rem;font-weight:700;padding:0 11px;border:1px solid var(--story-border);border-radius:9px}
.story-page .story-mobile-menu summary::-webkit-details-marker{display:none}
.story-page .story-mobile-menu nav{position:absolute;inset:100% 0 auto;display:grid;gap:0;padding:10px var(--story-gutter) 18px;background:var(--story-white);box-shadow:0 14px 28px #0002;border-top:1px solid var(--story-border)}
.story-page .story-mobile-menu nav>a{border-bottom:1px solid var(--story-border);min-height:48px;white-space:normal;padding:6px 0}
.story-page .story-availability{display:inline-flex;align-items:center;gap:8px;margin-top:24px;padding:8px 13px;border:1px solid #92b3a9;border-radius:40px;color:#123d49;font-size:.78rem;font-weight:650;background:#f9fbf4}
.story-page .story-availability i,.story-page .story-online::before{width:7px;height:7px;border-radius:50%;background:#297c66;display:inline-block;content:"";flex:none}
.story-barbearia .story-availability{color:#f2e9db;background:#141414b8;border-color:#c49a5a80}
.story-barbearia .story-availability i{background:#c49a5a}
.odonto-site .od-hero{min-height:620px;padding:48px 0;background:radial-gradient(ellipse at 80% 18%,#e9e0d0 0,#f7f4ed 62%)}
.odonto-site .od-hero-layout{grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:clamp(22px,3.5vw,54px)}
.odonto-site .od-hero h1{font-size:clamp(46px,4.7vw,60px);line-height:1.06;letter-spacing:-.05em;max-width:100%}
.odonto-site .od-hero img{height:auto;aspect-ratio:1.24;object-fit:cover;object-position:54% center;border-radius:16px 78px 16px 16px}
.odonto-site .od-hero figure::before{content:"";position:absolute;border:1px solid #b59a70;border-radius:16px 78px 16px 16px;inset:10px -9px -10px 9px;pointer-events:none;z-index:-1}
.odonto-site .od-hero figure{isolation:isolate}
.odonto-site .od-hero figcaption{inset:auto auto 18px 18px;padding:0;border-radius:12px;box-shadow:0 8px 30px #123d4930;max-width:calc(100% - 36px)}
.odonto-site .od-hero figcaption a{display:flex;align-items:center;gap:12px;min-height:68px;padding:12px 17px;color:#123d49;text-decoration:none}
.odonto-site .od-hero figcaption a>svg{width:26px;height:26px;flex:none}
.odonto-site .od-hero figcaption strong,.odonto-site .od-hero figcaption small{display:block}
.odonto-site .od-hero figcaption small{color:#52666b;margin-top:4px}
.odonto-site .od-difference{padding:48px 0;background:#fff;color:#123d49}
.story-odonto .odonto-site .od-difference .story-kicker{color:#247c82}
.odonto-site .od-difference-grid{gap:24px;margin-top:24px}
.odonto-site .od-difference article{background:#f7faf8;border:1px solid #d9e5df;border-radius:16px;padding:23px}
.odonto-site .od-difference article svg{width:32px;height:32px;margin-bottom:15px}
.odonto-site .od-treat{background:#f7f4ed}
.story-page .story-catalog-grid{gap:24px}
.story-page .story-catalog-photo{overflow:hidden;aspect-ratio:4/3;max-height:230px}
.story-page .story-catalog-photo img{height:100%;width:100%;object-fit:cover;transition:transform 450ms;aspect-ratio:auto}
.story-page .story-catalog-grid article:hover .story-catalog-photo img{transform:scale(1.04)}
.story-page .story-catalog-grid article:hover{transform:translateY(-5px)}
.story-page .story-catalog-body{gap:9px;padding:24px}
.story-page .story-catalog-body h3{font-size:21px}
.story-page .story-catalog-body p{font-size:14px;line-height:1.55}
.story-page .story-catalog-body .story-btn{width:100%;margin-top:7px}
.story-page .story-category{gap:8px;margin-bottom:24px}
.story-page .story-category button{min-height:44px;transition:background-color 180ms,color 180ms,border-color 180ms}
.story-page .story-catalog-grid article.catalog-show{animation:editorial-in 280ms ease both}
.odonto-site .od-book{background:#dfece8}
.story-page .story-book-preview{background:var(--story-white);color:var(--story-ink);padding:clamp(16px,3vw,28px);border:1px solid var(--story-border);border-radius:20px;box-shadow:0 18px 46px #0f28251a;min-width:0}
.story-page .story-book-top{display:flex;align-items:center;gap:11px;margin-bottom:20px}
.story-page .story-book-top>div{flex:1;min-width:0}
.story-page .story-book-top strong,.story-page .story-book-top small,.story-page .story-book-services strong,.story-page .story-book-services small,.story-page .story-book-available strong,.story-page .story-book-available small{display:block}
.story-page .story-book-top small,.story-page .story-book-services small,.story-page .story-book-available small{font-size:12px;color:var(--story-muted);margin-top:4px}
.story-page .story-book-symbol{width:46px;height:46px;display:grid;place-items:center;background:var(--story-paper);border-radius:12px;color:var(--story-accent);flex:none}
.story-page .story-online{font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:30px;border:1px solid var(--story-border)}
.story-page .story-book-stages{display:flex;gap:6px;flex-wrap:wrap;padding-bottom:15px;border-bottom:1px solid var(--story-border);font-size:12px;color:var(--story-muted)}
.story-page .story-book-stages>*{padding:8px;border-radius:7px}
.story-page .story-book-stages b{background:var(--story-paper);color:var(--story-accent)}
.story-page .story-book-label{font-size:13px;font-weight:700;margin:17px 0 9px}
.story-page .story-book-services{display:grid;gap:8px}
.story-page .story-book-services>a{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:7px;border:1px solid var(--story-border);border-radius:10px;color:inherit;text-decoration:none;transition:background-color 180ms,border-color 180ms;min-width:0}
.story-page .story-book-services>a:hover{background:var(--story-paper);border-color:var(--story-accent)}
.story-page .story-book-services img{width:64px;height:52px;object-fit:cover;border-radius:7px}
.story-page .story-book-available{margin-block:15px;padding:12px;background:var(--story-paper);border-radius:11px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.story-page .story-book-available>div{display:flex;gap:9px;align-items:center;min-width:0}
.story-page .story-book-available>div svg{width:23px;height:23px;flex:none}
.story-page .story-book-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.story-page .story-book-buttons>*{font-size:13px;padding-inline:10px}
.odonto-site .od-team-grid,.imperial-site .im-team-portraits{gap:16px}
.odonto-site .od-team-grid article img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 32%}
.odonto-site .od-team-grid article>div,.imperial-site .im-team-portraits article>div{padding:15px}
.story-page .od-team-grid article a,.story-page .im-team-portraits article a{width:100%;white-space:normal}
.odonto-site .od-gallery-grid{grid-template-columns:2fr 1fr 1fr;gap:14px}
.odonto-site .od-gallery-grid>*:first-child{grid-row:span 2}
.odonto-site .od-journey-list{position:relative;gap:16px}
.odonto-site .od-journey-list li{border-top:1px solid #7fa5a7;padding-top:16px;position:relative}
.odonto-site .od-journey-list li::before{content:"";width:10px;height:10px;position:absolute;top:-5px;left:0;border-radius:50%;background:#b59a70}
.odonto-site .od-final{background:linear-gradient(90deg,#123d49f5 10%,#123d49c9 64%,#123d49a0),url('identidades/odonto/ambiente-1.webp') center/cover}
.imperial-site .im-hero{min-height:640px;align-items:center}
.imperial-site .im-hero h1{font-size:clamp(56px,5.6vw,76px);line-height:1.06;max-width:11ch;letter-spacing:-.025em}
.imperial-site .im-hero-copy{max-width:min(610px,60vw);padding:45px 0}
.imperial-site .im-hero figure::after{background:linear-gradient(90deg,#0c0c0cf7 0%,#0c0c0cbd 36%,#0c0c0c20 75%),linear-gradient(0deg,#0c0c0cc2,transparent 45%)}
.imperial-site .im-experience{background:#141414}
.imperial-site .im-services{background:#242424}
.imperial-site .im-book{background:#0c0c0c}
.imperial-site .im-team-portraits article{display:flex;flex-direction:column;min-height:0;background:#242424;border-radius:10px;isolation:auto}
.imperial-site .im-team-portraits article img{position:static;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 30%;filter:none;z-index:auto}
.imperial-site .im-team-portraits article::after{display:none}
.imperial-site .im-team-portraits article>div{flex:1;display:flex;flex-direction:column}
.imperial-site .im-team-portraits article>div>a{margin-top:auto}
.imperial-site .im-gallery-layout{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(120px,auto);gap:14px}
.imperial-site .im-gallery-layout .story-gallery-tile:first-child{grid-column:span 2;grid-row:span 2}
.imperial-site .im-gallery-layout .story-gallery-tile:nth-child(6){grid-column:span 2}
.imperial-site .im-gallery-layout .story-gallery-tile img{height:100%;min-height:0;aspect-ratio:4/3}
.imperial-site .im-gallery-layout .story-gallery-tile:first-child img{aspect-ratio:1}
.imperial-site .im-combos{gap:24px}
.story-page .story-gallery-count{align-self:center;font-size:13px;color:var(--story-muted)}
.story-page .story-gallery-tile img{transition:transform 450ms}
.story-page .story-faq-list details[open] p{animation:editorial-in 220ms ease-out both}
.story-page .story-faq-list summary{min-height:48px}
.story-page .story-dialog[open]{animation:editorial-in 240ms ease-out both}
.story-page .story-close{width:44px;height:44px}
.story-page .story-reveal{animation:editorial-in 500ms ease-out both;animation-delay:var(--enter-delay,0ms)}
@keyframes editorial-in{from{opacity:.2;transform:translateY(20px)}to{opacity:1;transform:none}}
.story-page .wizard-wrap{padding-top:32px}
.story-page .wizard-grid{gap:24px}
.story-page .wizard-panel{padding:clamp(16px,2.5vw,32px);animation:editorial-in 280ms ease-out both}
.story-page .wizard-service-options,.story-page .wizard-team-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.story-page .wizard-service-options .wizard-option,.story-page .wizard-team-options .wizard-option{display:flex;position:relative;flex-direction:column;align-items:stretch;gap:9px;margin:0;padding:10px;border-radius:12px}
.story-page .wizard-service-options .wizard-option img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.story-page .wizard-team-options .wizard-option img,.story-page .wizard-team-options .wizard-auto{width:100%;height:150px;object-fit:cover;object-position:50% 30%}
.story-page .wizard-service-options .wizard-option input,.story-page .wizard-team-options .wizard-option input{position:absolute;top:18px;right:18px;box-shadow:0 0 0 5px var(--story-white);width:18px;height:18px;z-index:1}
.story-page .wizard-option:has(input:checked){box-shadow:0 0 0 2px var(--story-accent)}
.story-page .wizard-option:has(input:focus-visible){outline:2px solid var(--story-accent);outline-offset:3px}
.story-page .wizard-example-fields{display:grid;gap:12px;margin-top:18px}
.story-page .wizard-example-fields label{font-size:13px;font-weight:650;display:grid;gap:5px}
.story-page .wizard-example-fields input{width:100%;min-height:48px;padding:12px;border:1px solid var(--story-border);border-radius:8px;color:var(--story-ink);background:var(--story-white)}
.story-page .wizard-wrap[data-wizard-step="8"] .wizard-notice{animation:editorial-in 500ms ease-out both}
.story-page .wizard-wrap~.story-whatsapp{display:none}
@media(max-width:1199px){.story-page .story-nav .story-desktop-nav{display:none}.story-page .story-mobile-menu{display:block}.story-page .story-nav-cta{margin-left:auto}}
@media(min-width:768px) and (max-width:1279px){
 .story-page{--story-gutter:24px;--story-space:64px;--story-h2:32px;--story-copy:17px}
 .odonto-site .od-hero{min-height:500px}.odonto-site .od-hero h1{font-size:46px}.odonto-site .od-hero-layout{grid-template-columns:minmax(0,44fr) minmax(0,56fr)}
 .imperial-site .im-hero{min-height:560px}.imperial-site .im-hero h1{font-size:56px}
 .story-page .story-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.odonto-site .od-team-grid,.imperial-site .im-team-portraits{grid-template-columns:repeat(3,minmax(0,1fr))}
 .odonto-site .od-difference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story-page .wizard-grid{grid-template-columns:minmax(0,60fr) minmax(0,40fr)}
 .story-page .wizard-service-options,.story-page .wizard-team-options{grid-template-columns:1fr}
}
@media(min-width:768px) and (max-width:950px){.odonto-site .od-book-grid,.imperial-site .im-book-layout{grid-template-columns:1fr}.story-page .wizard-grid{grid-template-columns:1fr}.story-page .wizard-summary{position:static;grid-row:1}.story-page .wizard-summary-desktop{display:none}.story-page .wizard-summary-mobile{display:block}}
@media(max-width:767px){
 .story-page{--story-gutter:20px;--story-space:48px;--story-h2:28px;--story-copy:16px}
 .story-page .story-nav,.story-barbearia .story-nav{height:64px;min-height:64px;gap:8px}.story-page .brand-story img{width:36px;height:36px}.story-page .brand-story{gap:6px}.story-page .brand-story strong{font-size:1.15rem}.story-page .brand-story small{font-size:.57rem}.story-page .story-nav-cta{font-size:.76rem;padding-inline:10px}.story-page .story-mobile-menu summary span:last-child{display:none}
 .odonto-site .od-hero{min-height:0;padding:32px 0 42px}.odonto-site .od-hero-layout{grid-template-columns:1fr;gap:25px}.odonto-site .od-hero h1{font-size:36px;max-width:100%}.odonto-site .od-hero-copy{padding:0}.odonto-site .od-hero img{height:auto;aspect-ratio:4/4.4;object-fit:cover;object-position:50% 42%;border-radius:14px 54px 14px 14px}.odonto-site .od-hero figcaption{inset:auto 9px 9px 9px;max-width:none}.odonto-site .od-hero figcaption a{min-height:55px;padding:8px 12px}
 .odonto-site .od-difference{padding:40px 0}.odonto-site .od-difference-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.odonto-site .od-difference article{padding:15px}.odonto-site .od-difference article h3{font-size:16px}
 .story-page .story-catalog-grid{grid-template-columns:1fr;gap:16px}.story-page .story-catalog-photo{max-height:none;aspect-ratio:4/3}.story-page .story-catalog-body{padding:20px}
 .odonto-site .od-book-grid,.imperial-site .im-book-layout{grid-template-columns:1fr}.story-page .story-book-buttons{grid-template-columns:1fr}.story-page .story-book-available{flex-wrap:wrap}.story-page .story-book-available .story-btn{width:100%}
 .odonto-site .od-team-grid,.imperial-site .im-team-portraits{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.odonto-site .od-team-grid article>div,.imperial-site .im-team-portraits article>div{padding:12px}.story-page .od-team-grid h3,.story-page .im-team-portraits h3{font-size:16px}
 .odonto-site .od-gallery-grid{grid-template-columns:1fr 1fr;gap:10px}.odonto-site .od-gallery-grid>*:first-child{grid-row:auto;grid-column:1/-1}
 .odonto-site .od-journey-list{grid-template-columns:1fr}.odonto-site .od-journey-list li{border-top:0;border-left:1px solid #7fa5a7;padding:0 0 16px 16px}.odonto-site .od-journey-list li::before{left:-5px;top:0}.odonto-site .od-journey-list img{max-height:230px;object-fit:cover}
 .imperial-site .im-hero{min-height:570px;align-items:end}.imperial-site .im-hero h1{font-size:42px;max-width:11ch}.imperial-site .im-hero-copy{max-width:100%;padding:30px 0}.imperial-site .im-hero figure::after{background:linear-gradient(0deg,#0c0c0cf5 0%,#0c0c0cb8 38%,#0c0c0c12 85%)}.imperial-site .im-hero img{object-position:60% 28%}
 .imperial-site .im-gallery-layout{grid-template-columns:1fr 1fr;gap:10px}.imperial-site .im-gallery-layout .story-gallery-tile:first-child{grid-column:1/-1;grid-row:auto;max-height:none}.imperial-site .im-gallery-layout .story-gallery-tile:nth-child(6){grid-column:1/-1}.imperial-site .im-combos{grid-template-columns:1fr}
 .story-page .wizard-wrap{width:calc(100% - 40px);padding-bottom:100px}.story-page .wizard-grid{grid-template-columns:1fr;gap:12px}.story-page .wizard-service-options,.story-page .wizard-team-options{grid-template-columns:1fr}.story-page .wizard-service-options .wizard-option,.story-page .wizard-team-options .wizard-option{display:grid;grid-template-columns:92px minmax(0,1fr);padding:10px;align-items:center}.story-page .wizard-service-options .wizard-option img,.story-page .wizard-team-options .wizard-option img,.story-page .wizard-team-options .wizard-auto{height:80px;width:92px;aspect-ratio:auto}.story-page .wizard-service-options .wizard-option input,.story-page .wizard-team-options .wizard-option input{top:13px;left:13px;right:auto}.story-page .wizard-actions{position:sticky;bottom:env(safe-area-inset-bottom,0px);padding:8px 0;box-shadow:0 -6px 18px #0001}.story-page .wizard-progress li{font-size:0}.story-page .wizard-progress li[aria-current]{font-size:.64rem}.story-page .wizard-progress li span{width:24px;height:24px;font-size:12px}.story-page .wizard-progress{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
 .story-page .story-whatsapp{width:48px;height:48px;padding:0;right:12px;bottom:12px}.story-page .story-whatsapp span{display:none}
}
@media(max-width:390px){.story-page .story-nav-cta{font-size:.7rem;padding:7px 9px;white-space:normal;max-width:92px}.story-page .story-header .story-mobile-menu summary{padding:0 9px}.story-page .brand-story small{white-space:normal}.story-page .story-actions>.story-btn{width:100%}.story-page .od-team-grid,.story-page .im-team-portraits{grid-template-columns:1fr}.story-page .wizard-service-options .wizard-option,.story-page .wizard-team-options .wizard-option{grid-template-columns:76px minmax(0,1fr)}.story-page .wizard-service-options .wizard-option img,.story-page .wizard-team-options .wizard-option img,.story-page .wizard-team-options .wizard-auto{width:76px;height:75px}}
@media(prefers-reduced-motion:reduce){.story-page .story-reveal,.story-page .catalog-show,.story-page .wizard-panel,.story-page .story-dialog[open],.story-page .story-faq-list details[open] p,.story-page .wizard-wrap[data-wizard-step="8"] .wizard-notice{animation:none}.story-page .story-btn,.story-page .story-header,.story-page .story-catalog-photo img{transition:none}}
/* Keep both faces inside the landscape crop and all mobile controls accessible. */
@media(min-width:768px){.odonto-site .od-hero img{aspect-ratio:1.48;object-position:70% center}.imperial-site .im-hero img{object-position:72% 30%}}
@media(max-width:767px){.story-barbearia .brand-story strong{font-size:.82rem;letter-spacing:.045em;white-space:normal}.story-barbearia .brand-story small{font-size:.52rem;letter-spacing:.06em;white-space:normal}.story-page .story-brand-link{min-width:0;flex:1}.story-page .brand-story{min-width:0;max-width:100%}.story-page .story-nav-cta{margin-left:0;max-width:104px;white-space:normal;flex:none}.story-page .story-header .story-mobile-menu summary{width:44px;padding:0;justify-content:center;font-size:20px}.story-page .story-whatsapp{position:static;display:flex;margin:12px 20px 20px auto;width:auto;height:48px;padding:0 12px}.story-page .story-whatsapp span{display:inline}.story-page .wizard-wrap~.story-whatsapp{display:none}.imperial-site .im-hero{min-height:640px}.imperial-site .im-hero figure::after{background:linear-gradient(0deg,#0c0c0cfa 0%,#0c0c0cdc 37%,#0c0c0c18 86%)}}
@media(max-width:350px){.story-page .brand-story img{width:30px;height:30px}.story-page .story-nav-cta{max-width:85px;font-size:.67rem}.story-barbearia .brand-story strong{font-size:.73rem}.story-page .brand-story strong{white-space:normal}.story-page .story-nav{gap:6px}}
.story-page .story-build{display:block;margin-top:12px;font-size:11px;opacity:.86;}
.story-page .story-book-services>a:focus-visible,.story-page .story-catalog-grid a:focus-visible{outline:3px solid var(--story-accent);outline-offset:3px;}
