/* ==== UltraNails — CSS ==== */

:root {
  --primary: #C2185B;
  --primary-light: #E91E63;
  --primary-dark: #8B1A4A;
  --accent: #C5A572;
  --accent-light: #D4B88C;
  --bg: #FDF8F5;
  --bg-card: #FFFFFF;
  --text: #2D1F18;
  --text-muted: #6B5D55;
  --text-light: #9A8A80;
  --border: #F0E4D8;
  --border-light: #F8F0E8;
  --success: #4CAF50;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 16px rgba(44, 20, 10, 0.06);
  --shadow-lg: 0 8px 32px rgba(44, 20, 10, 0.10);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}

.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(194, 24, 91, 0.30);
}
.btn-primary:hover {
  background: var(--primary-dark); color: #fff;
  box-shadow: 0 6px 20px rgba(194, 24, 91, 0.40);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(197, 165, 114, 0.30);
}
.btn-accent:hover {
  background: #B8955E; color: #fff;
  box-shadow: 0 6px 20px rgba(197, 165, 114, 0.40);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px;
}

.logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--primary); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff;
}

.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a {
  color: var(--text-muted); font-size: 0.92rem; font-weight: 500;
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--primary); }

.header-phone {
  font-weight: 700; color: var(--text); font-size: 0.95rem;
  white-space: nowrap; display: flex; align-items: center; gap: 6px;
}

.header-actions { display: flex; gap: 10px; align-items: center; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 50px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}

.hero-content { max-width: 520px; }
.hero-badge {
  display: inline-block; background: var(--border-light);
  color: var(--primary); font-size: 0.85rem; font-weight: 600;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.hero-content h1 { margin-bottom: 14px; color: var(--text); }
.hero-content .hero-subhead { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; line-height: 1.6; }

.hero-features { display: flex; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: var(--text-muted); font-weight: 500;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo {
  width: 100%; max-width: 460px;
  aspect-ratio: 3/4; object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #FDF0F5, #FDF8F0);
}
.hero-visual::after {
  content: ''; position: absolute;
  width: 100%; max-width: 460px; aspect-ratio: 3/4;
  border-radius: 24px;
  border: 2px solid var(--accent);
  top: 16px; left: 16px; z-index: -1;
}

/* ===== SECTION ===== */
.section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-label {
  display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 8px;
}
.section-header h2 { margin-bottom: 8px; }
.section-header .section-subhead { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 0.98rem; }

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

.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
}
.service-card.featured { border-color: var(--accent); }

.service-card .svc-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: #fff;
}

.service-card h3 { margin-bottom: 6px; font-size: 1.08rem; }
.service-card .svc-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; line-height: 1.55; }

.svc-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.svc-price { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.svc-old-price { font-size: 0.95rem; color: var(--text-light); text-decoration: line-through; }
.svc-duration {
  font-size: 0.85rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}

.price-from { font-size: 0.78rem; font-weight: 500; color: var(--text-light); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}

.about-visual { position: relative; }
.about-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 24px; background: linear-gradient(135deg, #FDF0F5, #FDF8F0);
  box-shadow: var(--shadow-lg);
}
.about-visual::after {
  content: ''; position: absolute; width: 100%; height: 100%;
  border-radius: 24px;
  border: 2px solid var(--accent);
  top: 12px; left: -12px; z-index: -1;
}

.about-content h2 { margin-bottom: 16px; }
.about-content p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }

.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.highlight-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px;
}
.highlight-card svg { color: var(--accent); margin-bottom: 8px; }
.highlight-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.highlight-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; aspect-ratio: 1;
  background: linear-gradient(135deg, #FDF0F5, #FDF8F0);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(194, 24, 91, 0.08);
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: var(--text-light); }
.review-stars { color: #E8A838; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 8px; }
.review-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.reviews-link { text-align: center; margin-top: 28px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 24px; padding: 48px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; color: #fff; margin-top: 16px;
}
.cta-band h2 { margin-bottom: 6px; font-size: 1.6rem; }
.cta-band p { opacity: 0.88; font-size: 0.98rem; }
.cta-band .btn { flex-shrink: 0; }

/* ===== CONTACTS ===== */
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: start;
}

.contact-map-placeholder {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, #F0E8DD, #E8DCD0);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-weight: 500;
  border: 1px solid var(--border);
}

.contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.contact-card h3 { margin-bottom: 18px; }

.contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 16px;
}
.contact-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--border-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-item .ci-title { font-weight: 600; font-size: 0.88rem; }
.contact-item .ci-value { color: var(--text-muted); font-size: 0.95rem; }

.contact-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 32px 0 24px; margin-top: 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
  margin-bottom: 24px;
}
.footer-brand .logo { margin-bottom: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }

.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav h4 { font-size: 0.88rem; margin-bottom: 4px; color: var(--text); }
.footer-nav a { font-size: 0.88rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 16px; display: flex; justify-content: space-between;
  font-size: 0.82rem; color: var(--text-light); flex-wrap: wrap; gap: 8px;
}

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 760px; padding: 40px 0 60px; }
.legal-content h1 { margin-bottom: 20px; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
.legal-content h2 { margin: 28px 0 12px; font-size: 1.2rem; }

/* ===== MODAL / LIGHTBOX ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.82);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-overlay img {
  max-width: 90vw; max-height: 85vh; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.modal-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: #fff;
  font-size: 2rem; cursor: pointer; opacity: 0.7; line-height: 1;
}
.modal-close:hover { opacity: 1; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-content { max-width: 100%; }
  .hero-features { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-photo { max-width: 360px; margin: 0 auto; }
  .hero-visual::after { left: 50%; transform: translateX(-50%); top: 12px; max-width: 360px; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-visual::after { display: none; }
  .about-photo { max-width: 400px; margin: 0 auto; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 32px 24px; }

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

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

@media (max-width: 640px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    padding: 16px 20px; gap: 12px; box-shadow: var(--shadow);
  }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-features { flex-direction: column; align-items: center; }
  .about-highlights { grid-template-columns: 1fr; }

  .cta-band h2 { font-size: 1.3rem; }

  .section { padding: 40px 0; }
  .hero { padding: 32px 0 28px; }

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

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; width: 100%; }
}
