/* ============================================
   WeWon Lawyers - Global Styles
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Pretendard';
  font-weight: 400;
  src: url('./fonts/Pretendard-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 500;
  src: url('./fonts/Pretendard-Medium.woff') format('woff');
}
@font-face {
  font-family: 'Pretendard';
  font-weight: 600;
  src: url('./fonts/Pretendard-SemiBold.woff') format('woff');
}

/* --- CSS Variables --- */
:root {
  --color-white: #ffffff;
  --color-black: #111111;
  --color-navy-darkest: #0a1e29;
  --color-navy-darker: #0d2837;
  --color-navy-dark: #0e2d3e;
  --color-navy: #103245;
  --color-blue-gray: #3e5968;
  --color-gray: #6c808b;
  --color-gray-light: #99a7af;
  --color-gray-lighter: #c7ced2;
  --color-off-white: #e9eaeb;

  --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1140px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-off-white);
  background-color: var(--color-navy-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.3;
}

/* --- Language Toggle --- */
.lang-en { display: none; }
.lang-ko { display: inline; }

[data-lang="en"] .lang-en { display: inline; }
[data-lang="en"] .lang-ko { display: none; }

.lang-toggle {
  position: fixed;
  top: 28px;
  right: 32px;
  z-index: 200;
  background: rgba(13, 40, 55, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(108, 128, 139, 0.4);
  color: var(--color-off-white);
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: rgba(62, 89, 104, 0.6);
  border-color: var(--color-off-white);
}

/* --- Full-page Section Base --- */
.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes subtlePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s; }

/* --- Bottom Tab Navigation --- */
.bottom-tab {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  justify-content: space-around;
  align-items: flex-end;
  height: calc(80px + env(safe-area-inset-bottom, 0px));
  /* GPU layer isolation - prevents Chrome mobile toolbar jank */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  contain: layout style;
}


/* Tab bar background with notch cutout via SVG */
.bottom-tab-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
  overflow: visible;
}

.bottom-tab-bg svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 -2px 6px rgba(0, 0, 0, 0.2));
}

.bottom-tab a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--color-gray);
  font-size: 0.65rem;
  padding: 22px 14px 10px;
  transition: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.bottom-tab a svg {
  width: 20px;
  height: 20px;
}

.bottom-tab a.active {
  color: var(--color-white);
  opacity: 1;
  margin-top: -26px;
  padding-top: 10px;
  padding-bottom: 8px;
}

.bottom-tab a.active svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
}

/* Floating circle behind active icon */
.bottom-tab a::before {
  content: '';
  position: absolute;
  display: none;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(13, 40, 55, 0.97);
  border: 1px solid rgba(62, 89, 104, 0.4);
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.bottom-tab a.active::before {
  display: block;
}

/* Click bounce animation */
@keyframes tabBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.85); }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.bottom-tab a.tap svg {
  animation: tabBounce 0.3s ease;
}

/* --- Side Navigation (hidden) --- */
.side-nav {
  display: none;
}

.side-nav a {
  display: block;
  padding: 6px 18px;
  border: 1px solid rgba(108, 128, 139, 0.5);
  border-radius: 25px;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: var(--color-off-white);
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: rgba(14, 45, 62, 0.85);
}

.side-nav a:hover,
.side-nav a.active {
  border-color: var(--color-off-white);
  color: var(--color-white);
  background: rgba(14, 45, 62, 0.95);
  opacity: 1;
}

/* ============================================
   SECTION: Hero
   ============================================ */
