/*
  Paolo Bilello Physio - onepage static HTML
  index.html / assets/css/style.css / assets/js/main.js / assets/img
*/
:root{
  --blue:#061d49;
  --blue-2:#08275e;
  --yellow:#e5c434;
  --yellow-dark:#d5b52a;
  --text:#111111;
  --body:#363636;
  --muted:#555b64;
  --light:#f2f2f2;
  --footer:#222222;
  --max:1120px;
  --header:92px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Roboto,Arial,sans-serif;color:var(--text);background:#fff;font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea{font:inherit}
.container{max-width:var(--max);width:calc(100% - 48px);margin:0 auto}
.section-anchor{scroll-margin-top:calc(var(--header) + 22px)}

/* Header */
.site-header{height:var(--header);background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.08);position:sticky;top:0;z-index:1000}
.site-header__inner{height:var(--header);max-width:var(--max);width:calc(100% - 48px);margin:0 auto;display:flex;align-items:stretch;background:#fff}
.brand{width:315px;display:flex;align-items:center;justify-content:flex-start;flex:0 0 315px}
.brand img{width:168px;height:auto;object-fit:contain}
.main-nav{display:flex;align-items:stretch;height:var(--header);flex:1 1 auto;min-width:0}
.nav-link{height:var(--header);padding:0 17px;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-weight:900;font-size:13px;color:#111;letter-spacing:-.25px;position:relative;transition:background .18s,color .18s}
.nav-link:hover{background:#f8f8f8;color:#000}
.nav-link.is-active{background:var(--blue);color:#fff}
.nav-link.is-active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--yellow)}
.search-btn{width:86px;border:0;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900;line-height:1;cursor:pointer;padding:0 0 8px 0;flex:0 0 86px}
.search-btn span{display:block;transform:rotate(-20deg) scale(.72)}
.menu-toggle{display:none;border:0;background:#fff;width:58px;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;margin-left:auto}
.menu-toggle span{width:25px;height:2px;background:#111;display:block;transition:.2s}
.menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Hero */
.home-hero{height:520px;background-image:url('../img/physio-hero.jpg');background-size:cover;background-position:center 45%;background-repeat:no-repeat;position:relative}
.home-hero:after{content:"";position:absolute;inset:auto 0 0;height:110px;background:linear-gradient(to bottom,rgba(255,255,255,0),rgba(255,255,255,.04))}

/* Contact strip */
.contact-ribbon{height:70px;background:#fff;position:relative;z-index:5}
.contact-ribbon__inner{height:70px;max-width:var(--max);width:calc(100% - 48px);margin:0 auto;display:grid;grid-template-columns:1.02fr 1.12fr 1.34fr 1.34fr;align-items:stretch;background:#fff}
.ribbon-item{display:flex;align-items:center;gap:12px;color:#343841;font-size:14px;font-weight:400;line-height:20px;min-width:0;white-space:nowrap}
.ribbon-icon{font-size:15px;color:#4d4d4d;line-height:1;font-weight:900;width:20px;text-align:center;display:inline-block;flex:0 0 20px}
.ribbon-icon.pin{font-size:0;color:transparent;position:relative}
.ribbon-icon.pin:before{content:"";position:absolute;left:6px;top:1px;width:9px;height:9px;border-radius:50%;background:#102960;box-shadow:0 0 0 2px rgba(16,41,96,.08)}
.ribbon-cta{background:var(--yellow);color:#101010;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:900;font-size:14px;padding:0 18px;height:70px;white-space:nowrap;transition:.18s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.02)}
.ribbon-cta:hover{background:#111;color:#fff}

/* Feature card */
.feature-card{max-width:var(--max);width:calc(100% - 48px);min-height:220px;margin:0 auto 96px;background:#fff;box-shadow:0 18px 34px rgba(0,0,0,.10);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;padding:44px 48px 38px;gap:48px;position:relative;z-index:4}
.feature-card article{min-width:0}
.feature-card h3{font-size:19px;line-height:21px;margin:0 0 14px;font-weight:900;color:#333;text-transform:uppercase;letter-spacing:-.45px}
.feature-card p{font-size:15px;line-height:28px;margin:0;color:#555;font-weight:400}

.section-white{background:#fff}
.about-section{padding:78px 0 96px;overflow:hidden}
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:86px;align-items:start}
.about-copy{padding-top:4px}
.section-kicker{display:flex;align-items:center;gap:14px;margin-bottom:14px;color:#595959;font-style:normal;font-size:14px;font-weight:400}
.section-kicker span{width:36px;height:3px;background:var(--yellow);display:block;flex:0 0 36px}
.section-kicker em{font-style:normal;text-transform:uppercase}
.section-kicker.dark em{text-transform:none}
.section-kicker.light{color:#fff;font-size:14px;margin-bottom:15px;font-weight:500}
.about-copy h2,.treatments-section h2,.contact-form-area h2,.believe-info h2{font-size:21px;line-height:33px;font-weight:900;margin:0 0 23px;color:#111;letter-spacing:-.35px}
.copy-block p{font-size:15.5px;line-height:30px;color:#3e3e3e;margin:0 0 22px}
.portrait-wrap{position:relative;width:100%;max-width:440px;min-height:0;align-self:start;justify-self:end;overflow:visible}
.portrait-img{width:100%;height:auto;aspect-ratio:456/620;object-fit:cover;object-position:50% 0;background:#ccc;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.experience-tab{position:absolute;left:-62px;bottom:22px;width:84px;height:146px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 25px rgba(0,0,0,.18)}
.experience-tab span{transform:rotate(-90deg);font-weight:900;font-size:19px;letter-spacing:.2px;white-space:nowrap}

/* Treatments */
.treatments-section{background:var(--yellow);padding:90px 0 82px;color:#000;overflow:hidden}
.treatments-top{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:start}
.treatments-section h2{font-size:30px;line-height:44px;margin-bottom:24px;max-width:470px}
.treatments-section p{font-size:15.5px;line-height:29px;margin:0;color:#111;max-width:470px}
.treatment-list{list-style:disc;margin:44px 0 0 18px;padding:0;color:#444;font-size:15.5px;line-height:31px;font-weight:400;text-transform:uppercase}
.treatment-list li{padding-left:10px;margin-bottom:2px}
.treatments-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:70px}
.treatments-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;height:auto}

/* Contact */
.contact-section{background:var(--light);padding:82px 0 90px;overflow:hidden}
.contact-grid{display:grid;grid-template-columns:520px minmax(360px,1fr);gap:58px;align-items:start}
.contact-photo img{width:520px;height:640px;object-fit:cover;object-position:center 18%;background:#ddd}
.contact-form-area{width:100%;max-width:435px;margin-left:0;padding-top:66px}
.contact-form-area h2{font-size:40px;line-height:44px;margin-bottom:0;letter-spacing:-1.25px}
.contact-subtitle{font-size:13px;line-height:20px;margin:5px 0 18px;color:#37404c}
.contact-form input,.contact-form textarea{width:100%;border:1px solid #d7d7d7;background:#fff;color:#777;height:42px;margin:0 0 16px;padding:0 17px;font-size:13px;outline:none;border-radius:0;box-shadow:none}
.contact-form input:focus,.contact-form textarea:focus{border-color:#b9b9b9}
.contact-form textarea{height:124px;resize:vertical;padding-top:13px;line-height:20px}
.contact-form button{width:100%;height:44px;border:0;background:var(--yellow);color:#111;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 4px 10px rgba(229,196,52,.45);border-radius:3px;transition:.18s}
.contact-form button:hover{background:#111;color:#fff;box-shadow:none}

.grey-separator{height:42px;background:var(--light)}
.believe-section{display:grid;grid-template-columns:1fr 1fr;min-height:560px;background:#fff}
.believe-info{background:linear-gradient(90deg,rgba(0,30,75,.96),rgba(0,30,75,.92)),url('../img/contact-blue-bg.jpg');background-size:cover;background-position:center;display:flex;justify-content:flex-end;align-items:stretch;color:#fff;position:relative;overflow:hidden}
.believe-info:before{content:"";position:absolute;inset:0;background:rgba(0,29,71,.14)}
.believe-info__inner{position:relative;width:500px;margin-right:62px;padding:78px 0 48px;z-index:1}
.believe-info h2{color:#fff;font-size:21px;line-height:33px;margin:0 0 60px;letter-spacing:-.4px;max-width:465px}
.believe-contacts{display:flex;flex-direction:column;gap:30px}
.believe-item{display:grid;grid-template-columns:52px 1fr;gap:26px;align-items:center}
.yellow-dot{width:48px;height:48px;border-radius:50%;background:var(--yellow);display:block;box-shadow:0 0 0 1px rgba(229,196,52,.2)}
.believe-item h3{font-size:20px;line-height:23px;margin:0 0 7px;color:#fff;font-weight:900;letter-spacing:-.35px}
.believe-item p{font-size:13.5px;line-height:20px;color:#cfd5df;margin:0}
.map-panel{min-height:560px;overflow:hidden;background:#e8e8e8;position:relative}
.map-panel img{width:100%;height:100%;min-height:560px;object-fit:cover;filter:grayscale(1);object-position:center center}

.site-footer{height:58px;background:var(--footer);display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:700}
.site-footer p{margin:0}
.to-top{position:fixed;right:23px;bottom:35px;width:44px;height:44px;border:0;border-radius:50%;background:var(--yellow);color:#fff;font-size:25px;line-height:1;font-weight:900;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:999;box-shadow:0 8px 20px rgba(0,0,0,.16);opacity:0;pointer-events:none;transform:translateY(8px);transition:.25s}
.to-top.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.reveal{opacity:1;transform:none;transition:none}
.reveal.is-visible{opacity:1;transform:none}

@media (min-width:1400px){
  :root{--max:1160px;--header:94px}
  .brand{flex-basis:330px;width:330px}
  .nav-link{padding:0 19px}
  .home-hero{height:545px;background-position:center 44%}
}
@media (max-width:1160px){
  :root{--max:calc(100% - 48px)}
  .site-header__inner,.contact-ribbon__inner,.feature-card,.container{width:calc(100% - 48px)}
  .brand{width:250px;flex-basis:250px}
  .nav-link{padding:0 12px;font-size:12.5px}
  .search-btn{width:62px;flex-basis:62px}
  .about-grid{grid-template-columns:minmax(0,1fr) 380px;gap:58px}
  .portrait-wrap{max-width:380px}
  .portrait-img{width:100%;height:auto;aspect-ratio:456/620}
  .contact-grid{grid-template-columns:48% 1fr;gap:44px}
  .contact-photo img{width:100%}
  .believe-info__inner{width:calc(100% - 48px);margin-right:24px}
}
@media (max-width:980px){
  :root{--header:78px;--max:calc(100% - 34px)}
  .section-anchor{scroll-margin-top:98px}
  .site-header{height:var(--header)}
  .site-header__inner{height:var(--header);max-width:100%;width:100%;padding:0 17px}
  .brand{width:auto;flex:1 1 auto}
  .brand img{width:150px}
  .menu-toggle{display:flex}
  .main-nav{position:absolute;top:78px;left:0;right:0;height:auto;background:#fff;display:none;flex-direction:column;box-shadow:0 12px 24px rgba(0,0,0,.13)}
  .main-nav.is-open{display:flex}
  .nav-link{height:54px;justify-content:flex-start;padding:0 24px;border-top:1px solid #eee;font-size:13px}
  .nav-link.is-active:after{height:100%;right:auto;width:4px;top:0;bottom:auto}
  .search-btn{display:none}
  .home-hero{height:390px;background-position:center 44%}
  .contact-ribbon{height:auto}
  .contact-ribbon__inner{height:auto;grid-template-columns:1fr 1fr;width:100%;max-width:100%}
  .ribbon-item{min-height:60px;padding:10px 20px;white-space:normal;justify-content:center;text-align:left}
  .ribbon-cta{grid-column:1/-1;height:60px}
  .feature-card{height:auto;min-height:0;grid-template-columns:1fr 1fr;gap:32px;padding:36px 30px;margin:0 auto 58px;width:calc(100% - 34px)}
  .about-section{padding-top:60px}
  .about-grid,.contact-grid{grid-template-columns:1fr;gap:38px;width:calc(100% - 34px)}
  .portrait-wrap{max-width:440px;min-height:0;justify-self:center;margin:0 auto}
  .contact-form-area{width:100%;max-width:560px;padding-top:0}
  .contact-photo img{width:100%;height:auto;max-height:650px;object-fit:cover}
  .treatments-top{grid-template-columns:1fr;gap:20px;width:calc(100% - 34px)}
  .treatment-list{margin-top:0}
  .treatments-gallery{grid-template-columns:1fr 1fr;gap:10px;width:calc(100% - 34px)}
  .believe-section{grid-template-columns:1fr}
  .believe-info{justify-content:center}
  .believe-info__inner{width:calc(100% - 34px);margin:0;padding:62px 0}
  .map-panel,.map-panel img{min-height:420px}
  .site-footer{text-align:center;padding:0 15px}
}
@media (max-width:620px){
  body{font-size:14px}
  .home-hero{height:300px;background-position:center center}
  .contact-ribbon__inner{grid-template-columns:1fr}
  .ribbon-item{justify-content:flex-start;padding:12px 22px}
  .feature-card{grid-template-columns:1fr;padding:32px 26px;margin-bottom:40px}
  .about-section,.treatments-section,.contact-section{padding:54px 0}
  .about-copy h2,.treatments-section h2{font-size:24px;line-height:32px}
  .treatments-section h2{max-width:100%}
  .contact-form-area h2{font-size:31px;line-height:36px}
  .portrait-img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center top}
  .portrait-wrap{width:min(100%,420px)}
  .experience-tab{display:none}
  .treatments-gallery{grid-template-columns:1fr}
  .believe-info h2{font-size:19px;line-height:30px}
  .believe-item{grid-template-columns:42px 1fr;gap:18px}
  .yellow-dot{width:38px;height:38px}
  .to-top{width:40px;height:40px;right:14px;bottom:20px}
}
