/* 콩닥동물병원 — P1 큰 사진 + 정보 띠 + 응급 전화 강조 · 밝은 그린, 둥근 모서리 */
:root {
  --bg: #fafcf5;
  --ink: #1d2b20;
  --sub: #55655a;
  --green: #2f9a52;
  --green-dk: #1c5a33;
  --leaf: #e6f4dc;
  --line: #dce8d3;
  --sos: #f26b3a;
  --r: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 'Gowun Dodum', -apple-system, 'Malgun Gothic', sans-serif; word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: 'Jua', sans-serif; font-weight: 400; letter-spacing: -0.01em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--sub); font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 99px; border: 0; font-family: 'Jua', sans-serif; font-size: 18px; text-decoration: none; cursor: pointer; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dk); }
.btn--white { background: #fff; color: var(--green-dk); box-shadow: inset 0 0 0 2px var(--line); }
.btn--kakao { background: #fee500; color: #191600; }

/* 헤더 */
.hd { background: var(--bg); }
.hd__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Jua', sans-serif; font-size: 25px; text-decoration: none; color: var(--green-dk); }
.logo__paw { position: relative; width: 30px; height: 30px; }
.logo__paw i, .logo__paw b { position: absolute; background: var(--green); border-radius: 50%; }
.logo__paw i { width: 8px; height: 9px; top: 2px; }
.logo__paw i:nth-child(1) { left: 2px; top: 8px; }
.logo__paw i:nth-child(2) { left: 11px; }
.logo__paw i:nth-child(3) { left: 20px; top: 8px; }
.logo__paw b { width: 17px; height: 14px; left: 6.5px; top: 15px; border-radius: 50% 50% 45% 45%; }
.hd__nav { display: flex; gap: 6px; margin-left: auto; }
.hd__nav a { text-decoration: none; padding: 8px 14px; border-radius: 99px; color: var(--sub); }
.hd__nav a:hover { background: var(--leaf); color: var(--green-dk); }
.hd__sos { text-decoration: none; font-family: 'Jua', sans-serif; font-size: 17px; color: #fff; background: var(--sos); padding: 9px 18px; border-radius: 99px; }

/* 히어로 */
.hero { padding-top: 4px; }
.hero__photo { position: relative; border-radius: 28px; overflow: hidden; }
.hero__photo img { width: 100%; height: 600px; object-fit: cover; object-position: 30% 40%; }
.hero__card { position: absolute; right: 32px; bottom: 32px; width: 420px; padding: 32px 34px; background: rgba(250,252,245,.96); border-radius: var(--r); }
.hero__where { margin: 0 0 6px; color: var(--green); font-size: 15px; font-weight: 700; }
.hero h1 { font-size: 44px; line-height: 1.22; color: var(--green-dk); }
.hero__card > p:not(.hero__where) { margin: 12px 0 22px; color: var(--sub); }
.hero__btns { display: flex; gap: 8px; }
.hero__btns .btn { flex: 1; }

/* 정보 띠 */
.strip { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1.1fr 1.5fr 1.2fr auto; gap: 10px; }
.strip li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 16px 20px; background: #fff; border: 2px solid var(--line); border-radius: 16px; font-size: 16px; }
.strip__k { font-family: 'Jua', sans-serif; color: var(--green); font-size: 15px; }
.strip a { text-decoration: none; }
.strip a:hover { text-decoration: underline; }
.strip em { font-style: normal; font-size: 13px; padding: 2px 9px; border-radius: 99px; background: #eef0ec; color: var(--sub); }
.strip em.on { background: var(--leaf); color: var(--green-dk); }
.strip .strip__tel { background: var(--green); border-color: var(--green); padding: 0; }
.strip__tel a { display: flex; align-items: center; height: 100%; padding: 0 26px; font-family: 'Jua', sans-serif; font-size: 24px; color: #fff; }

/* 응급 */
.sos { margin-top: 72px; background: var(--green-dk); color: #fff; }
.sos__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px 64px; padding-block: 72px; }
.sos__tag { display: inline-block; margin: 0 0 14px; padding: 4px 14px; border-radius: 99px; background: var(--sos); font-family: 'Jua', sans-serif; font-size: 16px; }
.sos h2 { font-size: 38px; line-height: 1.25; }
.sos__tel { display: inline-block; margin: 22px 0 10px; font-family: 'Jua', sans-serif; font-size: 46px; text-decoration: none; color: #ffe1d3; letter-spacing: .01em; }
.sos__sub { margin: 0; color: #c5dccb; font-size: 16px; max-width: 26em; }
.sos__list { list-style: none; margin: 0; padding: 0; align-self: center; }
.sos__list li { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; }
.sos__list li::before { content: ''; position: absolute; left: 4px; top: 23px; width: 12px; height: 12px; border-radius: 50%; background: var(--sos); }
.sos__night { grid-column: 1 / -1; margin: 12px 0 0; padding: 18px 22px; border-radius: 16px; background: rgba(255,255,255,.08); color: #d6e6da; font-size: 15px; }
.sos__night b { color: #fff; }
.sos__night span { color: #fff; }

/* 섹션 */
.sec { padding-block: 88px; }
.sec h2, .cat h2, .visit h2 { font-size: 34px; color: var(--green-dk); }

.care { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.care__intro p { color: var(--sub); margin: 14px 0 28px; }
.care__intro img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.care__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.care__list li { padding: 22px 26px; background: #fff; border: 2px solid var(--line); border-radius: var(--r); }
.care__list li:last-child { background: transparent; border-style: dashed; }
.care__list h3 { font-size: 22px; color: var(--ink); }
.care__list p { margin: 4px 0 0; color: var(--sub); font-size: 16px; }

.cat { background: var(--leaf); padding-block: 72px; }
.cat__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.cat img { border-radius: 28px; aspect-ratio: 3 / 2; object-fit: cover; }
.cat ul { list-style: none; margin: 18px 0 0; padding: 0; }
.cat li { padding: 14px 0; border-bottom: 2px dotted #bcd8ab; }
.cat b { color: var(--green-dk); }

.news { display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; }
.news__list { list-style: none; margin: 0; padding: 0; }
.news__list li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 18px 0; border-bottom: 2px solid var(--line); }
.news__list li:first-child { padding-top: 4px; }
.news__list time { font-family: 'Jua', sans-serif; color: var(--green); font-size: 18px; }
.news__list p { margin: 0; color: var(--sub); }
.news__list b { display: block; color: var(--ink); font-size: 18px; }

.hours { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; padding-top: 0; }
.tbl { width: 100%; margin: 20px 0 14px; border-collapse: separate; border-spacing: 0 8px; font-size: 18px; }
.tbl th, .tbl td { padding: 14px 20px; background: #fff; text-align: left; }
.tbl th { font-family: 'Jua', sans-serif; font-weight: 400; border-radius: 14px 0 0 14px; width: 34%; color: var(--green-dk); }
.tbl td { border-radius: 0 14px 14px 0; font-variant-numeric: tabular-nums; }
.tbl small { color: var(--sub); font-size: 14px; }
.tbl tr.today th, .tbl tr.today td { background: var(--green); color: #fff; }
.vets h2 { margin-bottom: 20px; }
.vet { padding: 20px 0; border-top: 2px solid var(--line); }
.vet p { margin: 0; color: var(--sub); font-size: 15px; }
.vet .vet__r { color: var(--green); font-family: 'Jua', sans-serif; font-size: 16px; }
.vet .vet__n { font-family: 'Jua', sans-serif; font-size: 28px; color: var(--ink); margin-bottom: 4px; }

.visit { padding-bottom: 88px; }
.visit__in { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; padding: 48px; background: #fff; border: 2px solid var(--line); border-radius: 28px; }
.visit__addr { margin: 10px 0 18px; font-size: 21px; font-weight: 700; }
.visit dl { margin: 0; }
.visit dl div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 9px 0; font-size: 16px; }
.visit dt { font-family: 'Jua', sans-serif; color: var(--green); }
.visit dd { margin: 0; color: var(--sub); }
.visit__btns { display: grid; gap: 8px; }

.ft { padding-block: 0 48px; font-size: 13px; color: var(--sub); }
.ft p { margin: 3px 0; }
.mbar { display: none; }

@media (max-width: 1000px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .care, .cat__in, .news, .hours, .visit__in, .sos__in { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hd__nav { display: none; }
  .hd__in { height: 62px; justify-content: space-between; }
  .logo { font-size: 22px; }
  .hd__sos { font-size: 15px; padding: 7px 14px; }
  .hero__photo { border-radius: 22px; overflow: visible; }
  .hero__photo img { height: 300px; border-radius: 22px; }
  .hero__card { position: relative; right: auto; bottom: auto; width: auto; margin: -56px 12px 0; padding: 24px 22px; box-shadow: 0 6px 24px rgba(28,90,51,.10); }
  .hero h1 { font-size: 34px; }
  .hero__btns .btn { font-size: 17px; padding: 0 12px; }
  .strip { grid-template-columns: 1fr; gap: 8px; }
  .strip li { padding: 13px 16px; font-size: 15px; }
  .strip__tel a { justify-content: center; height: 54px; }
  .sos { margin-top: 48px; }
  .sos__in { padding-block: 52px; }
  .sos h2 { font-size: 30px; }
  .sos__tel { font-size: 38px; margin-top: 16px; }
  .sos__list li { font-size: 16px; }
  .sec { padding-block: 60px; }
  .sec h2, .cat h2, .visit h2 { font-size: 28px; }
  .care__list li { padding: 18px 20px; }
  .care__list h3 { font-size: 20px; }
  .care__list p { font-size: 15px; }
  .cat { padding-block: 52px; }
  .cat img { border-radius: 20px; }
  .news { gap: 16px; }
  .news__list li { grid-template-columns: 56px 1fr; gap: 10px; }
  .news__list b { font-size: 17px; }
  .tbl { font-size: 16px; }
  .tbl th, .tbl td { padding: 12px 14px; }
  .tbl small { display: block; font-size: 13px; }
  .visit { padding-bottom: 56px; }
  .visit__in { padding: 28px 20px; border-radius: 22px; }
  .visit__addr { font-size: 18px; }
  .ft { padding-bottom: 92px; }
  .mbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(250,252,245,.97); border-top: 1px solid var(--line); }
  .mbar a { display: grid; place-items: center; height: 46px; border-radius: 99px; text-decoration: none; font-family: 'Jua', sans-serif; font-size: 17px; background: #fff; color: var(--green-dk); box-shadow: inset 0 0 0 2px var(--line); }
  .mbar a:first-child { background: var(--green); color: #fff; box-shadow: none; }
}
