/* ===== SUMCOCO SALON — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Palette — 3 tones */
  --black: #0a0a0a;
  --ivory: #f7f3ee;
  --gold: #c8a87c;

  /* Functional tokens */
  --bg: var(--black);
  --bg-alt: var(--ivory);
  --text: var(--ivory);
  --text-alt: var(--black);
  --accent: var(--gold);
  --muted: rgba(247, 243, 238, 0.55);
  --muted-alt: rgba(10, 10, 10, 0.5);
  --rule: rgba(247, 243, 238, 0.12);
  --rule-alt: rgba(10, 10, 10, 0.08);

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

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

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -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: 2px solid var(--accent); outline-offset: 3px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 168, 124, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.hero-name .accent-line {
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--accent);
  margin: var(--space-md) 0 var(--space-lg);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 40ch;
  line-height: 1.5;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--accent);
  color: var(--black);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #dbbd94;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--text);
  font-family: var(--body);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-phone {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 0.2s;
}

.hero-phone:hover {
  color: var(--accent);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--space-2xl) var(--space-lg);
}

.section-alt {
  background: var(--bg-alt);
  color: var(--text-alt);
}

.section-alt .muted {
  color: var(--muted-alt);
}

.section-alt .rule {
  border-color: var(--rule-alt);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.section-alt .section-title {
  color: var(--text-alt);
}

/* ===== PHOTO STRIP ===== */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.photo-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.photo-strip img:first-child {
  grid-column: 1 / -1;
  height: 380px;
}

@media (min-width: 768px) {
  .photo-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .photo-strip img:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    height: 560px;
  }
  .photo-strip img:nth-child(2),
  .photo-strip img:nth-child(3) {
    height: 278px;
  }
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-grid .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    justify-self: center;
  }
}

.review-card {
  background: rgba(10, 10, 10, 0.03);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.section-alt .review-card {
  background: rgba(10, 10, 10, 0.03);
}

.review-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.section-alt .review-author {
  color: var(--muted-alt);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--rule);
}

.section-alt .service-card {
  border-color: var(--rule-alt);
}

.service-name {
  font-weight: 500;
  font-size: 1rem;
}

.service-price {
  font-family: var(--display);
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
  margin-left: var(--space-md);
}

/* ===== HOURS + CONTACT ===== */
.hours-contact-grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .hours-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
}

.section-alt .hours-table td {
  border-color: var(--rule-alt);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--muted);
}

.section-alt .hours-table td:last-child {
  color: var(--muted-alt);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.day-closed {
  color: var(--accent) !important;
  font-weight: 500;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: rgba(10, 10, 10, 0.03);
  color: var(--text-alt);
  transition: border-color 0.2s;
}

.section-alt .contact-form input,
.section-alt .contact-form textarea {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--rule-alt);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  align-self: flex-start;
}

.form-status {
  font-size: 0.9rem;
  margin-top: var(--space-sm);
}

/* ===== LOCATION CARD ===== */
.location-card {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(10, 10, 10, 0.03);
  border-radius: var(--radius-md);
  text-align: center;
}

.section-alt .location-card {
  background: rgba(10, 10, 10, 0.03);
}

.location-address {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.location-address a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-phone {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
}

/* ===== FOOTER ===== */
.site-footer {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
}

.site-footer .attribution {
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  opacity: 0.6;
}

.site-footer .attribution a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

.section {
  animation: fadeUp 0.6s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .hero {
    padding: var(--space-2xl) var(--space-xl);
  }
  .section {
    padding: var(--space-2xl) var(--space-xl);
  }
  .site-footer {
    padding: var(--space-xl) var(--space-xl);
  }
}

@media (min-width: 1200px) {
  .hero {
    padding: var(--space-2xl) 6rem;
  }
  .section {
    padding: var(--space-2xl) 6rem;
  }
}