.hero {
  position: relative;
  height: 100dvh;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(14, 45, 62, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  animation: fadeIn 1.5s ease;
}

.hero-title-line1 {
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 8px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-title-line2 {
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 4px;
  margin-top: 4px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
  animation: subtlePulse 2.5s ease-in-out infinite;
}

.hero-scroll-hint .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ============================================
   SECTION: About / Attorney
   ============================================ */
.about {
  background-color: var(--color-navy-dark);
  overflow: hidden;
}

.about .container {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
}

.about-content {
  padding: 20px 0;
}

.about-label {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 20px;
}

.about-heading {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-off-white);
  line-height: 1.5;
  margin-bottom: 12px;
}

.about-heading-en {
  font-size: 1.1rem;
  color: var(--color-blue-gray);
  margin-bottom: 48px;
  line-height: 1.6;
}

.about-divider {
  width: 40px;
  height: 1px;
  background: var(--color-gray);
  margin-bottom: 24px;
}

.about-role {
  font-size: 0.875rem;
  color: var(--color-gray);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.about-name {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-off-white);
  margin-bottom: 36px;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-primary {
  background: rgba(14, 45, 62, 0.85);
  color: var(--color-off-white);
  border: 1px solid rgba(108, 128, 139, 0.5);
  transition: none;
}

.btn-primary:hover {
  border-color: var(--color-off-white);
  color: var(--color-white);
  background: rgba(14, 45, 62, 0.95);
  opacity: 1;
}

/* ============================================
   SECTION: Practice Areas / Cases
   ============================================ */
.cases {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cases::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 30, 41, 0.85) 0%,
    rgba(14, 45, 62, 0.75) 100%
  );
}

.cases .container {
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gray-light);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.875rem;
  font-weight: 500;
  color: var(--color-off-white);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 60px;
}

.cases-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin-left: auto;
}

.case-card {
  position: relative;
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  border: 1px solid rgba(62, 89, 104, 0.3);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 28px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Bottom accent line */
.case-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gray-light), transparent);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-card:hover::before {
  width: 80%;
}

/* Corner glow */
.case-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(108, 128, 139, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.case-card:hover::after {
  opacity: 1;
}

.case-card:hover {
  border-color: rgba(153, 167, 175, 0.35);
  background: linear-gradient(145deg, rgba(16, 50, 69, 0.9) 0%, rgba(14, 45, 62, 0.9) 100%);
  opacity: 1;
}

.case-card-content {
  position: relative;
  z-index: 1;
}

.case-card-title-ko {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--color-off-white);
  margin-bottom: 10px;
}

.case-card-title-en {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--color-gray);
  transition: color 0.5s ease;
}

.case-card:hover .case-card-title-en {
  color: var(--color-gray-light);
}

/* ============================================
   SECTION: Testimonials
   ============================================ */
.testimonials {
  background-color: var(--color-navy-dark);
}

.testimonials .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 32px;
}

.testimonials-header .section-desc {
  color: var(--color-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-left: 0;
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(10, 30, 41, 0.8) 0%, rgba(13, 40, 55, 0.6) 100%);
  border: 1px solid rgba(62, 89, 104, 0.25);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card:hover {
  border-color: rgba(108, 128, 139, 0.4);
  background: linear-gradient(145deg, rgba(10, 30, 41, 1) 0%, rgba(13, 40, 55, 0.8) 100%);
}

.testimonial-icon {
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  flex-shrink: 0;
}

.testimonial-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(0.7);
}

.testimonial-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-off-white);
  margin-top: auto;
}

/* ============================================
   SECTION: Contact
   ============================================ */
.contact {
  background-color: var(--color-navy-dark);
}

.contact .container {
  text-align: center;
}

.contact-header {
  margin-bottom: 60px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  flex: 1;
  max-width: 280px;
}

.contact-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid rgba(62, 89, 104, 0.3);
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Bottom accent line */
.contact-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gray-light), transparent);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-item:hover::before {
  width: 80%;
}

/* Corner glow */
.contact-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(108, 128, 139, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.contact-item:hover::after {
  opacity: 1;
}

.contact-item:hover {
  border-color: rgba(153, 167, 175, 0.35);
  background: linear-gradient(145deg, rgba(16, 50, 69, 0.9) 0%, rgba(14, 45, 62, 0.9) 100%);
  opacity: 1;
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-item:hover .contact-label {
  color: var(--color-white);
}

.contact-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.contact-icon.phone img {
  filter: brightness(0) invert(1) opacity(0.85);
}

.contact-icon.kakao-custom {
  width: 48px;
  height: 48px;
  position: relative;
}

.contact-icon.kakao-custom svg {
  width: 48px;
  height: 48px;
}

.contact-icon.email img {
  filter: brightness(0) invert(1) opacity(0.7);
}

.contact-label {
  font-size: 1rem;
  color: var(--color-gray-light);
  letter-spacing: 0.5px;
}

/* ============================================
   SECTION: Map
   ============================================ */
.map-section {
  background-color: var(--color-navy-dark);
  flex-direction: column;
  height: 100dvh;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.map-top {
  padding: 60px 0 50px;
}

.map-top .container {
  text-align: center;
}

.map-label {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gray-light);
  margin-bottom: 10px;
}

.map-title {
  font-size: 2.875rem;
  font-weight: 500;
  color: var(--color-off-white);
  margin-bottom: 16px;
}

.map-title a {
  color: var(--color-off-white);
}

.map-title a:hover {
  color: var(--color-white);
}

.map-header-right {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--color-gray);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 40px;
}

.map-header-right span {
  position: relative;
}

.map-header-right span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--color-blue-gray);
}

