
:root{
  --primary:#e97882;
  --primary-dark:#b84f59;
  --pink:#fff3f3;
  --text:#333;
  --muted:#666;
  --line:#eadfe0;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:#fff;
  font-family:"Microsoft JhengHei","Noto Sans TC",Arial,sans-serif;
  line-height:1.7;
}
a{color:inherit;text-decoration:none}
a:focus,button:focus{
  outline:none;
  outline-offset:3px;
}
.skip-link{
  position:absolute;left:10px;top:-100px;z-index:999;
  padding:10px 16px;background:#222;color:#fff;border-radius:4px;
}
.skip-link:focus{top:10px}
.containers{width:min(calc(100% - 40px),var(--max));margin:auto}

/* Header */
.site-header{
  background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:100;
}
.header-inner{
  min-height:78px;display:flex;align-items:center;gap:28px;
}
.logo{display:flex;align-items:center;gap:10px;min-width:260px}
.logo-mark{
  width:42px;height:42px;border:4px solid var(--primary);
  border-radius:50% 50% 45% 45%;position:relative;
}
.logo-mark:after{
  content:"";position:absolute;width:10px;height:10px;
  border:3px solid var(--primary);border-radius:50%;
  left:12px;top:11px;
}right
.logo strong{display:block;font-size:20px;letter-spacing:2px}
.logo span{display:block;font-size:11px;color:#777;letter-spacing:.5px}
.nav{display:flex;align-items:center;justify-content:flex-end;gap:25px;flex:1}
.nav a{font-size:15px;white-space:nowrap}
.nav a:hover{color:var(--primary)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:8px 22px;border-radius:8px;
  background:var(--primary);color:#fff;font-weight:700;
  border:2px solid var(--primary);
}
.btn:hover{background:var(--primary-dark);border-color:var(--primary-dark)}
.btn-outline{background:#fff;color:var(--primary)}
.menu-btn{display:none;background:none;border:0;font-size:28px;cursor:pointer}

/* Hero */
.about{background:#FFF; text-align: center;}
.about p{font-size:18px;margin:0 0 25px;color:#555}
/*.hero::before {
  content: "";
  display: block;
  width: 450px;
  position: absolute;
right: 0;
top: -222px;
z-index: 1;  height: 390px;
  background-position: center right;
  background-image: url(../images/Service/bird.png);
  background-repeat: no-repeat;
  background-size: contain;
  /* background: linear-gradient(100deg, #fff9f8 0%, #fff 58%, #fff3f3 100%);
}*/
.sliders{ background-image:url(../images/Service/slider_bg.png);
  background-size:cover;
 /* background:linear-gradient(100deg,#fff9f8 0%,#fff 58%,#fff3f3 100%);*/}
/*.sliders::before{ content: "";
  display: block;
  width:100%;
  position: absolute;
right: 0;


 height:700px;
  background-position: center bottom;
  background-image: url(../images/Service/slider_bg.png);
  background-repeat: no-repeat;
  background-size: contain;}*/

.about{background-position: left bottom; background-image: url(../images/Service/hand.png);background-repeat: no-repeat ; background-size: 100%;}
.hero{   min-height: 550px; position: relative; /*background:linear-gradient(100deg,#fff9f8 0%,#fff 58%,#fff3f3 100%)*/}
.hero-grid{
  min-height: 530px;display:grid;grid-template-columns:43% 57%;
  align-items:center;
}
.hero-copy{padding:55px 20px 55px 0}
.eyebrow{font-size:18px;color:var(--primary);font-weight:700;letter-spacing:2px}
.hero h1{ background-image: url(../images/Service/hert.png);/*font-size:clamp(38px,4vw,58px);*/ background-repeat: no-repeat; background-size: contain; background-position: center;
   line-height:1.2;margin-bottom:30px ;}
.hero h1 span{color:var(--primary)}
.hero p{font-size:18px;margin:0 0 25px;color:#555}
.hero-actions{    display: flex; margin-bottom: 50px;;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;}
.hero-features{display:flex;gap:28px;margin-top:28px;flex-wrap:wrap}
.hero-features div{font-size:14px}
.hero-features b{display:block;color:#444}
.hero-media{/*height:420px;overflow:hidden;*/display:flex;align-items:center;justify-content:center}
.hero-media img{
  width:100%;height:100%;object-fit:cover;object-position:center;
}
.panel-body img{ text-align: center;}
/* Hero */
/* Service */
.section{padding:58px 0}
.section-title{text-align:center;margin:0 0 30px}
.section-title h2{font-size:30px;margin:0 0 5px}
.section-title p{margin:0;color:var(--muted)}
.services{
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;
}
.service{
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:22px 16px;min-height:145px;
  box-shadow:0 4px 16px rgba(80,30,30,.06);
  transition:.2s;
}
.service:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(80,30,30,.10)}
.icon{
  width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  background:var(--pink);color:var(--primary);font-size:25px;margin-bottom:10px;
}
.service h3{font-size:18px;margin:0 0 3px}
.service p{font-size:13px;color:var(--muted);margin:0}

/* Stats */
/*.stats::before{ 
  content: "";
  display: block;
  width: 100%;
  position: absolute;

right: 0;
bottom: 0px;
z-index: 1; 
 height: 550px;
  background-position: center right;
  background-image: url(../images/baby.png);
  background-repeat: no-repeat;
  background-size: cover;
}*/

*.stats{ overflow: hidden; position: relative; background:#ffd4cf;background-image: url(../images/baby.png);background-size: cover;background-repeat: no-repeat;
  }
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.stat{text-align:center;padding:12px 20px;border-right:1px solid #e8cfd1}
.stat:last-child{border-right:0}
.stat strong{display:block;font-size:30px;color:var(--primary)}
.stat span{font-size:14px}
/*.doctorbg{  background-position: bottom right; background-image: url(../images/bgcolor.png);background-repeat: no-repeat; background-size: contain;}
/* Content */
.content-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;padding-bottom:20px ;}
.panels{
  border:1px solid var(--line);border-radius:12px;padding:25px;
  background:#fff;

}
.panel-head{ line-height: 30px; border-left: 3px solid #ffa4a4; background-color: #ffdee1; border-radius: 10px; display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.panel-head h2{
  margin: 10px;
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}
.panel h2{font-size:23px;margin:0px;}
.more{color:var(--primary);font-weight:700;font-size:14px}
.treatment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.treatment{
  border:1px solid #eee;border-radius:10px;overflow:hidden;
}
.treatment img{display:block;width:100%;height:120px;object-fit:cover}
.treatment div{padding:12px}
.treatment h3{margin:0;font-size:17px}
.treatment p{margin:3px 0;color:var(--muted);font-size:13px}
.news{ font-size: 14px; list-style:none;padding:0;margin:0}
.news li{padding:12px 0;border-bottom:1px solid #ffaaaa}
.news li h4{padding-left: 20px;}
.news li:last-child{border-bottom:0}
.news time{font-size:12px;color:#888;margin-right:10px}
.news a:hover{color:var(--primary)}


.study_article{ font-size: 14px; list-style:none;padding:0;margin:0; }
.study_article ol li{padding:12px 0; list-style-type: none;}
.study_article h4{ min-height: 20px; padding-left: 40px; background-image: url(../images/service/title_icon.png); background-repeat: no-repeat; background-position: 10px center;font-weight: bold;   }
.study_article li:last-child{border-bottom:0}
.study_article time{font-size:12px;color:#888;margin-right:10px}
.study_article a:hover{color:var(--primary)}

.styleone
{
  border-radius: 30px;
 
}
/* Doctors */
.pertitle{
  background-image: url(../images/service/light.png); 
  background-size: contain;
  background-position: center ;
background-repeat: no-repeat;
}
.doctors{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.doctor{
  text-align:center;border:1px solid var(--line);border-radius:12px;
  overflow:hidden;background:#fff;
}
.doctor-photo{

  overflow: hidden;
position: relative;
  height:220px;background:linear-gradient(#f8f8f8,#eee);
  display:grid;place-items:center;color:#888;font-size:15px;
}
.doctor-photo img{ position: absolute; top:0px;  width: 100%;}
.doctor-info{padding:14px}
.doctor h3{margin:0;font-size:18px}
.doctor p{margin:2px 0;color:var(--muted);font-size:13px}

/* CTA */
.cta{
  background:linear-gradient(100deg,#fff0ef,#fff8f7);
  padding:38px 0;border-top:1px solid #f4dddd;border-bottom:1px solid #f4dddd;
}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.cta h2{margin:0 0 4px;font-size:28px}
.cta p{margin:0;color:#666}

/* Footer */
footer{background:#3e3b3b;color:#fff;padding:38px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}
footer h2,footer h3{margin-top:0}
footer p,footer li{color:#eee;font-size:14px}
footer ul{list-style:none;padding:0;margin:0}
footer li{margin:5px 0}
.footer-bottom{
  border-top:1px solid #666;margin-top:25px;padding-top:15px;
  font-size:12px;color:#ddd;text-align:center;
}
.modal-body {
  overflow: hidden;
}
/* Mobile */
@media (max-width:900px){
  .logo{min-width:0}
  .nav{gap:14px}
  .nav a{font-size:13px}
  .services{grid-template-columns:repeat(3,1fr)}
  .doctors{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .stats::before{ background-position: bottom right; background-image: url(../images/baby3.png); background-size: contain;}
}
@media (max-width:700px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .header-inner{min-height:66px}
  .nav{
    display:none;position:absolute;left:0;right:0;top:66px;
    background:#fff;border-bottom:1px solid #ddd;padding:12px 20px;
    flex-direction:column;align-items:stretch;
  }
  .nav.open{display:flex}
  .nav .btn{display:flex}
  .menu-btn{display:block;margin-left:auto}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{padding:38px 0 25px}
  .hero-copy h1{font-size: 26px;}
  .hero-media{height:260px}
  .hero p{font-size:16px}
  .hero-features{gap:15px}
  .services{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat{border-right:0;border-bottom:1px solid #e8cfd1}
  .content-grid{grid-template-columns:1fr}
  .treatment-grid{grid-template-columns:6fr}
  .doctors{grid-template-columns:repeat(2,1fr)}
  .cta-inner{align-items:flex-start;flex-direction:column}
  .footer-grid{grid-template-columns:1fr}
  .doctor-photo{height:230px; }
  .doctor-photo img {width: 100%; }
  .panel-body img{width: 100%;}
  .stats::before{ background-position: bottom right; background-image: url(../images/baby2.png); background-size: contain;}
  .doctorbg{
    background-position: bottom\ right; background-image: url(../images/bgcolor2.png); background-size: contain;   background-repeat: no-repeat;    background-position: center bottom;
  }
  .header-inner{gap:0;}
}
@media (max-width:430px){
  .services{grid-template-columns:1fr}
  .doctors{grid-template-columns:1fr}
  .hero h1{font-size:20px}
}
