/* ===== FONTS ===== */
@font-face {
  font-family: 'Franklin Gothic';
  src: url('../fonts/Franklin-Gothic-Medium-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a24f;
  --gold-hover: #b58a30;
  --gold-light: #d4b96a;
  --cream: #faf7f2;
  --cream-dark: #f0ebe0;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --header-h: 64px;
  --footer-peek: 52px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 { font-family: 'Franklin Gothic', 'Segoe UI', sans-serif; }

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

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

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 79, 0.15);
  height: var(--header-h);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.header-logo {
  height: 44px;
  width: auto;
}

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

.nav-dots {
  display: flex;
  gap: 4px;
}

.nav-dot {
  background: none;
  border: 2px solid var(--gold-light);
  border-radius: 24px;
  padding: 6px 18px;
  cursor: pointer;
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.nav-dot span { pointer-events: none; }

.nav-dot:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.nav-arrow {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gold);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color var(--transition);
  user-select: none;
}

.nav-arrow:hover { color: var(--gold-hover); }

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

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

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(12px);
  flex-direction: column;
  padding: 16px 24px;
  gap: 8px;
  border-bottom: 1px solid rgba(201, 162, 79, 0.15);
  z-index: 99;
}

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

.mobile-menu a {
  padding: 12px 0;
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  border-bottom: 1px solid rgba(201, 162, 79, 0.1);
}

/* ===== PANELS VIEWPORT ===== */
.panels-viewport {
  flex: 1;
  margin-top: var(--header-h);
  margin-bottom: var(--footer-peek);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.panels-viewport::-webkit-scrollbar { display: none; }

.panels-track {
  display: flex;
  width: 300vw;
  height: 100%;
}

.panel {
  width: 100vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  overflow: hidden;
}

.panel-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-light) transparent;
}

.panel-scroll::-webkit-scrollbar { width: 6px; }
.panel-scroll::-webkit-scrollbar-track { background: transparent; }
.panel-scroll::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }

/* ===== PANEL HERO ===== */
.panel-hero {
  text-align: center;
  padding: 80px 24px 48px;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.panel-hero h1 {
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.panel-hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  font-style: italic;
}

.panel-hero--main {
  padding: 100px 24px 64px;
  background: linear-gradient(180deg, var(--cream-dark) 0%, rgba(201, 162, 79, 0.08) 50%, var(--cream) 100%);
}

.salon-name {
  font-size: 3.2rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.salon-tagline {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 32px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

.intro-text {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid rgba(201, 162, 79, 0.08);
}

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

.service-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== TEAM CARDS ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.team-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: var(--white);
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card__role {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p:last-of-type {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.team-card__cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.team-card:hover .team-card__cta { color: var(--gold-hover); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.gallery-item:hover { transform: scale(1.03); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.gallery-placeholder {
  aspect-ratio: 1;
  background: var(--cream-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9rem;
  border: 2px dashed rgba(201, 162, 79, 0.2);
}

/* ===== PRICE TABLES ===== */
.price-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.price-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.price-tab {
  padding: 10px 20px;
  border: 2px solid var(--gold-light);
  border-radius: 28px;
  background: none;
  cursor: pointer;
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all var(--transition);
  white-space: nowrap;
}

.price-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.price-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.price-content {
  display: none;
}

.price-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.price-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table thead {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
}

.price-table th {
  padding: 14px 20px;
  color: var(--white);
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 0.95rem;
  text-align: left;
  font-weight: 500;
}

.price-table th:not(:first-child):not([colspan]) {
  text-align: right;
}

.price-table td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(201, 162, 79, 0.08);
  font-size: 0.9rem;
}

.price-table tbody tr:last-child td { border-bottom: none; }

.price-table tbody tr:hover { background: rgba(201, 162, 79, 0.04); }

.price-table td:not(:first-child) {
  text-align: right;
  font-family: 'Franklin Gothic', sans-serif;
  color: var(--gold-hover);
  font-weight: 500;
  white-space: nowrap;
}

.price-table small {
  display: block;
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.4;
}

.price-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 16px;
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 0 16px;
}

.carousel-slide img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--gold-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all var(--transition);
  line-height: 1;
}

.carousel-arrow:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.carousel-arrow--left { left: 4px; }
.carousel-arrow--right { right: 4px; }

/* ===== TESTIMONIALS GRID ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(201, 162, 79, 0.08);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.testimonial-author {
  color: var(--gold);
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 0.9rem;
}

/* ===== CTA BUTTONS ===== */
.cta-section { text-align: center; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 32px;
  border: 2px solid var(--gold);
  border-radius: 32px;
  background: none;
  color: var(--gold);
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cta-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== FOOTER ===== */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-top: 1px solid rgba(201, 162, 79, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-toggle {
  height: var(--footer-peek);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Franklin Gothic', sans-serif;
  color: var(--gold);
  font-size: 1rem;
  user-select: none;
}

.footer-toggle__chevron {
  font-size: 1.4rem;
  transition: transform var(--transition);
  line-height: 1;
}

.site-footer.open .footer-toggle__chevron {
  transform: rotate(180deg);
}

.footer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer.open .footer-content {
  max-height: 80vh;
  overflow-y: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px;
}

.footer-form h2 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.contact-target {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin-top: 4px;
  font-style: italic;
}

.footer-email {
  display: inline-block;
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 16px;
  word-break: break-all;
}

.footer-address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light) !important;
  font-size: 0.95rem !important;
  margin-bottom: 12px !important;
}

.footer-address__icon {
  font-size: 1rem;
}

.footer-email:hover { color: var(--gold-hover); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-light);
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form button {
  padding: 12px 32px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 28px;
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
  align-self: flex-start;
}

.contact-form button:hover { background: var(--gold-hover); }

.footer-info h3 {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.footer-info p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-name {
  font-family: 'Franklin Gothic', sans-serif;
  color: var(--text) !important;
  font-size: 1rem !important;
}

.footer-phone {
  display: inline-block;
  font-family: 'Franklin Gothic', sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-phone:hover { color: var(--gold-hover); }

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

.social-icon {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding: 16px 24px;
  border-top: 1px solid rgba(201, 162, 79, 0.1);
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-sep {
  color: rgba(201, 162, 79, 0.3);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --header-h: 56px;
    --footer-peek: 44px;
  }

  .panel-nav { display: none; }
  .hamburger { display: flex; }

  .panel-hero h1 { font-size: 2rem; }
  .salon-name { font-size: 2.4rem; }

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

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

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

  .price-tabs { gap: 6px; }
  .price-tab { padding: 8px 14px; font-size: 0.8rem; }
  .price-table th, .price-table td { padding: 10px 12px; font-size: 0.85rem; }

  .nav-arrow { display: none; }

  .lightbox__prev, .lightbox__next { width: 44px; height: 44px; font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .panel-hero { padding: 60px 16px 32px; }
  .section { padding: 32px 16px; }
  .salon-name { font-size: 1.8rem; }
  .panel-hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .gallery-grid { gap: 8px; }
}

@media (min-width: 769px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
