/* ========================================
   NAILS GLAM BY MARIA – Professional CSS
   Minimal · Elegant · Refined
   ======================================== */

:root {
  --cream: #F8F6F4;
  --beige: #EDE8E2;
  --warm-white: #FEFDFB;
  --soft-grey: #C5BFB8;
  --charcoal: #242220;
  --text: #1A1816;
  --muted: #6B6460;
  --accent: #B8956A;
  --accent-light: #D4C4A8;
  --border: rgba(36, 34, 32, 0.09);
  --shadow: 0 4px 24px rgba(36, 34, 32, 0.07);
  --shadow-lg: 0 12px 48px rgba(36, 34, 32, 0.1);
  --r: 2px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }

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

/* TYPOGRAPHY */
h1, h2, h3 { font-family: 'Crimson Pro', serif; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(40px, 5.5vw, 68px); font-weight: 300; }
h2 { font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
p { font-size: 15px; line-height: 1.75; color: var(--muted); }
h1 em, h2 em { font-style: italic; color: var(--accent); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* BUTTONS */
.btn-primary, .btn-outline, .btn-nav {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 149, 106, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(36, 34, 32, 0.22);
}
.btn-outline:hover {
  background: var(--warm-white);
  border-color: var(--accent);
  color: var(--accent);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248, 246, 244, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(36,34,32,0.07); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; gap: 16px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--text); transition: opacity 0.2s; }
.logo:hover { opacity: 0.75; }
.logo-img-wrap { width: 44px; height: 44px; flex-shrink: 0; }
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.logo-fallback {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent);
  color: #fff; font-weight: 700; font-size: 14px;
  align-items: center; justify-content: center;
  letter-spacing: 1px;
}
.logo-text { font-family: 'Crimson Pro', serif; font-size: 17px; font-weight: 500; color: var(--text); }
.logo-text em { font-style: italic; color: var(--accent); }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  background: none; border: 1px solid var(--border);
  cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  transition: border-color 0.2s;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }
.nav-toggle:hover { border-color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 2px; transition: color 0.2s; position: relative; }
.nav-menu a:not(.btn-nav)::after { content: ''; position: absolute; bottom: 3px; left: 12px; right: 12px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform 0.25s var(--ease); }
.nav-menu a:not(.btn-nav):hover { color: var(--text); }
.nav-menu a:not(.btn-nav):hover::after { transform: scaleX(1); }
.btn-nav { background: var(--charcoal); color: #fff !important; border: 1.5px solid var(--charcoal); padding: 9px 20px; margin-left: 8px; }
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--accent) !important; border-color: var(--accent) !important; transform: translateY(-1px); }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('https://images.unsplash.com/photo-1604654894610-df63bc536371?q=90&w=2400&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(248, 246, 244, 0.78) 0%,
    rgba(248, 246, 244, 0.60) 55%,
    rgba(248, 246, 244, 0.30) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 130px 28px 80px;
  max-width: 680px;
}

.hero-label {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.9s var(--ease) both;
}

.hero h1 { color: var(--charcoal); margin-bottom: 22px; animation: fadeUp 0.9s var(--ease) 0.15s both; }
.hero-desc { font-size: 17px; line-height: 1.8; margin-bottom: 36px; max-width: 500px; animation: fadeUp 0.9s var(--ease) 0.3s both; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.9s var(--ease) 0.45s both; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--accent), transparent); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
  background: var(--charcoal);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 12px; color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.trust-item strong { display: block; color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.trust-item p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ========================================
   SECTIONS
   ======================================== */
.section { padding: 96px 0; }
.section-alt { background: var(--beige); }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-header h2 { color: var(--charcoal); }
.section-header p { font-size: 16px; margin-top: 14px; }

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--charcoal); color: #fff;
  padding: 16px 20px; max-width: 200px;
  box-shadow: var(--shadow-lg);
}
.about-badge-num { display: block; color: var(--accent); font-size: 18px; letter-spacing: 2px; margin-bottom: 6px; }
.about-badge-txt { font-size: 12px; line-height: 1.4; color: rgba(255,255,255,0.7); }

.about-text h2 { color: var(--charcoal); margin-bottom: 20px; }
.about-text p { margin-bottom: 18px; }

