/* 전역 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary-color: #014391;
  --secondary-color: #076cba;
  --accent-color: #ff6100;
  --text-dark: #222;
  --text-light: #666;
  --bg-light: #f4f4f4;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Noto Sans KR", "나눔고딕", NanumGothic, "Nanum Gothic", "돋움",
    Dotum, Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 13px;
  font-display: swap;
}

/* 이미지 최적화 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  height: 100px;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

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

.logo {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 0 0 0;
}

.logo a {
  display: block;
}

.logo img {
  display: block;
  vertical-align: top;
  height: 36px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding-top: 0;
}

.company-name {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-family: "Noto Sans KR", sans-serif;
}

.company-name a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.company-name a:hover {
  color: inherit;
}

.office-name {
  color: var(--secondary-color);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.office-name a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.office-name a:hover {
  color: inherit;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu li a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--secondary-color);
}

.nav-menu li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* 히어로 섹션 */
.hero {
  height: 100vh;
  background: linear-gradient(
      135deg,
      rgba(1, 67, 145, 0.85) 0%,
      rgba(7, 108, 186, 0.85) 100%
    ),
    url("images/background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  animation: rotate 20s linear infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
  animation: wave 8s ease-in-out infinite;
}

.hero-overlay::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  animation: float 15s ease-in-out infinite;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  padding: 20px 20px 0;
  position: relative;
  width: 100%;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease, glow 3s ease-in-out infinite;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.2s backwards;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.4s backwards;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 히어로 버튼 */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.btn {
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* 실적 카드 */
.hero-stats {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease 0.8s backwards;
  width: 100%;
  padding: 0 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 25px 35px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-width: 120px;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -10px);
  }
  50% {
    transform: translate(-10px, 10px);
  }
  75% {
    transform: translate(10px, 5px);
  }
}

