/* ===================================
   앙큼한여시 - 네일아트 살롱
   Premium Nail Art Salon Stylesheet
   =================================== */

/* CSS Variables */
:root {
  --pink: #f4a0b5;
  --pink-light: #fce4ec;
  --pink-dark: #d4728c;
  --lavender: #c5b3e6;
  --lavender-light: #ede7f6;
  --mint: #a8d8c8;
  --mint-light: #e0f2f1;
  --peach: #f5c4a1;
  --peach-light: #fff3e0;
  --cream: #fdf6ec;
  --rose: #e8a0bf;
  --rose-light: #fce4f0;
  --gold: #d4a76a;
  --text-dark: #2d2d2d;
  --text-medium: #5a5a5a;
  --text-light: #8a8a8a;
  --white: #ffffff;
  --bg-light: #faf8f6;
  --bg-section: #f9f5f2;
  --border: #eee0da;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Noto Sans KR', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* ===== Typography ===== */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--pink-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 520px;
}

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

.section-header .section-desc {
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(244, 160, 181, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(244, 160, 181, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--pink-light);
  border-color: var(--pink);
  color: var(--pink-dark);
}

.btn-full {
  width: 100%;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--pink);
}

.logo-icon-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.navbar.scrolled .logo-icon-img {
  filter: brightness(0);
}

.footer .logo-icon-img {
  filter: brightness(0) invert(1);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .logo-text {
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--text-medium);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--pink-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3a1c2e 0%, #2a1b3d 30%, #1a1a2e 60%, #16213e 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 160, 181, 0.15), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 179, 230, 0.12), transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.3" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--pink);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.6s;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1.2s;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 1.5s;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-indent: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== About Section ===== */
.about {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}

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

.about-images {
  position: relative;
  height: 500px;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 350px;
  z-index: 2;
}

.about-img-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  height: 320px;
}

/* Image Placeholders */
.img-placeholder,
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.placeholder-icon {
  font-size: 3rem;
  opacity: 0.6;
}

.placeholder-text {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.7;
}

.pastel-pink { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c2185b; }
.pastel-lavender { background: linear-gradient(135deg, #ede7f6, #d1c4e9); color: #7b1fa2; }
.pastel-mint { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); color: #00796b; }
.pastel-peach { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }
.pastel-cream { background: linear-gradient(135deg, #fdf6ec, #f5e6d3); color: #8d6e63; }
.pastel-rose { background: linear-gradient(135deg, #fce4f0, #f8bbd0); color: #ad1457; }

.about-desc {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-top {
  display: flex;
  align-items: baseline;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--pink-dark);
}

.stat-unit {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--pink-dark);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ===== Services Section ===== */
.services {
  padding: 120px 0 80px;
  background: var(--bg-section);
  overflow: hidden;
}

/* 시술 갤러리 마퀴 */
.gallery-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.gallery-marquee::before,
.gallery-marquee::after {
  display: none;
}

.gallery-marquee + .gallery-marquee {
  margin-top: 16px;
}

.gallery-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: galleryScroll 45s linear infinite;
}

.gallery-marquee-track-reverse {
  animation: galleryScrollReverse 45s linear infinite;
}

.gallery-marquee:hover .gallery-marquee-track {
  animation-play-state: paused;
}

@keyframes galleryScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes galleryScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.gallery-slide {
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-slide:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-slide:hover img {
  transform: scale(1.08);
}

/* ===== Gallery Section ===== */
.gallery {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--pink-light);
  border-color: var(--pink);
  color: var(--pink-dark);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.gallery-placeholder {
  border-radius: 0;
}

.gallery-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.75rem;
  color: var(--pink);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gallery-overlay h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* ===== Pricing Section ===== */
.pricing {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-featured {
  background: linear-gradient(135deg, #3a1c2e, #2a1b3d);
  color: var(--white);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  color: var(--white);
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.pricing-badge {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.pricing-featured .pricing-badge {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.pricing-price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-featured .pricing-price {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
}

.price-unit {
  font-size: 1rem;
  color: var(--text-light);
}

.pricing-featured .price-unit {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-menu li {
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding: 12px 0;
}

.pricing-menu li:last-child {
  border-bottom: none;
}

.price-value {
  font-weight: 600;
  color: var(--pink-dark);
  white-space: nowrap;
  font-size: 0.9rem;
}

.pricing-featured .price-value {
  color: var(--pink);
}

.pricing-featured .pricing-menu li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-featured .pricing-features li {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-featured .btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--lavender));
}

/* ===== Reviews Section ===== */
.reviews {
  padding: 120px 0 80px;
  background: var(--bg-section);
  overflow: hidden;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* 좌우 페이드 효과 */
.marquee-wrapper::before,
.marquee-wrapper::after {
  display: none;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.review-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.review-stars {
  color: #ffc107;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== Contact Section ===== */
.contact {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--pink-dark);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(244, 160, 181, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8a8a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(135deg, #3a1c2e 0%, #2a1b3d 30%, #1a1a2e 100%);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--pink);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-info {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  line-height: 1.8;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(244, 160, 181, 0.35);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(244, 160, 181, 0.5);
}

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-dark);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  z-index: 10000;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.2rem;
  }

  .gallery-slide {
    width: 220px;
    height: 220px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-featured {
    transform: none;
  }

  .pricing-featured:hover {
    transform: translateY(-6px);
  }

  .review-card {
    width: 340px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--text-dark);
    font-size: 1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    height: 300px;
    margin: 0 auto;
    max-width: 400px;
  }

  .about-img-1 {
    width: 200px;
    height: 250px;
  }

  .about-img-2 {
    width: 180px;
    height: 230px;
  }

  .about-stats {
    gap: 24px;
  }

  .gallery-slide {
    width: 180px;
    height: 180px;
  }

  .gallery-marquee-track {
    animation-duration: 30s;
  }

  .gallery-marquee-track-reverse {
    animation-duration: 30s;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .review-card {
    width: 300px;
  }

  .marquee-track {
    animation-duration: 25s;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

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

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

  .about-stats {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    text-align: center;
  }

  .about-stats .stat-number {
    font-size: 1.8rem;
  }

  .about-stats .stat-unit {
    font-size: 0.95rem;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

/* ===== Mobile Bottom Bar ===== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-bottom-bar.visible {
  transform: translateY(0);
}

.mobile-bottom-bar .mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-bottom-bar .mobile-bar-item:nth-child(1) {
  color: #2962ff;
}

.mobile-bottom-bar .mobile-bar-item:nth-child(2) {
  color: #8d6e00;
}

.mobile-bottom-bar .mobile-bar-item:nth-child(3) {
  color: #5a5a5a;
}

.mobile-bottom-bar .mobile-bar-item:active {
  transform: scale(0.92);
  opacity: 0.7;
}

.mobile-bottom-bar .mobile-bar-item svg {
  width: 26px;
  height: 26px;
}

.mobile-bottom-bar .mobile-bar-item span {
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
  }

  /* 하단 바가 콘텐츠를 가리지 않도록 여백 추가 */
  .footer {
    padding-bottom: 72px;
  }

  /* 맨 위로 버튼 위치 조정 */
  .back-to-top {
    bottom: 90px;
  }
}
