/* ===================================================
   CALIFORNICATION — Beauty Autopilot Template
   Лето, жара, песок, Калифорния, секси
   =================================================== */

/* ----- Variables & Reset ----- */
:root {
  --sand: #f5e6d0;
  --sand-light: #faf3e8;
  --sand-dark: #e8d5b8;
  --sunset: #e07a5f;
  --sunset-light: #f4a261;
  --sunset-glow: rgba(224, 122, 95, 0.15);
  --gold: #e9c46a;
  --gold-light: #f4d98a;
  --terracotta: #c26b4e;
  --coral: #e8846a;
  --cream: #fffbf5;
  --warm-brown: #5c4033;
  --warm-dark: #2d2327;
  --text: #3d2c2a;
  --text-light: #8c7a72;
  --text-muted: #b8a69b;
  --border: #e8ddd0;
  --card-bg: #fffffffa;
  --shadow: rgba(93, 67, 55, 0.08);
  --shadow-strong: rgba(93, 67, 55, 0.15);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(244, 162, 97, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(233, 196, 106, 0.05) 0%, transparent 40%),
    var(--cream);
}

::selection { background: var(--sunset-light); color: var(--cream); }

a { color: var(--terracotta); text-decoration: none; transition: all 0.25s; }
a:hover { color: var(--sunset); }

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

/* ----- Header / Nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--warm-dark);
  letter-spacing: -0.5px;
}

.brand-city {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--sunset);
  background: rgba(224, 122, 95, 0.06);
}

.nav-links a.active {
  color: var(--cream);
  background: var(--sunset);
  box-shadow: 0 2px 12px var(--sunset-glow);
}

/* ----- Main container ----- */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* ----- Hero Section ----- */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '☀️';
  position: absolute;
  top: -1rem;
  right: 10%;
  font-size: 4rem;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--sunset);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--warm-dark);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--sunset), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Buttons ----- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--sunset);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s;
  box-shadow: 0 4px 16px var(--sunset-glow);
}

.button:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(224, 122, 95, 0.3);
  color: var(--cream);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s;
}

.ghost-button:hover {
  border-color: var(--sunset-light);
  color: var(--sunset);
  background: rgba(224, 122, 95, 0.04);
}

/* ----- Hero Meta / Advantages ----- */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin-top: 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
  box-shadow: 0 4px 20px var(--shadow);
}

.hero-meta > div {
  background: var(--card-bg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  text-align: center;
}

.hero-meta strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--sunset);
  font-weight: 700;
}

.hero-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ----- Section ----- */
.section {
  margin: 4rem 0;
}

.section-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--sunset);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--warm-dark);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

/* ----- Decorative divider ----- */
.wave-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  color: var(--sand-dark);
  font-size: 1.5rem;
  gap: 0.75rem;
}

.wave-divider::before,
.wave-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-dark), transparent);
}

/* ----- Services Grid ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--card-bg);
  transition: all 0.35s;
  position: relative;
  box-shadow: 0 2px 12px var(--shadow);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow-strong);
  border-color: var(--sunset-light);
}

.service-card .card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--warm-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.service-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-card .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sunset);
  font-weight: 700;
}

.service-card .duration {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.service-card .button {
  font-size: 0.8rem;
  padding: 0.6rem 1.5rem;
}

/* ----- Gallery ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--sand-light);
  transition: all 0.35s;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid var(--border);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-strong);
}

.gallery-item picture {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0;
}

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

.gallery-item figcaption {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  background: var(--card-bg);
}

/* ----- Team / Masters ----- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.master-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card-bg);
  transition: all 0.35s;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
}

.master-card:hover {
  border-color: var(--sunset-light);
  box-shadow: 0 8px 32px var(--shadow-strong);
  transform: translateY(-4px);
}

.master-card picture {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

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

.master-card:hover img {
  transform: scale(1.05);
}

.master-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--warm-dark);
  margin: 1.25rem 0 0.25rem;
}

.master-card .specialty {
  font-size: 0.85rem;
  color: var(--sunset);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.master-card .bio {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0 1.25rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.master-card .experience {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 1.25rem 1.5rem;
}

/* ----- Service Detail ----- */
.service-detail {
  max-width: 800px;
  margin: 0 auto;
}

.service-detail picture {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px var(--shadow-strong);
  border: 1px solid var(--border);
}

.service-detail h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--warm-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-detail .price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.service-detail .price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sunset);
  font-weight: 700;
}

.service-detail .duration {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-detail .description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ----- Contacts Page ----- */
.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contacts-content { grid-template-columns: 1fr; }
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacts-info dl {
  display: grid;
  gap: 1.25rem;
}

.contacts-info dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.contacts-info dd {
  font-size: 1.1rem;
  color: var(--warm-dark);
  margin-top: 0.25rem;
  font-weight: 500;
}

.contacts-info dd a {
  color: var(--sunset);
  font-weight: 600;
}

.qr-bot {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  background: var(--card-bg);
  box-shadow: 0 4px 20px var(--shadow);
}

.qr-bot img {
  border-radius: var(--radius-lg);
  margin: 0 auto 1.25rem;
}

.qr-bot figcaption {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ----- Footer ----- */
.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--sand-light);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner .brand-name {
  color: var(--sunset);
  font-weight: 600;
}

.footer-inner .footer-emoji {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 0.75rem 0; gap: 0.5rem; }
  .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; }
  .nav-links a { padding: 0.4rem 1rem; font-size: 0.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-subtitle { font-size: 1.75rem; }
  .hero::after { font-size: 2.5rem; right: 5%; }
}

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