.about-values { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.value-tag {
  padding: 7px 16px;
  border: 1px solid var(--border);
  background: var(--warm-white);
  font-size: 13px; font-weight: 500; color: var(--text);
}

/* ========================================
   SERVICES
   ======================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 32px 28px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  opacity: 0; transform: translateY(30px);
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-light); }
.service-num { font-family: 'Crimson Pro', serif; font-size: 13px; color: var(--accent); letter-spacing: 1px; margin-bottom: 14px; }
.service-card h3 { color: var(--charcoal); }
.service-card p { font-size: 14px; line-height: 1.7; margin-top: 10px; }
.service-from { margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative; overflow: hidden;
  background: var(--beige);
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  opacity: 0; transform: translateY(20px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery-item.visible { opacity: 1; transform: translateY(0); }
.gallery-item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item--wide { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.55s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover { box-shadow: var(--shadow-lg); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(36, 34, 32, 0);
  display: flex; align-items: flex-end; padding: 20px;
  transition: background 0.3s var(--ease);
}
.gallery-overlay span {
  color: #fff; font-size: 13px; font-weight: 600;
  opacity: 0; transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.gallery-item:hover .gallery-overlay { background: rgba(36, 34, 32, 0.45); }
.gallery-item:hover .gallery-overlay span { opacity: 1; transform: translateY(0); }

.gallery-instagram {
  text-align: center; margin-top: 36px;
  font-size: 15px; color: var(--muted);
}
.gallery-instagram a { color: var(--accent); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.gallery-instagram a:hover { border-color: var(--accent); }

/* ========================================
   PRICING
   ======================================== */
.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.price-group {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 32px 28px;
}
.price-group-title {
  font-family: 'Archivo', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.price-table { display: flex; flex-direction: column; gap: 0; }
.price-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-row > div { display: flex; flex-direction: column; gap: 3px; }
.price-name { font-size: 14px; font-weight: 500; color: var(--text); }
.price-time { font-size: 12px; color: var(--muted); }
.price-val { font-family: 'Crimson Pro', serif; font-size: 20px; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.price-extra .price-name { color: var(--muted); font-weight: 400; }
.price-extra .price-val { color: var(--muted); font-size: 16px; }

.price-cta-card {
  grid-column: 1 / -1;
  background: var(--charcoal);
  padding: 40px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.price-cta-text h3 { font-family: 'Crimson Pro', serif; font-size: 26px; color: #fff; margin-bottom: 8px; }
.price-cta-text p { color: rgba(255,255,255,0.6); font-size: 15px; }
.price-cta-btns { display: flex; gap: 12px; flex-shrink: 0; }
.price-cta-card .btn-primary { background: var(--accent); border-color: var(--accent); }
.price-cta-card .btn-primary:hover { background: #a07d56; border-color: #a07d56; }
.price-cta-card .btn-outline { border-color: rgba(255,255,255,0.25); color: #fff; }
.price-cta-card .btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }

/* ========================================
   REVIEWS
   ======================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  opacity: 0; transform: translateY(24px);
}
.review-card.visible { opacity: 1; transform: translateY(0); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.review-card p { font-size: 15px; line-height: 1.75; font-style: italic; color: var(--text); margin-bottom: 16px; }
.review-card footer { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contact-info-col h2 { color: var(--charcoal); margin-bottom: 20px; }
.contact-info-col > p { margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-row strong { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-link { font-size: 15px; color: var(--text); transition: color 0.2s; }
.contact-link:hover { color: var(--accent); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.map-placeholder {
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.map-placeholder iframe {
  flex: 1;
  min-height: 360px;
  filter: grayscale(15%) contrast(1.05);
}
.map-cta {
  padding: 16px 20px;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1.5fr 1fr;
  gap: 48px; margin-bottom: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo-wrap { width: 52px; height: 52px; flex-shrink: 0; }
.footer-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; opacity: 0.9; }
.footer-logo-fallback {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent);
  color: #fff; font-weight: 700; font-size: 16px;
  align-items: center; justify-content: center;
}
.footer-name { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.footer-tagline { font-size: 13px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.footer-nav a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-social-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  transition: all 0.2s var(--ease);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-bottom p { font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }
.back-to-top { font-size: 13px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-item { border-right: none; }
  .about-grid { gap: 48px; }
  .pricing-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(248, 246, 244, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-top: none; padding: 16px;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; }
  .btn-nav { margin-left: 0; margin-top: 8px; justify-content: center; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--tall { grid-row: auto; }
  .gallery-item--wide { grid-column: auto; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .price-cta-card { flex-direction: column; text-align: center; padding: 32px 28px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero-content { padding: 110px 20px 60px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-cta { flex-direction: column; }
  .hero-cta a { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-actions { flex-direction: column; }
  .contact-actions a { width: 100%; justify-content: center; }
}
