/* ===== Variables ===== */
:root {
  --bg: #080808;
  --bg2: #0f0d0a;
  --bg3: #141008;
  --gold: #c9a84c;
  --gold-light: #e8c870;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --ivory: #f5f0e8;
  --text: #c8c2b8;
  --text-muted: #6a655f;
  --border: rgba(201, 168, 76, 0.12);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --max-w: 1160px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); font-weight: 300; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ===== Utility ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5%; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201, 168, 76, 0.35); }
.btn-ghost {
  display: inline-block;
  color: var(--ivory);
  border: 1px solid rgba(245, 240, 232, 0.25);
  font-weight: 400;
  font-size: 1.15rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; text-align: center; }

/* ===== NAV ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 5%;
  transition: background var(--transition), padding var(--transition);
}
#nav.scrolled { background: rgba(8, 8, 8, 0.92); backdrop-filter: blur(12px); padding: 0.8rem 5%; border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--ivory); letter-spacing: 0.02em; }
.nav-logo span { color: var(--gold); }
.nav-links { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); transition: color var(--transition); }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--bg) !important; padding: 0.5rem 1.4rem; border-radius: var(--radius); font-weight: 500; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle { display: none; font-size: 1.4rem; color: var(--ivory); }

/* ===== HERO ===== */
#hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; }
#piano-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0.82) 45%, rgba(8,8,8,0.25) 75%, transparent 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 10; padding: 0 5%; max-width: 600px; }
.hero-eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.hero-content h1 { font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; color: var(--ivory); line-height: 1.1; margin-bottom: 1.4rem; }
.hero-content h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: var(--text); max-width: 420px; margin-bottom: 2.4rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }

.hero-phone-right {
  position: absolute;
  left: 62%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  transition: opacity var(--transition);
}
.hero-phone-right:hover { opacity: 0.85; }
.hero-phone-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-phone-num {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.6), 0 2px 20px rgba(0,0,0,0.9);
}
.hero-phone-right::before {
  content: '';
  position: absolute;
  inset: -1.2rem -2rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  z-index: -1;
}
.hero-scroll-hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 10; }
.hero-scroll-hint span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ===== SECTION SHARED ===== */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.section-header h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--ivory); margin-bottom: 1rem; }
.section-sub { color: var(--text); max-width: 560px; margin: 0 auto; line-height: 1.8; }
.section-sub a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ===== SERVICES ===== */
#services { background: var(--bg2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.2rem 1.8rem;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.service-card:hover { border-color: rgba(201, 168, 76, 0.4); transform: translateY(-4px); background: rgba(201, 168, 76, 0.04); }
.service-num { font-size: 0.7rem; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 1.2rem; font-weight: 500; }
.service-card h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ivory); margin-bottom: 0.7rem; }
.service-card p { font-size: 0.9rem; line-height: 1.75; color: var(--text); }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--bg3); overflow: hidden; }
#testimonials .section-header { margin-bottom: 3rem; }

.reviews-carousel {
  position: relative;
  overflow: hidden;
}
.reviews-carousel::before,
.reviews-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.reviews-carousel::before { left: 0; background: linear-gradient(to right, var(--bg3) 10%, transparent 100%); }
.reviews-carousel::after  { right: 0; background: linear-gradient(to left,  var(--bg3) 10%, transparent 100%); }

.reviews-track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: reviewsScroll 32s linear infinite;
  padding: 0.5rem 0 1.5rem;
}
.reviews-track:hover { animation-play-state: paused; }

@keyframes reviewsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 340px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color var(--transition);
}
.testimonial-card:hover { border-color: rgba(201, 168, 76, 0.35); }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 0.08em; margin-bottom: 1rem; }
.testimonial-card p { font-size: 0.93rem; line-height: 1.8; color: var(--text); font-style: italic; margin-bottom: 1.4rem; }
.testimonial-author { display: flex; flex-direction: column; gap: 0.2rem; }
.testimonial-author strong { color: var(--ivory); font-size: 0.9rem; font-style: normal; }
.testimonial-author span { color: var(--text-muted); font-size: 0.8rem; font-style: normal; }