.map-bottom {
  flex: 1;
}

.map-bottom {
  display: flex;
  justify-content: center;
  padding: 0 40px 40px;
}

.map-iframe {
  width: 70vw;
  height: 70vw;
  max-width: 500px;
  max-height: 500px;
  border: none;
  display: block;
  border-radius: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {

  /* About: 가로 레이아웃 유지, 이미지 축소 */
  .about .container {
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
  }

  .about-image img {
    max-width: 280px;
  }

  .about-heading {
    font-size: 1.75rem;
  }

  .about-heading-en {
    margin-bottom: 24px;
  }

  .cases-grid {
    max-width: none;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-left: 0;
  }

  .contact-methods {
    gap: 60px;
  }

  .map-header-right {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .map-header-right span:not(:last-child)::after {
    display: none;
  }

  .map-top {
    padding: 40px 0 32px;
  }

  .map-title {
    font-size: 1.75rem;
  }

  .map-bottom {
    padding: 0 16px 16px;
  }

  .map-iframe {
    width: 100%;
    height: 60vh;
    max-width: none;
    max-height: none;
    border-radius: 8px;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .section-desc {
    margin-bottom: 40px;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 24px;
  }

  .hero-title-line1 {
    font-size: 2.5rem;
    letter-spacing: 4px;
  }

  .hero-title-line2 {
    font-size: 3rem;
    letter-spacing: 2px;
  }

  /* About: 이미지를 배경으로 전환 */
  .about {
    position: relative;
  }

  .about::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('./images/yoseb-wb.jpg');
    background-size: cover;
    background-position: center top;
    filter: brightness(0.45);
    opacity: 0.9;
    z-index: 0;
  }

  .about .container {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .about-image {
    display: none;
  }

  .about-label {
    color: rgba(255, 255, 255, 0.7);
  }

  .about-divider {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.5);
  }

  .about-heading {
    font-size: 1.5rem;
  }

  .about-heading-en {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
  }

  .about-name {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .about-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .about-label {
    margin-bottom: 14px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.75rem;
  }

  /* Cases: 가로 3열 유지 */
  .cases .container {
    text-align: center;
  }

  .cases-grid {
    max-width: none;
    gap: 10px;
    margin-left: 0;
  }

  .case-card {
    padding: 18px 20px;
    border-radius: 12px;
  }

  .case-card-title-ko {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }

  .case-card-title-en {
    font-size: 0.7rem;
  }

  .cases .container {
    padding-top: 20vh;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-desc {
    margin-bottom: 20px;
    font-size: 0.85rem;
  }

  .section-label {
    font-size: 0.7rem;
    margin-bottom: 6px;
  }

  /* Testimonials: 가로 스와이프 캐러셀 */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
    border-radius: 16px;
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .testimonial-card.animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  /* Contact: 세로 배치, 중앙 정렬 */
  .contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .contact-item {
    max-width: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 20px;
    gap: 10px;
    border-radius: 12px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
  }

  .contact-icon img {
    width: 24px;
    height: 24px;
  }

  .contact-icon.kakao-custom svg {
    width: 32px;
    height: 32px;
  }
}

/* Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
  }

  .hero-title-line1 {
    font-size: 2rem;
  }

  .hero-title-line2 {
    font-size: 2.5rem;
  }

  .about-heading {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .testimonial-card {
    flex: 0 0 85%;
  }

  .contact-methods {
    gap: 8px;
  }

  .contact-item {
    padding: 12px 16px;
  }
}
