/*
Theme Name: Daejeon Implant
Theme URI: https://대전임플란트.net/
Author: Seoul Brown
Description: 대전임플란트 검색 노출과 정보 제공을 위한 경량 커스텀 워드프레스 테마
Version: 1.0.0
Text Domain: daejeonimplant
*/

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans KR",
    sans-serif;

  color: #222;
  background: #fff;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}



/* =========================
   PLACEHOLDER IMAGE
========================= */

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  background: #e7e7e7;
  color: #999;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;

  text-align: center;
}



/* =========================
   HEADER
========================= */

.header {
  height: 78px;

  display: flex;
  align-items: center;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eee;

  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo span {
  color: #356d63;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: #444;

  transition: 0.2s;
}

.nav a:hover {
  color: #356d63;
}



/* =========================
   HERO
========================= */

.hero {
  padding: 90px 0;
  background: #f5f7f6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-block;

  margin-bottom: 18px;

  color: #356d63;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 68px);

  line-height: 1.2;

  letter-spacing: -0.06em;

  margin-bottom: 26px;
}

.hero-description {
  max-width: 540px;

  font-size: 18px;
  color: #666;

  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  min-height: 52px;

  padding: 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  font-weight: 600;

  border-radius: 6px;

  transition: 0.2s;
}

.btn-primary {
  color: #fff;
  background: #356d63;
  border: 1px solid #356d63;
}

.btn-primary:hover {
  background: #28584f;
}

.btn-outline {
  border: 1px solid #bbb;
  background: #fff;
}

.btn-outline:hover {
  border-color: #356d63;
  color: #356d63;
}

.hero-image {
  min-height: 470px;
  border-radius: 14px;
}



/* =========================
   SECTION
========================= */

.intro {
  padding: 120px 0 70px;
}

.section-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.section-title h2,
.section-heading h2,
.content-text h2,
.faq-title h2,
.clinic h2 {
  font-size: clamp(32px, 4vw, 48px);

  line-height: 1.3;

  letter-spacing: -0.055em;
}

.section-title p {
  max-width: 680px;

  margin: 24px auto 0;

  color: #777;
  font-size: 17px;
}



/* =========================
   SERVICES
========================= */

.services {
  padding: 60px 0 120px;
}

.section-heading {
  display: flex;

  justify-content: space-between;
  align-items: flex-end;

  margin-bottom: 42px;
}

.section-heading p {
  color: #888;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.card {
  overflow: hidden;

  border: 1px solid #e8e8e8;
  border-radius: 10px;

  background: #fff;

  transition: 0.25s;
}

.card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.08);
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 0.72;
}

.card-content {
  padding: 27px 26px 30px;
}

.card-number {
  display: block;

  margin-bottom: 12px;

  color: #356d63;

  font-size: 12px;
  font-weight: 700;
}

.card h3 {
  margin-bottom: 12px;

  font-size: 23px;
  letter-spacing: -0.04em;
}

.card p {
  min-height: 54px;

  margin-bottom: 22px;

  color: #777;
  font-size: 14px;

  line-height: 1.7;
}

.more {
  font-size: 13px;
  font-weight: 700;
}



/* =========================
   PROCESS
========================= */

.process {
  padding: 120px 0;

  background: #f5f7f6;
}

.process .section-title {
  margin-bottom: 60px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-item {
  padding: 5px 32px 5px 0;

  border-right: 1px solid #ddd;

  margin-right: 32px;
}

.process-item:last-child {
  border-right: 0;
}

.process-item span {
  display: block;

  margin-bottom: 24px;

  color: #356d63;

  font-size: 13px;
  font-weight: 700;
}

.process-item h3 {
  font-size: 22px;

  margin-bottom: 12px;
}

.process-item p {
  color: #777;
  font-size: 14px;
}



/* =========================
   CONTENT
========================= */

.content-section {
  padding: 130px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  align-items: center;
}

.content-image {
  min-height: 470px;
  border-radius: 12px;
}

.content-text h2 {
  margin-bottom: 28px;
}

.content-text p {
  margin-bottom: 15px;

  font-size: 16px;

  color: #666;
}

.text-link {
  display: inline-block;

  margin-top: 20px;

  font-size: 14px;
  font-weight: 700;

  color: #356d63;
}



/* =========================
   FAQ
========================= */

.faq {
  padding: 120px 0;
  background: #fafafa;
}

.faq-inner {
  display: grid;
  grid-template-columns: 320px 1fr;

  gap: 90px;
}

.faq-list details {
  border-top: 1px solid #ddd;

  padding: 25px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid #ddd;
}

.faq-list summary {
  cursor: pointer;

  list-style: none;

  font-size: 18px;
  font-weight: 600;

  position: relative;

  padding-right: 40px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";

  position: absolute;
  right: 10px;
  top: -5px;

  font-size: 26px;
  font-weight: 300;

  color: #777;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding-top: 17px;

  color: #777;
  font-size: 15px;
}



/* =========================
   CLINIC
========================= */

.clinic {
  padding: 85px 0;

  background: #356d63;
  color: #fff;
}

.clinic-box {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.65);
}

.clinic h2 {
  margin-bottom: 17px;
}

.clinic p {
  color: rgba(255, 255, 255, 0.75);
}

.btn-white {
  flex-shrink: 0;

  color: #356d63;
  background: #fff;
}



/* =========================
   FOOTER
========================= */

.footer {
  padding: 65px 0;

  background: #171b1a;
  color: #fff;
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  gap: 40px;
}

.footer-logo {
  margin-bottom: 15px;

  font-size: 23px;
  font-weight: 800;
}

.footer-logo span {
  color: #78aaa1;
}

.footer p {
  color: #888;
  font-size: 13px;
}

.footer-info {
  text-align: right;
}

.copyright {
  margin-top: 12px;
}



/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .nav {
    display: none;
  }

  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .hero {
    padding: 65px 0;
  }

  .hero-image {
    min-height: 380px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 45px 0;
  }

  .faq-inner {
    grid-template-columns: 1fr;

    gap: 50px;
  }

}



/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .inner {
    width: min(100% - 32px, 1180px);
  }

  .header {
    height: 66px;
  }

  .logo {
    font-size: 20px;
  }

  .hero {
    padding: 55px 0 65px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image {
    min-height: 280px;
  }

  .intro {
    padding: 90px 0 45px;
  }

  .services {
    padding: 40px 0 90px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 10px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card p {
    min-height: auto;
  }

  .process {
    padding: 90px 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    padding-bottom: 30px;

    border-right: 0;
    border-bottom: 1px solid #ddd;

    margin-right: 0;
  }

  .content-section {
    padding: 90px 0;
  }

  .content-image {
    min-height: 300px;
  }

  .faq {
    padding: 90px 0;
  }

  .clinic {
    padding: 70px 0;
  }

  .clinic-box {
    display: block;
  }

  .clinic .btn {
    margin-top: 30px;
  }

  .footer-inner {
    display: block;
  }

  .footer-info {
    margin-top: 30px;
    text-align: left;
  }

}