/* ===== ABOUT ===== */
#about { background: var(--bg2); }
.about-inner { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 720px; margin: 0 auto; }
.about-img-frame { position: relative; }
.about-img-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, transparent 60%);
  z-index: 0;
  opacity: 0.4;
}
.about-img-placeholder {
  position: relative; z-index: 1;
  background: var(--bg3);
  border-radius: 12px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border: 1px solid var(--border);
}
.about-text .section-eyebrow { text-align: left; }
.about-text h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--ivory); margin-bottom: 1.4rem; }
.about-text p { margin-bottom: 1.1rem; font-size: 0.97rem; line-height: 1.85; }
.about-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.detail-item { display: flex; flex-direction: column; gap: 0.2rem; }
.detail-item strong { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.detail-item span, .detail-item a { font-size: 0.95rem; color: var(--text); }
.detail-item a:hover { color: var(--gold); }

/* ===== CONTACT ===== */
#contact { background: var(--bg3); }
.contact-form { max-width: 680px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--ivory);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}
.form-group select { cursor: pointer; }
.form-group select option { background: #1a1410; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success { display: none; text-align: center; padding: 1.5rem; color: var(--gold); font-family: var(--font-serif); font-size: 1.2rem; }

/* ===== FAQ ===== */
#faq { background: var(--bg2); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ivory);
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.faq-item p { font-size: 0.93rem; line-height: 1.8; color: var(--text); }
.faq-item p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ===== CTA CARDS ===== */
.cta-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.cta-card {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem 2rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  text-decoration: none;
}
.cta-card:hover { border-color: var(--gold); transform: translateY(-3px); background: rgba(201,168,76,0.05); }
.cta-icon { font-size: 2rem; flex-shrink: 0; }
.cta-card-text { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.cta-card-text strong { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ivory); }
.cta-card-text span { font-size: 0.9rem; color: var(--text-muted); }
.cta-arrow { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; transition: transform var(--transition); }
.cta-card:hover .cta-arrow { transform: translateX(4px); }
.cta-call .cta-card-text span { color: var(--gold); font-size: 1rem; font-weight: 500; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .cta-cards { grid-template-columns: 1fr; }
  .cta-card { padding: 1.6rem 1.4rem; }
}

/* ===== FOOTER ===== */
footer { background: #040404; border-top: 1px solid var(--border); padding: 3.5rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand .nav-logo { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ivory); margin-bottom: 0.6rem; display: block; }
.footer-brand p:last-child { font-size: 0.85rem; color: var(--text-muted); }
.footer-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }
.footer-info a { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.2rem; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ===== REVEAL ANIMATION ===== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* Mobile phone — hidden on desktop, visible on mobile */
.hero-phone-mobile { display: none; }

/* ===== TABLET ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-frame { max-width: 380px; }
  .testimonial-card { flex: 0 0 300px; }
  .hero-phone-right { left: 68%; }
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  /* Nav */
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    padding: 1.5rem 6%; gap: 1.4rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  #nav { padding: 1rem 5%; }

  /* Hero */
  #hero { min-height: 100svh; align-items: flex-end; padding-bottom: 5rem; }
  .hero-overlay { background: linear-gradient(to top, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0.82) 50%, rgba(8,8,8,0.4) 100%); }
  .hero-content { max-width: 100%; padding: 0 6%; text-align: center; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 0.95rem; max-width: 100%; }
  .hero-eyebrow { display: none; }
  .hero-actions { flex-direction: column; align-items: center; gap: 0.9rem; }
  .btn-primary { width: 100%; font-size: 1rem; padding: 1rem; }
  .hero-phone-right { display: none; }
  .hero-phone-mobile {
    display: block;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.04em;
  }
  .hero-scroll-hint { display: none; }

  /* Sections */
  section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.8rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 1.6rem 1.4rem; }

  /* Reviews */
  .testimonial-card { flex: 0 0 260px; padding: 1.5rem; }

  /* About */
  .about-img-placeholder { height: 200px; font-size: 1rem; }
  .about-inner { gap: 2rem; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .form-group input, .form-group select, .form-group textarea {
    font-size: 1rem; /* prevents iOS zoom on focus */
    padding: 0.9rem 1rem;
  }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 1.2rem; }
  footer { padding: 2.5rem 0 1.2rem; }
}
