/* Infectioase.ro v4.2 — scoped public layout update.
   Uses the original, unmodified hospital logo and the existing real hospital photo. */

/* One-row desktop navigation: override the historical two-row breakpoint rules. */
.v420-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e4edf1;box-shadow:0 5px 22px rgba(18,53,76,.065)}
.v420-header .v420-head-inner{width:min(1440px,calc(100% - 52px));max-width:none;min-height:112px;display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:clamp(10px,1.45vw,24px);padding:9px 0!important}
.v420-header .v420-brand{display:flex;flex:0 1 auto;align-items:center;min-width:0;min-height:0;gap:14px;margin:0;padding:0;white-space:normal;text-decoration:none}
.v420-header .v420-brand img{width:94px;height:94px;max-height:none;flex:0 0 94px;object-fit:contain;display:block}
.v420-header .v420-brand-copy{display:block;max-width:315px;color:#123a56;min-width:0}
.v420-header .v420-brand-copy strong,.v420-header .v420-brand-copy span{display:block;font-size:clamp(14px,1.15vw,19px);line-height:1.18;letter-spacing:-.018em;white-space:normal;color:#123a56;font-weight:800}
.v420-header .v420-brand-copy span{margin-top:3px}
.v420-header .v420-nav{display:block;width:auto!important;flex:0 1 auto;min-width:0;border:0!important;padding:0!important;order:0}
.v420-header .v420-nav-list{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap!important;gap:clamp(0px,.2vw,5px);padding:0;margin:0}
.v420-header .v420-nav-list>li{flex:0 0 auto}
.v420-header .v420-nav-list>.has-submenu>.nav-entry{display:flex;align-items:center}
.v420-header .v420-nav-list>.has-submenu>.nav-entry>.nav-link,
.v420-header .v420-nav-list>li>.nav-link{font-size:clamp(12px,.95vw,14px);font-weight:690;line-height:1.35;min-height:44px;padding:11px clamp(7px,.65vw,12px);color:#22485f;border-radius:9px;white-space:nowrap}
.v420-header .v420-nav-list>li.is-current>.nav-link,
.v420-header .v420-nav-list>li.is-current>.nav-entry{background:#edf7fa;color:#096d8a}
.v420-header .v420-nav-list .sub-toggle{padding:10px 4px;margin-left:-7px;min-width:24px;min-height:38px}
.v420-header .submenu{z-index:20;top:calc(100% + 4px);min-width:240px;padding:9px;box-shadow:0 15px 37px rgba(12,44,62,.15);border-radius:13px}
.v420-header .submenu>li>a{display:block;padding:10px 12px;font-weight:570;font-size:13px;color:#265169;white-space:normal;border-radius:8px;line-height:1.45}
.v420-header .submenu>li>a:hover{background:#eaf5f7}
.v420-header .v420-header-actions{display:flex;gap:9px;flex:0 0 auto;align-items:center;margin:0;padding:0;order:0}
.v420-header .v420-search-action,.v420-header .v420-booking-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;min-height:46px;border-radius:13px;border:1px solid transparent}
.v420-header .v420-search-action{height:46px;width:46px;flex:0 0 46px;background:#eaf6fa;color:#075e7c}
.v420-header .v420-search-action:hover{background:#d7eef5}
.v420-header .v420-booking-action{gap:8px;background:#083c69;color:white;padding:10px 15px;font-size:13px;font-weight:750;white-space:nowrap;box-shadow:0 4px 13px rgba(8,60,105,.12)}
.v420-header .v420-booking-action:hover{background:#075179;color:white}
.v420-header .v420-search-action svg,.v420-header .v420-booking-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v420-header .v420-mobile-toggle{display:none}
/* Keep the top contact strip, but avoid two separate "Programări" buttons. */
.topline:has(+ .v420-header) .ux390-toplink,.topline:has(+ .v420-header) .ux390-topsearch{display:none!important}
.topline:has(+ .v420-header) .topline-inner{min-height:33px;gap:18px}

/* Hero: the site's real photograph stays the sole hero asset. */
.home-v360 .home360-hero{min-height:485px;max-height:none;background:#0c3c60}
.home-v360 .home360-hero-photo{object-fit:cover;object-position:center 46%}
.home-v360 .home360-veil{background:linear-gradient(90deg,rgba(9,37,58,.94) 0%,rgba(7,39,62,.80) 27%,rgba(7,50,81,.42) 51%,rgba(9,48,77,.03) 79%)}
.home-v360 .home360-hero-content{padding-top:72px;padding-bottom:77px;position:relative;z-index:2}
.home-v360 .home360-kicker{font-size:12px;letter-spacing:.145em;line-height:1.5;font-weight:800;color:#bdeef5;max-width:680px}
.home-v360 .home360-hero h1{font-size:clamp(47px,5.35vw,78px);font-weight:810;line-height:1.03;letter-spacing:-.04em;margin:21px 0 15px;max-width:690px;text-shadow:0 2px 15px rgba(0,34,56,.1)}
.home-v360 .home360-hero h1 em{color:#b7f0f9}
.home-v360 .home360-hero p{font-size:clamp(15px,1.16vw,18px);line-height:1.65;max-width:540px;color:#f0f8fb}
.home-v360 .home360-actions{margin-top:27px;gap:12px}
.home-v360 .home360-actions a{border-radius:999px;min-height:48px;padding:12px 24px;font-weight:730;font-size:14px}
.home-v360 .home360-primary{background:#0ba5b9}
.home-v360 .home360-primary:hover{background:#07899f}
.home-v360 .home360-photo-credit{right:20px;bottom:12px}
/* The medical service grid now follows the hero, before the contact/guide panels. */
.home-v360 .v420-home-services{padding-top:29px;padding-bottom:45px}
.home-v360 .v420-services-title{max-width:840px;margin-bottom:22px}
.home-v360 .v420-services-title>span{position:relative;padding-left:39px;color:#087e9d}
.home-v360 .v420-services-title>span::before{position:absolute;content:"";width:27px;height:2px;background:#11a2b7;left:0;top:50%}
.home-v360 .v420-services-title h2{font-size:clamp(29px,2.65vw,41px);letter-spacing:-.032em;margin:0 0 6px;color:#113c58}
.home-v360 .v420-services-title p{font-size:15px;color:#5f7888;max-width:760px;line-height:1.6}
.home-v360 .v420-service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.home-v360 .v420-service-card{position:relative;display:flex;flex-direction:column;gap:0;min-height:209px;border:1px solid #e0eaef;border-radius:14px;overflow:hidden;background:#fff;color:#143e57;box-shadow:0 7px 18px rgba(14,48,66,.045);padding:0;text-decoration:none;isolation:isolate;transition:box-shadow .2s,transform .2s}
.home-v360 .v420-service-card:hover{transform:translateY(-3px);box-shadow:0 15px 29px rgba(10,48,65,.11);border-color:#b2dce5}
.home-v360 .v420-service-photo{display:block;position:absolute;top:0;right:0;width:76%;height:115px;z-index:0;overflow:hidden}
.home-v360 .v420-service-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;filter:saturate(.89);transition:transform .25s}
.home-v360 .v420-service-card:hover .v420-service-photo img{transform:scale(1.04)}
.home-v360 .v420-service-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.15) 65%,rgba(255,255,255,0) 100%),linear-gradient(0deg,#fff 0%,rgba(255,255,255,0) 65%)}
.home-v360 .v420-service-icon{position:relative;z-index:1;display:grid;place-items:center;width:52px;height:52px;margin:13px 0 0 15px;padding:0;flex:0 0 52px;border-radius:50%;background:#e3f4f9;color:#087c9f;font-size:23px;font-weight:730;box-shadow:0 2px 6px rgba(10,45,65,.03)}
.home-v360 .v420-service-card strong{position:relative;z-index:1;display:block;margin:26px 15px 0;min-height:0;padding:0;font-size:16.5px;line-height:1.28;letter-spacing:-.018em;color:#173e56}
.home-v360 .v420-service-card small{display:block;position:relative;z-index:1;color:#587286;font-size:12.5px;line-height:1.45;margin:8px 15px 5px;padding:0}
.home-v360 .v420-service-arrow{display:flex;align-self:flex-end;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#e4f5fb;color:#0a6b90;margin:auto 12px 11px 0;padding:0;font-size:20px;line-height:1}
.home-v360 .home360-contact-row{margin-top:14px;margin-bottom:13px;box-shadow:0 9px 29px rgba(9,44,63,.085)}
.home-v360 .home360-overview{padding-top:60px}
/* Do not alter the content/editor CSS of unrelated routes. */
@media(max-width:1240px){
 .v420-header .v420-head-inner{gap:10px}
 .v420-header .v420-brand img{width:76px;height:76px;flex-basis:76px}
 .v420-header .v420-brand-copy{max-width:235px}
 .v420-header .v420-brand-copy strong,.v420-header .v420-brand-copy span{font-size:15px}
 .v420-header .v420-header-actions{gap:6px}
 .v420-header .v420-booking-action{padding-inline:11px}
 .v420-header .v420-nav-list>.has-submenu>.nav-entry>.nav-link,.v420-header .v420-nav-list>li>.nav-link{font-size:12px;padding-inline:7px}
}
@media(max-width:1100px){
 .v420-header .v420-head-inner{min-height:92px;display:flex!important;flex-wrap:wrap!important;gap:10px;padding:9px 0!important}
 .v420-header .v420-brand{flex:1 1 calc(100% - 95px)}
 .v420-header .v420-mobile-toggle{display:inline-flex!important;order:2;margin-left:auto}
 .v420-header .v420-nav{order:4;display:none;width:100%!important;flex:1 0 100%;border-top:1px solid #e4eef2!important;padding:6px 0 0!important}
 .v420-header .v420-nav.open{display:block}
 .v420-header .v420-nav-list{flex-direction:column;align-items:stretch;gap:3px;padding:5px 0 14px;flex-wrap:wrap!important}
 .v420-header .v420-nav-list>li{width:100%}
 .v420-header .v420-nav-list>.has-submenu>.nav-entry>.nav-link,.v420-header .v420-nav-list>li>.nav-link{width:100%;padding:12px 13px;white-space:normal;font-size:14px}
 .v420-header .v420-nav-list>.has-submenu>.nav-entry>.nav-link{flex:1}
 .v420-header .v420-nav-list .sub-toggle{min-height:44px;min-width:44px;padding:10px;margin:0}
 .v420-header .submenu{position:static;box-shadow:none;border-left:2px solid #cde2ea;border-radius:0;padding:6px 10px;margin:0 8px 7px;background:#f8fbfc;max-height:none;min-width:0;width:calc(100% - 16px)}
 .v420-header .has-submenu>.submenu,.v420-header .has-submenu:hover>.submenu,.v420-header .has-submenu:focus-within>.submenu{display:none}
 .v420-header .has-submenu.expanded>.submenu{display:block}
 .v420-header .v420-header-actions{order:3;margin:0 0 0 auto}
 .home-v360 .v420-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .v420-header .v420-head-inner{width:calc(100% - 28px)}
 .v420-header .v420-brand{flex:1 1 auto;gap:8px}
 .v420-header .v420-brand img{width:65px;height:65px;flex-basis:65px}
 .v420-header .v420-brand-copy{max-width:225px}
 .v420-header .v420-brand-copy strong,.v420-header .v420-brand-copy span{font-size:14px;line-height:1.23}
 .v420-header .v420-header-actions{margin-left:0}
 .v420-header .v420-search-action{width:42px;height:42px;min-height:42px;flex-basis:42px}
 .v420-header .v420-booking-action{min-height:42px}
 .home-v360 .home360-hero{min-height:500px}
 .home-v360 .home360-hero-photo{object-position:59% center}
 .home-v360 .home360-veil{background:linear-gradient(90deg,rgba(6,37,57,.94),rgba(8,52,75,.59))}
 .home-v360 .home360-hero-content{padding-top:65px;padding-bottom:80px}
 .home-v360 .home360-hero h1{font-size:clamp(42px,10vw,61px)}
 .home-v360 .v420-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){
 .v420-header .v420-head-inner{gap:8px}
 .v420-header .v420-brand img{width:57px;height:57px;flex-basis:57px}
 .v420-header .v420-brand-copy strong,.v420-header .v420-brand-copy span{font-size:12px}
 .v420-header .v420-booking-action{padding-inline:10px;font-size:12px}
 .v420-header .v420-header-actions{order:3;width:100%;justify-content:flex-end;margin-bottom:2px}
 .home-v360 .v420-service-grid{grid-template-columns:1fr}
 .home-v360 .v420-service-card{min-height:183px}
 .home-v360 .v420-service-card strong{margin-top:18px}
 .home-v360 .v420-services-title h2{font-size:30px}
}
@media(prefers-reduced-motion:reduce){
 .home-v360 .v420-service-card,.home-v360 .v420-service-photo img{transition:none}
}
/* Text always stays above the illustrative image layer. */
.home-v360 .v420-service-card :is(strong,small,.v420-service-arrow){position:relative;z-index:2}
