/*
Theme Name: Medpas v4
Theme URI: https://masajlascaun.ro
Author: Medpas
Description: Temă WordPress pentru Medpas — masaj la birou pentru companii din București.
Version: 1.4
Text Domain: medpas-v4
*/

:root{
  --paper:#F1F4F2;
  --paper-2:#E7ECE8;
  --ink:#132420;
  --teal:#2E4474;
  --teal-deep:#1B2A4A;
  --red:#C1443A;
  --red-deep:#9E362D;
  --line: rgba(19,36,32,0.14);
  --sage:#C9D8D0;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Source Serif 4', serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3, .disp{
  font-family:'Space Grotesk', sans-serif;
  letter-spacing:-0.01em;
  margin:0;
  color:var(--teal-deep) !important;
}
.mono{
  font-family:'IBM Plex Mono', monospace;
  letter-spacing:0.02em;
}
a{color:inherit;}
img{max-width:100%; display:block;}
.wrap{max-width:1120px; margin:0 auto; padding:0 28px;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

/* ---------- NAV ---------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(241,244,242,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:88px;
}
.logo{
  font-family:'Space Grotesk', sans-serif !important;
  font-weight:700 !important; font-size:1.5rem !important;
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.logo .dot{
  width:10px; height:10px; border-radius:2px; background:var(--red);
  transform:rotate(45deg);
}
.navlinks{display:flex; gap:32px; font-family:'Space Grotesk',sans-serif; font-size:1.2rem; font-weight:700; list-style:none; margin:0; padding:0;}
.navlinks li{margin:0;}
#medpas-site-navigation ul.navlinks li a,
#medpas-site-navigation .navlinks a{
  text-decoration:none !important; opacity:0.85 !important; transition:opacity .2s;
  font-family:'Space Grotesk',sans-serif !important;
  font-size:1.2rem !important;
  font-weight:700 !important;
  color:var(--teal-deep) !important;
}
.navlinks a:hover{opacity:1;}
.navcta{
  font-family:'Space Grotesk',sans-serif !important; font-weight:700 !important; font-size:1.15rem !important;
  background:var(--teal); color:var(--paper) !important;
  padding:14px 24px; border-radius:3px; text-decoration:none;
  white-space:nowrap;
}
.navcta:hover{background:var(--teal-deep); color:var(--paper);}

/* ---------- Mobile nav ---------- */
.nav-toggle{
  display:none;
  flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; padding:0;
  background:none; border:none; cursor:pointer;
  flex-shrink:0;
}
.nav-toggle span{
  display:block; width:24px; height:2px; background:var(--teal-deep);
}

@media (max-width:820px){
  .site-nav .wrap{
    height:auto; min-height:64px;
    padding-top:12px; padding-bottom:12px;
    flex-wrap:wrap;
  }
  .logo{font-size:1.1rem !important;}
  .nav-toggle{display:flex; order:2;}
  .navcta{order:3; font-size:0.85rem !important; padding:10px 14px;}
  .navlinks{
    display:none;
    order:4;
    width:100%;
    flex-direction:column; gap:0;
    margin-top:14px;
    border-top:1px solid var(--line);
  }
  #medpas-site-navigation.nav-open .navlinks{display:flex;}
  #medpas-site-navigation ul.navlinks li a,
  #medpas-site-navigation .navlinks a{
    display:block; padding:14px 4px; width:100%;
    border-bottom:1px solid var(--line);
  }
}
@media (max-width:480px){
  .navcta{display:none;}
}

/* ---------- HERO ---------- */
.hero{padding:72px 0 40px; position:relative;}
.eyebrow{
  font-family:'IBM Plex Mono', monospace; font-size:1.15rem; font-weight:700;
  text-transform:uppercase; letter-spacing:0.1em; color:var(--red-deep);
  display:flex; align-items:center; gap:10px; margin-bottom:22px;
}
.eyebrow::before{content:""; width:26px; height:1px; background:var(--red-deep);}
.hero h1{
  font-size:clamp(2.6rem, 6vw, 4.2rem);
  font-weight:600; line-height:1.05; max-width:820px;
  color:var(--teal-deep);
}
.hero h1 em{
  font-style:normal; color:var(--red-deep) !important;
}
.hero p.lead{
  font-family:'Source Serif 4', serif; font-size:1.3rem; line-height:1.6;
  max-width:560px; margin-top:24px; color:#33463F;
}
.hero-ctas{display:flex; gap:16px; margin-top:36px; flex-wrap:wrap;}
.btn-primary{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:0.98rem;
  background:var(--red); color:var(--paper);
  padding:15px 26px; border-radius:3px; text-decoration:none;
  display:inline-block; transition:transform .15s ease, background .2s;
  border:none; cursor:pointer;
}
.btn-primary:hover{background:var(--red-deep); transform:translateY(-1px); color:var(--paper);}
.btn-ghost{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:0.98rem;
  border:1px solid var(--line); color:var(--teal-deep);
  padding:15px 26px; border-radius:3px; text-decoration:none;
}
.btn-ghost:hover{border-color:var(--teal);}

