/* ============================================
   SUMCOCO SALON — brand identity
   Palette: #0a0a0a (near-black) / #f7f3ee (warm ivory) / #c73e3a (brick red accent)
   Type: Playfair Display (display) + Inter (body)
   ============================================ */

:root {
  --black: #0a0a0a;
  --ivory: #f7f3ee;
  --red: #c73e3a;
  --red-hover: #a8322e;
  --gray-800: #2a2826;
  --gray-600: #6b6560;
  --gray-400: #b5ada6;
  --gray-200: #e0d9d2;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 96px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
  padding: var(--space-lg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(199,62,58,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.02em;
}
.hero-rule {
  width: 60px;
  height: 3px;
  background: var(--red);
  border: none;
  margin: var(--space-lg) auto;
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray-400);
  font-weight: 400;
  margin: 0 0 var(--space-xl);
  letter-spacing: 0.02em;
}
.cta-button {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta-button:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}
.cta-button:active {
  transform: translateY(0);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg) var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.85rem;
  color: var(--gray-400);
  letter-spacing: 0.03em;
}
.trust-bar span strong {
  color: var(--red);
  margin-right: 4px;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--space-2xl) var(--space-lg);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 var(--space-xl);
  letter-spacing: -0.01em;
}

/* ===== REVIEWS ===== */
.reviews-section {
  background: var(--white);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.review-card {
  background: var(--ivory);
  border-radius: 4px;
  padding: var(--space-lg);
  border-left: 3px solid var(--red);
}
.review-stars {
  color: #e8a838;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}
.review-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray-800);
  margin: 0 0 var(--space-sm);
  font-style: italic;
}
.review-author {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
  margin: 0;
}

/* ===== SERVICES ===== */
.services-section {
  background: var(--ivory);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.service-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: 4px;
  transition: box-shadow 0.2s ease;
}
.service-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.service-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 var(--space-sm);
  color: var(--black);
}
.service-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.55;
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--black);
}
.gallery-section .section-label {
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 2px;
  transition: opacity 0.3s ease;
}
.gallery-img:hover {
  opacity: 0.85;
}

/* ===== HOURS ===== */
.hours-section {
  background: var(--white);
}
.hours-table {
  max-width: 480px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}
.hours-row:first-child {
  padding-top: 0;
}
.hours-day {
  font-weight: 500;
  color: var(--gray-800);
}
.hours-time {
  color: var(--gray-600);
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--ivory);
}
.contact-intro {
  font-size: 1rem;
  color: var(--gray-600);
  margin: 0 0 var(--space-lg);
  max-width: 600px;
}
.contact-phone-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-phone-link:hover {
  color: var(--red-hover);
}
.contact-form {
  max-width: 520px;
}
.form-row {
  margin-bottom: var(--space-md);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--gray-400);
  border-radius: 4px;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(199,62,58,0.15);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--gray-400);
}
.cta-button--form {
  width: 100%;
  font-size: 1rem;
  padding: 16px 32px;
}
.form-status {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--gray-600);
  text-align: center;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  color: var(--gray-400);
  padding: var(--space-xl) var(--space-lg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
}
@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  margin: 0 0 var(--space-xs);
}
.footer-address,
.footer-phone {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.6;
}
.footer-phone a {
  color: var(--gray-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-phone a:hover {
  color: var(--white);
}
.attribution {
  font-size: 0.75rem;
  opacity: 0.6;
  margin: 0;
}
.attribution a {
  color: var(--gray-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.attribution a:hover {
  color: var(--white);
}

/* ===== MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== ENTRANCE ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content {
  animation: fadeUp 0.8s ease-out both;
}
.review-card:nth-child(1) { animation: fadeUp 0.6s ease-out 0.1s both; }
.review-card:nth-child(2) { animation: fadeUp 0.6s ease-out 0.2s both; }
.review-card:nth-child(3) { animation: fadeUp 0.6s ease-out 0.3s both; }
