html{
   scroll-behavior: smooth;
}

section {
  scroll-margin-top: 90px;
}

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

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  background-color: #111;
  color: white;
}

br.br-desktop {
  display: none;
}

@media (min-width: 769px) {
  br.br-desktop {
    display: inline;
  }
}

header {
  position: fixed;
  width: 100%;
  top: 0;

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

  padding: 20px 60px;

  background-color: rgba(0, 0, 0, 0.534);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  z-index: 100;
}

.logo {
  font-size: 28px;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.hero {
  height: 100vh;

  background-image: url('./images/PiHp7rFr.jpg');

  background-size: cover;
  background-position: center;

  position: relative;

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

.overlay {
  position: absolute;

  width: 100%;
  height: 100%;

  background-color: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;

  text-align: center;

  z-index: 2;
}

.hero-content h1 {
  font-size: 64px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 40px;
}

.contact-button {
  display: inline-block;
  padding: 16px 40px;
  border: none;
  background-color: white;
  color: black;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.5s;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-button.secondary {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.contact-button:hover {
  background-color: #ddd;
  transform: scale(1.05);
}

.contact-button.secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.cases {
  background-color: #181818;
  padding: 120px 60px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-list {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.case-card {
  background-color: #111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #333;

  transition: 0.3s;
}

.case-card:hover {
  transform: translateY(-10px);
  border-color: #666;
}

.case-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}
.case-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.case-text {
  padding: 30px;
}

.case-text h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.case-text p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}

.about {
  background-color: #181818;
  padding: 120px 60px;

  display: flex;
  align-items: center;
}

.about-inner {
  max-width: 1200px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.about-text {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-text h2 {
  font-size: 42px;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
}

.about-points {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.about-point {
  flex: 0 1 260px;

  background-color: #111;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.3s;
}

.about-point:hover {
  transform: translateY(-4px);
  border-color: #666;
}

.about-point span {
  font-size: 18px;
  color: #ddd;
}

.partner {
  background-color: #111;
  padding: 100px 60px;
}

.partner-card {
  max-width: 900px;
  margin: 0 auto;
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 24px;
  padding: 50px;
  text-align: center;
}

.partner-logo {
  height: 42px;
  width: auto;
  margin-bottom: 30px;
}

.partner-desc {
  font-size: 17px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 30px;
}

.partner-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.partner-badges a {
  padding: 10px 20px;
  border: 1px solid #444;
  border-radius: 999px;
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.partner-badges a:hover {
  background-color: #333;
  border-color: #666;
  color: white;
}

.partner-link {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 12px;
  background-color: white;
  color: black;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.partner-link:hover {
  background-color: #ddd;
  transform: translateY(-4px);
}

.services {
  background-color: #181818;
  padding: 120px 60px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

.section-title p {
  font-size: 18px;
  color: #ccc;
}

.service-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background-color: #242424;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #383838;
  transition: 0.5s;
}

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

  background-color: #333;

  border: 1px solid #555;
}

.service-card h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
}
.service-detail {
  margin-top: 18px;
  padding-left: 18px;
  color: #ddd;
}

.service-detail li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.process {
  background-color: #111;
  padding: 120px 60px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.process-card {
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 18px;
  padding: 28px;
  transition: 0.3s;
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: #666;
}

.process-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.process-card-head strong {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #333;
  color: #aaa;
  font-size: 14px;
  font-weight: bold;
}

.process-card-head h3 {
  font-size: 20px;
}

.process-card p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.7;
}
.contact {
  background-color: #111;
  padding: 120px 60px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background-color: #1c1c1c;
  padding: 50px;
  border-radius: 24px;
  border: 1px solid #333;
  text-align: center;
}

.contact-card h3 {
  font-size: 34px;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 40px;
}

.contact-info {
  text-align: left;
  background-color: #111;
  padding: 30px;
  border-radius: 18px;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #ddd;
}

.contact-info strong {
  display: inline-block;
  width: 80px;
  color: white;
}

.hours-note {
  display: block;
  margin-left: 80px;
  margin-top: -6px;
  line-height: 1.3;
  color: #999;
  font-size: 14px;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-links a {
  display: block;
  padding: 16px 20px;
  border-radius: 12px;
  background-color: white;
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.contact-links a:hover {
  background-color: #ddd;
  transform: translateY(-4px);
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background-color: #0b0b0b;
  border-top: 1px solid #333;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  padding: 60px 20px;

  text-align: center;
}

.footer-inner h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-inner p {
  color: #aaa;
  margin-bottom: 12px;
}

.copyright {
  margin-top: 30px;
  font-size: 14px;
  color: #666;
}

.map-guide {
  color: #aaa;
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.contact-checklist {
  text-align: left;
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 24px 28px;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 16px;
  color: #ddd;
  list-style-position: inside;
}

.contact-checklist li {
  line-height: 1.5;
}

.bottom-contact-bar {
  display: none;
}

@media (max-width: 768px) {

  header {
    padding: 14px 20px;
    gap: 12px;
  }

  .logo {
    font-size: 20px;
    white-space: nowrap;
  }

  nav {
    gap: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 1.3;
    padding: 0 20px;
  }

  .hero-content p {
    font-size: 16px;
    padding: 0 20px;
  }

  .contact-button {
    padding: 14px 30px;
   font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about {
    padding: 80px 20px;
  }

  .about-text {
    margin-bottom: 40px;
  }

  .about-text h2 {
    font-size: 26px;
  }

  .about-text p {
    font-size: 15px;
  }

  .about-point {
    padding: 24px;
  }

  .about-point span {
    font-size: 15px;
  }

  .partner {
    padding: 60px 20px;
  }

  .partner-card {
    padding: 34px 24px;
  }

  .partner-desc {
    font-size: 15px;
  }

  .partner-badges a {
    font-size: 13px;
  }

  .services {
    padding: 80px 20px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .section-title p {
    font-size: 15px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .service-card p {
    font-size: 15px;
  }

  .process-card-head h3 {
    font-size: 18px;
  }

  .process-card p {
    font-size: 14px;
  }

  .process,
  .cases {
    padding: 80px 20px;
  }

  .case-list {
    grid-template-columns: 1fr;
  }
  .case-card img {
    height: auto;
  }

  .case-text h3 {
    font-size: 19px;
  }

  .case-text p {
    font-size: 14px;
  }

  .contact {
    padding: 80px 20px;
  }

  .contact-card {
    padding: 34px 24px;
  }

  .contact-card h3 {
    font-size: 24px;
  }

  .contact-desc {
    font-size: 16px;
  }

  .contact-info p {
    font-size: 15px;
  }

  .map-guide {
    font-size: 14px;
  }

  .contact-checklist {
    font-size: 14px;
  }

  .contact-links a {
    font-size: 15px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-info strong {
    width: 70px;
  }

  .hours-note {
    margin-left: 70px;
    font-size: 13px;
  }

  .footer-inner h3 {
    font-size: 24px;
  }

  .footer-inner p {
    font-size: 14px;
  }

  .footer-inner .copyright {
    font-size: 12px;
  }

  .bottom-contact-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;

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

    z-index: 999;
  }

  .bottom-contact-bar a {
    padding: 16px 10px;
    background-color: white;
    color: black;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-right: 1px solid #ddd;
  }

  .bottom-contact-bar a:last-child {
    border-right: none;
  }

  body {
    padding-bottom: 70px;
  }
  
}