/* ===== Design tokens ===== */
:root {
  --cream: #F7F3E9;
  --cream-deep: #EEE7D6;
  --olive: #4B5136;
  --olive-deep: #383D28;
  --olive-soft: #8B9174;
  --ink: #1C1B17;
  --white: #FFFFFF;

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1180px;
  --pad: clamp(24px, 5vw, 64px);
  --section-pad: clamp(72px, 11vw, 148px);

  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Reveal-on-scroll ===== */
.reveal, .hero-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view, .hero-reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--olive);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--olive-deep);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28,27,23,0.25);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-small { padding: 10px 20px; font-size: 0.85rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,243,233,0);
  border-bottom: 1px solid rgba(28,27,23,0);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(247,243,233,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28,27,23,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  font-style: italic;
}
.main-nav {
  display: flex;
  gap: 36px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(28,27,23,0.2);
  border-radius: 100px;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  color: var(--ink);
  transition: border-color .3s var(--ease);
}
.lang-toggle:hover { border-color: var(--ink); }
.lang-code-current { color: var(--ink); }
.lang-code-other { color: rgba(28,27,23,0.35); }
.lang-sep { color: rgba(28,27,23,0.25); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: calc(84px + clamp(56px, 12vw, 140px)) 0 clamp(72px, 10vw, 120px);
}
.hero-inner {
  max-width: 880px;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 28px;
  max-width: 15ch;
}
.hero-title em, .hero-title i { font-style: italic; color: var(--olive); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(28,27,23,0.72);
  max-width: 56ch;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-proof {
  font-size: 0.85rem;
  color: rgba(28,27,23,0.55);
  letter-spacing: 0.01em;
}

/* ===== Sections ===== */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--cream-deep); }

.section-head { max-width: 700px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 14px; }
.section-sub {
  margin-top: 18px;
  font-size: 1.08rem;
  color: rgba(28,27,23,0.65);
}

/* ===== Portfolio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.portfolio-card h3 {
  font-size: 1.3rem;
  margin-top: 24px;
}
.portfolio-tag {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--olive);
  margin-top: 6px;
}
.portfolio-desc {
  margin-top: 10px;
  color: rgba(28,27,23,0.65);
  font-size: 0.98rem;
}

.mock {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(28,27,23,0.08);
  box-shadow: 0 20px 50px -25px rgba(28,27,23,0.35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.portfolio-card:hover .mock {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(28,27,23,0.45);
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.08);
}
.mock-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.mock-body {
  aspect-ratio: 4/3;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.mock-line { border-radius: 4px; background: rgba(255,255,255,0.55); }
.mock-line-lg { height: 16px; width: 78%; }
.mock-line-sm { height: 10px; width: 52%; opacity: 0.7; }
.mock-btn {
  margin-top: 10px;
  width: 120px; height: 34px;
  border-radius: 100px;
  background: rgba(255,255,255,0.9);
}

.mock-salon { background: linear-gradient(150deg,#2b2320,#4a352f); }
.mock-salon .mock-bar { background: rgba(0,0,0,0.18); }
.mock-lock { background: linear-gradient(150deg,#232a2f,#3a4750); }
.mock-clinic { background: linear-gradient(150deg,#7c8a6f,#a6b295); }
.mock-clinic .mock-line, .mock-clinic .mock-btn { background: rgba(28,27,23,0.55); }
.mock-clinic .mock-line-sm { opacity: 0.6; }
.mock-restaurant { background: linear-gradient(150deg,#2e1f18,#54372a); }

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.process-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--olive-soft);
  display: block;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.process-step p { color: rgba(28,27,23,0.65); font-size: 0.98rem; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid rgba(28,27,23,0.08);
  border-radius: 20px;
  padding: 44px;
  display: flex;
  flex-direction: column;
}
.price-card-main {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}
.price-card-main .price-desc,
.price-card-main .price-list li { color: rgba(247,243,233,0.78); }
.price-card-main .price-list li::before { background: var(--cream); }
.price-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-top: 14px;
}
.price-amount span { font-family: var(--font-body); font-size: 1rem; font-weight: 500; opacity: 0.7; }
.price-desc { margin-top: 12px; color: rgba(28,27,23,0.65); }
.price-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.96rem;
  color: rgba(28,27,23,0.75);
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 1.5px;
  background: var(--olive);
}
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card-main .btn-primary { background: var(--cream); color: var(--olive-deep); }
.price-card-main .btn-primary:hover { background: var(--white); }
.price-note {
  font-size: 0.85rem;
  color: rgba(28,27,23,0.5);
  margin-top: auto;
  padding-top: 20px;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(28,27,23,0.06);
}
.testimonial-card blockquote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
}
.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--olive-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card figcaption > span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}
.testimonial-card figcaption em {
  font-style: normal;
  color: rgba(28,27,23,0.55);
  font-size: 0.85rem;
}

/* ===== Contact ===== */
.contact-wrap { max-width: 720px; }
.contact-head { margin-bottom: 48px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(28,27,23,0.7);
}
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(28,27,23,0.18);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
  transition: border-color .3s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--olive);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.contact-form .btn { align-self: flex-start; margin-top: 8px; }
.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.ok { color: var(--olive-deep); }
.form-status.err { color: #a13a2f; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: rgba(247,243,233,0.7);
  padding: 56px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
}
.footer-tag {
  margin-top: 8px;
  font-size: 0.88rem;
  max-width: 34ch;
}
.footer-copy { font-size: 0.85rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 84px; left: 0; right: 0;
    background: var(--cream);
    padding: 28px var(--pad) 36px;
    gap: 22px;
    border-bottom: 1px solid rgba(28,27,23,0.1);
  }
  .main-nav.open a { font-size: 1.05rem; }
}

@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .header-inner { height: 72px; }
  .hero { padding-top: calc(72px + 56px); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
