@layer legacy {
/* Shared structural layer for the remaining catalogue, direction and service pages.
   It changes presentation only; page content, prices and destinations stay in templates. */
.direction-procedure-grid,.service-path-grid,.service-product-grid,.a-requests,.a-next-grid,.a-article-grid{gap:0}
.direction-procedure-grid>.procedure-card,.service-path-grid>.service-path,.service-product-grid>.service-product,.a-requests>.a-request-card,.a-requests>div,.a-next-grid>a,.a-article-grid>a{border:0;border-top:1px solid currentColor;border-radius:0;background:transparent;box-shadow:none}
.direction-procedure-grid>.procedure-card:last-child,.service-path-grid>.service-path:last-child,.service-product-grid>.service-product:last-child,.a-requests>:last-child,.a-next-grid>:last-child,.a-article-grid>:last-child{border-bottom:1px solid currentColor}
.direction-procedure-grid>.procedure-card,.a-requests>.a-request-card,.a-requests>div,.a-next-grid>a,.a-article-grid>a{min-height:0;padding:clamp(20px,2.5vw,35px) 0}
.direction-procedure-grid>.procedure-card:hover,.a-next-grid>a:hover,.a-article-grid>a:hover{transform:none;background:transparent}
.direction-procedure-grid .procedure-meta{opacity:.7}.direction-procedure-grid .procedure-meta span:last-child{display:none}
.direction-procedure-grid h3{font-size:clamp(25px,2.4vw,36px);line-height:1.12}
.service-path-grid>.service-path,.service-product-grid>.service-product{padding:clamp(20px,2.5vw,35px) 0}
.service-path-grid>.service-path--case{padding:0}.service-path--case .case-tile-content{padding:clamp(20px,2.5vw,35px) 0}.service-path--case .service-path-next{padding-inline:0}
.service-product-row,.master-choice,.master-concern,.master-tech,.vela-offer-family,.contour-catalog,.a-group,.a-guides details{border-radius:0;box-shadow:none}
.detail-meta-card,.direction-fact{border-radius:0;box-shadow:none}
.aesthetic-page .a-request-card button,.a-booking a{border-radius:0}
@media(max-width:760px){
 .direction-procedure-grid,.service-path-grid,.service-product-grid,.a-requests,.a-next-grid,.a-article-grid{grid-template-columns:minmax(0,1fr)}
 .direction-procedure-grid>.procedure-card,.service-path-grid>.service-path,.service-product-grid>.service-product,.a-requests>.a-request-card{min-width:0}
 .service-path--case .case-preview{margin-inline:0}
}

/* The published entry routes had retained the older pink gradient and tile UI.
   This layer aligns every shared entry template with the editorial procedure pages. */
.inner-hero{min-height:0;padding:clamp(126px,12vw,178px) 0 clamp(54px,7vw,100px);border-bottom:1px solid #c9c1b8;background:#ebe7e0;color:#292723}
.inner-hero::after{display:none}
.inner-hero .breadcrumbs{margin-bottom:clamp(42px,6vw,92px);color:#69635c}
.inner-hero .breadcrumbs a:hover{color:#292723}
.inner-hero .eyebrow{color:#756756}
.inner-hero h1{max-width:18ch;margin-bottom:clamp(22px,3vw,43px);font-size:clamp(42px,4.6vw,68px);line-height:1.04;letter-spacing:-.045em}
.inner-hero-lead{max-width:58ch;color:#514e48;font-size:clamp(16px,1.25vw,19px);line-height:1.58}
.inner-hero .btn{margin-top:25px}
body:has(.inner-hero) .site-header{border-bottom-color:#c9c1b8;color:#292723}
body:has(.inner-hero) .header-actions .btn{border-color:#8e857b;background:transparent;color:#292723;backdrop-filter:none}
body:has(.inner-hero) .menu-toggle{color:#292723}

/* Catalog: two deliberate levels, directions first, searchable procedure index second. */
.catalog-toolbar{align-items:end;gap:clamp(20px,4vw,64px);margin-bottom:clamp(36px,5vw,75px)}
.catalog-tabs{gap:24px;padding:0;border:0;border-bottom:1px solid #bcb3a8;border-radius:0;background:transparent}
.catalog-tab,.catalog-tab.active{min-height:55px;padding:12px 0;border-radius:0;background:transparent;color:#625e57;font-size:14px}
.catalog-tab.active{border-bottom:2px solid #292723;color:#292723}
.catalog-search input{border:0;border-bottom:1px solid #9e968b;border-radius:0;background:transparent}
.catalog-search input:focus{border-color:#292723;outline:2px solid #756756;outline-offset:3px}
.catalog-direction-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-bottom:clamp(60px,8vw,125px)}
.catalog-direction{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(18px,3vw,44px);align-items:end;padding:clamp(28px,4vw,55px) clamp(12px,3vw,42px);border-top:1px solid #bfb7ad;border-radius:0;background:transparent;box-shadow:none;transform:none}
.catalog-direction:nth-child(odd){border-right:1px solid #bfb7ad;padding-left:0}
.catalog-direction:nth-child(even){padding-right:0}
.catalog-direction:nth-last-child(-n+2){border-bottom:1px solid #bfb7ad}
.catalog-direction::after{display:none}
.catalog-direction-top{grid-column:1/-1;order:2;justify-content:flex-start;gap:20px;font-size:11px;letter-spacing:.12em}
.catalog-direction-top span:first-child{display:none}
.catalog-direction h2{max-width:22ch;margin:0 0 11px;font-size:clamp(28px,3vw,43px);line-height:1.07;letter-spacing:-.035em}
.catalog-direction p{max-width:43ch;font-size:15px;line-height:1.5}
.catalog-direction:hover,.catalog-direction:focus-visible{background:#e2dcd3;box-shadow:none;transform:none}
.catalog-grid,.problem-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.catalog-card,.problem-card{min-height:0;padding:clamp(23px,3vw,42px) clamp(12px,3vw,42px);border:0;border-top:1px solid #bfb7ad;border-radius:0;background:transparent;box-shadow:none;transform:none}
.catalog-card:nth-child(odd),.problem-card:nth-child(odd){border-right:1px solid #bfb7ad;padding-left:0}
.catalog-card:nth-child(even),.problem-card:nth-child(even){padding-right:0}
.catalog-card:last-child,.problem-card:last-child{border-bottom:1px solid #bfb7ad}
.catalog-card:hover,.problem-card:hover,.catalog-card:focus-visible,.problem-card:focus-visible{background:#eae4dd;box-shadow:none;transform:none}
.catalog-card h3,.problem-card h3{font-size:clamp(23px,2.4vw,36px);line-height:1.12}
.catalog-card p,.problem-card p{max-width:56ch;font-size:15px;line-height:1.5}
.filter-chips{gap:0;border-bottom:1px solid #bfb7ad}
.filter-chip,.filter-chip.active,.filter-chip:hover{min-height:47px;padding:10px 17px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#645f58}
.filter-chip.active,.filter-chip:hover{border-bottom-color:#292723;color:#292723}
.catalog-empty{border-radius:0}

/* Choice hub: the request itself is the interaction, not a tile with a plus. */
.task-entry-grid,.task-grid{gap:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.task-entry{min-height:0;padding:clamp(23px,3vw,39px) clamp(12px,3vw,42px);border:0;border-top:1px solid #bfb7ad;border-radius:0;background:transparent}
.task-entry:nth-child(odd){border-right:1px solid #bfb7ad;padding-left:0}
.task-entry:nth-child(even){padding-right:0}
.task-entry:nth-last-child(-n+2){border-bottom:1px solid #bfb7ad}
.task-entry:hover,.task-entry:focus-visible{border-color:#8b8177;background:#e2dcd3;box-shadow:none}
.task-card,.task-section--dark .task-card{border:0;border-top:1px solid #bfb7ad;border-radius:0;background:transparent;overflow:visible}
.task-card:nth-child(odd){border-right:1px solid #bfb7ad}
.task-card:nth-last-child(-n+2){border-bottom:1px solid #bfb7ad}
.task-card summary{padding-inline:clamp(12px,3vw,42px)}
.task-card:nth-child(odd) summary,.task-card:nth-child(odd) .task-content{padding-left:0}
.task-card:nth-child(even) summary,.task-card:nth-child(even) .task-content{padding-right:0}
.task-card summary span{font-size:0}
.task-card summary span::after{display:block;width:12px;height:12px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;content:"";transform:rotate(45deg)}
.task-card[open] summary span{transform:rotate(180deg)}
.task-section--dark .task-card{border-color:rgba(255,255,255,.3)}
.task-section--dark .task-card:nth-child(odd){border-right-color:rgba(255,255,255,.3)}
.task-content{padding-inline:clamp(12px,3vw,42px)}

/* Secondary hubs share the same quiet rules without losing their own imagery. */
.equipment-card,.men-card,.article-card{border-radius:0;box-shadow:none;transform:none}
.equipment-card:hover,.men-card:hover,.article-card:hover{box-shadow:none;transform:none}
.problem-zone,.direction-card-facts span{border-radius:0}
.home-service,.home-person{border-radius:0;box-shadow:none}
.home-service:hover{transform:none;box-shadow:none}
.home-service:nth-child(2){background:var(--white)}

@media(max-width:760px){
 .inner-hero{padding:clamp(88px,16vw,112px) 0 48px}
 .inner-hero .breadcrumbs{margin-bottom:37px}
 .inner-hero h1{font-size:clamp(37px,10vw,53px);overflow-wrap:anywhere}
 .catalog-toolbar{grid-template-columns:minmax(0,1fr);gap:18px}
 .catalog-tabs{justify-content:space-between}
 .catalog-direction-grid,.catalog-grid,.problem-grid,.task-entry-grid,.task-grid{grid-template-columns:minmax(0,1fr)}
 .catalog-direction,.catalog-card,.problem-card,.task-entry,.task-card{border-right:0;border-bottom:0;padding:24px 0}
 .catalog-direction:last-child,.catalog-card:last-child,.problem-card:last-child,.task-entry:last-child,.task-card:last-child{border-bottom:1px solid #bfb7ad}
 .task-section--dark .task-card:last-child{border-bottom-color:rgba(255,255,255,.3)}
 .task-card summary,.task-card .task-content{padding-inline:0}
 .catalog-direction h2{font-size:clamp(27px,7vw,36px)}
 .catalog-card h3,.problem-card h3{font-size:clamp(23px,6vw,31px)}
 .catalog-direction-grid{margin-bottom:64px}
}
}