/* ---------- TIMELINE (signature element) ---------- */
.day-strip{
  margin-top:64px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:6px;
  padding:26px 26px 22px;
  overflow-x:auto;
}
.day-strip .label-row{
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom:18px; flex-wrap:wrap; gap:8px;
}
.day-strip .label-row .mono{font-size:0.78rem; color:#5C6D66;}
.track{
  position:relative;
  display:grid;
  grid-template-columns:repeat(10, minmax(56px,1fr));
  min-width:640px;
  border-top:1px solid var(--line);
  padding-top:14px;
}
.track .hr{
  text-align:center; font-family:'IBM Plex Mono',monospace; font-size:0.7rem;
  color:#7E8C86; position:relative;
}
.track .hr::before{
  content:""; position:absolute; top:-14px; left:50%; width:1px; height:8px;
  background:var(--line);
}
.break-block{
  position:absolute;
  top:-14px;
  height:64px;
  background:var(--red);
  border-radius:4px;
  grid-column: 5 / 6;
  display:flex; align-items:center; justify-content:center;
  flex-direction:column;
  box-shadow:0 6px 18px rgba(193,68,58,0.35);
}
.break-block span{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:0.72rem;
  color:var(--paper); text-align:center; line-height:1.2; padding:0 4px;
}
.track-inner{position:relative; height:36px;}

/* ---------- SECTION shared ---------- */
.section{padding:88px 0;}
.section-head{max-width:640px; margin-bottom:52px;}
.section-head .eyebrow{margin-bottom:14px;}
.section-head h2{
  font-size:clamp(1.7rem,3vw,2.3rem); font-weight:600; color:var(--teal-deep); line-height:1.15;
}
.section-head p{font-size:1.05rem; color:#3C4E47; margin-top:14px; line-height:1.6;}

/* ---------- WHY (stat cards) ---------- */
.why{background:var(--teal-deep); color:var(--paper);}
.why .section-head h2{color:var(--paper) !important;}
.why .section-head p{color:#B9CBC3;}
.why .eyebrow{color:var(--red);}
.why .eyebrow::before{background:var(--red);}
.stat-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:rgba(241,244,242,0.14);
  border:1px solid rgba(241,244,242,0.14);
  border-radius:6px; overflow:hidden;
}
.stat{background:var(--teal-deep); padding:32px 24px;}
.stat .num{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:clamp(1.4rem,2.6vw,2.4rem); color:var(--red); white-space:nowrap;}
.stat .desc{font-size:0.92rem; color:#B9CBC3; margin-top:8px; line-height:1.5;}
@media (max-width:900px){ .stat-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .stat-grid{grid-template-columns:1fr;} }

/* ---------- HOW IT WORKS (schedule slots) ---------- */
.schedule{display:flex; flex-direction:column; border-top:1px solid var(--line);}
.slot{
  display:grid; grid-template-columns:120px 1fr; gap:24px;
  padding:28px 0; border-bottom:1px solid var(--line);
  align-items:start;
}
.slot .time{
  font-family:'IBM Plex Mono',monospace; font-size:1.1rem; color:var(--red-deep); font-weight:700;
}
.slot h3{font-size:1.15rem; font-weight:600; color:var(--teal-deep);}
.slot p{margin:8px 0 0; color:#3C4E47; line-height:1.6; max-width:560px;}
@media (max-width:600px){ .slot{grid-template-columns:1fr; gap:6px;} }

/* ---------- SERVICES ---------- */
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:6px; overflow:hidden;}
.svc{background:var(--paper); padding:30px 26px;}
.svc .tag{font-family:'IBM Plex Mono',monospace; font-size:0.88rem; font-weight:700; color:var(--red-deep); text-transform:uppercase; letter-spacing:0.06em;}
.svc h3{font-size:1.15rem; font-weight:600; margin-top:10px; color:var(--teal-deep);}
.svc p{font-size:0.94rem; color:#3C4E47; margin-top:10px; line-height:1.55;}
@media (max-width:800px){ .services-grid{grid-template-columns:1fr;} }

/* ---------- OFFER ---------- */
.offer{
  background:var(--sage);
  border-radius:8px;
  padding:56px 48px;
  display:grid; grid-template-columns:1.3fr 1fr; gap:40px; align-items:center;
}
.offer h2{font-size:clamp(1.5rem,3vw,2rem); color:var(--teal-deep); font-weight:600; line-height:1.2;}
.offer p{margin-top:14px; color:#294038; line-height:1.6;}
.offer-card{
  background:var(--paper); border-radius:6px; padding:26px; border:1px solid var(--line);
}
.offer-card .mono{font-size:0.92rem; font-weight:700; color:var(--red-deep); text-transform:uppercase;}
.offer-card ul{padding-left:18px; margin:14px 0 0; color:#294038; line-height:1.7; font-size:0.95rem;}
@media (max-width:820px){ .offer{grid-template-columns:1fr; padding:36px 24px;} }
.offer-contact{grid-template-columns:1fr 1fr;}
@media (max-width:820px){ .offer-contact{grid-template-columns:1fr;} }

/* ---------- FOOTER ---------- */
.site-footer{background:var(--teal-deep); color:#B9CBC3; padding:56px 0 32px;}
.site-footer .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:28px;}
.site-footer .logo{color:var(--paper);}
.site-footer .fcol h4{font-family:'Space Grotesk',sans-serif; font-size:0.85rem; color:var(--paper); margin-bottom:12px;}
.site-footer .fcol p, .site-footer .fcol a{display:block; font-size:0.9rem; color:#9FB4AB; text-decoration:none; margin-bottom:6px;}
.fbottom{
  border-top:1px solid rgba(241,244,242,0.12); margin-top:40px; padding-top:22px;
  font-size:0.8rem; color:#7E9088; text-align:center;
}

/* ---------- Basic WP content fallback (blog/pages not using front-page template) ---------- */
.content-basic{padding:80px 0; max-width:760px; margin:0 auto;}
.content-basic h1{font-size:2rem; color:var(--teal-deep); margin-bottom:20px;}
.content-basic p{line-height:1.7; color:#33463F;}
