/* ==============================================
   Components - Nav, Hero, Cards, Footer
   ============================================== */

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-md) 0;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

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

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.nav__links {
  display: none;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  padding: var(--space-xs) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-text);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition-base);
}

.theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: transform var(--transition-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

[data-theme="dark"] .theme-toggle__thumb {
  transform: translateX(22px);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav__hamburger {
    display: none;
  }
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-fixed) - 1);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav__mobile-menu.is-open {
  display: flex;
  opacity: 1;
}

.nav__mobile-link {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.nav__mobile-link:hover {
  color: var(--color-primary);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  display: none;
}

.hero__bg::after {
  display: none;
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
}

.hero__slide {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__slide--1 {
  animation: heroSlide1 10s infinite;
}

.hero__slide--2 {
  animation: heroSlide2 10s infinite;
}

@keyframes heroSlide1 {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heroSlide2 {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: var(--space-xl);
}

.hero__badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: #ffffff;
  margin-bottom: var(--space-xl);
}

.hero__title {
  font-size: var(--text-4xl);
  color: #ffffff;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  line-height: var(--leading-relaxed);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero__cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero__cta-arrow {
  transition: transform var(--transition-base);
}

.hero__cta:hover .hero__cta-arrow {
  transform: translateX(4px);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* --- Welcome Section --- */
.welcome-section {
  padding: var(--space-4xl) 0;
  background: #ffffff;
  text-align: center;
}

.welcome-section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #3d8b6e;
  margin-bottom: var(--space-lg);
}

.welcome-section__desc {
  font-size: var(--text-base);
  color: #666;
  line-height: 1.8;
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-section__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.welcome-section__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.welcome-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.welcome-section__image:hover img {
  transform: scale(1.05);
}

.welcome-section__note {
  font-size: var(--text-sm);
  color: #888;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .welcome-section__gallery {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .welcome-section__desc br {
    display: none;
  }
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__desc {
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-inline: auto;
}

/* --- Blog Card --- */
.card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-spring),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.card__image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image {
  transform: scale(1.05);
}

.card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary-dark);
}

[data-theme="dark"] .card__badge {
  background: rgba(26, 26, 46, 0.85);
  color: var(--color-primary);
}

.card__body {
  padding: var(--space-lg);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.card__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.card:hover .card__title {
  color: var(--color-primary);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
}

.card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: #f39c12;
}

.card__price {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.card__link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  transition: gap var(--transition-base);
}

.card:hover .card__link {
  gap: var(--space-sm);
}

/* --- About Section --- */
.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__text {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.about__feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.about__feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 18px;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-3xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr;
  }
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-primary);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 18px;
  color: var(--color-text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-spring);
}

.footer__social-link:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.footer__bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: var(--z-sticky);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-spring),
              background var(--transition-fast);
  font-size: 20px;
}

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

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* --- Post Detail Page --- */
.post-header {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.post-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.post-header__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
}

.post-header__content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
  color: #ffffff;
}

.post-header__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-lg);
  transition: color var(--transition-fast);
}

.post-header__back:hover {
  color: #ffffff;
}

.post-header__title {
  font-size: var(--text-3xl);
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.post-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

/* Post Body */
.post-body {
  padding-block: var(--space-3xl);
}

.post-content {
  max-width: 760px;
  margin-inline: auto;
}

.post-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.post-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.post-content p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

.post-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-block: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.post-content ul,
.post-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* Info Box */
.info-box {
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-block: var(--space-xl);
  border-left: 4px solid var(--color-primary);
}

.info-box__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-md);
}

.info-box__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.info-box__row:last-child {
  border-bottom: none;
}

.info-box__label {
  color: var(--color-text-secondary);
}

.info-box__value {
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

/* Tip Box */
.tip-box {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(253, 121, 168, 0.08));
  border: 1px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-block: var(--space-xl);
}

[data-theme="dark"] .tip-box {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(253, 121, 168, 0.15));
}

.tip-box__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.tip-box ul {
  list-style: disc;
  padding-left: var(--space-xl);
}

.tip-box li {
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* Post Navigation */
.post-nav {
  display: flex;
  justify-content: center;
  padding-block: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.post-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  transition: background var(--transition-fast), transform var(--transition-spring);
}

.post-nav__link:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* --- Review Section --- */
.reviews {
  background: var(--color-bg-secondary);
}

.reviews__form-wrapper {
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.reviews__form-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.reviews__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.reviews__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 480px) {
  .reviews__form-row {
    grid-template-columns: 1fr;
  }
}

.reviews__input,
.reviews__textarea {
  width: 100%;
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.reviews__input:focus,
.reviews__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.reviews__textarea {
  min-height: 100px;
  resize: vertical;
}

.reviews__rating-select {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.reviews__rating-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.reviews__stars {
  display: flex;
  gap: 4px;
}

.reviews__star {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #ddd;
  transition: color var(--transition-fast), transform var(--transition-fast);
  padding: 0;
}

.reviews__star:hover,
.reviews__star.active {
  color: #f39c12;
  transform: scale(1.1);
}

.reviews__submit {
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-spring);
}

.reviews__submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.reviews__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.reviews__list {
  display: grid;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.reviews__empty {
  text-align: center;
  padding: var(--space-3xl);
  color: var(--color-text-tertiary);
}

.review-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient-text);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
}

.review-card__name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
}

.review-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.review-card__rating {
  display: flex;
  gap: 2px;
  color: #f39c12;
  font-size: 14px;
}

.review-card__content {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  white-space: pre-wrap;
}

.reviews__message {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.reviews__message--success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.reviews__message--error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ================================
   Chat Buttons (플로팅 채팅 4개)
   ================================ */
.chat-buttons {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.chat-buttons__icons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.chat-buttons__label {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 0;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  width: 100%;
}

.chat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.chat-btn:hover {
  transform: scale(1.1);
}

.chat-btn__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s ease;
}

.chat-btn:hover .chat-btn__icon {
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.chat-btn__icon svg {
  width: 36px;
  height: 36px;
}

.chat-btn__id {
  display: none;
}

/* 카카오톡 */
.chat-btn--kakao .chat-btn__icon {
  background: #FEE500;
}

/* 텔레그램 */
.chat-btn--telegram .chat-btn__icon {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

/* 라인 */
.chat-btn--line .chat-btn__icon {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

/* 위챗 */
.chat-btn--wechat .chat-btn__icon {
  background: #07C160;
}

@media (max-width: 768px) {
  .chat-buttons {
    bottom: 80px;
    right: 12px;
    gap: 6px;
  }

  .chat-buttons__icons {
    gap: 8px;
  }

  .chat-buttons__label {
    padding: 8px 0;
    font-size: 12px;
  }

  .chat-btn__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .chat-btn__icon svg {
    width: 26px;
    height: 26px;
  }
}
