/* Visual refresh: shared trust-first system for phiso-syria.com */
:root {
  --primary: #13796b;
  --primary-dark: #183d36;
  --secondary: #dff2ec;
  --text: #344e48;
  --bg: #f6f9f7;
  --white: #ffffff;
  --border: #dce9e4;
  --green: #13796b;
  --green-dark: #164940;
  --mint: #e4f3ee;
  --mist: #f6f9f7;
  --ink: #183d36;
  --ink-soft: #587069;
  --teal: #37a78f;
  --radius: 20px;
}

html { scroll-behavior: smooth; }
body { color: #344e48; background-color: #f6f9f7; }
:focus-visible { outline: 3px solid #e1a744; outline-offset: 3px; }

/* Shared navigation and trust cues */
.site-header { background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(20,61,54,.055); }
.site-header__inner { max-width: 1240px; min-height: 78px; }
.brand__mark { border-radius: 15px; box-shadow: 0 8px 20px rgba(19,121,107,.11); }
.brand__text strong { color: #183d36; }
.desktop-nav { gap: 12px; }
.desktop-nav a { color: #415d56; padding: 9px 12px; border-radius: 12px; font-weight: 700; transition: background .18s ease,color .18s ease; }
.desktop-nav a:hover { color: #0c6f61; background: #edf7f3; }
.header-cta .button, .button { border-radius: 14px; box-shadow: 0 9px 22px rgba(19,121,107,.19); }
.button:hover { background: #0d665a; box-shadow: 0 12px 26px rgba(19,121,107,.24); transform: translateY(-2px); }
.menu-button { border-radius: 13px; }
.page-hero { background: linear-gradient(125deg,#f5faf7 0%,#e9f4ef 62%,#dff0e9 100%); }
.page-hero__copy h1 { color: #173c35; text-wrap: balance; }
.page-hero__copy p { max-width: 700px; color: #536b64; line-height: 1.9; }
.page-hero .eyebrow { color: #147a6b; }
.section { padding-block: clamp(58px,7vw,88px); }
.section-title h2 { color: #183d36; text-wrap: balance; }
.content-card, .article-card, .info-card, .card { border-color: #dce9e4; border-radius: 22px; box-shadow: 0 12px 34px rgba(20,61,54,.055); }
.content-card { background: #fff; }
.article-card { background: #fff; }
.article-card:hover, .card:hover, .info-card:hover { box-shadow: 0 20px 42px rgba(20,61,54,.105); }
.related-links a:hover, .footer-contact a:hover { color: #8ce8d9; }
.sticky-contact { background: linear-gradient(145deg,#174940,#0e695e); border-radius: 22px; box-shadow: 0 20px 48px rgba(16,65,57,.21); }
.sticky-contact .button { border-radius: 13px; color: #164940; }
.site-footer { background: #123b35; }
.site-footer h2 { color: #9be3d5; }
.footer-bottom { border-color: rgba(255,255,255,.15); }
.whatsapp-float { border-radius: 15px; box-shadow: 0 12px 28px rgba(17,111,83,.3); }

/* Static, human-centered home hero */
#home.slider-section { display: block; height: auto; min-height: 0; overflow: hidden; background: radial-gradient(circle at 12% 20%,rgba(210,237,226,.8),transparent 34%),linear-gradient(120deg,#f6faf7,#e9f3ee); }
#home .slide { position: relative; inset: auto; display: block; width: 100%; height: auto; min-height: 0; opacity: 1; background: none !important; transition: none; }
#home .slide::before { display: none; }
#home .home-hero__grid { width: min(1200px,100%); max-width: 1200px; margin-inline: auto; padding-block: clamp(40px,7vw,78px); display: grid; grid-template-columns: minmax(0,1.08fr) minmax(290px,.82fr); gap: clamp(32px,6vw,82px); align-items: center; }
#home .slide-content { max-width: 680px; padding: 0; color: #344e48; }
#home .home-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 13px; border: 1px solid #cbe5db; border-radius: 999px; background: rgba(255,255,255,.82); color: #126e61; font-size: .92rem; font-weight: 800; }
#home .home-hero__eyebrow i { color: #168a72; }
#home .slide h1 { max-width: 700px; margin: 0 0 17px; color: #183d36; font-size: clamp(2.15rem,4vw,3.45rem); line-height: 1.2; letter-spacing: -.035em; }
#home .slide p { max-width: 640px; margin: 0 0 23px; color: #536b64; font-size: clamp(1rem,1.35vw,1.16rem); line-height: 1.9; }
.home-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
#home .home-hero__actions .btn { min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: #13796b; box-shadow: 0 12px 25px rgba(19,121,107,.2); font-size: 1rem; }
#home .home-hero__actions .btn:hover { background: #0d665a; }
.home-hero__secondary { min-height: 50px; padding: 0 17px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #c8ddd5; border-radius: 14px; color: #23594f; background: rgba(255,255,255,.7); font-weight: 800; }
.home-hero__secondary:hover { background: #fff; border-color: #8dc6b5; }
.home-hero__visual { position: relative; min-width: 0; padding: 0 0 45px 28px; }
.home-hero__photo { display: block; width: 100%; height: clamp(370px,42vw,500px); object-fit: cover; object-position: center 38%; border: 8px solid rgba(255,255,255,.94); border-radius: 180px 24px 24px 24px; box-shadow: 0 28px 60px rgba(28,78,66,.17); }
.home-hero__credential { position: absolute; right: -18px; bottom: 0; max-width: 310px; padding: 16px 18px; display: grid; gap: 3px; border: 1px solid #d8e8e1; border-radius: 17px; background: #fff; box-shadow: 0 14px 34px rgba(28,78,66,.13); }
.home-hero__credential strong { color: #183d36; font-size: 1rem; }
.home-hero__credential span { color: #5a716a; font-size: .88rem; }
.home-hero__credential a { margin-top: 3px; color: #13796b; font-size: .86rem; font-weight: 800; }
#home .slider-btn, #home .slider-dots { display: none !important; }

.home-quick-facts { position: relative; z-index: 3; padding: 0 0 12px; background: #f6f9f7; }
.home-quick-facts__grid { margin-top: -22px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.home-quick-fact { min-height: 132px; padding: 20px; display: grid; grid-template-columns: 42px 1fr; align-content: start; gap: 11px 13px; border: 1px solid #dce9e4; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(20,61,54,.06); }
.home-quick-fact__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #13796b; background: #e8f5ef; }
.home-quick-fact h2 { margin: 0 0 4px; color: #183d36; font-size: 1rem; }
.home-quick-fact p { margin: 0; color: #5a716a; font-size: .9rem; line-height: 1.65; }
.home-quick-fact a { color: #13796b; font-weight: 800; }

#about .about-grid { gap: clamp(26px,5vw,64px); }
#about .about-img-box { padding: 18px; border: 1px solid #dce9e4; border-radius: 22px; background: #fff; box-shadow: 0 18px 42px rgba(20,61,54,.08); }
#about .home-practitioner-photo { display: block; width: 100%; max-width: 390px; height: 360px; margin: 0 auto 16px; object-fit: cover; object-position: center 35%; border-radius: 16px; }
#about .about-img-box h3 { color: #183d36 !important; }
#about .about-img-box p { color: #5a716a !important; }
#about .home-practitioner-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: #13796b; font-weight: 800; }
#about .feature-box { border-radius: 13px; }

.home-process { background: #fff; }
.home-process__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.home-process__step { padding: 22px; border: 1px solid #deebe5; border-radius: 18px; background: #fbfdfb; }
.home-process__step span { color: #13796b; font-family: Alexandria,sans-serif; font-weight: 800; font-size: .84rem; }
.home-process__step h3 { margin: 9px 0 7px; color: #183d36; font-size: 1.1rem; }
.home-process__step p { color: #5a716a; font-size: .94rem; line-height: 1.75; }
.home-service-area { background: #eaf4ef; }
.home-service-area__card { max-width: 980px; margin-inline: auto; padding: clamp(24px,4vw,42px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #d2e6dc; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(20,61,54,.07); }
.home-service-area__card h2 { margin: 0 0 8px; color: #183d36; font-size: clamp(1.35rem,2.3vw,1.8rem); }
.home-service-area__card p { max-width: 680px; margin: 0; color: #536b64; line-height: 1.85; }
.home-service-area__card .btn { flex: 0 0 auto; }

/* Legacy one-page header and floating WhatsApp affordance */
body.home-legacy header { background: rgba(255,255,255,.96); box-shadow: 0 8px 26px rgba(20,61,54,.07); }
body.home-legacy .logo { color: #183d36; }
body.home-legacy .logo span { color: #13796b; }
body.home-legacy .nav-links > li > a:hover { color: #13796b; }
body.home-legacy .btn { background: #13796b; box-shadow: 0 9px 22px rgba(19,121,107,.2); }
body.home-legacy .btn:hover { background: #0d665a; }
body.home-legacy .dropdown-toggle { color: #176b5e; background: #edf7f3; border-color: #cfe7dd; }
body.home-legacy .whatsapp-card-btn { box-shadow: 0 12px 28px rgba(17,111,83,.25); }

@media (max-width: 900px) {
  #home .home-hero__grid { grid-template-columns: minmax(0,1fr) minmax(240px,.72fr); gap: 28px; }
  #home .home-hero__photo { height: 380px; }
}
@media (max-width: 720px) {
  .site-header__inner { min-height: 68px; gap: 12px; }
  .desktop-nav { gap: 4px; }
  .page-hero { min-height: 0; padding: 34px 0 60px; }
  .section { padding-block: 54px; }
  #home .home-hero__grid { grid-template-columns: 1fr; gap: 24px; padding-block: 34px 52px; }
  #home .slide-content { order: 1; }
  #home .home-hero__visual { order: 2; width: min(100%,440px); margin-inline: auto; padding: 0 0 38px 10px; }
  #home .home-hero__photo { height: 320px; border-width: 6px; border-radius: 120px 20px 20px 20px; }
  #home .home-hero__credential { right: -4px; max-width: 290px; padding: 13px 15px; }
  #home .slide h1 { font-size: clamp(2rem,8vw,2.65rem); }
  #home .slide p { font-size: 1rem; }
  .home-quick-facts__grid { grid-template-columns: 1fr; gap: 10px; margin-top: -16px; }
  .home-quick-fact { min-height: 0; padding: 16px; }
  .home-process__grid { grid-template-columns: 1fr; }
  .home-service-area__card { align-items: stretch; flex-direction: column; }
  .home-service-area__card .btn { width: 100%; }
  #about .home-practitioner-photo { height: 320px; }
  body.home-legacy .whatsapp-card-btn { padding: 8px 13px 8px 8px; }
  body.home-legacy .wa-text-box { display: flex; }
  body.home-legacy .wa-name-title { font-size: .8rem; }
  body.home-legacy .wa-sub-title { font-size: .66rem; }
}
@media (max-width: 420px) {
  #home .home-hero__actions { align-items: stretch; flex-direction: column; }
  #home .home-hero__actions .btn, #home .home-hero__secondary { width: 100%; justify-content: center; }
  .home-quick-fact { grid-template-columns: 38px 1fr; }
  .home-quick-fact__icon { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.home-articles-grid { max-height: none; overflow: visible; padding: 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-articles-grid .article-item { min-height: 190px; padding: 20px; border: 1px solid #dce9e4; border-radius: 17px; background: #fff; box-shadow: 0 9px 26px rgba(20,61,54,.05); }
.home-articles-grid .article-item h4 { color: #183d36; line-height: 1.6; }
.home-articles-grid .article-item p { color: #5a716a; line-height: 1.7; }
.home-articles-grid .article-link { color: #13796b; }
.home-articles-all { margin-top: 20px; text-align: center; }
@media (max-width: 720px) { .home-articles-grid { grid-template-columns: 1fr; } .home-articles-grid .article-item { min-height: 0; } }

/* Header ergonomics on the legacy landing page */
.home-legacy header nav { display: flex; flex: 1; align-items: center; gap: 16px; }
.home-legacy header nav .nav-links { flex: 1; }
@media (max-width: 720px) {
  .home-legacy .logo > div:last-child { max-width: 155px; font-size: .82rem; line-height: 1.22; }
  .home-legacy header nav { gap: 8px; }
  .home-legacy .whatsapp-card-btn { width: 54px; height: 54px; justify-content: center; padding: 6px; border-radius: 50%; }
  .home-legacy .wa-text-box { display: none !important; }
}
@media (max-width: 420px) {
  .home-legacy .nav .btn { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .home-legacy .nav .btn i { font-size: .95rem; }
}

@media (min-width: 721px) { body.home-legacy .container.nav { gap: 16px; } body.home-legacy .nav-links { gap: 12px; } }