@keyframes glow {
  0%,
  100% {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(255, 255, 255, 0.1);
  }
  50% {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(255, 255, 255, 0.3), 0 0 40px rgba(255, 255, 255, 0.2);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* 섹션 공통 스타일 */
section {
  padding: 100px 0;
}

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

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 0 auto 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

/* 사무소 소개 */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 20px;
}

.feature-text h4 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.feature-text p {
  color: var(--text-light);
  font-size: 15px;
}

.about-image .image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.about-image .placeholder-text {
  color: var(--white);
  font-size: 48px;
  font-weight: 700;
}

.about-image .port-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.about-image .port-image:hover {
  transform: scale(1.02);
}

/* 업무 분야 */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card > p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-details {
  list-style: none;
  text-align: left;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.service-details li {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.service-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* 관세사 소개 */
.customs-officer {
  background: var(--white);
}

.officer-profile {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: center;
}

.officer-image .image-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.officer-image .placeholder-text {
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.officer-image .profile-photo {
  width: 100%;
  height: 450px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.officer-image .profile-photo:hover {
  transform: scale(1.02);
}

.officer-info h3 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.officer-title {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.officer-contact-info {
  margin-bottom: 40px;
}

.officer-description {
  margin-bottom: 30px;
}

.officer-description p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

.officer-credentials {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
}

.credential-item strong {
  font-size: 18px;
  color: var(--primary-color);
  display: block;
  margin-bottom: 15px;
}

.credential-item ul {
  list-style: none;
}

.credential-item li {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.credential-item li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* 오시는 길 */
.contact {
  background: var(--bg-light);
  padding-bottom: 0 !important;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 0;
}

.contact-info h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-icon {
  font-size: 24px;
  margin-right: 15px;
  width: 40px;
  text-align: center;
}

.info-text strong {
  display: block;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.info-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-map {
  overflow: hidden;
  margin-bottom: 0;
}

#map {
  width: 100%;
  height: 500px;
  border-radius: 10px;
}

.map-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.map-placeholder p {
  font-size: 24px;
  margin-bottom: 10px;
}

.map-placeholder small {
  font-size: 14px;
}

/* 파트너 로고 슬라이더 */
.partners {
  background: var(--white);
  padding: 40px 0 60px;
  border-top: 1px solid #eee;
}

.partners-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  max-width: 1704px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.partner-item {
  flex: 0 0 16.66%;
  max-width: 16.66%;
  box-sizing: border-box;
}

.partner-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 98px;
  background: #fff;
  border: 1px solid #eee;
  border-left: 0;
  transition: all 0.3s ease;
}

.partner-item:first-child a {
  border-left: 1px solid #eee;
}

.partner-item img {
  max-height: 60px;
  width: auto;
  max-width: 80%;
  transition: all 0.3s ease;
}

.partner-item a:hover {
  background: #f9f9f9;
}

.partner-item a:hover img {
  transform: scale(1.05);
}

/* 푸터 */
.footer {
  background: #eee;
  color: #666;
  padding: 60px 0 30px;
  font-family: "Roboto", "Noto Sans KR", sans-serif;
}

.clearfix:after {
  clear: both;
  display: block;
  content: "";
}

.foot-menu {
  text-align: center;
  margin-bottom: 45px;
}

.foot-menu li {
  display: inline-block;
  line-height: 20px;
  margin: 0 17px;
}

.foot-menu li a {
  color: #999;
  font-size: 14px;
  letter-spacing: -0.5px;
  font-weight: 400;
  text-decoration: none;
}

.foot-menu li.bold a {
  color: #076cba;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 20px;
}

.family-address {
  text-align: center;
}

.family-address p {
  color: #999;
  font-weight: 400;
  font-size: 14px;
  line-height: 2.3em;
  letter-spacing: -0.0384em;
  margin-bottom: 15px;
}

.family-address span {
  margin: 0 10px;
}

.family-address span b {
  font-weight: 400;
  color: #666;
}

.family-address .copyright {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.35px;
  margin: 35px 0;
  text-transform: uppercase;
  color: #888;
}

.family-address .copyright b {
  font-weight: 400;
  color: #076cba;
}

.call-number {
  display: inline-block;
  margin-bottom: 15px;
}

.call-number ul {
  list-style: none;
  text-align: left;
  display: inline-block;
}

.call-number ul li em {
  display: inline-block;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.5px;
  color: #999;
  line-height: 30px;
  font-style: normal;
}

.call-number ul li em:first-child {
  margin-right: 15px;
}

.footer-info img {
  max-height: 40px;
  margin: 20px auto 0;
}

.footer-links {
  text-align: left;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #666;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #076cba;
  text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
  }

  .btn {
    padding: 12px 30px;
    font-size: 15px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    display: block;
    margin: 0 auto;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    margin-bottom: 40px;
  }

  .stat-card {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

  .officer-profile {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    height: 80px;
  }

  .header-content {
    height: 80px;
  }

  .logo {
    gap: 10px;
    padding: 20px 0 0 0;
  }

  .logo img {
    height: 30px;
    width: auto;
  }

  .company-name {
    font-size: 19px;
  }

  .office-name {
    font-size: 15px;
  }

  .section-title {
    font-size: 32px;
  }

  .hero {
    margin-top: 80px;
    padding-top: 60px;
  }

  .hero-content {
    padding-top: 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

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

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 30px;
    text-align: center;
    display: block;
    margin: 0 auto;
  }

  .hero-stats {
    gap: 20px;
    margin-bottom: 50px;
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .stat-card {
    padding: 20px 30px;
    width: 100%;
    max-width: 300px;
  }

  .stat-number {
    font-size: 32px;
  }

  section {
    padding: 60px 0;
  }

  .about-text h3 {
    font-size: 28px;
  }

  .about-description {
    font-size: 15px;
  }

  .about-image .port-image {
    height: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 35px 25px;
  }

  .officer-image .profile-photo {
    height: 400px;
    object-fit: contain;
  }

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

  .officer-info h3 {
    font-size: 32px;
  }

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

  .info-item {
    padding: 15px;
    margin-bottom: 20px;
  }

  #map {
    height: 400px;
  }

  .map-placeholder {
    height: 400px;
  }

  .partners-slider {
    gap: 0;
    padding: 0 15px;
    flex-wrap: wrap;
  }

  .partner-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  .partner-item a {
    height: 80px;
  }

  .partner-item img {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .header {
    height: 70px;
  }

  .header-content {
    height: 70px;
  }

  .logo {
    gap: 8px;
    padding: 15px 0 0 0;
  }

  .logo img {
    height: 24px;
    width: auto;
  }

  .company-name {
    font-size: 16px;
  }

  .office-name {
    font-size: 13px;
  }

  .hero {
    margin-top: 70px;
    min-height: 100vh;
    padding: 60px 0 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .hero-content {
    padding: 30px 15px 0;
    width: 100%;
    margin-top: 0;
  }

  .hero-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 15px;
    width: 100%;
    max-width: 280px;
    text-align: center;
    display: block;
    margin: 0 auto;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 15px;
    width: 100%;
  }

  .stat-card {
    width: 100%;
    max-width: 280px;
    padding: 18px 25px;
    min-width: auto;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 13px;
  }

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

  .section-subtitle {
    font-size: 16px;
  }

  section {
    padding: 50px 0;
  }

  .about-text h3 {
    font-size: 24px;
  }

  .about-description {
    font-size: 14px;
  }

  .about-image .port-image {
    height: 250px;
  }

  .feature-item {
    margin-bottom: 20px;
  }

  .feature-icon {
    width: 35px;
    height: 35px;
    font-size: 18px;
    margin-right: 15px;
  }

  .feature-text h4 {
    font-size: 18px;
  }

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

  .service-card {
    padding: 30px 20px;
  }

  .service-icon {
    font-size: 40px;
  }

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

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

  .officer-image {
    margin-bottom: 30px;
  }

  .officer-image .profile-photo {
    height: 350px;
    max-height: 350px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
  }

  .officer-info h3 {
    font-size: 28px;
  }

  .officer-title {
    font-size: 16px;
  }

  .officer-description p {
    font-size: 15px;
  }

  .officer-credentials {
    padding: 20px;
  }

  .credential-item strong {
    font-size: 16px;
  }

  .contact-info h3 {
    font-size: 22px;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .info-icon {
    margin-bottom: 10px;
    margin-right: 0;
  }

  #map {
    height: 300px;
  }

  .map-placeholder {
    height: 300px;
  }

  .map-placeholder p {
    font-size: 20px;
  }

  .partners-slider {
    flex-wrap: wrap;
    gap: 0;
    padding: 0 15px;
  }

  .partner-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .partner-item a {
    height: 70px;
  }

  .partner-item img {
    max-height: 45px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    gap: 40px;
    margin-bottom: 30px;
  }

  .footer-info h3 {
    font-size: 20px;
  }

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

  .footer-links h4 {
    font-size: 16px;
  }

  .footer-links a {
    font-size: 14px;
  }
}

/* 작은 모바일 (360px 이하) */
@media (max-width: 360px) {
  .hero {
    padding: 50px 0 15px;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 20px;
  }

  .hero-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 17px;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    max-width: 260px;
    display: block;
    margin: 0 auto;
  }

  .hero-stats {
    margin-bottom: 30px;
    padding: 0 10px;
    gap: 10px;
  }

  .stat-card {
    padding: 15px 20px;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .stat-number {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .officer-image .profile-photo {
    height: 300px;
    max-height: 300px;
  }
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
  .btn {
    padding: 16px 35px;
  }

  .nav-menu li a {
    padding: 10px 0;
  }

  .service-card {
    padding: 35px 25px;
  }

  .info-item {
    padding: 18px;
  }
}

/* 가로 모드 모바일 */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-buttons {
    margin-bottom: 25px;
  }

  .hero-stats {
    flex-direction: row;
    gap: 15px;
    margin-bottom: 30px;
  }

  .stat-card {
    padding: 15px 20px;
  }
}
