/* ---------- Theme ---------- */
:root {
  --plum: #4a2736;
  --plum-dark: #2f1823;
  --clay: #b87967;
  --cream: #f6efe8;
  --paper: #fffaf6;
  --rose: #ead9d2;
  --ink: #2d2225;
  --muted: #796d70;
  --line: rgba(74, 39, 54, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Vazirmatn", sans-serif;
  line-height: 1.9;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.45;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.section {
  padding: 120px 7vw;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow.light {
  color: #efc7bb;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.button-primary {
  background: var(--plum);
  color: var(--white);
}

.button-primary:hover {
  background: var(--plum-dark);
  transform: translateY(-2px);
}

.button-link {
  padding-inline: 0;
  border-bottom: 1px solid var(--plum);
  border-radius: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px 7vw;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}

.logo-sub {
  margin-top: 8px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--plum);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  min-height: 100vh;
  padding: 145px 7vw 85px;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 7vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246,239,232,0.98), rgba(246,239,232,0.92)),
    radial-gradient(circle at 80% 15%, rgba(184,121,103,0.25), transparent 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 7vw, 7.3rem);
  font-weight: 500;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: var(--plum);
}

.hero-content > p {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-meta {
  display: grid;
  margin-top: 55px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-meta div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-meta strong,
.hero-meta span {
  display: block;
}

.hero-meta strong {
  margin-bottom: 5px;
  font-size: 0.86rem;
}

.hero-meta span {
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.hero-frame {
  position: absolute;
  overflow: hidden;
  border: 10px solid var(--paper);
  box-shadow: 0 30px 80px rgba(47,24,35,0.18);
}

.hero-frame img {
  height: 100%;
  object-fit: cover;
}

.hero-frame-back {
  top: 45px;
  left: 10px;
  width: 62%;
  height: 500px;
  transform: rotate(-4deg);
}

.hero-frame-front {
  right: 20px;
  bottom: 25px;
  width: 64%;
  height: 480px;
  transform: rotate(3deg);
}

.hero-note {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 20px;
  padding: 18px 22px;
  background: var(--plum);
  color: var(--white);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  color: rgba(255,255,255,0.72);
  font-size: 0.68rem;
}

.hero-note strong {
  margin-top: 3px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
}

/* ---------- Marquee ---------- */
.marquee {
  display: grid;
  padding: 20px 7vw;
  background: var(--plum);
  color: var(--white);
  grid-template-columns: repeat(6, 1fr);
  text-align: center;
}

.marquee span {
  border-left: 1px solid rgba(255,255,255,0.16);
  font-size: 0.72rem;
}

.marquee span:last-child {
  border-left: 0;
}

/* ---------- Before / After ---------- */
.before-after {
  background: var(--paper);
}

.section-intro {
  display: grid;
  margin-bottom: 55px;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8vw;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-intro h2 {
  margin-bottom: 0;
}

.section-intro p {
  padding-top: 16px;
  color: var(--muted);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.comparison-card {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: var(--cream);
}

.comparison-card.featured {
  min-height: 680px;
}

.comparison-card img {
  height: 100%;
  object-fit: cover;
}

.comparison-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  min-width: 70px;
  padding: 8px 12px;
  background: rgba(255,250,246,0.9);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
}

/* ---------- Services ---------- */
.services {
  background: var(--cream);
}

.services-head {
  max-width: 820px;
  margin-bottom: 55px;
}

.services-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.services-grid article {
  min-height: 310px;
  padding: 38px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-no {
  display: inline-block;
  margin-bottom: 45px;
  color: var(--clay);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
}

.services-grid h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 500;
}

.services-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Workflow ---------- */
.workflow {
  background: var(--paper);
}

.workflow-panel {
  display: grid;
  padding: 70px;
  background: var(--plum-dark);
  color: var(--white);
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
}

.workflow-copy p {
  color: rgba(255,255,255,0.66);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.workflow-steps div {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.14);
}

.workflow-steps span,
.workflow-steps strong,
.workflow-steps small {
  display: block;
}

.workflow-steps span {
  margin-bottom: 24px;
  color: #efc7bb;
  font-family: "Playfair Display", Georgia, serif;
}

.workflow-steps strong {
  margin-bottom: 5px;
}

.workflow-steps small {
  color: rgba(255,255,255,0.58);
  font-size: 0.72rem;
}

/* ---------- Albums ---------- */
.albums {
  display: grid;
  align-items: center;
  background: var(--rose);
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
}

.albums-visual {
  position: relative;
  min-height: 650px;
}

.album-cover,
.album-page {
  position: absolute;
  box-shadow: 0 30px 70px rgba(74,39,54,0.18);
}

.album-cover {
  z-index: 3;
  right: 5%;
  bottom: 10%;
  display: flex;
  width: 58%;
  height: 420px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--plum);
  color: var(--white);
  transform: rotate(5deg);
}

.album-cover span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.album-cover small {
  margin-top: 10px;
  letter-spacing: 0.18em;
}

.album-page {
  overflow: hidden;
  background: var(--white);
}

.album-page img {
  height: 100%;
  object-fit: cover;
}

.page-one {
  z-index: 2;
  top: 3%;
  left: 7%;
  width: 55%;
  height: 420px;
  border: 10px solid var(--white);
  transform: rotate(-7deg);
}

.page-two {
  z-index: 1;
  top: 18%;
  right: 2%;
  width: 52%;
  height: 420px;
  border: 10px solid var(--white);
  transform: rotate(10deg);
}

.albums-copy p {
  color: var(--muted);
}

.albums-copy ul {
  margin: 28px 0 36px;
  padding-right: 20px;
}

.albums-copy li {
  margin-bottom: 8px;
}

/* ---------- Result Banner ---------- */
.result-banner {
  display: grid;
  padding: 38px 7vw;
  align-items: center;
  background: var(--paper);
  grid-template-columns: auto 1fr auto;
  gap: 28px;
}

.result-banner span,
.result-banner strong {
  font-size: 0.82rem;
}

.result-line {
  height: 1px;
  background: var(--line);
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  background: var(--plum);
  color: var(--white);
  grid-template-columns: 1.05fr 0.95fr;
  gap: 9vw;
}

.contact-title h2 {
  margin-bottom: 0;
}

.contact-box p {
  color: rgba(255,255,255,0.66);
}

.contact-box a {
  display: flex;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-box a:first-of-type {
  border-top: 1px solid rgba(255,255,255,0.16);
}

.contact-box span {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
}

.contact-box strong {
  font-size: 0.86rem;
  font-weight: 500;
}

/* ---------- Footer ---------- */
footer {
  display: flex;
  padding: 32px 7vw;
  align-items: center;
  justify-content: space-between;
  background: var(--plum-dark);
  color: rgba(255,255,255,0.7);
}

.footer-logo {
  color: var(--white);
}

footer p {
  margin: 0;
  font-size: 0.74rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .section-intro,
  .workflow-panel,
  .albums,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 145px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .marquee {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 0;
  }

  .workflow-panel {
    padding: 50px;
  }

  .albums-visual {
    min-height: 580px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 20px 5vw;
  }

  .logo-main {
    font-size: 1.45rem;
  }

  .logo-sub {
    font-size: 0.48rem;
  }

  .nav-cta {
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .section {
    padding: 85px 5vw;
  }

  .hero {
    padding: 130px 5vw 65px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-frame-back {
    width: 66%;
    height: 360px;
  }

  .hero-frame-front {
    width: 68%;
    height: 350px;
  }

  .hero-note {
    top: 0;
  }

  .marquee {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-grid,
  .services-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .comparison-card,
  .comparison-card.featured {
    min-height: 470px;
  }

  .workflow-panel {
    padding: 38px 22px;
  }

  .albums-visual {
    min-height: 460px;
  }

  .album-cover {
    width: 62%;
    height: 300px;
  }

  .page-one,
  .page-two {
    height: 300px;
  }

  .result-banner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}
